code logs -> 2007 -> Fri, 19 Jan 2007< code.20070118.log - code.20070120.log >
--- Log opened Fri Jan 19 00:00:23 2007
00:15 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has quit [Quit: quit]
01:08 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
01:08 mode/#code [+o Chalcy] by ChanServ
01:10 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
01:18 Chalcy is now known as Chalcedon
01:36 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
01:36 mode/#code [+o Chalcy] by ChanServ
01:36 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Killed (NickServ (GHOST command used by Chalcy))]
01:36 Chalcy is now known as Chalcedon
02:31 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
02:31 mode/#code [+o Chalcy] by ChanServ
02:32 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Killed (NickServ (GHOST command used by Chalcy))]
02:32 Chalcy is now known as Chalcedon
02:36 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
02:37 mode/#code [+o Chalcy] by ChanServ
02:38 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
03:06 Pi [~sysop@Nightstar-6915.hsd1.or.comcast.net] has quit [Ping Timeout]
03:09 MyCatVerbs is now known as MyCatCodes
04:00 Chalcy is now known as Chalcedon
04:03 MyCatCodes is now known as MyCatVerbs
04:14
< MyCatVerbs>
Good news! The only build errors I get on my project are linker errors from all the functionality I've yet to actually implement.
04:15
< MyCatVerbs>
Bad news: I have a metric fuckton of stuff to go and implement, keke!
04:21 * Chalcedon gives MCO cookies and coffee
04:22 ReivWork is now known as Reiver
04:31
< MyCatVerbs>
Chalcedon: your ideas intrigue me. Where may I sign up to your newsletter?
04:32
<@Chalcedon>
...I don't have a newsletter...
04:32
< MyCatVerbs>
That's okay, I don't have enough originality to do better than misquoting Homer Simpson.
04:33
<@Chalcedon>
ah, thats one reference I won't get I'm afraid.
04:33
< MyCatVerbs>
Alternative, probably better, reply: Chalcedon, I like your methodology. I also happen to have cookies in my cupboard.
04:33
<@Chalcedon>
when's your project due?
04:33
< MyCatVerbs>
Another week. I want to get as much possible done by tomorrow morning, though.
04:34
< MyCatVerbs>
*as much as possible... I have to wonder how much *good* code I'ma be able to write while this silly =)
04:34
< MyCatVerbs>
%s/silly/tired, fuckdammit. >_</g
04:35
<@Chalcedon>
isn't it like, 4am there?
04:35
< MyCatVerbs>
Half past.
04:35
<@Chalcedon>
why tomorrow morning?
04:35
< MyCatVerbs>
Meeting the lecturer for this project. I want to be able to wave a phat wodge of workign code at him, if possible..
04:36
<@Chalcedon>
is it really going to be constructive meeting your lecturer while three parts asleep?
04:36
< MyCatVerbs>
Chalcedon: I have a *lot* of teabags handy... >_>
04:36
<@Chalcedon>
I find tea puts me to sleep.
04:37
< MyCatVerbs>
At the strength I make it, it keeps one awake just by the sheer concentration of hatred burning deep within its tannic soul.
04:37
<@Chalcedon>
o.O poor tea.
04:38
< MyCatVerbs>
You're kidding, right? I'm the one who drinks it. =D
04:38
<@Chalcedon>
heh
04:38
< MyCatVerbs>
Worse still, pity the guy crazy enough to enjoy it. ^^
04:38
<@McMartin>
If you're getting tannins, you're brewing it for too long
04:38
<@Chalcedon>
is tomorrow morning this morning?
04:38
<@McMartin>
You should be adding More Tea instead of More Time.
04:39
< MyCatVerbs>
McMartin: excuse me for taking poetic lisence with the chemistry, but I thought tannic acid was dissolved into the liquid immediately when poured in?
04:39
< MyCatVerbs>
Chalcedon: yup.
04:39
<@Chalcedon>
it gets worse though.
04:40
<@McMartin>
MCVs: For most black teas it takes about 5 minutes before it starts leaching out.
04:40
<@Chalcedon>
It tastes funny if you over boil the water too.
04:40
<@McMartin>
The theophylline and friends should be released instantly though
04:40
<@McMartin>
Chalcedon: Yeah, you don't want it to be actually boiling.
04:40
< MyCatVerbs>
Chalcedon: I always add milk before water. Scalds the milk, sure, but I'm too lazy to use a teapot.
04:40
<@McMartin>
Though it's less of a problem for black teas than for, say, green
04:40 Derakon [~Derakon@Nightstar-23641.sea2.cablespeed.com] has joined #code
04:41 * Chalcedon <3 her teapot
04:41
< MyCatVerbs>
McMartin: you're kidding, right? It's way less delicious if you let it drop from 373K before pouring into the teapot.
04:42
<@Chalcedon>
473K?
04:42
<@Chalcedon>
373 is freezing
04:42
< Derakon>
Minor detail.
04:42
<@Chalcedon>
McMartin: my dad has a tendency to boil the kettle then wander off, by the time he gets back it's cooled down too much so he reboils it. It tastes really yucky.
04:42
<@McMartin>
MCV: ... one moment while I do temperature conversions.
04:42
<@McMartin>
Chalcedon: ... that probably has more to do with garbage leaking in from your kettle...
04:43
<@Chalcedon>
no, it's reproducible with other kettles
04:43
< MyCatVerbs>
Chalcedon: ...whut?
04:43
<@Chalcedon>
(and boiling water on a stove too)
04:43
<@McMartin>
Water's just water.
04:43
<@Chalcedon>
(in a pot)
04:43
< Derakon>
-273°C = 0°K.
04:43
<@Chalcedon>
oops sorry, my bad
04:43
< MyCatVerbs>
Chalcedon: 273 is freezing, 310 is blood. 373 is boiling.
04:43
<@McMartin>
MCV: Green tea generally should be brewed for three minutes at 82 C.
04:43
<@Chalcedon>
what I said before.
04:44
<@McMartin>
Well, presumably 80 or 85C, since "82" is me converting from 180 F.
04:44
<@Chalcedon>
yes, but if you boil it too much MCM, you boil all the air out of it. this tastes different.
04:44
<@McMartin>
Green tea scorches if you put it in too hot water.
04:45
<@Chalcedon>
I don't usually drink green tea, though I do keep meaning to try it.
04:46
<@McMartin>
Neither do I, except at Chinese restaurants.
04:47 MyCatVerbs [~mycatownz@Nightstar-379.dsl.in-addr.zen.co.uk] has quit [Ping Timeout]
04:47
<@McMartin>
Green and Oolong do pretty much demand that you not use milk, though.
04:48 MyCatVerbs [~mycatownz@Nightstar-379.dsl.in-addr.zen.co.uk] has joined #code
04:48
<@Chalcedon>
I'm funny like that, I like my milk.
04:48
<@Chalcedon>
Green I can see without milk.
04:48
<@McMartin>
Green with milk tastes like slightly sour milk.
04:48
<@Chalcedon>
I can imagine
04:48
<@Chalcedon>
I wouldn't acutally put milk in green tea, it just seems odd.
04:49
<@McMartin>
You also don't really want to ice anything but black/red tea.
04:49
< MyCatVerbs>
McMartin: uhhuh. And green tea generally should be drunk by hippies and red. Black tea, please!
04:49
<@McMartin>
MCV: You clearly don't live on the North American West Coast.
04:49
< MyCatVerbs>
McMartin: duh?
04:50
<@McMartin>
Green and Oolong teas are drunk by Chinese.
04:50
<@McMartin>
And those visiting their restaurants, etc.
04:50
<@McMartin>
Red and Black tea are identical; it just depends on who's naming it.
04:50
<@Chalcedon>
I thought the Japanese drank green tea too.
04:50
<@McMartin>
Well, yes. The local Japanese places here serve barley tea, though, so it doesn't jump to mind.
04:51
<@McMartin>
(Also they totally ripped it off from China zomg)
04:53
< MyCatVerbs>
(What, like the writing system wasn't enough?)
04:54
<@McMartin>
(Well, Writing Is Hard; it only got invented, like, eight times)
04:54
<@McMartin>
(And tea is only native to India and China, and they're different species)
04:54
<@Chalcedon>
they are?
04:55
<@Chalcedon>
this packet of tea is telling lies then
04:55
<@McMartin>
(Key word: native)
04:55
<@McMartin>
(We've had 400 years to spread the stuff around. Likewise for coffee)
04:55
< MyCatVerbs>
McMartin: (Yeah, but it only got invented nicely on one occasion. Three cheers for UTF8, all hail Plan Nine!)
04:56
<@McMartin>
(UTF8 is the Phoenecians' fault)
04:56
<@McMartin>
(This has been your baffling out-of-context quote for the day)
04:56
<@Chalcedon>
McMartin: I'm an ecologist and I live in NZ, I know all about spreading stuff around.
04:56
<@McMartin>
AIUI there's only two species of tea, though. Sinesis and the other one.
04:57
<@McMartin>
Most of the flavor differences come from local soil etc.
04:57
<@Chalcedon>
what kind of tea do they make with the other one?
04:57 * Chalcedon wikis
04:57
<@McMartin>
The other one is the India-based one, so probably most of what we drink.
04:57
<@McMartin>
English Breakfast is a blend of the other one from various locations, IIRC.
04:58
<@Chalcedon>
its a Camellia??
04:59
<@McMartin>
I guess.
04:59
<@McMartin>
As I noted, tea sold here is identified more by location than species.
04:59
<@McMartin>
Because location is more important to taste.
04:59 * Chalcedon nods
04:59
<@Chalcedon>
time to go
05:00
< MyCatVerbs>
Have fun.
05:11 Reiver is now known as ReivOut
05:30 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Quit: yay, more RAM!!]
05:31
<@McMartin>
Augh, these functions are made of spiders
05:35
< MyCatVerbs>
Spiders on crack?
05:37
<@McMartin>
Unclear
05:46
<@McMartin>
Ha ha, got it
05:55 * McMartin fires up svn blame, is totally not surprised
05:57 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
05:57 mode/#code [+o Chalcedon] by ChanServ
06:01 AnnoDomini [~farkoff@Nightstar-29243.neoplus.adsl.tpnet.pl] has joined #Code
06:39 Mahal [~Mahal@Nightstar-12986.worldnet.co.nz] has quit [Quit: updates]
06:44
< Derakon>
For what it's worth, the GameDev.net forum was able to help me with my vtable problem.
06:44
< Derakon>
Namely, I had "virtual void addChild(...);" in my component.hh, when it should have been "virtual void addChild(..) = 0;"
06:46
< Vornicus-Latens>
oh, pure virtuals!
06:47
< Derakon>
I don't really know what the difference is, sadly. It's been way too long since I did this stuff.
06:47 Vornicus-Latens is now known as Vornicus
06:47
< Vornicus>
A pure virtual is like an abstract method in Java.
06:47
< Vornicus>
You can't instantiate a class with a pure virtual function in it.
06:47
< Derakon>
Ahh.
06:48
< Derakon>
So adding the " = 0" bit basically says "this is a function that can be overridden by a child class, and it does nothing".
06:48 Mahal [~Mahal@Nightstar-12986.worldnet.co.nz] has joined #Code
06:48 mode/#code [+o Mahal] by ChanServ
06:48
< Derakon>
Yes?
06:48
< Vornicus>
Yep.
06:48
< Derakon>
Righto.
06:49
< Derakon>
Yay understanding *why* something works!
06:51
< Vornicus>
more precisely it says "this entry in your vtable points to null!"
06:53
< Derakon>
...am I assigning to a function pointer?
06:53
< Vornicus>
essentially.
06:54
< Vornicus>
I don't know if it works in other cases though.
06:54
< Derakon>
I don't really use function pointers in C++, so that's not a big concern.
06:58
< Derakon>
Anyway, bedtime for me. Night, all.
06:58
< Vornicus>
ni
07:00 Derakon is now known as Derakon[AFK]
07:08
<@McMartin>
The = 0 says not only "can be" but "must be"
07:22 Serah [~-@87.72.36.ns-26407] has quit [Connection reset by peer]
07:24 Serah [~-@87.72.36.ns-26407] has joined #Code
07:34 timelady [~romana@Nightstar-13970.lns3.adl2.internode.on.net] has joined #Code
08:03 timelady [~romana@Nightstar-13970.lns3.adl2.internode.on.net] has quit [Quit: run away! run away!]
08:15 MyCatVerbs is now known as MyCatIsAway
08:26 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
08:26 mode/#code [+o Chalcy] by ChanServ
08:27 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Killed (NickServ (GHOST command used by Chalcy))]
08:27 Chalcy is now known as Chalcedon
08:28 McMartin [~mcmartin@Nightstar-10013.dsl.pltn13.pacbell.net] has quit [Quit: rebooting due to kernel upgrades]
08:31 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
08:32 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
08:42 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Quit: ]
08:48 You're now known as TheWatcher
09:03 ReivOut is now known as Reiver
10:00 Reiver is now known as ReivZzz
12:19 MyCatIsAway is now known as MyCatVerbs
13:28 MyCatVerbs is now known as MyCatNaps
14:16 Mahal is now known as MahalBED
15:34 Derakon[AFK] [~Derakon@Nightstar-23641.sea2.cablespeed.com] has quit [Ping Timeout]
17:18 You're now known as TheWatcher[afk]
17:26 AnnoDomini [~farkoff@Nightstar-29243.neoplus.adsl.tpnet.pl] has quit [Killed (NickServ (GHOST command used by AbuDhabi))]
17:26 AnnoDomini [~farkoff@Nightstar-6941.neoplus.adsl.tpnet.pl] has joined #Code
17:55
< ToxicFrog>
Hmm. Running into problems implementing unhook().
17:55
< ToxicFrog>
I may actually need a linked list for this.
17:55
< Vornicus>
what's unhook() do?
17:55
< ToxicFrog>
(as opposed to The Awesome Power Of Tables(tm)
17:55
< ToxicFrog>
Unhooks a hooked callback.
17:56
< ToxicFrog>
Eg, my_hook = server:hook("PRIVMSG", callback_fn) -- callback_fn(server, from, PRIVMSG, to, args...) will be called each time PRIVMSG is recieved from the server
17:56
< ToxicFrog>
server:unhook(my_hook) -- now it won't be
17:56
< Vornicus>
oh
17:57
< ToxicFrog>
At first glance tables-as-arrays seems to be the way to go, but then unhooking runs into Problems.
17:59
< ToxicFrog>
(well, more like tables-as-stacks)
18:05
< ToxicFrog>
And there we go.
18:08 GeekSoldier [IceChat7@Nightstar-4113.pools.arcor-ip.net] has joined #code
18:08
< Vornicus>
Is it worky?
18:09
< ToxicFrog>
Well, I don't have enough of it done to be worky yet.
18:09
< Vornicus>
heh
18:10
< ToxicFrog>
But overall this is looking to be simpler than expected, which worries me, as it means I've probably overlooked something important.
18:10
< Vornicus>
heh
18:14
< ToxicFrog>
Ok, unit tests work.
18:15
< ToxicFrog>
Stuff to write: the network interface; the message parser; the convenience callbacks for PING and CTCP.
18:17
< Vornicus>
So what does 353 do anyway?
18:17
< ToxicFrog>
"channel topic set by <nick> at <timestamp>"
18:17
< Vornicus>
okay.
18:18
< ToxicFrog>
<< TOPIC #code
18:18
< ToxicFrog>
>> :DeepThought.NY.US.Nightstar.Net 332 ToxicFrog #Code :#Code - It's like swiss bank accounts, but for coders! | Have a pastebin! http://pastie.caboo.se/ | Text editors in a nutshell: http://sycophant.wordpress.com/files/2006/03/emacs.jpg
18:18
< ToxicFrog>
>> :DeepThought.NY.US.Nightstar.Net 333 ToxicFrog #Code Vornicus 1163625821
18:18
< Vornicus>
what's 2182's extension do?
18:18
< ToxicFrog>
--- Topic for #Code is #Code - It's like swiss bank accounts, but for coders! | Have a pastebin! http://pastie.caboo.se/ | Text editors in a nutshell: http://sycophant.wordpress.com/files/2006/03/emacs.jpg
18:18
< ToxicFrog>
--- Topic for #Code set by Vornicus at Wed Nov 15 16:23:41 2006
18:18
< ToxicFrog>
...err, sorry.
18:18
< ToxicFrog>
That's 333.
18:18
< ToxicFrog>
353 is NAMES.
18:19
< ToxicFrog>
The 1459 version is :server 353 target #channel :list of names
18:19
< ToxicFrog>
The 2182 extended version is :server 353 target chantype #channel :list of names
18:19
< Vornicus>
...chantype.
18:19
< ToxicFrog>
Note that in this case, "chantype" isn't one of !&#, it's one of @*=
18:20
< Vornicus>
...uh...
18:20
< ToxicFrog>
(the !&# is part of the channel name)
18:20
< ToxicFrog>
Meaning, respectively, secret, private, and normal.
18:20
< Vornicus>
...madness.
18:20
< ToxicFrog>
The reason this is stupid is because (1) it's inconsistent with the mode characters and the channel name spec, (2) it's not backwards compatible with 1459 and will break 1459 clients, and (3) it doesn't contain any information you can't get with MODE anyways.
18:20
< ToxicFrog>
And yet, everyone uses it.
18:21
< ToxicFrog>
<< NAMES #code
18:21
< ToxicFrog>
>> :DeepThought.NY.US.Nightstar.Net 353 ToxicFrog = #Code :GeekSoldier AnnoDomini Serah @MahalBED MyCatNaps EvilDarkLord @TheWatcher[afk] Vornicus @jerith ReivZzz Raif @Chalain @ToxicFrog
18:21
< ToxicFrog>
>> :DeepThought.NY.US.Nightstar.Net 366 ToxicFrog #code :End of /NAMES list.
18:23
< ToxicFrog>
And this is one reason I'm abstracting away some stuff (names, who, whois, topic, and mode, so far) into the library.
18:23
< ToxicFrog>
So that you can just go [[ local names = server:names("#channel") ]] instead of hooking your own callbacks for it and then having to figure out if it's using 1459 or 2182.
18:36 You're now known as TheWatcher
18:39 * Serah explodes due to highlightage.
18:40
< ToxicFrog>
> srv:handle_event("Source", "PRIVMSG", "Target", "Testing, testing...")
18:40
< ToxicFrog>
table: 0x607bc0 Source PRIVMSG Target Testing, testing...
18:40
< ToxicFrog>
> hook2 = srv:hook("PRIVMSG", function(...) print("hook2", ...) return false end)
18:40
< ToxicFrog>
> srv:handle_event("Source", "PRIVMSG", "Target", "Testing, testing...")
18:40
< ToxicFrog>
hook2 table: 0x607bc0 Source PRIVMSG Target Testing, testing...
18:40
< ToxicFrog>
table: 0x607bc0 Source PRIVMSG Target Testing, testing...
18:40
< ToxicFrog>
Mmm, interpreted languages.
18:42 * Serah shoots TF.
18:43
< ToxicFrog>
augh
18:43 * ToxicFrog bleeds out and dies
19:57 * ToxicFrog ....
19:58
< ToxicFrog>
[ben@leela luairc]$ file *
19:58
< ToxicFrog>
luairc.lua: ASCII English text
19:58
< ToxicFrog>
prototype.lua: ASCII text
19:58
< ToxicFrog>
prototype-object.lua: ASCII C++ program text
19:58
< ToxicFrog>
util.lua: ASCII English text
19:58
< ToxicFrog>
C++?
19:58
< ToxicFrog>
And Nautilus - which apparently isn't using libmagic for file content detection - identifies luairc.lua and util.lua as "VHDL source code"
19:58
< Vornicus>
madness
19:58
< Vornicus>
heh
19:58
< ToxicFrog>
Although I can kind of see how that happens, since VHDL and Lua both use -- line comments.
20:10 * ToxicFrog gnaws on Lua's regex implementation
20:16 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
20:16 mode/#code [+o Chalcedon] by ChanServ
20:42 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Quit: memtest]
20:55
< Vornicus>
http://img.thedailywtf.com/images/200701/pup2/addedsql.jpg <--- read just after the ingredients list
21:10 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
21:10 mode/#code [+o Chalcedon] by ChanServ
21:22 Chalcedon is now known as ChalcyOut
21:31 ChalcyOut [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
21:37 EvilDarkLord [althalas@Nightstar-15301.a88-115-211-62.elisa-laajakaista.fi] has quit [Ping Timeout]
21:40 EvilDarkLord [althalas@Nightstar-15301.a88-115-211-62.elisa-laajakaista.fi] has joined #code
21:46 ReivZzz is now known as Reiver
21:57 Reiver is now known as ReivOut
22:25 ReivOut is now known as Reiver
22:34 GeekSoldier [IceChat7@Nightstar-4113.pools.arcor-ip.net] has left #code []
22:53 Reiver is now known as ReivOut
23:28 Vornicus is now known as Vornicus-Latens
23:32 AnnoDomini [~farkoff@Nightstar-6941.neoplus.adsl.tpnet.pl] has quit [Quit: Aaaaargh! Madness! "A incesa (the lowest rank in the milatary) that is a 9' pingun made out of elven skin. as you start to exzamin it and you reliaz its actrully a alien space craft made out of hepm and its bruning."]
23:41 MahalBED is now known as Mahal
--- Log closed Sat Jan 20 00:00:23 2007
code logs -> 2007 -> Fri, 19 Jan 2007< code.20070118.log - code.20070120.log >