code logs -> 2010 -> Wed, 17 Nov 2010< code.20101116.log - code.20101118.log >
--- Log opened Wed Nov 17 00:00:45 2010
00:07 Orthia [orthianz@Nightstar-6c7c9be6.xnet.co.nz] has quit [Connection reset by peer]
00:10 You're now known as TheWatcher[T-2]
00:10 Orthia [orthianz@Nightstar-01558968.xnet.co.nz] has joined #code
00:15 You're now known as TheWatcher[zZzZ]
00:21
< Abu[Laptop]>
Hole-ee shee-it. I just found a very old thread in the Yak Pen on the Zoon (not sure why it's there, I think lots of these threads were originally in the Schlock Mercenary subforum) where I paint myself as a diehard Windows 98SE user with a hate-on for Linux.
00:25
< Abu[Laptop]>
It was posted in the summer of 2005.
00:25
< Abu[Laptop]>
I think that was the last summer before I went to Uni.
00:29
< Abu[Laptop]>
It is fascinating and disturbing to read something that feels alien, yet know it was written by oneself.
00:32
< Abu[Laptop]>
Man. Back then, I was using "Advanced Browser," which was a third-party frontend for IE.
00:40
< Abu[Laptop]>
My views have changed a lot, since then. Studies really alter people.
00:45 Abu[Laptop] [annodomini@Nightstar-6471cf43.adsl.tpnet.pl] has quit [[NS] Quit: Zzz.]
00:57 kwsn [kwsn@Nightstar-ca9721ae.dyn.centurytel.net] has joined #code
01:07 Ortiha [orthianz@Nightstar-17978866.xnet.co.nz] has joined #code
01:07 Derakon [Derakon@Nightstar-cfae48c3.ca.comcast.net] has joined #code
01:08 mode/#code [+o Derakon] by Reiver
01:08 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [Ping timeout: 121 seconds]
01:09 Orthia [orthianz@Nightstar-01558968.xnet.co.nz] has quit [Ping timeout: 121 seconds]
01:17 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
01:53 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Connection closed]
01:54
<@ToxicFrog>
\o/ scala
01:56 * gnolam gets a mental image of ToxicFrog singing opera.
02:08
<@ToxicFrog>
Futures are fucking awesome.
02:21 RichardBarrell [mycatverbs@Nightstar-3b2c2db2.bethere.co.uk] has quit [Connection closed]
02:55 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?]
03:46 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection reset by peer]
04:12 Ortiha is now known as Orthia
05:21 cpux is now known as shade_of_cpux
06:17 Zed [Zed@Nightstar-556ea8b5.or.comcast.net] has joined #code
06:27
<@jerith>
ToxicFrog: Do they have flying cars in them?
06:31 Derakon is now known as Derakon[AFK]
06:41
<@froztbyte>
isn't Futures the standard-lib version of Deferreds?
06:41
<@froztbyte>
(that got recently introduced)
06:42
<@jerith>
Futures are a general mechanism for getting a result later.
06:43
<@jerith>
Deferreds are a particular implementation of that.
06:49 kwsn [kwsn@Nightstar-ca9721ae.dyn.centurytel.net] has quit [[NS] Quit: BEEP BEEP IMMA JEEP]
07:01 Rhamphoryncus [rhamph@Nightstar-473f8685.abhsia.telus.net] has quit [Client exited]
07:55 You're now known as TheWatcher
08:02 Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has quit [Ping timeout: 121 seconds]
08:03 Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has joined #code
08:03 mode/#code [+o Kazriko] by Reiver
08:11 Anno[Laptop] [annodomini@Nightstar-6471cf43.adsl.tpnet.pl] has joined #code
08:29 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
08:32 Orthia [orthianz@Nightstar-17978866.xnet.co.nz] has quit [Ping timeout: 121 seconds]
08:34 You're now known as TheWatcher[afk]
08:36 Orthia [orthianz@Nightstar-1e9b2a25.xnet.co.nz] has joined #code
08:56 Orthia [orthianz@Nightstar-1e9b2a25.xnet.co.nz] has quit [Ping timeout: 121 seconds]
09:03 Orthia [orthianz@Nightstar-28c03cec.xnet.co.nz] has joined #code
10:04 Anno[Laptop] [annodomini@Nightstar-6471cf43.adsl.tpnet.pl] has quit [[NS] Quit: LOL.]
10:05 You're now known as TheWatcher
10:19 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
10:37 * gnolam stabs the Linux desktop experience.
10:38 Anno[Laptop] [annodomini@F67919.F326B3.98D923.BDA7B6] has joined #code
11:03 Vornicus is now known as Vornicus-Latens
11:13 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection reset by peer]
12:03 kazrikna [kazrikna@Nightstar-843a343b.arkaic.com] has quit [Ping timeout: 121 seconds]
12:19 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code
12:29 Orthia [orthianz@Nightstar-28c03cec.xnet.co.nz] has quit [Client closed the connection]
12:31 Orthia [orthianz@Nightstar-28c03cec.xnet.co.nz] has joined #code
12:32 Orthia [orthianz@Nightstar-28c03cec.xnet.co.nz] has quit [Connection reset by peer]
12:33 Ortiha [orthianz@Nightstar-a4544d08.xnet.co.nz] has joined #code
13:00 Anno[Laptop] [annodomini@F67919.F326B3.98D923.BDA7B6] has quit [[NS] Quit: Leaving.]
13:07 Zed_ [Zed@Nightstar-556ea8b5.or.comcast.net] has joined #code
13:10 Zed [Zed@Nightstar-556ea8b5.or.comcast.net] has quit [Ping timeout: 121 seconds]
13:32 Anno[Laptop] [annodomini@Nightstar-6471cf43.adsl.tpnet.pl] has joined #code
13:53 gnolaptop [lenin@Nightstar-53cf2809.eduroam.liu.se] has joined #code
14:06 gnolaptop [lenin@Nightstar-53cf2809.eduroam.liu.se] has quit [[NS] Quit: Blargh]
14:13 kazrikna [kazrikna@Nightstar-843a343b.arkaic.com] has joined #code
14:27 Stalker is now known as Serah
15:05 gnolaptop [lenin@Nightstar-66c7245e.eduroam.liu.se] has joined #code
15:28 Anno[Laptop] [annodomini@Nightstar-6471cf43.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
15:30 Anno[Laptop] [annodomini@Nightstar-37c911a3.adsl.tpnet.pl] has joined #code
15:33 shade_of_cpux [chatzilla@Nightstar-c978de34.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
15:49 shade_of_cpux [chatzilla@Nightstar-c978de34.dyn.optonline.net] has joined #code
15:59 gnolaptop [lenin@Nightstar-66c7245e.eduroam.liu.se] has quit [[NS] Quit: Gone]
16:09 Corra [NSwebIRC@Nightstar-cbb2d29a.vtacs.com] has joined #code
16:09
< Corra>
hum de dum dum.
16:09
< Corra>
Greetings all.
16:40
< Corra>
Well, I'll probably be away, but if anyone is interested and has some good resources for VLANs over the internet (especially incorporating wireless) feel free to send them my way.
16:54 Rhamphoryncus [rhamph@Nightstar-473f8685.abhsia.telus.net] has joined #code
16:57 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
17:26
< Corra>
and I have returned.
17:30
<@ToxicFrog>
As in, writing your own VLAN system?
17:31
< Corra>
No, I just wantto set one up. It's something I haven't done before. And I'm worrying if adding an access point will complicate it.
17:31
< Corra>
Also it seems difficult finding VLAN software for free. ^_^;
17:39 Derakon [chriswei@Nightstar-cfae48c3.ca.comcast.net] has joined #code
17:39 mode/#code [+o Derakon] by Reiver
17:39
<@Derakon>
So one of the things that characterizes Sebastian's code is the lack of knowledge of how to use source control.
17:40
<@Derakon>
Which is why there's 112 instances of the string "CHECK" and 25 instances of "HACK" in the C++ portion of the microscope code.
17:40
<@Derakon>
...wait, no it's not.
17:40
<@Derakon>
That's just him being lazy about commenting.
17:41
<@Derakon>
What characterizes his lack of understanding of source control is all of the dated comments that make minor tweaks to code or variable values.
17:41
< celticminstrel>
...I don't get it.
17:41
<@Derakon>
E.g. foo = 2; //20040812 foo = 4;
17:41
<@Derakon>
Celtic: apparently I'm still waking up.
17:41
< celticminstrel>
Hehe, I do stuff like that too, though minus the date. <_<
17:41 * Derakon beats Celtic about the head with source control.
17:41
< celticminstrel>
Yeah, yeah, I know.
17:41
<@Derakon>
It handles tracking these changes so you don't have to!
17:42
< celticminstrel>
Sometimes the change is just a quick tweak that might be reverted/altered minutes later, though.
17:42
<@Derakon>
Well sure, if you aren't actually done with your current development then there's no point checking something in.
17:42
<@Derakon>
But before you *do* check things in you should do a pass to clean up that crap.
17:43
< celticminstrel>
Yeah.
17:43
< gnolam>
Well, at least it's not // WORKAROUNDHACKHACKHACKHACKHACKHACKHACK
17:43
< gnolam>
:)
17:44
<@Derakon>
Oddly enough, Sebastian never really feels the need to characterize one hack as worse than another.
17:44
<@Derakon>
Nor does he generally indicate why something is a hack.
17:44
< celticminstrel>
Perhaps he feels that the why is obvious.
17:45
< gnolam>
(Which my reliable sources tell me is now in the code for a major game engine. After the company behind it had pushed an engine revision that just search-and-replaced instances of "hack" in the comments with "workaround".)
17:45
<@Derakon>
I assume that he never anticipated that someone else would have to maintain his code.
17:45
<@Derakon>
(And that he, two weeks down the line, would still remember)
17:45
<@Derakon>
Gnolam: clearly they didn't remember to pass the 'g' flag to sed~
17:46
< gnolam>
But yeah, "foo = 2; //20040812 foo = 4;" should be a capital offense.
17:46 Attilla [Some.Dude@Nightstar-028a7d7a.threembb.co.uk] has joined #code
17:46 mode/#code [+o Attilla] by Reiver
17:49
< celticminstrel>
My version is "foo = 2; // 4;"
17:50
< celticminstrel>
Or maybe "foo = 2 /* 4 */;"
17:50
< celticminstrel>
But I clean such things up as soon as possible.
17:52
< gnolam>
Nasty. :P
17:56
<@Derakon>
Oooh, here's a nice bit.
17:56
<@Derakon>
/*orig(old)*/
17:56
<@Derakon>
glTexSubImage2D(GL_TEXTURE_2D,0, 0,0, pic_nx,pic_ny,
17:56
<@Derakon>
GL_LUMINANCE,GL_UNSIGNED_SHORT, imageData_basePtr);
17:56
<@Derakon>
/* tested
17:56
<@Derakon>
glTexSubImage2D(GL_TEXTURE_2D,0, 0,0, pic_nx,pic_ny,
17:56
<@Derakon>
GL_COLOR_INDEX,GL_UNSIGNED_SHORT, imageData_basePtr); */
18:00
<@Derakon>
Don't get me started on the combination of tabs and two-space indenting, the placement of curlies on their own lines and indentation level, etc...
18:01
< Corra>
curlies getting their own lines isn't anything new or badong.
18:01
<@Derakon>
Corra: no, but their getting their own indentation level is.
18:02 * Derakon takes a file down from 800 lines to 666 lines solely by removing useless comments and excessive blank lines.
18:02
<@Derakon>
There, that's much more appropriate.
18:08 * Derakon eyes this code.
18:08
<@Derakon>
Why are we creating an array of length 1 instead of just using an actual value?
18:08
<@Derakon>
It's clear that Sebastian knows about pointers, so that can't be it.
18:08
< Corra>
To pass into a function requiring an array?
18:08
<@Derakon>
Corra: it's a member variable for a class.
18:09
<@Derakon>
You don't pull that shit for a single function.
18:09
<@Derakon>
My guess is that the array used to be nonscalar but it got changed and he was too lazy to fix his code.
18:09
< Corra>
Haha. Perhaps so.
18:11
< celticminstrel>
Nice linecount there Dera. :P
18:12
<@Derakon>
Also, there's no good reason for this line:
18:12
<@Derakon>
else ;
18:12
< Corra>
LOL
18:12
< celticminstrel>
XD
18:13
< gnolam>
It's a version of programming with contracts. That is the "or else" assertion.
18:18 Ortiha [orthianz@Nightstar-a4544d08.xnet.co.nz] has quit [Connection reset by peer]
18:26 Orthia [orthianz@Nightstar-a4544d08.xnet.co.nz] has joined #code
18:48
<@Derakon>
Every once in awhile I wonder what Sebastian would think of the changes I've made to the code he wrote...
18:50 * Corra idley wonders if Derakon knows of a free VLAN software to suggest.
18:50
<@Derakon>
No, I don't.
18:51 * Corra hmmms...
18:57
<@ToxicFrog>
Corra: hamachi?
18:58
<@ToxicFrog>
How infrastructural do you need this? What's your use case?
18:58
< Corra>
Well, actually, I'm trying to use it to see if I can trick a DS into playing local wireless with someone elsewhere.
18:58
< Corra>
So it needs to be invisible beyond the wireless router
19:00
< Corra>
though something like this would make that possible: http://en.wikipedia.org/wiki/Nintendo_Wi-Fi_USB_Connector
19:00
<@ToxicFrog>
Aah. So you want to play ad hoc with someone elsewhere on the net, same as what xlink kai does for the PSP?
19:01
< Corra>
That's right.
19:02
< Corra>
Shame Nintendo wouldn't do that out of the box for most games
19:03
<@ToxicFrog>
Nitro and XLink both had working prototypes at one point but abandoned them due to difficulty in progress past the prototype stage.
19:03
<@ToxicFrog>
There's DSTunnel, although it only works on certain wireless card models.
19:04
< Corra>
That's a shame. Might be worth looking into though.
19:04
<@ToxicFrog>
This is considerably harder than "just" setting up a VLAN, because the DS needs to think that your AP is another DS in ad hoc mode
19:05
< Corra>
can most games be played in a LAN mode too though?
19:05
<@ToxicFrog>
Depends on the game and the console.
19:05
< Corra>
True... specifically, I'm trying to set this all up for the new Final Fantasy: The 4 heroes of light game.
19:06
< Corra>
If you all have to be in the same room, you might as well play 4, 5, or 6.
19:09
< Corra>
The game supports LAN, so that's favorable.
19:09
< Corra>
Maybe VLAN/Virtual Access Point software would be enough?
19:11
<@Derakon>
Okay, sometimes numpy is pretty cool.
19:11
<@Derakon>
image[numpy.where(image > average + stddev * 2)] = average
19:12
<@Derakon>
This takes an array of pixel brightness values, and sets all pixels that are more than 2 standard deviations brighter than the average to the average.
19:12
<@Derakon>
(Where image is the array, average is numpy.mean(image), and stddev is numpy.std(image))
19:13
<@ToxicFrog>
Corra: if the game supports LAN, the fact that it's a DS is irrelevant, if LAN means what I think it does - all of the DSes connect to the same network in infrastructure mode and talk to each other over that?
19:14
<@ToxicFrog>
In that case, yeah, you don't need a tunneler, just a normal VLAN. If Hamachi has an AP/router mode that would do nicely.
19:15
< Corra>
yeah, if Hamachi had that, it would be fantastic.
21:02
< Alek>
mmm
21:03
< Corra>
how's it going, Alek?
21:06
< Alek>
ok.
21:07
< Alek>
gave blood. it went swimmingly.
21:07
< Alek>
got it in the 1st try, and it wasn't collapsed like sometimes.
21:07
<@TheWatcher>
If you're swimming in blood, you're giving it wrong~
21:07
< Alek>
?_?
21:07
< Alek>
and had an interview for a job.
21:08
< Alek>
admittedly, it's an agency. but it doesn't seem to be 1-day or same-day jobs, since the job they're hiring for is for Motorola.
21:09
< Alek>
for a month or two, max, but there's potential for more, either with them or with Motorola.
21:09
< Alek>
just need to pass the drug screen and background check.
21:09
< Alek>
and the final review, I'm sure. >_>
21:09
< Corra>
yeah
21:10
< celticminstrel>
Odd conversation for #code. :P
21:49 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
21:53
< Alek>
he's kidding, right?
21:54
< Corra>
not sure. I don't visit #code very often
21:58
<@jerith>
Most conversation in here is about code.
21:59
< Corra>
Then perhaps he is not kidding.
21:59
<@jerith>
It's not a bad thing.
22:00
<@jerith>
Just out of the ordinary.
22:06
< Corra>
well, see you all
22:06
<@jerith>
o/
22:07 Corra [NSwebIRC@Nightstar-cbb2d29a.vtacs.com] has quit [[NS] Quit: Page closed]
22:10
< gnolam>
Speaking of source control...
22:10
< gnolam>
[22:29] <Phrogz> Oh dear sweet dailywtf.
22:10
< gnolam>
[22:30] <Phrogz> I've just discovered that the database backup strategy for one of my coworkers has been to check a new .sql file into Perforce every so often.
22:10
< gnolam>
[22:30] <Phrogz> 800MB every 1-15 days. As a new file.
22:10
< gnolam>
[22:30] <Phrogz> For 3 years now.
22:25 Corra [Corra@Nightstar-9c6ceddf.east.verizon.net] has joined #code
22:38 RichardBarrell [mycatverbs@Nightstar-3b2c2db2.bethere.co.uk] has joined #code
22:57
<@Derakon>
...
22:57
<@Derakon>
goto LABLE;
22:57
<@Derakon>
Thank you Sebastian.
22:57
<@Derakon>
I believe the word you wanted was "ladle"~
22:59
< Corra>
lol!
22:59
<@jerith>
:-)
23:03
< Corra>
hmm.. so, I don't see any options for AP/router for hamachi...
23:03
< Corra>
perhaps it can still be bridged though.
23:29 Corra` [Corra@Nightstar-9c6ceddf.east.verizon.net] has joined #code
23:33 Corra [Corra@Nightstar-9c6ceddf.east.verizon.net] has quit [Ping timeout: 121 seconds]
23:33 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?]
23:38 celticminstrel [celticminst@Nightstar-f8b608eb.cable.rogers.com] has joined #code
23:39 You're now known as TheWatcher[T-2]
23:43 You're now known as TheWatcher[zZzZ]
23:46
< Corra`>
hmm... my wireless adapter isn't compatible with connectify me
23:57 shade_of_cpux is now known as cpux
--- Log closed Thu Nov 18 00:00:47 2010
code logs -> 2010 -> Wed, 17 Nov 2010< code.20101116.log - code.20101118.log >