code logs -> 2006 -> Tue, 19 Dec 2006< code.20061218.log - code.20061220.log >
--- Log opened Tue Dec 19 00:00:25 2006
00:14 BlueTiger [BlueTiger@Nightstar-567.natsoe.res.rr.com] has quit [Quit: ]
00:23 Jan[jouantDieu] is now known as Janus
00:57 Chalcedon is now known as ChalcyAFK
01:27
< Janus>
May I ask a small preference question..? If given the choice with a level editor, would you opt for an all isometrical editing layout, or would you rather a more freeform style thing at the expense of simplicity?
01:29
< Vornicus>
The level editing tool should be appropriate to the engine it sits on.
01:31
< Janus>
The graphics looks more at home with an isometric map, but the engine itself works better if there's no tiling going on.
01:31
< Vornicus>
ah
01:31
< Vornicus>
make a grid that you can optionally snap to while drawing that is isometric, perhaps?
01:32
< Janus>
That's a good idea.
01:33
< Janus>
... hmm... if all it would be doing is acting as a guide, I could probably arrange for it to rotate at other angles besides 45 degrees as well.
01:33 * ToxicFrog checks AMoS, convulses violently
01:34 * Janus imagines (or hopes) the editor would have a sort of Trauma Center feel to it then.
01:39
< Vornicus>
TF: my sentiments exactly
01:54 ChalcyAFK is now known as Chalcedon
02:07 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has quit [Quit: Jouets de Dieu, jouets de jouets, et les jouets de me, fait naître Clairvoire.]
02:21 Chalcedon is now known as ChalcyAFK
02:25 Vornicus [~vorn@67.50.40.ns-3674] has quit [Quit: Leaving]
02:26 Vornicus [~vorn@67.50.40.ns-3674] has joined #code
02:27 Vornicus is now known as NSGuest-760
02:27 NSGuest-760 is now known as Vornicus
03:09 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
03:09 mode/#code [+o Chalcy] by ChanServ
03:10 ChalcyAFK [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
03:12
<@ToxicFrog>
Ok. I have add remove save load.
03:12
<@ToxicFrog>
Now I need the interface.
03:12
<@ToxicFrog>
;.;
03:13
< Vornicus>
what're you building?
03:14
<@ToxicFrog>
A little game-database webapp.
03:14
< Vornicus>
aha
03:15
<@ToxicFrog>
This is a replacement for an older program of mine that had a rather crude command-line interface and produced output as HTML.
03:18 * ToxicFrog huggles Lua for making save/load so easy.
03:55 ChalcyGone [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
03:56 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
04:09 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
04:10 mode/#code [+o Chalcedon] by ChanServ
04:11 ChalcyGone [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
04:43 ReivWork is now known as Reiver
04:43 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
04:43 mode/#code [+o Chalcy] by ChanServ
04:44 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
04:54 You're now known as TheWatcher
05:02 AnnoDomini [~fark.off@Nightstar-29023.neoplus.adsl.tpnet.pl] has joined #Code
05:24 * ToxicFrog idly kills HTML in the face
05:35
< MyCatOwnz>
HTML is like religion and stupidity.
05:35
< MyCatOwnz>
Vaguely reminiscent of smallpox, but much harder to eradicate.
05:36
<@ToxicFrog>
This is the problem with writing webapps.
05:36
<@ToxicFrog>
I have the backend working perfectly, but now I have to write the page generator.
05:37
<@ToxicFrog>
Which is where the black bile starts fountaining from my eyesockets.
05:37
< Vornicus>
heh
05:37 * Vornicus plays with erb.
05:38
<@ToxicFrog>
Maybe I should resurrect that interpolator I wrote for the Septerra Core pages and move to template-based generation.
05:39
<@ToxicFrog>
Thus permitting me to write stuff like [[<tr><td><a href="${config.baseurl}?mode=detail&id=${game.id}">${game.name}<td>...]]
05:39
<@ToxicFrog>
Instead of The sprintf() Statement Of Death.
05:39
< Vornicus>
...well there's your problem.
05:40
< Vornicus>
This /is/ what template systems are for.
05:40
<@ToxicFrog>
The problem is that this leads into context hell, which is probably an improvement, but still.
05:41
< Vornicus>
I mean, seriously. People have done the sprintf of death /for/ you.
05:41
<@ToxicFrog>
Actually it's the string.gsub() loop of death.
05:41
<@ToxicFrog>
Really, in Lua, the actual interpolation function is, like, four lines.
05:41
<@ToxicFrog>
It's the API that kills me.
05:42
<@ToxicFrog>
(string.gsub() is your tiny god)
05:43
< Vornicus>
actually lately ssh is my tiny god.
05:43
<@ToxicFrog>
Well, yes.
05:43
<@ToxicFrog>
This is why we have a pantheon rather than a monotheistic religeon~
05:43
< Vornicus>
And I think as soon as I figure it out, ActiveRecord will be my tiny god.
05:45
<@ToxicFrog>
(string.gsub(str, regex, repl) being 'replace all occurences of regex with either (the string value repl) or (the return value of the function repl when called with the substring that matched the regex))
05:45
< Vornicus>
indeed.
05:48 Pi [~sysop@Nightstar-6915.hsd1.or.comcast.net] has joined #code
05:48 mode/#code [+o Pi] by ChanServ
06:00 ChalcyGone [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
06:01 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
06:08 Reiver is now known as Aithne
06:11 ChalcyGone is now known as Chalcedon
06:47 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
06:47 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
06:47 mode/#code [+o Chalcedon] by ChanServ
06:52 Pi [~sysop@Nightstar-6915.hsd1.or.comcast.net] has quit [Quit: There is no justice. There is only me.]
06:54 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
06:54 mode/#code [+o Chalcy] by ChanServ
06:54 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
06:54 Chalcy is now known as Chalcedon
06:58 MyCatOwnz is now known as MyCatSleeps
06:59 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
06:59 mode/#code [+o Chalcy] by ChanServ
07:00 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Killed (NickServ (GHOST command used by Chalcy))]
07:00 Chalcy is now known as Chalcedon
08:16 You're now known as TheWatcher[afk]
08:23 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Quit: gone]
08:35 AnnoDomini [~fark.off@Nightstar-29023.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
08:42 AnnoDomini [~fark.off@Nightstar-29200.neoplus.adsl.tpnet.pl] has joined #Code
09:45 You're now known as TheWatcher[wr0k]
10:09 You're now known as TheWatcher[afk]
10:17 You're now known as TheWatcher[wr0k]
10:21 You're now known as TheWatcher[afk]
10:21 AnnoDomini [~fark.off@Nightstar-29200.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
10:23 AnnoDomini [~fark.off@Nightstar-29200.neoplus.adsl.tpnet.pl] has joined #Code
10:31 You're now known as TheWatcher[wr0k]
10:33 Aithne is now known as Reiver
11:11 Reiver is now known as ReivZzz
11:16 You're now known as TheWatcher[d00m]
12:00 Vornicus is now known as Vornicus-Latens
12:19 You're now known as TheWatcher[wr0k]
12:28 Thaqui [~Thaqui@219.89.232.ns-12582] has quit [Quit: Leaving]
14:05
< AnnoDomini>
Hmm. Idly: http://i29.photobucket.com/albums/c270/oninosensi/adminspotting.gif
15:21
<@TheWatcher[wr0k]>
Anyone know how to get at the current process' pid in php?
15:24
<@TheWatcher[wr0k]>
nevermind - getmypid()
15:38 You're now known as TheWatcher[afk]
15:56 MyCatSleeps is now known as MyCatOwnz
16:01 Syloqs-AFH [Syloq@Admin.Nightstar.Net] has quit [Quit: ]
17:05
<@jerith>
http://rafb.net/paste/results/s3SNYz91.html <-- Another gem from my router's web interface.
17:10
< AnnoDomini>
What is that? Someone's attempts at hard-coding timezones?
17:11
< AnnoDomini>
What about daylight savings, then?
17:12 You're now known as TheWatcher
17:12
< AnnoDomini>
It looks fairly reminiscent of my implementation of "What time is it over there, damnit?" function on my bot.
17:12
<@jerith>
That's just the "choose your timezone" form element on this router's web interface.
17:13
<@jerith>
So, it seems every bloody field in this status page is a JavaScript function call, *except* the dynamic stuff.
17:13
< AnnoDomini>
I'm not sure, but I suppose that is bad.
17:14
<@jerith>
I'd suspect some kind of i18n attempt, but there's nowhere to select a language.
17:14 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
17:14 mode/#code [+o Chalcedon] by ChanServ
17:15
<@jerith>
The entire bloody thing is a huge morass of unnecessary JS bullshit.
17:16
<@jerith>
How the hell could anyone release code like this into production?
17:16
<@jerith>
I think thedailywtf is going to get a submission very shortly.
17:19 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
17:19 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
17:19 mode/#code [+o Chalcedon] by ChanServ
17:29 Chalcedon is now known as ChalcyStressed
17:44 ReivZzz is now known as ReivWork
17:49 You're now known as TheWatcher[afk]
18:06
<@jerith>
And the whole router saga (with some choice code snippets) has been sent to Alex of thedailywtf.com.
18:57 You're now known as TheWatcher
19:50 ChalcyStressed is now known as ChalcyOut
19:53 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
19:53 mode/#code [+o Chalcy] by ChanServ
19:54 ChalcyOut [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
19:56 Thaqui [~Thaqui@219.89.232.ns-12582] has joined #code
20:02 MyCatOwnz [~mycatownz@Nightstar-379.dsl.in-addr.zen.co.uk] has quit [Connection reset by peer]
20:04 MyCatOwnz [~mycatownz@Nightstar-379.dsl.in-addr.zen.co.uk] has joined #code
20:20 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has joined #Code
20:24 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has quit [Quit: Jouets de Dieu, jouets de jouets, et les jouets de me, fait naître Clairvoire.]
20:51 Vornicus-Latens is now known as Vornicus
20:56 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
20:56 mode/#code [+o Chalcedon] by ChanServ
20:57 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
20:59 Chalcedon is now known as ChalcyThesis
21:04 EvilDarkLord [althalas@Nightstar-15301.a88-115-211-62.elisa-laajakaista.fi] has quit [Ping Timeout]
21:16 EvilDarkLord [althalas@Nightstar-15301.a88-115-211-62.elisa-laajakaista.fi] has joined #code
21:41 MyCatOwnz is now known as MyFoodFoods
22:44 Takyoji [~Takyoji@Nightstar-25280.dhcp.roch.mn.charter.com] has joined #code
22:44
< Takyoji>
Would XHTML Strict 1.0 be a good idea to form a website by?
22:45 You're now known as TheWatcher[T-2]
22:47
< Takyoji>
The Wikipedia and Microsoft website is proper XHTML for example
22:50 You're now known as TheWatcher[zZzZ]
22:53
< EvilDarkLord>
I don't think you lose anything by using it.
22:54
< Vornicus>
XHTML Strict 1.0 is good.
22:54
< Vornicus>
better than pretty much anything, really.
22:56
<@ToxicFrog>
Yeah.
22:56
<@ToxicFrog>
MS is not XHTML 1.0 Strict, though.
22:56
<@ToxicFrog>
It claims to be HTML 4.0 Transitional, but isn't.
23:03 TakyojiClone [~Takyoji@Nightstar-25280.dhcp.roch.mn.charter.com] has joined #code
23:04
< TakyojiClone>
heh
23:06 Thaqui [~Thaqui@219.89.232.ns-12582] has quit [Operation timed out]
23:06 Takyoji [~Takyoji@Nightstar-25280.dhcp.roch.mn.charter.com] has quit [Ping Timeout]
23:09 TakyojiClone2 [~Takyoji@Nightstar-25280.dhcp.roch.mn.charter.com] has joined #code
23:11 TakyojiClone [~Takyoji@Nightstar-25280.dhcp.roch.mn.charter.com] has quit [Ping Timeout]
23:12 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has joined #Code
23:14 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has quit [Quit: Jouets de Dieu, jouets de jouets, et les jouets de me, fait naître Clairvoire.]
23:54 AnnoDomini [~fark.off@Nightstar-29200.neoplus.adsl.tpnet.pl] has quit [Quit: Some people find sanity a little confining.]
--- Log closed Wed Dec 20 00:00:25 2006
code logs -> 2006 -> Tue, 19 Dec 2006< code.20061218.log - code.20061220.log >