code logs -> 2007 -> Sun, 25 Feb 2007< code.20070224.log - code.20070226.log >
--- Log opened Sun Feb 25 00:00:27 2007
01:11 Erik|Sleep [~ejm@Nightstar-12501.bb.online.no] has quit [Operation timed out]
01:19 BlueTiger [BlueTiger@Nightstar-567.natsoe.res.rr.com] has joined #Code
01:30 ErikMesoy [~ejm@Nightstar-12501.bb.online.no] has joined #code
02:34 ErikMesoy [~ejm@Nightstar-12501.bb.online.no] has quit [Operation timed out]
02:43 Forjeh [~Forj@Nightstar-869.bitstream.orcon.net.nz] has joined #code
02:44 Forj [~Forj@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
02:52 ErikMesoy [~ejm@Nightstar-12501.bb.online.no] has joined #code
02:58 Janus is now known as Jan[bathipoo]
03:20 MahaLErrnds is now known as Mahal
03:25 BT|AltNick [BlueTiger@Nightstar-567.natsoe.res.rr.com] has joined #Code
03:26 BlueTiger [BlueTiger@Nightstar-567.natsoe.res.rr.com] has quit [Killed (NickServ (GHOST command used by BT|AltNick))]
03:26 BT|AltNick is now known as BlueTiger
04:17 Jan[bathipoo] is now known as Janus
04:18 Thaqui [~Thaqui@Nightstar-25354.jetstream.xtra.co.nz] has joined #code
04:25 BlueTiger [BlueTiger@Nightstar-567.natsoe.res.rr.com] has quit [Quit: ]
05:40 Forgles [~Forj@Nightstar-869.bitstream.orcon.net.nz] has joined #code
05:41 Forjeh [~Forj@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
05:54 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has quit [Quit: Jouets de Dieu, jouets de jouets, les jouets de me, na?tre Clair enfant voire.]
06:33
<@Vornicus>
stupid bash tricks: I have three lists of strings a b c, and I need to iterate over all three and throw it at mkdir: a[0]/b[0]/c[0] a[0]/b[0]/c[1] etc
06:33 * Vornicus fiddles with for, trying to remember how it works
06:34
< ErikMesoy>
My kludge would be to cobble together a for and spew the string iterations into a text file, then feed that to mkdir.
06:35
<@Vornicus>
there
06:36
<@Vornicus>
http://pastie.caboo.se/42808
06:36
< ErikMesoy>
ooh
06:38
<@Vornicus>
simple enough
06:38
<@ToxicFrog>
As a general rule, any time you're thinking "write to a text file, then feed that to a command", you can collapse that into a single step using either piping or variables.
06:38
<@ToxicFrog>
In this case, it's the latter.
06:38
< ErikMesoy>
I suck at piping.
06:39
<@ToxicFrog>
(although you could do it with | xargs, that's an uneccesarily roundabout way to do things)
06:39
<@ToxicFrog>
| is your tiny vertical god.
06:39
< ErikMesoy>
To extend the metaphor, I... haven't been paying my tithes lately?
06:50 Mahal [~Mahal@Nightstar-4998.worldnet.co.nz] has quit [Quit: fuk off i got biskit]
07:19 Serah [~-@87.72.36.ns-26407] has quit [Killed (NickServ (GHOST command used by Cossack_dancing_bear))]
07:19 Serah [~-@87.72.36.ns-26407] has joined #Code
07:59 Forjeh [~Forj@Nightstar-869.bitstream.orcon.net.nz] has joined #code
08:00 Forgles [~Forj@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
08:19 Mahal [~Mahal@Nightstar-4998.worldnet.co.nz] has joined #Code
08:19 mode/#code [+o Mahal] by ChanServ
08:39 Mahal is now known as MahalBEDD
08:52 gnolam [Lenin@Nightstar-13557.8.5.253.se.wasadata.net] has joined #Code
09:31 Forjeh [~Forj@Nightstar-869.bitstream.orcon.net.nz] has quit [Quit: Gone]
10:51 * jerith awaits the Vorn's announcement.
10:52
<@Vornicus>
okay, so, I'm writing some Javascript that traverses one directory tree, and then exports the files in that tree to eight others.
10:52
<@Vornicus>
(putting them through some processing)
10:52
<@Vornicus>
And yes, I have to use javascript for this job.
10:53
<@jerith>
You can fiddle with files in JS?
10:53
<@jerith>
Or is this not browser-based?
10:53
<@Vornicus>
This is not browser-based.
10:53
<@jerith>
Ah.
10:59 You're now known as TheWatcher
11:07 GeekSoldier [Rob@Nightstar-4710.pools.arcor-ip.net] has joined #code
11:08 * Vornicus throws things at this implementation. you're supposed to have regex.
11:12
<@Vornicus>
...perhaps you do, just, something else is going wrong.
11:13
<@jerith>
My JS-fu is weak to the point of nonexistence. :-/
11:15
<@Vornicus>
...bah, these are the most useless error messages ever.
11:17
<@jerith>
Assertion failed: true != true
11:17
<@jerith>
(I got that one the other day.)
11:18
<@Vornicus>
I just keep getting "undefined isn't an object."
11:20
<@Vornicus>
man, my kingdom for Python's path manipulators. I would have this done by now.
11:22
<@jerith>
Is this a *{bird,fox} extension, perchance?
11:22
<@Vornicus>
No
11:23
<@Vornicus>
It's Illustrator.
11:23
<@jerith>
Ah.
11:23
<@jerith>
Illustrator uses JS?
11:23
<@Vornicus>
which does VBS, Applescript, and JS.
11:23
<@jerith>
...
11:23
<@jerith>
I think you made the right choice.
11:23
<@Vornicus>
...and how the hell do I tell what kind of file I'm looking at? Is it a folder? is it a file? I DON'T KNOW!
11:24
<@Vornicus>
ah, instanceof
11:40
<@Vornicus>
...okay, what's it doing now?
11:40
<@jerith>
Not what you want, by the tone of your text...
11:42 gnolam [Lenin@Nightstar-13557.8.5.253.se.wasadata.net] has quit [Quit: ]
11:44
<@Vornicus>
No.
11:44
<@Vornicus>
...apparently "for (obj in list)" gives /indices/
11:44
<@jerith>
...
11:45
<@jerith>
i suppose that makes a kind of warped sense...
11:45
<@Vornicus>
...okay, now what the hell is it doing?
11:46
<@jerith>
Eating your unborn children?
11:46
<@Vornicus>
...does it, like, hate recursion?
11:54 ErikMesoy [~ejm@Nightstar-12501.bb.online.no] has quit [Operation timed out]
11:54
<@Vornicus>
wtf?
11:54 * Vornicus throws things at it.
11:55
<@jerith>
Napalm?
11:56 * Vornicus dunno, it's just /not working/
11:59
<@Vornicus>
...ah.
11:59
<@Vornicus>
It's like perl
12:00
<@Vornicus>
If you don't specify, things are global
12:00
<@Vornicus>
Remind me to shoot Larry Wall in the face.
12:04
<@jerith>
That seems common in languagers that evolved rather than being designed.
12:05
<@Vornicus>
It deserves hurting!
12:06
<@Vornicus>
Hell, even Schlockian got local variables - though things not in function scope get globalled.
12:12 ErikMesoy [~ejm@Nightstar-12501.bb.online.no] has joined #code
12:23
<@Vornicus>
...
12:24
<@Vornicus>
YES!
12:24
<@Vornicus>
Let's make ALL THESE OPERATIONS ASYNCHRONOUS!
12:24
<@Vornicus>
...mother of god.
12:26
<@Vornicus>
...that, or, you know, I could close the file /out/ of the loop.
12:27 * Vornicus victories.
12:30 * Vornicus victories /all over the place/
12:31
<@jerith>
Yay!
12:32
<@Vornicus>
Okay.
12:32
<@Vornicus>
Next, I need to figure out how to do color schemes.
12:45 Thaqui [~Thaqui@Nightstar-25354.jetstream.xtra.co.nz] has quit [Quit: Leaving]
12:54 Reiver is now known as ReivZzz
12:57
<@Vornicus>
Woot. 3 minutes of waiting for a full regenerate rather than hours and hours of tedious clicking.
12:57
<@Vornicus>
Now, however, the Vorn needs his beauty rest.
12:58
<@Vornicus>
Tomorrow I shall see if I can get it to automatically generate faction-specific images from a generic image.
13:00 Vornicus is now known as Vornicus-Latens
13:23 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Ping Timeout]
13:26 GeekSoldier [Rob@Nightstar-4710.pools.arcor-ip.net] has left #code []
13:48 gnolam [Lenin@Nightstar-13557.8.5.253.se.wasadata.net] has joined #Code
14:18 Netsplit DeepThought.NY.US.Nightstar.Net <-> Troika.TX.US.Nightstar.Net quits: @Pi, Raif, Serah, @jerith, @Chalain
14:19 Netsplit over, joins: Chalain, jerith, Pi
14:19 mode/#code [+o Chalain] by ChanServ
14:19 Netsplit over, joins: Serah
14:19 mode/#code [+o jerith] by ChanServ
14:19 Serah [~-@87.72.36.ns-26407] has quit [No route to host]
14:19 mode/#code [+o Pi] by ChanServ
14:19 Netsplit over, joins: Raif
14:20 Serah [~-@87.72.36.ns-26407] has joined #Code
14:37 gnolam is now known as gnolam|PR
17:17 You're now known as TheWatcher[afk]
18:03 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
18:03 mode/#code [+o ToxicFrog] by ChanServ
18:21 MahalBEDD is now known as Mahal
18:25 EvilDarkLord is now known as Jo}{n
18:33 gnolam|PR is now known as gnolam
18:39 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has joined #Code
18:44 You're now known as TheWatcher
18:56 Mahal is now known as MahalWORK
19:39 AnnoDomini [~farkoff@Nightstar-29082.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
19:41 ErikMesoy is now known as ErikMesoy|HomicidalRage
19:45 AnnoDomini [~farkoff@Nightstar-29702.neoplus.adsl.tpnet.pl] has joined #Code
19:51 ErikMesoy|HomicidalRage is now known as ErikMesoy
19:56 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
19:56 mode/#code [+o Chalcedon] by ChanServ
20:11 Jo}{n is now known as EvilDarkLord
20:22 ErikMesoy is now known as ErikMesoy|chiropteromorph
20:46 ReivZzz is now known as ReivClass
20:54 ErikMesoy|chiropteromorph is now known as ErikMesoy|sleep
21:15 You're now known as TheWatcher[T-2]
21:23 You're now known as TheWatcher[zZzZ]
21:41 BlueTiger [BlueTiger@Nightstar-567.natsoe.res.rr.com] has joined #Code
22:05 Vornicus-Latens is now known as Vornicus
22:35 ReivClass is now known as Reiver
22:41 Reiver is now known as ReivOut
23:03 BlueTiger [BlueTiger@Nightstar-567.natsoe.res.rr.com] has quit [Quit: ]
23:04 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has quit [Quit: Jouets de Dieu, jouets de jouets, les jouets de me, na?tre Clair enfant voire.]
23:06 MyCatVerbs [~mycatownz@Nightstar-379.dsl.in-addr.zen.co.uk] has joined #code
23:28 ReivOut is now known as Reiver
23:31 timelady [~romana@Nightstar-14947.lns7.adl2.internode.on.net] has joined #Code
23:34 ErikMesoy|sleep [~ejm@Nightstar-12501.bb.online.no] has quit [Operation timed out]
23:49 BlueTiger [BlueTiger@Nightstar-567.natsoe.res.rr.com] has joined #Code
23:53 ErikMesoy [~ejm@Nightstar-12501.bb.online.no] has joined #code
--- Log closed Mon Feb 26 00:00:27 2007
code logs -> 2007 -> Sun, 25 Feb 2007< code.20070224.log - code.20070226.log >