code logs -> 2007 -> Fri, 13 Jul 2007< code.20070712.log - code.20070714.log >
--- Log opened Fri Jul 13 00:00:51 2007
00:23 CapnRegex [~capnregex@207.225.223.ns-2748] has quit [Connection reset by peer]
00:51 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out]
00:52 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
00:52 mode/#code [+o ToxicFrog] by ChanServ
03:13
<@Vornicus>
...I haven't seen Janus in a while.
03:49 Thaqui [~Thaqui@Nightstar-26828.jetstream.xtra.co.nz] has joined #code
03:49 mode/#code [+o Thaqui] by ChanServ
04:27 GeekSoldier|Bed is now known as GeekSoldier|Work
09:13
<@jerith>
http://jerith.livejournal.com/36780.html <-- bash as lisp
10:13 AD[Laptop] [~farkoff@87.72.35.ns-3885] has joined #Code
10:14 AD[Laptop] is now known as AnnoDomini
10:16 AnnoDomini [~farkoff@87.72.35.ns-3885] has quit [Connection reset by peer]
10:16 AD[Laptop] [~farkoff@87.72.35.ns-3885] has joined #Code
10:17 AD[Laptop] is now known as AnnoDomini
10:25 You're now known as TheWatcher
10:27 mode/#code [+o TheWatcher] by ChanServ
12:29 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out]
12:29 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
12:29 mode/#code [+o ToxicFrog] by ChanServ
12:48 AnnoDomini [~farkoff@87.72.35.ns-3885] has quit [Quit: Loggin' off.]
13:37 Thaqui [~Thaqui@Nightstar-26828.jetstream.xtra.co.nz] has quit [Quit: Leaving]
15:06
<@ToxicFrog>
"Hey does lua do X?" "No, instead it has Y, or you can use Z." "Oh, so what does it have instead of X?" "...Y." "Can it do Z?" "Are you even reading anything we say?"
15:10 Pi [~sysop@Nightstar-6875.hsd1.wa.comcast.net] has quit [Connection reset by peer]
17:06 You're now known as TheWatcher[afk]
17:37 GeekSoldier|Work is now known as GeekSoldier
18:19 AD[Laptop] [~farkoff@87.72.35.ns-3885] has joined #Code
18:29 You're now known as TheWatcher
18:32 GeekSoldier_ [~Rob@Nightstar-3078.pools.arcor-ip.net] has joined #code
18:33 GeekSoldier [~Rob@Nightstar-3656.pools.arcor-ip.net] has quit [Ping Timeout]
19:00 GeekSoldier_ is now known as GeekSoldier
19:52
<@jerith>
More fun with bash metaprogramming:
19:52
<@jerith>
[jerith@jerith-lap1 ~]$ bindfun() { name=$1; shift; eval "$name() { $@; }"; }
19:52
<@jerith>
[jerith@jerith-lap1 ~]$ bindfun myfun 'echo bar'
19:52
<@jerith>
[jerith@jerith-lap1 ~]$ myfun
19:52
<@jerith>
bar
19:52
< AD[Laptop]>
What.
19:53
< GeekSoldier>
jerith, I read your lj post on that. quite interesting!
19:53
<@jerith>
You can bind a function to an arbitrary name programmatically.
19:53 * jerith grins.
20:01
<@jerith>
[jerith@jerith-lap1 ~]$ foofun() { if $1; then bindfun $2 'echo foo'; else bindfun $2 'echo bar'; fi; }
20:01
<@jerith>
[jerith@jerith-lap1 ~]$ foofun true a; a
20:01
<@jerith>
foo
20:01
<@jerith>
[jerith@jerith-lap1 ~]$ foofun false a; a
20:01
<@jerith>
bar
20:02
<@jerith>
Anyways, much fun can be had.
20:05
<@Vornicus>
:(
20:05 * jerith huggles the Vorn.
20:06
<@jerith>
Don't worry, I won't use most of that stuff in anger.
20:06
<@jerith>
The only reason I wrote the code in my blog post (and now in my website in more detail) was because it needs to be in machine build scripts.
20:07
<@jerith>
So I can't assume any real languages.
20:12
< GeekSoldier>
whatever happened to VRML? that was so fun... back in 1997.
20:12
<@Vornicus>
VRML doesn't seem to have ever gotten any proper players. I've never been able to fully use VRML.
20:13
< GeekSoldier>
true. back then, it was kludgy trying to get it to work in ie or netscape...
20:14
<@ToxicFrog>
I had a program called vrmlview that worked fine.
20:14
<@Vornicus>
In any case, flash seems to win that fight nowadays.
20:16
< GeekSoldier>
but then again... I'm kinda glad it wasn't so widespread... imaging what all those crap sites would have looked like done in obfuscated 3d-rendered worlds...
20:32
<@jerith>
Ooh, I can make something dangerously clsoe to closures...
20:32
<@jerith>
*close
22:01 You're now known as TheWatcher[T-2]
22:01 GeekSoldier is now known as GeekSoldier|Bed
22:04 You're now known as TheWatcher[zZzZ]
22:48 AD[Laptop] is now known as AnnoDomini
23:43 AnnoDomini [~farkoff@87.72.35.ns-3885] has quit [Quit: I can't think of anything witty to use in my /quit message.]
--- Log closed Sat Jul 14 00:00:57 2007
code logs -> 2007 -> Fri, 13 Jul 2007< code.20070712.log - code.20070714.log >