--- Log opened Fri Feb 11 00:00:00 2011 |
--- Day changed Fri Feb 11 2011 |
00:00 | | Derakon [chriswei@Nightstar-cfae48c3.ca.comcast.net] has quit [[NS] Quit: leaving] |
00:05 | | Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code |
00:14 | | AnnoDomini [annodomini@Nightstar-1116552d.adsl.tpnet.pl] has quit [[NS] Quit: leaving] |
00:37 | < Tarinaky> | http://www.youtube.com/watch?v=dmoDLyiQYKw&feature=player_embedded#at=57 |
00:46 | | SK [smith@Nightstar-7820a96a.dsl.teksavvy.com] has joined #code |
00:47 | | SK is now known as SmithKurosaki |
01:12 | | Derakon[AFK] is now known as Derakon |
01:20 | | Vornicus-Latens is now known as Vornicus |
01:23 | | Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Client closed the connection] |
02:02 | < Vornicus> | If anyone here has done VBA: my father is looking to "disable the enter key for a macro" |
02:18 | | gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?] |
--- Log closed Fri Feb 11 03:25:59 2011 |
--- Log opened Fri Feb 11 03:26:41 2011 |
03:26 | | TheWatcher [chris@Nightstar-b4529b0c.zen.co.uk] has joined #code |
03:26 | | Irssi: #code: Total of 15 nicks [3 ops, 0 halfops, 0 voices, 12 normal] |
03:26 | | Reiv [orthianz@3CF3A5.E1CD01.36D449.95F5A5] has joined #code |
03:27 | | Irssi: Join to #code was synced in 49 secs |
03:27 | | Phox [Tertius_Vul@Nightstar-bb8dd90c.abhsia.telus.net] has joined #code |
03:30 | | Reiver [reaverta@ServerAdministrator.Nightstar.Net] has joined #code |
03:30 | | mode/#code [+qo Reiver Reiver] by ChanServ |
03:34 | | Namegduf [namegduf@Nightstar-5c10d129.beshir.org] has joined #code |
03:36 | | SmithKurosaki [smith@Nightstar-7820a96a.dsl.teksavvy.com] has joined #code |
03:38 | | Rhamphoryncus [rhamph@Nightstar-473f8685.abhsia.telus.net] has joined #code |
03:50 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: ] |
03:52 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code |
03:52 | | mode/#code [+o Vornicus] by Reiver |
03:58 | | DiceBot [Reiver@Nightstar-aec8191b.xnet.co.nz] has joined #code |
03:58 | | Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code |
03:58 | | ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code |
03:58 | | mode/#code [+o ToxicFrog] by Reiver |
03:59 | | Syloq is now known as Syloqs-AFH |
05:01 | | Kindamoody is now known as Kindamoody[zZz] |
05:37 | | celticminstrel [celticminst@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
05:54 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving] |
05:57 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code |
05:57 | | mode/#code [+o Vornicus] by Reiver |
06:34 | | Derakon is now known as Derakon[AFK] |
06:48 | | gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code |
07:40 | | AnnoDomini [annodomini@Nightstar-1116552d.adsl.tpnet.pl] has joined #code |
07:40 | | mode/#code [+o AnnoDomini] by Reiver |
07:52 | | Kindamoody[zZz] is now known as Kindamoody |
08:25 | | Kindamoody is now known as Kindamoody|out |
09:32 | | Vornicus is now known as Vornicus-Latens |
10:01 | | AnnoDomini [annodomini@Nightstar-1116552d.adsl.tpnet.pl] has quit [[NS] Quit: leaving] |
10:41 | | AnnoDomini [annodomini@F67919.F326B3.98D923.BDA7B6] has joined #code |
10:41 | | mode/#code [+o AnnoDomini] by Reiver |
11:25 | | Rhamphoryncus [rhamph@Nightstar-473f8685.abhsia.telus.net] has quit [Client exited] |
11:34 | <@AnnoDomini> | I wonder if WINE will be able to run this piece of software originally written for Windows 3.1. |
11:35 | <@AnnoDomini> | It can. :o |
11:39 | < froztbyte> | that's why I <3 wine |
12:30 | < TheWatcher> | Word of warning: do not read today's xkcd >.< |
12:31 | | cpux is now known as shade_of_cpux |
12:31 | < Namegduf> | :( |
12:31 | <@AnnoDomini> | Why not? |
12:32 | < Namegduf> | ) |
12:32 | < TheWatcher> | Because it is a cruel, horrible trick on the minds of programmers: it contains a single open parenthesis, but no close... |
12:32 | < Namegduf> | Whew. |
12:37 | <@AnnoDomini> | It is fortunate that my brain is either not that of a programmer, or otherwise hardened against this. |
12:38 | < gnolam> | Eh. Any Lisp programmer knows that that ending parenthesis might come a hundred lines down, so why worry? |
12:42 | < Namegduf> | Haha. |
13:04 | | celticminstrel [celticminst@Nightstar-f8b608eb.cable.rogers.com] has joined #code |
13:05 | | AnnoDomini [annodomini@F67919.F326B3.98D923.BDA7B6] has quit [[NS] Quit: Home.] |
13:07 | | froztbyte [froztbyte@Nightstar-dc394964.za.net] has quit [Ping timeout: 121 seconds] |
13:08 | | froztbyte [froztbyte@Nightstar-dc394964.za.net] has joined #code |
13:15 | < McMartin> | Ha ha ha at the alt text |
13:33 | | celticminstrel [celticminst@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
13:37 | | AnnoDomini [annodomini@Nightstar-631b7f5c.adsl.tpnet.pl] has joined #code |
13:37 | | mode/#code [+o AnnoDomini] by Reiver |
13:45 | | gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [Ping timeout: 121 seconds] |
13:47 | | gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code |
13:49 | | * gnolam arrrrrrrrrrrrghs at Maxima. |
13:50 | < gnolam> | Evaluate my goddamn e's! |
13:53 | < gnolam> | If anyone knows how to force Maxima to evaluate an expression to a numerical value, please tell me. :P |
13:53 | | Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code |
13:53 | < gnolam> | Like float() is /supposed/ to do, but fucking doesn't. |
16:00 | | celticminstrel [celticminst@Nightstar-f8b608eb.cable.rogers.com] has joined #code |
16:55 | | Derakon [chriswei@Nightstar-cfae48c3.ca.comcast.net] has joined #code |
16:55 | | mode/#code [+o Derakon] by Reiver |
16:55 | <@Derakon> | G'day. |
16:55 | <@Derakon> | http://paste.ubuntu.com/565948/ |
16:56 | < celticminstrel> | ? |
16:56 | < gnolam> | ... at this point, the word that pops into my head is "mercy killing". |
16:56 | <@Derakon> | An excerpt from the C++ portion of some of the code I am unfortunately responsible for. |
17:00 | <@Derakon> | I love how this is dated from seven years ago and says we absolutely have to do this, but we clearly don't... |
17:24 | <@Derakon> | Random: http://angband.oook.cz/forum/showpost.php?p=48529&postcount=17 |
17:24 | <@Derakon> | That's on the Angband forums. |
17:54 | <@Derakon> | if(darkPixelMaxFound<*p) darkPixelMaxFound = *p; |
17:54 | <@Derakon> | if(darkPixelMinFound>*p) darkPixelMinFound =*p; p++; |
17:54 | <@Derakon> | Now the question is, is this a bug or not? |
17:54 | <@Derakon> | It sure looks like a bug from its structure... |
17:55 | < celticminstrel> | The fact that p++ isn't included in the if statement that it looks like it's a part of? |
17:55 | <@Derakon> | Yeah. |
17:58 | < celticminstrel> | Seems like it shouldn't be. |
17:58 | <@Derakon> | Which is why I'm wondering. |
17:59 | <@Derakon> | Fortunately this code is not currently ever called. |
17:59 | <@Derakon> | Unfortunately it's nominally doing something we want to add support back for. |
18:00 | | Tarinaky is now known as Caeldir |
18:01 | | AnnoDomini is now known as Ed |
18:10 | <@ToxicFrog> | Derakon: I don't think that's a bug, it's just really badly formatted. |
18:11 | <@ToxicFrog> | (1) If the current pixel is > max, set max to current |
18:11 | <@Derakon> | You may well be right. |
18:11 | <@ToxicFrog> | (2) If the current pixel is < min, set min to current |
18:11 | <@ToxicFrog> | (3) increment current |
18:14 | | * Derakon arghs at the variable name "nuImage". |
18:14 | <@Derakon> | Was it really too much to ask to add the extra letter in so it would be spelled properly? |
18:18 | < celticminstrel> | newImage, or nulImage? |
18:19 | <@Derakon> | newImage. |
18:19 | <@Derakon> | The code in question is applying a per-pixel correction to the output of a camera. |
18:21 | | Kazriko [kaz@Nightstar-5badc7ed.client.bresnan.net] has quit [Ping timeout: 121 seconds] |
18:21 | | * Derakon eyes this all, suspects he can replace about 400 lines of terribly-written C with one line of Python. |
18:21 | | Kazriko [kaz@Nightstar-5badc7ed.client.bresnan.net] has joined #code |
18:21 | | mode/#code [+o Kazriko] by Reiver |
18:33 | | Rhamphoryncus [rhamph@Nightstar-473f8685.abhsia.telus.net] has joined #code |
18:37 | <@Derakon> | Hey Rhamph, don't suppose you know if there's a way in Numpy to compute the mean, max, and min of an array in a single pass? |
18:37 | <@Derakon> | Like, a built-in? |
18:38 | < Rhamphoryncus> | I've no idea, sorry |
18:38 | <@Derakon> | Obviously I could write my own function but the built-ins are generally more efficient. |
18:38 | <@Derakon> | Oh well. |
18:38 | < Rhamphoryncus> | although even multiple passes from builtins could be pretty fast |
18:38 | <@Derakon> | My main concern is that the computers running this software are decrepit. |
18:38 | <@Derakon> | They're running Windows 2000, for example. |
18:44 | < Rhamphoryncus> | hrm don't even see a combined min/max |
18:49 | | celticminstrel [celticminst@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
18:54 | | Vornicus-Latens is now known as Vornicus |
19:02 | | Kindamoody|out is now known as Kindamoody |
19:14 | <@Vornicus> | No, that code is right. |
19:14 | <@Vornicus> | the p++ is the loop advancer. |
20:34 | | SchoolPhox [NSwebIRC@FD3571.2233F7.69D3C5.C92669] has joined #code |
20:34 | < SchoolPhox> | So, I've got a question relating to characters and strings. |
20:35 | < SchoolPhox> | Let's suppose I'm defining a character array at the beginning of my program, and I need the ascii character represented by the code 0x1F |
20:36 | < SchoolPhox> | Can I use the escape sequence \0x1F ? |
20:36 | < McMartin> | Usually that's \x1F. |
20:37 | < McMartin> | \0xxx means xxx is in octal, not hex. |
20:37 | < McMartin> | So you could also do \0037 |
20:37 | < SchoolPhox> | Okay. I'll give that a try |
20:38 | < SchoolPhox> | \0031, incidently |
20:39 | < McMartin> | 31 octal is totally not 1F hex. You can tell because all the rightmost bits are 1. |
20:39 | < SchoolPhox> | Ah, my bad. Octal, again |
20:44 | < SchoolPhox> | Now, I've got that immediately followed by a number, i.e "\00374", where 4 is intended to be the next character. Will the compiler correctly compile that as two separate characters? |
20:45 | < McMartin> | There's a way to make it do so |
20:45 | | Nethr [NSwebIRC@FD3571.2233F7.69D3C5.14EB42] has joined #code |
20:45 | < McMartin> | But I don't remember offhand what it is. |
20:45 | < SchoolPhox> | Alright. I'll do some further reading. |
21:10 | <@Vornicus> | what language are we working in anyway? |
21:10 | <@Vornicus> | (in C, strings are bytes only, and the octal escape is three digits long always) |
21:11 | <@Vornicus> | (so the correct method is "\0374" there |
21:14 | < SchoolPhox> | Yeah, it's C |
21:35 | | * Derakon eyes his checkin history from the last two days. |
21:35 | <@Derakon> | 8 checkins of completely untested code that should have zero functional changes. |
21:35 | <@Derakon> | (This is the problem with having to reserve time on the microscope to test your work...) |
21:36 | | Nethr [NSwebIRC@FD3571.2233F7.69D3C5.14EB42] has quit [[NS] Quit: Page closed] |
22:07 | | Ed is now known as AnnoDomini |
22:11 | | Caeldir is now known as Tarinaky |
22:25 | | SchoolPhox [NSwebIRC@FD3571.2233F7.69D3C5.C92669] has quit [[NS] Quit: Page closed] |
22:58 | | PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has quit [Killed (Syloq (BACKUPS!))] |
22:58 | | PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has joined #code |
23:22 | | AnnoDomini [annodomini@Nightstar-631b7f5c.adsl.tpnet.pl] has quit [[NS] Quit: Zzz.] |
23:25 | < Tarinaky> | <lambda> sex and programming are similar in that you can be doing one while thinking about the other |
23:32 | | Derakon [chriswei@Nightstar-cfae48c3.ca.comcast.net] has quit [[NS] Quit: leaving] |
23:36 | | Attilla [Some.Dude@Nightstar-92c9199f.cable.virginmedia.com] has joined #code |
23:36 | | mode/#code [+o Attilla] by Reiver |
--- Log closed Sat Feb 12 00:00:30 2011 |