code logs -> 2007 -> Tue, 10 Jul 2007< code.20070709.log - code.20070711.log >
--- Log opened Tue Jul 10 00:00:32 2007
00:07 Netsplit DeepThought.NY.US.Nightstar.Net <-> Troika.TX.US.Nightstar.Net quits: Pi, Raif, @Vornicus, GeekSoldier|Bed, +KarmaBot, @ChAfk, @jerith
00:08 ChAfk [~chalain@Admin.Nightstar.Net] has joined #Code
00:08 Netsplit over, joins: jerith
00:08 Vornicus [~vorn@Admin.Nightstar.Net] has joined #Code
00:08 Pi [~sysop@Nightstar-6875.hsd1.wa.comcast.net] has joined #Code
00:08 Netsplit over, joins: KarmaBot, GeekSoldier|Bed, Raif
00:08 mode/#code [+o jerith] by ChanServ
00:08 mode/#code [+o Vornicus] by ChanServ
00:08 mode/#code [+o Pi] by ChanServ
00:08 ServerMode/#Code [+o ChAfk] by Troika.TX.US.Nightstar.Net
00:08 mode/#code [+v KarmaBot] by ChanServ
00:08 Raif [~corvusign@Nightstar-5406.hsd1.ca.comcast.net] has quit [Killed (NickServ (GHOST command used by Raif_))]
00:08 mode/#code [-o ChAfk] by ChanServ
00:08 Raif_ [~corvusign@Nightstar-5406.hsd1.ca.comcast.net] has joined #Code
00:08 Raif_ is now known as Raif
00:08 Pi [~sysop@Nightstar-6875.hsd1.wa.comcast.net] has quit [Ping Timeout]
00:09 KarmaBot [~fark.off@Nightstar-28403.proxy2.balk.dk] has quit [Ping Timeout]
00:09 KarmaBot [~fark.off@Nightstar-28403.proxy2.balk.dk] has joined #Code
00:09 mode/#code [+v KarmaBot] by ChanServ
00:09 GeekSoldier_ [~Rob@Nightstar-6208.pools.arcor-ip.net] has joined #code
00:09 GeekSoldier|Bed [~Rob@Nightstar-6208.pools.arcor-ip.net] has quit [Ping Timeout]
00:10 Pi [~sysop@Nightstar-6875.hsd1.wa.comcast.net] has joined #code
00:10 mode/#code [+o Pi] by ChanServ
00:28
<@ToxicFrog>
...in the scene in Witch Hunter Robin ep 1, when Lee is coding, if you pause you can read the code.
00:28
<@ToxicFrog>
He's working on some kind of C<->Lisp interface code.
00:34
<@Vornicus>
...hee.
00:34 Serah [~Z@Nightstar-28403.proxy2.balk.dk] has quit [Quit: Don't try to read the quit message, that is impossible. Instead only realize the truth; "there is no quit message" and you will see it is not you who read the quit message but the quit message who reads you.]
00:35 KarmaBot [~fark.off@Nightstar-28403.proxy2.balk.dk] has quit [Quit: KarmaBot manual quit.]
01:18 KarmaBot [~fark.off@87.72.35.ns-3885] has joined #Code
01:18 mode/#code [+v KarmaBot] by ChanServ
01:21 Serah [~Z@87.72.35.ns-3885] has joined #Code
01:21 mode/#code [+o Serah] by ChanServ
01:47 Chalcedon is now known as ChalcyAFK
02:14
<@gnolam>
And if you look closely at some of the coding in Alias, you can see all kinds of stuff. :)
02:15
<@gnolam>
Saw an episode just the other week where they hacked an AI coded with... umm... GNU Automake.
02:15
<@gnolam>
But hey. Makefiles are arcane enough that an AI /might/ just spontaneously emerge.
02:17
<@ToxicFrog>
Having spent a few weeks hacking on the SGOS build system, that would not at all surprise me.
02:24 ChalcyAFK is now known as Chalcedon
02:44 gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has quit [Quit: Z?]
03:25 Netsplit DeepThought.NY.US.Nightstar.Net <-> Troika.TX.US.Nightstar.Net quits: @Pi, Raif, @Vornicus, +KarmaBot, ChAfk, @jerith, GeekSoldier_
03:26 ChAfk [~chalain@Admin.Nightstar.Net] has joined #Code
03:26 Netsplit over, joins: jerith
03:26 mode/#code [+o ChAfk] by ChanServ
03:26 Netsplit over, joins: Vornicus
03:26 mode/#code [+o jerith] by ChanServ
03:26 Netsplit over, joins: Raif, GeekSoldier_, Pi
03:26 mode/#code [+o Vornicus] by ChanServ
03:26 Netsplit over, joins: KarmaBot
03:26 mode/#code [+o Pi] by ChanServ
03:26 mode/#code [+v KarmaBot] by ChanServ
03:26 Raif [~corvusign@Nightstar-5406.hsd1.ca.comcast.net] has quit [Killed (NickServ (GHOST command used by Raif_))]
03:27 KarmaBot [~fark.off@87.72.35.ns-3885] has quit [No route to host]
03:27 Raif_ [~corvusign@Nightstar-5406.hsd1.ca.comcast.net] has joined #Code
03:27 Raif_ is now known as Raif
03:27 KarmaBot [~fark.off@87.72.35.ns-3885] has joined #Code
03:27 mode/#code [+v KarmaBot] by ChanServ
03:27 GeekSoldier_ [~Rob@Nightstar-6208.pools.arcor-ip.net] has quit [Ping Timeout]
03:28 GeekSoldier_ [~Rob@Nightstar-6208.pools.arcor-ip.net] has joined #code
04:16 ReivZzz is now known as ReivOut
04:27 GeekSoldier_ is now known as GeekSoldier|Work
04:30 Chalcedon is now known as ChalcyAFK
04:42 ChalcyAFK is now known as Chalcedon
05:55 GeekSoldier|Work is now known as GeekSoldier
05:55 Forjadon [~Forjadon@Nightstar-15747.ue.woosh.co.nz] has joined #code
05:55 mode/#code [+o Forjadon] by ChanServ
06:12 ReivOut is now known as Reiver
06:35 You're now known as TheWatcher
06:50 Tamarron [~nsJChat@Nightstar-21460.fortlewis.edu] has joined #Code
06:53 Tamarron is now known as Tamarron_Slightly_Girly
06:57 KarmaBot [~fark.off@87.72.35.ns-3885] has quit [Ping Timeout]
06:58 Serah [~Z@87.72.35.ns-3885] has quit [Ping Timeout]
07:09 Forjehdon [~Forjadon@Nightstar-15747.ue.woosh.co.nz] has joined #code
07:10 Forjadon [~Forjadon@Nightstar-15747.ue.woosh.co.nz] has quit [Ping Timeout]
07:10 Chalcedon [~Chalcedon@Nightstar-15747.ue.woosh.co.nz] has quit [Ping Timeout]
07:11 Tamarron_Slightly_Girly is now known as Tamarron_Safety_jacket
07:24 Forjehdon is now known as Forjadon
07:37 Vornicus is now known as Vornicus-Latens
08:16 Thaqui [~Thaqui@Nightstar-26828.jetstream.xtra.co.nz] has joined #code
08:16 mode/#code [+o Thaqui] by ChanServ
08:48 Tamarron_Safety_jacket is now known as Tamarron
09:00 You're now known as TheWatcher[afk]
09:11 Forjadon [~Forjadon@Nightstar-15747.ue.woosh.co.nz] has quit [Ping Timeout]
09:15 Forjehdon [~Forjadon@Nightstar-15747.ue.woosh.co.nz] has joined #code
09:16 Forj [~Forj@Nightstar-15747.ue.woosh.co.nz] has joined #code
09:16 Forjehdon is now known as Forjadon
09:17 Forjadon is now known as ChalcyLaptop
09:41 You're now known as TheWatcher[
09:41 You're now known as TheWatcher
10:35 gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has joined #Code
10:35 mode/#code [+o gnolam] by ChanServ
10:35 Tamarron [~nsJChat@Nightstar-21460.fortlewis.edu] has left #Code []
10:40 Serah [~Z@87.72.35.ns-3885] has joined #Code
10:40 mode/#code [+o Serah] by ChanServ
10:51 Thaqui [~Thaqui@Nightstar-26828.jetstream.xtra.co.nz] has quit [Connection reset by peer]
10:53 Thaqui [~Thaqui@Nightstar-26828.jetstream.xtra.co.nz] has joined #code
10:53 mode/#code [+o Thaqui] by ChanServ
11:11 Forj [~Forj@Nightstar-15747.ue.woosh.co.nz] has quit [Quit: Gone]
11:14 Serah [~Z@87.72.35.ns-3885] has quit [Ping Timeout]
11:21 Serah [~Z@87.72.35.ns-3885] has joined #Code
11:21 mode/#code [+o Serah] by ChanServ
11:28 ChalcyLaptop [~Forjadon@Nightstar-15747.ue.woosh.co.nz] has quit [Ping Timeout]
11:28 Forjadon [~Forjadon@Nightstar-15747.ue.woosh.co.nz] has joined #code
11:28 mode/#code [+o Forjadon] by ChanServ
11:39 Forjadon [~Forjadon@Nightstar-15747.ue.woosh.co.nz] has quit [Quit: gone]
11:48 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out]
13:00 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
13:00 mode/#code [+o ToxicFrog] by ChanServ
--- Log closed Tue Jul 10 13:39:51 2007
--- Log opened Tue Jul 10 13:39:55 2007
13:39 TheWatcher [~chris@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #code
13:39 Irssi: #code: Total of 14 nicks [9 ops, 0 halfops, 0 voices, 5 normal]
13:39 mode/#code [+o TheWatcher] by ChanServ
13:40 Irssi: Join to #code was synced in 34 secs
13:47 ToxicFrog is now known as ToxicFrog|W`rkn
13:56
<@TheWatcher>
Anyone here use gnuplot at all?
14:07
<@Serah>
I can put my hands above my head, and run around like that while yelling gibbrish, isn't that about the same?
14:07
<@Serah>
:p
14:28 Serah [~Z@87.72.35.ns-3885] has quit [Quit: Don't try to read the quit message, that is impossible. Instead only realize the truth; "there is no quit message" and you will see it is not you who read the quit message but the quit message who reads you.]
14:28 KarmaBot [~fark.off@87.72.35.ns-3885] has joined #Code
14:28 mode/#code [+v KarmaBot] by ChanServ
14:29 DiceBot [~Reiver@Nightstar-28379.ubs-dsl.xnet.co.nz] has joined #Code
14:32 KarmaBot [~fark.off@87.72.35.ns-3885] has quit [Ping Timeout]
14:33 Thaqui [~Thaqui@Nightstar-26828.jetstream.xtra.co.nz] has left #code [Leaving]
15:20 GeekSoldier is now known as GeekSoldier|Gone
16:14 Reiver is now known as ReivZzz
16:28 ToxicFrog|W`rkn [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out]
16:30 ToxicFrog|W`rkn [~ToxicFrog@Admin.Nightstar.Net] has joined #code
17:07 You're now known as TheWatcher[afk]
18:06 Vornicus-Latens is now known as Vornicus
18:14 Serah [~Z@80.72.152.ns-12905] has joined #Code
18:14 mode/#code [+o Serah] by ChanServ
18:15
<@Serah>
I have a HTML problem, do you have a HTML answer.
18:16
<@Vornicus>
perhaps.
18:16 GeekSoldier_ [~Rob@Nightstar-7121.pools.arcor-ip.net] has joined #code
18:17
<@Serah>
vertical alignment, does not work with valign, or CSS what do I do to make it work?
18:17 GeekSoldier|Gone [~Rob@Nightstar-6208.pools.arcor-ip.net] has quit [Ping Timeout]
18:18
<@Serah>
Erh, the real problem is that the height refuses to be 100%
18:18
<@Serah>
As seen here:
18:18
<@Serah>
http://pastie.caboo.se/77706
18:19
<@Vornicus>
Wait, you want the thing to show up in the center of the screen?
18:19
<@Serah>
yes.
18:19
<@Vornicus>
okay, let me see what I can hunt down.
18:27
<@Vornicus>
I don't see any vertical alignment done in there.
18:31 You're now known as TheWatcher
18:32
<@Vornicus>
hm.
18:38
<@Vornicus>
It doesn't seem to like taking up the whole screen, is the problem.
18:39
<@Serah>
Indeed.
18:40
<@Serah>
<Serah> Erh, the real problem is that the height refuses to be 100%
18:40
<@Vornicus>
Gner. I almost want to use javascript.
18:41
<@Serah>
Erdk.
18:42 GeekSoldier_ is now known as GeekSoldier
18:43
<@Vornicus>
WHere it'd be pretty simple - just set the height of the thing to the listed height of the window.
18:44
<@Serah>
Yes, I can do it using position that way too.
18:44
<@Serah>
I considered it.
19:28 Serah [~Z@80.72.152.ns-12905] has quit [Quit: Don't try to read the quit message, that is impossible. Instead only realize the truth; "there is no quit message" and you will see it is not you who read the quit message but the quit message who reads you.]
19:32 Chalcedon [~Chalcedon@Nightstar-15747.ue.woosh.co.nz] has joined #code
19:32 mode/#code [+o Chalcedon] by ChanServ
19:34 ChAfk is now known as Chalain
19:34
<@Chalain>
Holy. Freaking. Ruby.
19:34
< ToxicFrog|W`rkn>
What about it?
19:34
<@Chalain>
So, like ALL the time it throwaway scripts and test code, I want to iterate over arrays in parallel.
19:35
<@Chalain>
I always end up doing some crap like foos = [..]; bars = [..]; 10.times { |i| do_something(foos[i], bars[i]) }
19:35
<@Chalain>
Today on a whim I discovered that the |vars| list expands nested arrays VERY NICELY.
19:36
<@Chalain>
And so:
19:36
<@Chalain>
foos = [...]; bars = [...]; bazs = [...]; qazs = [...]; my_blob = foos.zip(bars,bazs,qazs); my_blob.each do |foo, bar, baz, qaz|; do_something(foo,bar,baz,qaz); end
19:38
<@Chalain>
Given that I'm writing some unit tests on a list objects and I want to test each in turn four ways, I zip up the four things to test and it makes a nice .each loop.
19:38
<@Chalain>
Sorry. Had to gush. :-)
19:44
<@Vornicus>
you can do that in Python too, and just about the same way.
19:45
<@Vornicus>
foos = [...]; bars = [...]; bazs = [...]; qazs = [...]; for foo, bar, baz, qaz in zip(foos, bars, bazs, qazs): do_something(foo, bar, baz, qaz)
19:47
< ToxicFrog|W`rkn>
What does zip() do? Maps { x, y, z }, { X, Y, Z } to { { x, X }, { y, Y }, { z, Z } }?
19:47
<@Vornicus>
yes.
19:47
<@Vornicus>
And with more iterables does as expected.
19:48
<@Vornicus>
If the iterables are different lengths, it stops when any one is exhausted.
19:50 GeekSoldier is now known as GeekSoldier|bed
19:57 * ToxicFrog|W`rkn nods
19:59
< ToxicFrog|W`rkn>
And, yeah, it's similar in Lua except you have to write zip() first.
19:59
< ToxicFrog|W`rkn>
(which takes about five lines, so)
20:08
<@Vornicus>
So, really, our response to your discovery seems to be "...and?"
20:09
<@Vornicus>
:P
20:18
<@Chalain>
Oh, sorry
20:18
<@Chalain>
I forgot the important part
20:18
<@Chalain>
SCREW YOU VORN
20:18
<@Chalain>
Much better.
20:18
<@Vornicus>
:D
20:18
<@Chalain>
:_)
20:18
<@Chalain>
Gaah! By dose is smasht!
20:20
<@Chalain>
TF: Yeah, I'll go ahead and give Lua a passing grade. I used to be really put out about having to write everything in Lisp, Scheme and Lua. I still don't particularly *like* it, but I'm okay with it. Lua is very expressive, in it's own kind of weird way.
20:21
<@Chalain>
Once you've got a good library built up of the stuff you need, Lua moves pretty quickly.
20:22
<@Chalain>
It just makes me sad that there's probably tens of thousands of people coding Lua (admittedly, most of them are game skripters) and the amount of useful "here's my reusable Lua code" libraries on the web are more on the order of dozens.
20:22
<@Chalain>
...and most of those are produced by the same two guys. :-)
20:23
<@Vornicus>
...and one of them is in this room. :)
20:23
<@Chalain>
Yeah
20:23
<@Chalain>
ToxicFrog... and a guy named Eddie.
20:23
<@Chalain>
Well, Edjao.
20:23
<@Chalain>
Get it? Portuguese? Eh? EH?
20:24
<@Chalain>
"Eh."
20:24 Chalcedon is now known as ChalcyAFK
20:28
< ToxicFrog|W`rkn>
Perl programmers!
20:28
< ToxicFrog|W`rkn>
How do I change something to lowercase?
20:28
<@Chalain>
lc($var)
20:28
< ToxicFrog|W`rkn>
Thankye.
20:29
<@Chalain>
cf. uc($var). -)
20:29
<@Chalain>
np
20:29
< ToxicFrog|W`rkn>
(speaking of util.lua, I need to publish the updated version of that)
20:29
< ToxicFrog|W`rkn>
(which includes better integration with the stdlib, new table functions, a superior getopts implementation, and the addition of fprintf as a method call on file handles)
21:39 ToxicFrog|W`rkn [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out]
21:40 ToxicFrog|W`rkn [~ToxicFrog@Admin.Nightstar.Net] has joined #code
22:33 ToxicFrog|W`rkn [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out]
23:32 ChalcyAFK is now known as Chalcedon
23:33 KarmaBot [~fark.off@87.72.35.ns-3885] has joined #Code
23:33 mode/#code [+v KarmaBot] by ChanServ
23:34 Thaqui [~Thaqui@Nightstar-26828.jetstream.xtra.co.nz] has joined #code
23:35 mode/#code [+o Thaqui] by ChanServ
23:35 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
23:35 mode/#code [+o ToxicFrog] by ChanServ
--- Log closed Wed Jul 11 00:00:38 2007
code logs -> 2007 -> Tue, 10 Jul 2007< code.20070709.log - code.20070711.log >