--- Log opened Sun Dec 29 00:00:00 2013 |
--- Day changed Sun Dec 29 2013 |
00:00 | <@Tarinaky> | So you should :V |
00:07 | < Turaiel> | Gaaaaah. I really would prefer not doing ray-casting then, but it's the best way I can find to determine if a point is within a polygon made from map coords |
00:14 | <@Tarinaky> | Errr... No it's not. |
00:14 | | Orthia [orthianz@Nightstar-5m8.1ee.224.119.IP] has quit [Ping timeout: 121 seconds] |
00:16 | < Turaiel> | I can't think of a mathematical approach, and my research says that ray-casting is the best solution for the point in polygon problem |
00:17 | <@Tarinaky> | Oh wait, I misread the problem. |
00:17 | <@Tarinaky> | I thought you wanted to check if a point was in a volume. |
00:17 | <@Tarinaky> | Such is the problem of trying to use IRC when my connection to the shell keeps fucking dropping out. |
00:17 | | * Tarinaky is thoroughly annoyed now. |
00:17 | < Turaiel> | Don't worry, me too. I'm working on a screwy network. |
00:18 | <@Tarinaky> | Ray-casting isn't the /only/ way anyway. |
00:18 | < Turaiel> | But it's the best, right? |
00:18 | <@Tarinaky> | Only if your needs are X Y Z that raycasting is good at. |
00:18 | < Turaiel> | Just X Y |
00:19 | <@Tarinaky> | There's something like 3 'good' ways of doing it. |
00:19 | <@Tarinaky> | If you only have 1 polygon to test then you can just test it. |
00:19 | < Turaiel> | I have several polygons to test |
00:20 | <@Tarinaky> | Right. How many is several? |
00:20 | < Turaiel> | At least 30 |
00:20 | < Turaiel> | There might be less, actually |
00:21 | < Turaiel> | Nope, 37 to be precise |
00:25 | | * Tarinaky shrugs. You might have to hand-roll your own implementation then. |
00:25 | < Turaiel> | The only part of their code I'm using is the module for the algorithm |
00:25 | < Turaiel> | I'll be generating the polygons and running the tests myself |
00:27 | <@Tarinaky> | Sure, but you don't have a license to use it. |
00:33 | | Orthia [orthianz@Nightstar-5m8.1ee.224.119.IP] has joined #code |
00:33 | | mode/#code [+o Orthia] by ChanServ |
00:44 | <@Tarinaky> | Oh God Oh God I Am Going To Fail Control Theory. |
00:44 | <@Tarinaky> | :/// |
00:47 | | * Tarinaky wants to throw up. |
00:53 | | celticminstrel [celticminst@Nightstar-qargh6.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
01:36 | <~Vornicus> | hey! control yourself! |
01:39 | <@Tarinaky> | I can't even do the first question :/ |
01:40 | <@Tarinaky> | Compute the Laplace transform of f which satisfies the ivp f'' + f' - f = 2, f(0) = f'(0) = 0 |
01:40 | <@Tarinaky> | So I need to take the Laplace transform of each term on both sides... |
01:41 | <@Tarinaky> | Now I can't figure out why L(2) = 2/s and not 2/-s |
01:53 | | * Tarinaky flips tables. |
01:54 | <@Tarinaky> | Wolfram Alpha won't tell me why either. |
01:57 | <@Tarinaky> | And the book I got doesn't go into any detail either. Just a couple of sentences, one of which being "It is assumed the reader knows how to use Laplace transforms to solve differential equations" |
01:57 | <@Tarinaky> | Well thanks book... |
01:58 | <@Tarinaky> | Who's fucking idea was it not to have a fucking reading week. |
01:58 | <@Tarinaky> | I think this paper is the first day back as well. |
01:58 | <@Tarinaky> | So lit. no opportunity to get any fucking help argh. |
01:58 | <@Tarinaky> | Fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck fuck |
02:01 | <@Alek> | thanks, but I'm afraid I'll have to pass. |
02:03 | <@Tarinaky> | Okay, I get why it's s, it's because they've swapped the terminology around to be deliberately confusing. |
02:04 | <@Tarinaky> | Re(s) > 0 instead of Re(-s) < 0 |
02:04 | <@Tarinaky> | But what's L(f)? exponential will go to infinity. On the other hand, if c is negative the exponential will go to zero. |
02:04 | <@Tarinaky> | But what do I do for the L(f) terms? I don't know what f is, that's the point. |
02:04 | <@Tarinaky> | Argh. |
02:10 | | gnolam [lenin@Nightstar-lgrapr.tbcn.telia.com] has quit [[NS] Quit: Z?] |
02:23 | | Turaiel is now known as Turaiel[Offline] |
02:37 | <@Tarinaky> | Okay, so apparently I want the series L{d^n/dx^n[f]}(s) = s^n L{f}(s) - d^(n-1)/dx^(n-1) f(0) - ... |
02:37 | <@Tarinaky> | Appologies for horrible math formatting. |
02:39 | <@Tarinaky> | Which is where the f'(0) = f(0) = 0 figures in. |
02:39 | | Turaiel[Offline] is now known as Turaiel |
02:39 | <@Tarinaky> | So I just end up with s^2 L{f}(s) + s L{f}(s) = 2/s which is trivial to re-arrange into a ratio. |
02:40 | | * Alek pokes the math. |
02:40 | | * Alek misses math. |
02:40 | <@Tarinaky> | Fortunately we're not expected to do the inverse transorm to get the actual function back out. |
02:43 | <~Vornicus> | Not that the actual function is that hard. |
02:43 | <@Tarinaky> | Probably, but I don't know how. |
02:44 | <@Tarinaky> | I don't think I've done partial ractions in 5 years :/ |
02:45 | <~Vornicus> | YOu get, uh, let's see. (-1 +- sqrt(-3)) / 2 ... e^(-1/2) * (Asin (sqrt(3)x) + Bcos (sqrt(3)x)) as the annihilator, and then the heterogeneous part is... I can't remember how to do that one. |
02:45 | <~Vornicus> | (it's been several years since I did any diffeq) |
02:46 | <@Tarinaky> | I think I got screwed by taking this course without any accompanying diffeq modules. |
02:46 | <@Tarinaky> | I haven't done any differential equations since the first year. |
02:46 | <~Vornicus> | THis one's a lot easier with standard diffeq, to me |
02:47 | <@Tarinaky> | I can believe that. I just don't remember how to do any of tht. |
02:47 | <@Tarinaky> | Because I never seem to need it in my life. :V |
02:48 | <@Tarinaky> | Well, that's not true. If I was better at Diff Eq I'd probably be better at KSP. |
02:48 | <@Tarinaky> | Insert rocket surgery joke here. |
02:49 | <@Alek> | yes, yes, Dr. McCoy. |
02:50 | <@Tarinaky> | Damnit Jim I'm a fuck up not a competent studennt capable of passing an examination. |
02:50 | <~Vornicus> | I also I screwed up the signs, it's actually (-1 +- sqrt(5)) / 2, which means it's just a pair of e^(that)xs. Then you get your other bit but again my memory is poor. Think it's ... probably just +2. Then you solve for the constraints. |
02:52 | | Thalass [thalass@Nightstar-bce70i.eastlink.ca] has quit [[NS] Quit: omgerd] |
04:00 | | Vornotron [Vorn@Nightstar-sn7kve.sd.cox.net] has joined #code |
04:26 | <@Alek> | D-Link switch. web interface. settings, temperature warning. |
04:26 | <@Alek> | High Threshold (-500~500) celsius |
04:26 | <@Alek> | Low Threshold (-500~500) celsius |
04:29 | < Vornotron> | if your switch is 500 C, there's a problem |
04:30 | < Vornotron> | andI don't think the switch is the issue at that point |
04:30 | <@Tarinaky> | And your network hardware is the least problem. |
04:30 | <@Tarinaky> | Hehehe. |
04:32 | <@Alek> | -500C is even worse, for that matter. |
04:33 | < Syka> | below absolute zero, is fine |
04:33 | <@Alek> | means there's something wrong with your universe. |
04:33 | < Syka> | the d-link dsl526-b is rated for safe operation at absolute zero |
04:34 | <@Tarinaky> | Syka: I doubt that. /At/ or below zero means someone is doing something very strange with lasers, virtual particles /or worse/. |
04:35 | < Syka> | Tarinaky: this test was done by the same teams as energy star certification, of course it's legit |
04:36 | | * Syka subtle scathing joke about product certifications |
04:41 | <@Tarinaky> | Usually it's the other way around. This hardware is not designed to operate in any circumstance that might be construed as useful. |
04:42 | <@Tarinaky> | Except where we're legally forced to be useful in order to be able to get this on the shelves at all |
04:43 | <@Tarinaky> | Not to be operated in regions of high humidity, low humidity, heat, cold or temperance. |
04:46 | | cpux [cpux@Nightstar-uvch6j.dyn.optonline.net] has quit [Ping timeout: 121 seconds] |
04:53 | < Syka> | not to be operated with or without the presence of electricity |
05:15 | | Derakon is now known as Derakon[AFK2] |
05:23 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down] |
06:30 | | RichyB [RichyB@Nightstar-c6u.vd5.170.83.IP] has quit [[NS] Quit: Gone.] |
06:33 | | RichyB [RichyB@Nightstar-c6u.vd5.170.83.IP] has joined #code |
07:33 | | ErikMesoy|sleep is now known as ErikMesoy |
07:40 | | Turaiel is now known as Turaiel[Offline] |
07:50 | | Vornotron [Vorn@Nightstar-sn7kve.sd.cox.net] has quit [Connection closed] |
08:52 | | Stalker [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
09:19 | | AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has joined #code |
09:21 | | AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has quit [[NS] Quit: Leaving] |
09:23 | | AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has joined #code |
09:25 | | AbuDhabi_ [AbuDhabi@Nightstar-bb0ed3.adsl.tpnet.pl] has joined #code |
09:58 | | Orthia [orthianz@Nightstar-5m8.1ee.224.119.IP] has quit [Ping timeout: 121 seconds] |
09:58 | | AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has quit [[NS] Quit: Leaving] |
10:01 | | Orthia [orthianz@Nightstar-5m8.1ee.224.119.IP] has joined #code |
10:01 | | mode/#code [+o Orthia] by ChanServ |
10:44 | < AbuDhabi_> | So, among the iPads, which is the best stable version? |
10:58 | <@Orthia> | Is this a specific drive for an iPad? I can only advise on Androids. |
10:59 | < AbuDhabi_> | This is also helpful. I hear the Google Nexii are best in that sphere. Which one is best? |
10:59 | < AbuDhabi_> | I would also like to hear an opinion on the Kindle Fire. |
11:06 | < AbuDhabi_> | (HD and HDX also.) |
11:07 | | Vornicus [Vorn@Nightstar-sn7kve.sd.cox.net] has quit [Connection closed] |
11:13 | | gnolam [lenin@Nightstar-lgrapr.tbcn.telia.com] has joined #code |
11:13 | | mode/#code [+o gnolam] by ChanServ |
11:55 | < Shiz> | what do you mean stable |
11:55 | < Shiz> | they're all stable |
11:55 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
11:58 | < AbuDhabi_> | I mean I'm not looking for bleeding edge tech for which there isn't much supporting stuff yet, and hasn't gained a reputation either way. |
11:59 | <@froztbyte> | these devices do not typically end up being like that |
11:59 | <@froztbyte> | (they're....different to desktop computers) |
12:04 | < AbuDhabi_> | So, Google Nexus 7 (2012 version)? |
12:04 | < AbuDhabi_> | Or the 2013 version? Is that one even out yet? |
12:30 | < Shiz> | there are no versions, there's just a nexus 7 |
12:30 | < Shiz> | tbh if i'd get a tablet i'd get an ipad because i think android for tablets is pretty crappy |
12:31 | < Shiz> | but that's just me |
12:32 | < AbuDhabi_> | Wikipedia claims that there are multiple versions. |
12:45 | <@Namegduf> | Kindles have significantly reduced software support over standard Android tablets. |
12:45 | <@Namegduf> | Because Amazon decouples them from Google services and has a separate app store. |
12:45 | <@Namegduf> | I recommend against them. |
12:46 | <@Namegduf> | (The tablets, that is. The ebook readers are different things.) |
12:47 | < AbuDhabi_> | What is the difference between the Kindle ebook readers and Kindle tablets? |
12:47 | <@Namegduf> | The eBook readers do not run Android. |
12:47 | <@Namegduf> | They can only show eBooks and do a little built-in functionality. |
12:48 | <@Namegduf> | They have e-ink screens and absurdly long battery lives as a result. |
12:49 | <@Namegduf> | If you want a dedicated ebook reader device they might make sense, but they don't really figure into this kind of analysis either way. |
12:51 | < AbuDhabi_> | OK. |
12:52 | < AbuDhabi_> | What can you do with a Kindle ebook reader? Except read ebooks? |
12:56 | | ErikMesoy [Erik@Nightstar-3kot9q.80-203-17.nextgentel.com] has quit [[NS] Quit: fiddling with internets] |
14:02 | | ErikMesoy [Erik@Nightstar-ekm.o7n.203.80.IP] has joined #code |
15:12 | | Orthia [orthianz@Nightstar-5m8.1ee.224.119.IP] has quit [Ping timeout: 121 seconds] |
15:25 | | Orthia [orthianz@Nightstar-5m8.1ee.224.119.IP] has joined #code |
15:25 | | mode/#code [+o Orthia] by ChanServ |
15:57 | | Orthia [orthianz@Nightstar-5m8.1ee.224.119.IP] has quit [Ping timeout: 121 seconds] |
16:12 | <&ToxicFrog> | AbuDhabi_: read ebooks, play MP3s, browse the web very, very slowly, and have all your books remotely deleted by Amazon. |
16:12 | < AbuDhabi_> | Haha. |
16:15 | <&ToxicFrog> | As a practical matter you wouldn't want to use the web browser except in emergencies, so you should really only get an e-reader specifically for reading books. |
16:15 | <&ToxicFrog> | (and you should be getting a Sony PRS, not a Kindle) |
16:16 | <&ToxicFrog> | As for actual tablets, I can offer no advice. |
16:20 | < AbuDhabi_> | OK. |
16:25 | < AbuDhabi_> | Hmmm. In terms of discoverability and minimalization of interface overhead, which would be better - the Nexus 7 or the iPad? |
16:25 | < AbuDhabi_> | (Question to the audience.) |
16:26 | < AbuDhabi_> | The target user will be displeased if he has to spend many hours learning how to use the thing. |
16:26 | < AbuDhabi_> | Initial setup is fine, because I can do it, but afterwards, it should be easy. |
17:00 | | Turaiel[Offline] is now known as Turaiel |
17:02 | <@Namegduf> | They're honestly very similar. |
17:03 | <@Namegduf> | Page of application icons. Has-to-be-learned combinations using the home button to bring up recent application lists so they're not very accessible on either. |
17:03 | <@Namegduf> | Home button takes you back to home screen, which is similar in basic usage on both. |
17:04 | <@Namegduf> | No real start/exit reasoning for applications; they just retain arbitrarily much or little of thei previous position when you return to them and autosave user content when you leave them. |
17:05 | <@Namegduf> | The store is probably not very different in difficulty to use, but I've not used it on the iPad, only really used the two with them both already having stuff installed for dev purposes. |
17:06 | <@Namegduf> | The iPad is bigger; the iPad Mini is more size comparable. |
17:06 | <@Namegduf> | To the Nexus 7. |
17:06 | <@Namegduf> | The hard to discover bits are pretty equally so on both, basically. |
17:06 | <@Namegduf> | Things like pinch gestures or swiping. |
17:07 | <@Namegduf> | Notifications usage is the same now, after iOS borrowed Android's notification system. |
17:07 | <@Namegduf> | Long-press as a thing to learn is present on both. |
17:23 | | Derakon[AFK2] is now known as Derakon |
17:41 | | celticminstrel [celticminst@Nightstar-qargh6.dsl.bell.ca] has joined #code |
17:41 | | mode/#code [+o celticminstrel] by ChanServ |
17:52 | < AbuDhabi_> | I see. Thanks. |
18:00 | | froztbyte [froztbyte@Nightstar-frrora.za.net] has quit [Ping timeout: 121 seconds] |
18:00 | | froztbyte [froztbyte@Nightstar-frrora.za.net] has joined #code |
18:00 | | mode/#code [+o froztbyte] by ChanServ |
18:11 | | Azash [ap@Nightstar-25v57p.net] has quit [Ping timeout: 121 seconds] |
18:11 | | Azash [ap@Nightstar-25v57p.net] has joined #code |
18:11 | | mode/#code [+o Azash] by ChanServ |
19:10 | | thalass [thalass@Nightstar-bce70i.eastlink.ca] has joined #code |
19:36 | | Turaiel is now known as Turaiel[Offline] |
19:55 | | Turaiel[Offline] is now known as Turaiel |
21:14 | | iospace is now known as io\PACKERS |
21:26 | | Turaiel is now known as Turaiel[Offline] |
21:37 | | Turaiel[Offline] is now known as Turaiel |
21:42 | | * AbuDhabi_ scratches head and wonders if it's in some way possible to upgrade his Dell Inspiron 1525, especially on the graphics card front. The integrated thing is lamentable. |
21:44 | < AbuDhabi_> | Is there some way to have an external card? |
21:46 | <@Tamber> | That depends. |
21:46 | < AbuDhabi_> | On? |
21:46 | <@Tamber> | (Not having worked with Dulls in ages, I take it it's a laptop model?) |
21:46 | <@Tamber> | Well, it depends on whether or not you have ExpressPort available, I believe. |
21:47 | <@Tamber> | (Since EP exposes PCIe lines, IIRC.) |
21:47 | < AbuDhabi_> | http://en.wikipedia.org/wiki/Dell_Inspiron_1525 |
21:48 | <@Tamber> | ExpressCard. That's the one, I think. |
21:48 | <@Tamber> | Yeah. |
21:48 | <@Tamber> | http://www.techradar.com/news/computing-components/graphics-cards/how-to-make-an -external-laptop-graphics-adaptor-915616 :p |
21:49 | <@Tamber> | How well it works is a different matter entirely. |
21:50 | < AbuDhabi_> | If it lets me run CK2, I'll be super-happy. |
21:52 | | Orthia [orthianz@Nightstar-5m8.1ee.224.119.IP] has joined #code |
21:52 | | mode/#code [+o Orthia] by ChanServ |
21:55 | < Turaiel> | #(struct:seg -85.5849177876247 42.9410959114158 -85.5850371574508 42.9403947490629) Scanning segment: -85.6461765325076,43.0133966446353 to -85.6488691367424,43.0134017426797 |
21:55 | < AbuDhabi_> | Hmmmm. 100 bucks plus shipping plus card sounds a lot cheaper than a new machine. And I get to tinker, which is always nice. |
21:55 | < Turaiel> | No wonder my data is all over the place |
21:55 | < Turaiel> | It's not checking the segment it's given D: |
21:57 | < thalass> | Are those latitude and longitude coordinates? |
21:58 | < Turaiel> | Yeah |
22:00 | <@Tamber> | Are you getting rounding errors? |
22:00 | < Turaiel> | No. It's using coordinates from the wrong polygons |
22:01 | <@Tamber> | Let me rephrase. Is it rounding the coordinates? :p |
22:01 | < Turaiel> | The struct output you see there is what I'm giving it, and the "scanning segment" is what it's using in that instance |
22:01 | < Turaiel> | No rounding |
22:01 | < Turaiel> | And the ones that it's "scanning" in this particular case exactly match those in other polygons |
22:03 | <@Tamber> | Okay. |
22:04 | < Turaiel> | I don't understand how it could possibly have coords from other polys at that point |
22:04 | <@Tamber> | I'm just suspecting a case of the floats~ |
22:05 | < Turaiel> | Every pair I've tested so far has been an exact coordinate from the top of the map |
22:05 | <@Tamber> | Oh. h'okay then! Ignore me. :) |
22:06 | < Turaiel> | I'm still confused though |
22:06 | < Turaiel> | I'm providing it with a list of segments, and it's supposedly using that list |
22:24 | | Azash [ap@Nightstar-25v57p.net] has quit [Ping timeout: 121 seconds] |
22:24 | | Azash [ap@Nightstar-25v57p.net] has joined #code |
22:24 | | mode/#code [+o Azash] by ChanServ |
22:49 | | thalass [thalass@Nightstar-bce70i.eastlink.ca] has quit [Ping timeout: 121 seconds] |
23:52 | | * Derakon eyes his code, goes bleh. |
23:53 | <&Derakon> | I have Procs, which are special-case bits of game logic. As a special subset, I have monster spells...now I want to merge monster spells into the master list, so that the player can access them too. |
23:53 | <&Derakon> | But monster spells require a bit of special handling, so I have to figure out how to elide that cleanly. |
23:54 | <&Derakon> | This change (implementing player spellcasting) keeps getting a bit messier and a bit messier... |
23:57 | <&Derakon> | Spells are Procs with additional required fields (stuff like targeting information). |
23:57 | <&Derakon> | This makes their loading logic subtly different... |
23:58 | <&Derakon> | Bleh! |
--- Log closed Mon Dec 30 00:00:04 2013 |