--- Log opened Fri Oct 19 00:00:29 2012 |
00:01 | | You're now known as TheWatcher[T-2] |
00:06 | | You're now known as TheWatcher[zZzZ] |
00:11 | | Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds] |
00:12 | < Azash> | https://twitter.com/Xubuntu/status/186227266974527488 |
00:12 | < Azash> | Wrong channel, sorry |
00:14 | | Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code |
00:14 | | mode/#code [+ao Derakon Derakon] by ChanServ |
00:34 | | celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has joined #code |
00:46 | <~Vornicus> | Der: thinking on your histogram problem your best bet might be to make as many bins as you have different things, and then if you want a different number of bins, use an area-based interpolation function |
00:48 | | himi [fow035@D741F1.243F35.CADC30.81D435] has joined #code |
00:48 | | mode/#code [+o himi] by ChanServ |
00:50 | < Tarinaky> | I showed my pseudocode (part of the assignment's submission reqs) to the advisory/help person. They said they'd not seen anything like it before :/ |
00:50 | < Tarinaky> | This makes me highly concerned that I'm doing something wrong. |
00:50 | <&Derakon> | Vorn: will keep that in mind. |
00:50 | <&Derakon> | Thanks. |
00:52 | <~Vornicus> | tarinaky: is your pseudocode typed? |
00:53 | < Tarinaky> | Yes. In LaTeX. |
00:53 | <~Vornicus> | fun fun. you can pastebin it if you'd like advice. |
00:53 | < Tarinaky> | So it looks a bit like the bastard child of an old CS book. >.> |
00:55 | < Tarinaky> | Vornicus: http://pastebin.com/xhh9VY37 |
00:57 | < syksleep> | haha, closing a do in tex is \OD |
00:57 | < syksleep> | that's awesome |
00:57 | <&McMartin> | case |
00:57 | <&McMartin> | BASH FOR THE BASH GOD |
00:57 | <&McMartin> | esac |
00:58 | < Tarinaky> | cat for his throne? |
00:58 | < syksleep> | i'm pretty sure chris brown would have bash's throne |
00:59 | < Tarinaky> | Oh you. |
00:59 | < Tarinaky> | Chris Brown would have a *basher's throne I think you'll find. |
00:59 | < syksleep> | :p |
01:05 | <~Vornicus> | I don't see what the backtrack bit does. |
01:07 | < Tarinaky> | Err... I'm not sure how to answer that question sensibly. |
01:07 | <~Vornicus> | Wait wait, I think i see |
01:07 | <~Vornicus> | you're looking for a random walk of length 'depth' |
01:07 | < Tarinaky> | Yeah. |
01:07 | <~Vornicus> | If you can't do that - if your edge collection is empty - then you back up a couple steps. |
01:07 | <~Vornicus> | Got it. |
01:08 | < Tarinaky> | Well, you go back one step. |
01:08 | < Tarinaky> | But you have to take another one off because this loop did nothing. |
01:08 | | * Vornicus thinks at it |
01:09 | <~Vornicus> | okay, that looks about right. |
01:09 | < Tarinaky> | Just spotted something, now I look at it. |
01:11 | < Tarinaky> | In the actual program the for loop's condition is (int i = 1; i < depth && i >= 1; ++i) >.< |
01:12 | < Tarinaky> | (i being negative means that it's taken all the elements from the array in a blind panic from not having any edges left~) |
01:12 | < Tarinaky> | Err 'zero or negative' |
01:12 | < Tarinaky> | You know what I mean >.> |
01:16 | < Tarinaky> | Anyway. So the pseudocode formatting is okay? |
01:16 | < Tarinaky> | Error aside >.> |
01:18 | < Tarinaky> | Also, sanity checking expectations... How much memory can you copy at once? (On a low-level) |
01:21 | < Tarinaky> | Making a shallow copy of an array would be faster than a shallow copy of a list right? |
01:21 | <&Derakon> | A "shallow copy" of an array is just another pointer to that array. |
01:21 | <&Derakon> | A "shallow copy" of a linked list is a pointer to the first element of the list. |
01:21 | <&Derakon> | Shallow copies are practically free. |
01:21 | < Tarinaky> | Err. I accidentally a word. |
01:22 | < Tarinaky> | A bitwise copy of an array/list |
01:23 | <&Derakon> | That'd be a deep copy. |
01:23 | < Tarinaky> | I get they'd both be O(n), but is it cheaper to copy contiguous memory? |
01:23 | | himi [fow035@D741F1.243F35.CADC30.81D435] has quit [Ping timeout: 121 seconds] |
01:23 | <~Vornicus> | well, 1 level deep |
01:23 | < Tarinaky> | s/memory/elements |
01:23 | <~Vornicus> | Vastly |
01:24 | < Tarinaky> | Right, that's what I thought. |
01:24 | | * Tarinaky wanted to make sure his justifications for stuff is actually correct >.> |
01:25 | <~Vornicus> | It's certainly fewer assembly calls either way, and I believe most computers nowadays have bulk memory manipulation commands baked in deep. |
01:26 | <~Vornicus> | assembly, uh. steps |
01:26 | <~Vornicus> | not calls, that's a little too high up~ |
01:26 | < Tarinaky> | Operations? |
01:28 | <~Vornicus> | steps /and/ operations, mostly because the operations involved in hitting many many segments are shockingly large. |
01:29 | | Reiv [NSwebIRC@D4E70A.D52DB0.820B13.98C775] has quit [Ping timeout: 121 seconds] |
01:30 | < Tarinaky> | I sleep. Just got to do evidence of testing and I'm done. |
01:34 | | himi [fow035@D741F1.243F35.CADC30.81D435] has joined #code |
01:34 | | mode/#code [+o himi] by ChanServ |
01:39 | | Reiv [NSwebIRC@D4E70A.D52DB0.820B13.98C775] has joined #code |
02:25 | | Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Operation timed out] |
02:26 | | Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code |
02:26 | | mode/#code [+ao Derakon Derakon] by ChanServ |
02:36 | | Attilla [Obsolete@Nightstar-47b8c817.as43234.net] has quit [Ping timeout: 121 seconds] |
02:52 | | gnolam_ [lenin@Nightstar-ccbf4b44.cust.bredbandsbolaget.se] has joined #code |
02:52 | | gnolam is now known as NSGuest49146 |
02:52 | | gnolam_ is now known as gnolam |
02:55 | | Reiv [NSwebIRC@D4E70A.D52DB0.820B13.98C775] has quit [Ping timeout: 121 seconds] |
02:55 | | NSGuest49146 [lenin@Nightstar-ccbf4b44.cust.bredbandsbolaget.se] has quit [Ping timeout: 121 seconds] |
03:06 | | Vash [Vash@Nightstar-3ba4108e.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!] |
03:25 | | cpux|2 [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code |
03:25 | | cpux|2 [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [[NS] Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/] |
05:30 | < Azash> | http://arstechnica.com/apple/2012/10/apple-removes-java-from-all-os-x-web-browse rs/ |
05:38 | < celticminstrel> | Huh. |
05:51 | | ErikMesoy|sleep is now known as ErikMesoy |
06:24 | | celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
06:27 | | Derakon is now known as Derakon[AFK] |
07:00 | | Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Client closed the connection] |
07:12 | | Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds] |
07:14 | | Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code |
08:07 | | Kindamoody[zZz] is now known as Kindamoody |
08:37 | < Azash> | Good morning |
08:59 | | You're now known as TheWatcher |
09:24 | | Attilla [Obsolete@Nightstar-6a1fe1cf.as43234.net] has joined #code |
09:38 | | himi [fow035@D741F1.243F35.CADC30.81D435] has quit [Operation timed out] |
10:08 | | RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has joined #code |
10:43 | <&jerith> | < PenguinOfDoom> I want to make a little shrine, with a plush toy yak, a fence around it and an electric shaver outside the fence |
10:49 | <@TheWatcher> | ... wat |
10:49 | < RichyB> | jerith: sweet idea. |
10:51 | < Azash> | Sounds like a plan |
11:07 | <&jerith> | TheWatcher: I suspect he's having to shave too many yaks. |
11:09 | <@TheWatcher> | Ahh, yeah, I obviously need more tea - completely missed that one. |
11:16 | < iospace> | o_ |
11:16 | < iospace> | shave yaks? |
11:16 | | * iospace eyes jerith |
11:17 | <@TheWatcher> | Diversionary tasks - things that you need to do in order to make progress with something that are generally only tangentially associated with the target |
11:21 | <&jerith> | iospace: A painful and tedious task that needs to be performed before you can get on with the work you *actually* want to do. |
11:21 | < iospace> | ah |
11:21 | | * rms thought he could clean up this Java code using RAII, turns out Java hates sane code D: |
11:21 | <&jerith> | RAII? |
11:22 | < rms> | Resource Aquisition is Initialization |
11:22 | <&jerith> | Ah. |
11:22 | < rms> | (IE: the constructor opens the resource, the deconstructor closes it) |
11:22 | <@TheWatcher> | rms: Java hates the living (but not as much as email) |
11:38 | | Kindamoody is now known as Kindamoody|out |
11:55 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
11:55 | | mode/#code [+o himi] by ChanServ |
12:41 | < froztbyte> | iospace: ....how can you work in the embedded world and not have known about yakshaving?! O_o |
12:42 | < syksleep> | yay new ultrabook |
12:42 | | syksleep is now known as Syk |
12:42 | < Syk> | i'm much more comfortable in my purchases when I give no fucks and just buy it |
12:45 | | * Syk drops an ultrabook on iospace |
12:46 | < Syk> | iospace: write me some drivers |
13:00 | < Tarinaky> | Argh fucking LaTeX and your unhelpful errors. |
13:00 | < Tarinaky> | Extra alignment tab has been changed to \cr. |
13:00 | < Tarinaky> | <recently read> \endtemplate |
13:00 | < Tarinaky> | But there aren't any extra tabs! |
13:00 | < Tarinaky> | There are exactly as many ampersands as there should be! |
13:00 | < Tarinaky> | Look! One! Two! One Two! One Two! |
13:01 | < Tarinaky> | Argh! |
13:01 | < Tarinaky> | Oh wait, except there. |
13:03 | < Tarinaky> | No. Still getting the error :/ |
13:06 | < Tarinaky> | Ahah! |
13:29 | <@TheWatcher> | Aaah, LaTeX. Document writing with a compiler that's even more obtuse than gcc. |
13:32 | < Tarinaky> | Indeed. |
13:32 | <@TheWatcher> | Could be worse, I guess. It could just generate an error number and exit |
13:33 | | * Tarinaky shudders |
13:33 | <@TheWatcher> | I suppose I shouldn't say that too loud, it might give people ideas... |
13:34 | | * iospace smacks Syk witht he ultrabook |
13:34 | < iospace> | no u |
13:34 | | * iospace steals it |
13:53 | < Syk> | D: |
14:06 | | celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has joined #code |
14:15 | < Syk> | TheWatcher: pretty sure fuji-xerox have patented that |
14:26 | < Tarinaky> | http://robrhinehart.com/?p=119 << So. Much. Win. |
14:37 | | You're now known as TheWatcher[afk] |
15:07 | | Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code |
15:07 | | mode/#code [+o Syloq] by ChanServ |
15:08 | | Syloq is now known as Syloq_Home |
15:23 | | * McMartin flails at gltut again |
15:23 | <&McMartin> | This appears to be freeglut's fault, entirely |
15:24 | <&McMartin> | But I can't figure out why no GLX implementation I've worked with is willing to actually run its window initializers. |
15:27 | < iospace> | ya know, looking at PCI vs PCIe, they were smart and kept the same headers o_O |
15:27 | < iospace> | well, config headers |
15:30 | < Syk> | whoooo |
15:30 | < Syk> | laptop is setup |
15:55 | | celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
16:26 | | Syk is now known as syksleep |
16:33 | | * AnnoDomini pokes rms. |
16:33 | < AnnoDomini> | I need some github help. |
16:34 | <&McMartin> | iospace: Always nice when a system deserves its upgrade name |
16:34 | <&McMartin> | Speaking of which, USB 3.0 is fucking amazing |
16:35 | < AnnoDomini> | I'm trying to set up a second repository on my account there. However, when I try to push the initial README file, it asks me on the commandline for a username and password. Which username and password combination is this? |
16:36 | < AnnoDomini> | NM, found it. |
16:38 | < RichyB> | AnnoDomini: the username was "github" and you actually needed your RSA key and its passphrase, right? |
16:38 | < AnnoDomini> | No. I needed my github username and password. |
16:39 | < AnnoDomini> | This is strange, because the other repository doesn't ask for this. |
16:50 | < AnnoDomini> | Alright, I fixed it so it works by SSH. |
16:54 | < AnnoDomini> | There. My EU3 mod now has a home on github. :D |
17:18 | | Nemu [NeophoxProd@Nightstar-36a17af1.asahi-net.or.jp] has joined #code |
17:34 | <&McMartin> | Nice |
17:34 | <&McMartin> | Link? |
17:35 | < AnnoDomini> | https://github.com/AbuDhabi/AD-Mod |
17:43 | <&McMartin> | Nice, thanks |
17:44 | <&McMartin> | One of these days I will complete a game of EU3 -_- |
17:44 | < AnnoDomini> | Pfhah. |
17:45 | < AnnoDomini> | It helps if you have copious free time. |
17:46 | < ErikMesoy> | Or if you play a New World nation. |
17:59 | < AnnoDomini> | If I want to change the name of a repository, is that practical? Or should I just fork it or something? |
18:06 | | celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has joined #code |
18:10 | | * AnnoDomini pokes rms (or anyone else with github knowhow) a second time. |
18:19 | < celticminstrel> | ? |
18:22 | < AnnoDomini> | I wanna know how to rename my github repository. |
18:28 | < celticminstrel> | Oh. Uh. |
18:29 | < celticminstrel> | I know nothing to suggest that it's possible. |
18:29 | < celticminstrel> | However if you have a local copy, you could delete it on github, make a new one with the new name, and then push your local copy to the new one. |
18:29 | < celticminstrel> | Obviously that's a workaround, but still. |
18:29 | < AnnoDomini> | Mhm. |
18:30 | < AnnoDomini> | I have thought about forking it. |
18:30 | < celticminstrel> | (A workaround that loses any issues or stuff you might have, which may be undesirable...) |
18:34 | < AnnoDomini> | I have no reason to believe anyone has ventured to my repository there. :V |
18:34 | | Moltare [Moltare@583787.FF2A18.190FE2.4D81A1] has joined #code |
19:11 | < rms> | AnnoDomini: I do not know, sorry |
19:13 | < AnnoDomini> | Not your fault. |
19:38 | <@TheWatcher[afk]> | AnnoDomini: email the github people and ask, they tend to be pretty helpful IME |
19:51 | < iospace> | then i cried |
19:51 | < iospace> | oops |
19:51 | < iospace> | that entire test i was like "vim commands" and i'm like NO, IT'S VISUAL STUDIO |
19:51 | < iospace> | then i cried |
19:51 | < iospace> | T_T |
19:53 | < iospace> | also dammit the drive that our specs live on dropped over night T_T |
19:57 | | * AnnoDomini sends mail. |
19:59 | | Kindamoody|out is now known as Kindamoody |
20:28 | < AnnoDomini> | TheWatcher[afk]: This worked! Thanks. |
20:32 | | * AnnoDomini thinks. |
20:33 | < AnnoDomini> | Now that the game basically works, I think I should implement weather/seasons. |
21:11 | < iospace> | man, once you get used to Vim it's so fast :P |
21:13 | < froztbyte> | pretty much |
21:13 | < froztbyte> | also, no backups or raid? |
21:17 | < AnnoDomini> | Hmm. If I keep the days variable as integer, then I'll have to use the Julian calendar. If I switch to floats, I can use the Gregorian. |
21:34 | < gnolam> | ...what |
21:36 | < AnnoDomini> | That 1/4th of a day matters! |
21:36 | < AnnoDomini> | (Well, no, not really.) |
21:39 | < celticminstrel> | ... |
21:41 | < gnolam> | The Julian calendar also has leap days. |
21:42 | < AnnoDomini> | It does? Then which one doesn't? |
21:42 | < celticminstrel> | The Gregorian calendar has leap seconds, doesn't it? |
21:42 | < celticminstrel> | Julian wouldn't have that. |
21:42 | < celticminstrel> | I doubt there exists a solar calendar without leap days. |
21:43 | < gnolam> | Leap seconds aren't part of any calendar. |
21:43 | < celticminstrel> | Fine, whatever. |
21:43 | < gnolam> | They are part of UTC, however. |
21:44 | < celticminstrel> | But, doesn't Gregorian have more complicated rules for leap days or something? Whereas Julian is just every four years? (I may be making things up... <_< ) |
21:44 | < gnolam> | AnnoDomini: The Mayan calendar? :P |
21:44 | < celticminstrel> | The Islamic calendar? |
21:44 | < celticminstrel> | It's a lunar calendar, isn't it? |
21:44 | < celticminstrel> | Of course, it doesn't correspond to a full year. |
21:45 | < celticminstrel> | I think it has a name which I forget. |
21:45 | < AnnoDomini> | It doesn't matter much, as I said. I think I covered the obvious ways to spend infinite time getting to Vinland. |
21:46 | < celticminstrel> | ??? |
21:46 | < ErikMesoy> | IIRC, Julian calendar uses 365 & 1/4 day years for simplicity. Gregorian uses the slightly more accurate 365.24 day years. |
21:46 | < AnnoDomini> | I'm making Vinland Trail. It's like Oregon Trail, but with more Vikings. |
21:46 | < iospace> | froztbyte: oh, there's backups/RAID, just they're doing maintence/migrating |
21:46 | < iospace> | so yeah :P |
21:47 | < celticminstrel> | I don't know Oregon Trail... though I think I have it on a disk somewhere, actually. |
21:48 | < gnolam> | AnnoDomini: hah |
21:48 | < gnolam> | How much dysentery do you get? |
21:49 | < AnnoDomini> | It's scurvy. |
21:49 | < gnolam> | Heh. |
21:50 | < AnnoDomini> | https://github.com/AbuDhabi/Vinland-Trail <- You can try to compile this crap, if you want. It needs a bunch of SDL libraries. |
21:57 | | * iospace eyes EDK2 code |
22:02 | < iospace> | yay! i get to knock out some magic numbers :3 |
22:21 | | You're now known as TheWatcher |
22:38 | | Attilla_ [Obsolete@Nightstar-8d4251a5.as43234.net] has joined #code |
22:39 | | Attilla [Obsolete@Nightstar-6a1fe1cf.as43234.net] has quit [Ping timeout: 121 seconds] |
22:48 | | RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has quit [[NS] Quit: Leaving] |
23:02 | | ErikMesoy is now known as ErikMesoy|sleep |
23:41 | | Kindamoody is now known as Kindamoody[zZz] |
23:41 | | You're now known as TheWatcher[t-2] |
23:44 | | You're now known as TheWatcher[zZzZ] |
23:45 | < iospace> | Azash: finding more ways to hack apart his code :P |
23:47 | < Azash> | Oh dear, what did you find now? |
--- Log closed Sat Oct 20 00:00:15 2012 |