code logs -> 2007 -> Tue, 17 Jul 2007< code.20070716.log - code.20070718.log >
--- Log opened Tue Jul 17 00:00:17 2007
00:32 Thaqui [~Thaqui@Nightstar-26619.jetstream.xtra.co.nz] has joined #code
00:32 mode/#code [+o Thaqui] by ChanServ
00:49 You're now known as TheWatcher[T-2]
00:52 You're now known as TheWatcher[zZzZ]
02:37 Forjadon [~Forjadon@Nightstar-342.worldnet.co.nz] has joined #code
02:37 mode/#code [+o Forjadon] by ChanServ
02:37 Forjadon is now known as ChalcyLaptop
02:45 ChalcyLaptop [~Forjadon@Nightstar-342.worldnet.co.nz] has quit [Ping Timeout]
02:46 Forjadon [~Forjadon@Nightstar-342.worldnet.co.nz] has joined #code
02:46 mode/#code [+o Forjadon] by ChanServ
02:47 Forjadon is now known as ChalcyLaptop
03:09 KarmaBot [~fark.off@87.72.35.ns-3885] has quit [Connection reset by peer]
03:10 KarmaBot [~fark.off@87.72.35.ns-3885] has joined #Code
03:10 mode/#code [+v KarmaBot] by ChanServ
04:00 GeekSoldier|Bed [~Rob@Nightstar-4186.pools.arcor-ip.net] has joined #code
04:07 GeekSoldier|Bed is now known as GeekSoldier|Work
04:29 ChalcyLaptop [~Forjadon@Nightstar-342.worldnet.co.nz] has quit [Quit: Leaving]
04:40 ReivZzz is now known as ReivOut
05:13 AnnoDomini [~farkoff@Nightstar-29129.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
05:20 AnnoDomini [~farkoff@Nightstar-29129.neoplus.adsl.tpnet.pl] has joined #Code
05:52 Chalcedon [~Chalcedon@Nightstar-15747.ue.woosh.co.nz] has joined #code
05:52 mode/#code [+o Chalcedon] by ChanServ
05:59 Forj [~Forj@Nightstar-15747.ue.woosh.co.nz] has joined #code
06:10 Chalcedon is now known as ChalcyAFK
06:17 ReivOut is now known as Reiver
06:42 ChalcyAFK is now known as Chalcedon
08:32 NSGuest-14 [~mycatverb@Nightstar-13709.lurkingfox.co.uk] has quit [Ping Timeout]
08:32 Serah [~Z@87.72.35.ns-3885] has quit [Ping Timeout]
08:35 Serah [~Z@87.72.35.ns-3885] has joined #Code
08:35 mode/#code [+o Serah] by ChanServ
08:38 MyCatVerbs [~mycatverb@Nightstar-13709.lurkingfox.co.uk] has joined #code
08:41 * Vornicus hunts: a constant velocity parametric function in latitude and longitude for a great circle through two points.
08:56 Pi [~sysop@Nightstar-6875.hsd1.wa.comcast.net] has quit [Ping Timeout]
09:02 You're now known as TheWatcher
09:17 Chalcedon [~Chalcedon@Nightstar-15747.ue.woosh.co.nz] has quit [Ping Timeout]
09:17 Chalcedon [~Chalcedon@Nightstar-15747.ue.woosh.co.nz] has joined #code
09:17 mode/#code [+o Chalcedon] by ChanServ
09:25 You're now known as TheWatcher[afk]
09:48 Chalcedon [~Chalcedon@Nightstar-15747.ue.woosh.co.nz] has quit [Quit: Gone]
09:51 Forj [~Forj@Nightstar-15747.ue.woosh.co.nz] has quit [Quit: Gone]
10:08 AnnoDomini [~farkoff@Nightstar-29129.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
10:11 You're now known as TheWatcher
10:15 AnnoDomini [~farkoff@Nightstar-29275.neoplus.adsl.tpnet.pl] has joined #Code
10:27 Chalcedon [~Chalcedon@Nightstar-15747.ue.woosh.co.nz] has joined #code
10:27 mode/#code [+o Chalcedon] by ChanServ
10:33 Chalcedon [~Chalcedon@Nightstar-15747.ue.woosh.co.nz] has quit [Quit: Gone]
10:52 Vornicus is now known as Vornicus-Laens
10:54 Pi [~sysop@Nightstar-6875.hsd1.wa.comcast.net] has joined #code
10:54 mode/#code [+o Pi] by ChanServ
12:08 Raif [~corvusign@Nightstar-5406.hsd1.ca.comcast.net] has quit [Killed (NickServ (GHOST command used by Raif_))]
12:09 Raif_ [~corvusign@Nightstar-5406.hsd1.ca.comcast.net] has joined #Code
12:09 Raif_ is now known as Raif
12:14 Raif [~corvusign@Nightstar-5406.hsd1.ca.comcast.net] has quit [Connection reset by peer]
12:14 Raif [~corvusign@Nightstar-5406.hsd1.ca.comcast.net] has joined #Code
13:00 GeekSoldier|Work is now known as GeekSoldier
13:00 GeekSoldier is now known as GeekSoldier_
13:04 GeekSoldier_ is now known as GeekSoldier
13:12 GeekSoldier is now known as GeekSoldier|Away
13:39 AnnoDomini [~farkoff@Nightstar-29275.neoplus.adsl.tpnet.pl] has quit [Quit: Some people find sanity a little confining.]
13:55 AnnoDomini [~farkoff@Nightstar-29275.neoplus.adsl.tpnet.pl] has joined #Code
13:55 mode/#code [+o AnnoDomini] by ChanServ
14:25 Thaqui [~Thaqui@Nightstar-26619.jetstream.xtra.co.nz] has left #code [Leaving]
15:21 Reiver is now known as ReivZzz
15:35 ToxicFrog|W`rkn [soleta@Nightstar-26102.dreamhost.com] has joined #code
15:58 * ToxicFrog|W`rkn pokes TheWatcher
15:58
< ToxicFrog|W`rkn>
Global symbol "$opt_L" requires explicit package name at build/create_mgmt_archive.pl line 94.
15:58
< ToxicFrog|W`rkn>
What does that mean?
15:58
< ToxicFrog|W`rkn>
I do:
15:58
< ToxicFrog|W`rkn>
use Getopt::Std;
15:58
< ToxicFrog|W`rkn>
getopts('L')
15:58
< ToxicFrog|W`rkn>
And then, a while later:
15:58
< ToxicFrog|W`rkn>
if ($opt_L) { ...stuff... }
15:59
<@TheWatcher>
Do you have use strict on?
15:59
< ToxicFrog|W`rkn>
Yes.
15:59
<@TheWatcher>
you'll need to declare
15:59
<@TheWatcher>
our $opt_L
16:00
<@TheWatcher>
somwhere before you attempt to access it
16:00
<@TheWatcher>
(preferably, right after your use lines)
16:00 * ToxicFrog|W`rkn tries
16:01
< ToxicFrog|W`rkn>
Goddamn semicolons
16:01 * ToxicFrog|W`rkn tries again
16:01
<@TheWatcher>
ah, yeah, sorry about that.
16:02
< ToxicFrog|W`rkn>
Victory! Thankye.
16:02
<@TheWatcher>
Excellent.
16:03
< ToxicFrog|W`rkn>
In unrelated, but awesome, news, I have finished a gtk-server module for Lua that supports the fifo interface, and is capable of automatically binding Glade events.
16:03
<@TheWatcher>
Oooh, nice!
16:04
< ToxicFrog|W`rkn>
The Glade binding function is as long as the rest of the module combined. Goddamn XML.
16:04 You're now known as TheWatcher[afk]
16:05
< ToxicFrog|W`rkn>
I wish I'd known about gtk-server when I was writing that postscript-based IRC client, though >.>
16:27 You're now known as TheWatcher
16:37
< ToxicFrog|W`rkn>
Hmm. API design question.
16:38
< ToxicFrog|W`rkn>
gtk-server comes with two functions, server_glade_file and server_glade_string, for loading Glade XML files.
16:38
< ToxicFrog|W`rkn>
I have a function that takes such a file after it's been loaded and automatically connects all the signals in it.
16:39
< ToxicFrog|W`rkn>
Should this (a) happen automatically as part of server_glade_*, (b) be a seperate function that also calls server_glade_*, or (c) be a seperate function that must be called after server_glade_*?
16:39
< ToxicFrog|W`rkn>
I'm leaning towards (c).
16:39
< ToxicFrog|W`rkn>
As that lets you load the file, do stuff, then generate the widget tree and signal connections.
17:05 You're now known as TheWatcher[afk]
17:42 * ToxicFrog|W`rkn considers the examples page: bash, ksh, awk, scriptbasic, common lisp, newlisp, prolog, and pawn.
18:33 GeekSoldier|Away [~Rob@Nightstar-4186.pools.arcor-ip.net] has quit [Ping Timeout]
18:39 You're now known as TheWatcher
19:14 Forj [~Forj@Nightstar-10478.ue.woosh.co.nz] has joined #code
19:20 Chalcedon [~Chalcedon@Nightstar-10478.ue.woosh.co.nz] has joined #code
19:20 mode/#code [+o Chalcedon] by ChanServ
19:40 Forj [~Forj@Nightstar-10478.ue.woosh.co.nz] has quit [Quit: Gone]
19:45 Chalcedon [~Chalcedon@Nightstar-10478.ue.woosh.co.nz] has quit [Quit: Gone]
20:29 GeekSoldier|Away [~Rob@Nightstar-5278.pools.arcor-ip.net] has joined #code
20:29 GeekSoldier|Away is now known as GeekSoldier
20:31 * ToxicFrog|W`rkn vomits black, acidic bile from his eye sockets
20:31
< ToxicFrog|W`rkn>
Ubuntu doesn't have compress, and the msdev compiler crashes if you give it a file with LF newlines.
20:54 GeekSoldier is now known as GeekSoldier|sleep
21:26
<@TheWatcher>
... doesn't have compress, whut?!
21:30
< ToxicFrog|W`rkn>
Yep. You can install it (apt-get install ncompress) but it's not installed by default.
21:36 Forjadon [~Forjadon@Nightstar-342.worldnet.co.nz] has joined #code
21:36 mode/#code [+o Forjadon] by ChanServ
21:37 Forjadon is now known as ChalcyLaptop
21:55
<@Chalain>
So, my Ruby Cookbook does not have an entry on how to get the intersection or union of two arrays.
21:55
<@Chalain>
I thought this was standard fodder for any cookbook.
21:56
<@Chalain>
Then I discovered that the recipes are, respectively, "intersect = a & b" and "union = a | b".
21:56
<@Chalain>
They need a cookbook of things that aren't in the cookbook because they're too simple.
21:59 Vornicus-Laens is now known as Vornicus
22:35 Thaqui [~Thaqui@Nightstar-26619.jetstream.xtra.co.nz] has joined #code
22:35 mode/#code [+o Thaqui] by ChanServ
23:20 You're now known as TheWatcher[T-2]
23:22 You're now known as TheWatcher[zZzZ]
23:30 ToxicFrog [~ToxicFrog@Nightstar-20147.cpe.net.cable.rogers.com] has joined #code
23:31 mode/#code [+o ToxicFrog] by ChanServ
23:37
<@ToxicFrog>
A simple bash calculator, for people trapped on rescue CDs with neither gs nor its inferior cousin bc:
23:38
<@ToxicFrog>
while true; do read exp || break; eval "echo \$(($exp))"; done
23:38
<@Vornicus>
Cool.
23:39
<@ToxicFrog>
Even supports assignments; echo $((foo=1)) is equivalent to foo=1; echo $foo
23:39
<@ToxicFrog>
Which I was not expecting, but came in handy.
--- Log closed Wed Jul 18 00:00:23 2007
code logs -> 2007 -> Tue, 17 Jul 2007< code.20070716.log - code.20070718.log >