code logs -> 2009 -> Wed, 18 Mar 2009< code.20090317.log - code.20090319.log >
--- Log opened Wed Mar 18 00:00:15 2009
00:02 Reiv [~82d94c4d@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #Code
00:08
<@McMartin>
Oh, Windows.
00:08
<@ToxicFrog>
?
00:08
<@McMartin>
You may make wxWidgets work, but that provides you with so many other lovely gotchas.
00:08
<@McMartin>
In particular, whether or not this line...
00:09
<@McMartin>
CreateProcess(..., "command line goes here", ...)
00:09
<@McMartin>
coredumps or not depends on a linker option.
00:09
<@ToxicFrog>
Fun.
00:09
<@ToxicFrog>
Which option?
00:09
<@McMartin>
Because if it's Unicode-enabled, the command line string has to be writable so that the OS can change it to what wxWidgets wants.
00:09
<@McMartin>
/UNICODE
00:10
<@McMartin>
This is partially C's fault, actually.
00:10
<@McMartin>
MS actually *does* add type annotators to the function saying HEY, NOT ONLY IS THIS NON-CONST, IT'S AN ACTUAL OUT PARAMETER, but the compiler doesn't check this during normal builds.
00:11
<@McMartin>
But yeah, the problem I'm working on at work right now is (thanks in part to the insane flexibility of CreateProcess) turning out to be very simple indeed.
00:11
<@McMartin>
To the point that the hardest part is going to be the NSIS installer.
00:12
<@McMartin>
Which is going to be a fucking nightmare because it's going to have to do incredible violence to the registry as part of setup.
00:12
<@McMartin>
On the other other hand, I may be able to convince my bosses to open-source it, which would be nice.
00:14
<@McMartin>
Since that part of it is in fact not particularly related to our core product and it would be Handy.
00:14
<@McMartin>
And smite an OSS project I have come to hate~
00:16
<@GeekSoldier>
SMITE!
00:16
<@McMartin>
Well, it's not actually what we're using it for.
00:17
<@GeekSoldier>
which project?
00:17
<@McMartin>
Well, there are three.
00:17
<@McMartin>
And this isn't actually what we're doing, but it was the proof-of-concept to show what we needed could be done
00:17
<@GeekSoldier>
ah.
00:17
<@McMartin>
Project 1 is RedMon, which is awesome but basically unusable; it creates a "Printer" that is actually the stdin of an arbitrary program.
00:17
<@McMartin>
Project 2 is Ghostscript, powerful and equally unusable, especially on windows.
00:18
<@McMartin>
The proof of concept project basically wires these up into a printer that is PDF Distiller for everything ever.
00:18
<@GeekSoldier>
Wow, going after GS? wow.
00:18
<@McMartin>
No, those are both fine, just have UI issues
00:18
<@GeekSoldier>
That actually makes a bit of sense.
00:18
<@McMartin>
(See earlier where I said the hardest part is going to be the installer that wires all these up)
00:18
<@McMartin>
There's one that already does this.
00:18 * GeekSoldier nods.
00:19
<@McMartin>
It also adds, as it turns out, fifty metric tons of worthless shovelware written in Visual Basic 6
00:19
<@McMartin>
That's PDFCreator, at pdfforge.org, which I now wish to slay.
00:19
<@GeekSoldier>
I've seen that.
00:19
<@McMartin>
RedMon's HOWTO is also busted, for extra ;_;
00:19
<@ToxicFrog>
While we're hungering for smitings: die, NSIS, die
00:20
<@McMartin>
Yeah, so I spent the better part of half a week reverse engineering PDFCreator's source code trying to find what parts of it weren't worthless bullshit.
00:20
<@McMartin>
Answer: none of it.
00:20
<@GeekSoldier>
So you spent the lesser half of the week rewriting it?
00:20
<@McMartin>
I spent the lesser half of yesterday rewriting it.
00:20
<@McMartin>
The primary value add here is that I'm suppressing the console window that pops up. =P
00:21
<@McMartin>
(And doing some stuff that's unnecessary for *this* use case, but that we'll need for our paravirtual stuff)
00:22
<@McMartin>
(The eventual goal is something like ThinPrint but which actually works in our deployment scenarios.)
00:26 Tarinaky [~Tarinaky@88.83.110.ns-10776] has quit [Ping Timeout]
00:26 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Ping Timeout]
00:27 Reiv [~82d94c4d@Nightstar-29731.dsl.in-addr.zen.co.uk] has quit [Quit: CGI:IRC (Ping timeout)]
00:28 Tarinaky [~Tarinaky@88.83.110.ns-10776] has joined #code
00:28 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
00:28 mode/#code [+o Attilla] by ChanServ
01:04 AnnoDomini [~farkoff@Nightstar-29128.neoplus.adsl.tpnet.pl] has quit [Quit: God created man, God created woman, but Samuel Colt made them equal.]
01:07 mac [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has joined #Code
01:07 macdjord [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has quit [Ping Timeout]
01:28
<@Derakon>
...well, that's annoying.
01:28
<@Derakon>
I've figured out why my wallwalker/platform-placing algorithm is dumping lots of platforms in the middles of horizontal tunnels.
01:29
<@Derakon>
It's because when the wallwalker gets to the end of the corridor and starts up the wall, it looks out and says "Dear god, there's miles of open space out there, we need some platforms!"
01:32
<@ToxicFrog>
Pfffft
01:33
<@Derakon>
The trick will be fixing this without making it possible to ascend actually open rooms.
01:33
<@Derakon>
Er, impossible.
01:38 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Ping Timeout]
01:41 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
01:41 mode/#code [+o Attilla] by ChanServ
02:07 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Quit: Z?]
02:10 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Quit: <Insert Humorous and/or serious exit message here>]
02:18
<@Derakon>
Hmm...this is looking pretty good! http://derakon.dyndns.org/~chriswei/games/jbrl/mapgen20.png
02:18
<@Derakon>
I don't see any obvious accessibility problems, nor are there too many platforms; in fact, most of the platforms look like they actually serve a purpose!
02:25
<@Derakon>
So...what now?
02:26
<@Derakon>
I could: start implementing roadblocks; get a basic player in so the maps can be explored; add themed tilesets; add map features (e.g. buildings, mini-mazes, etc)...
02:29
<@ToxicFrog>
I would start with (2); it'll help testing of the rest
02:31 * ToxicFrog blinks at this thread. BASIC implemented as a Haskell monad; a T-SQL SELECT query that returns the Mandelbrot set; an HTTP server written in Postscript...
02:31
<@Derakon>
Goon geeks with way too much time on their hands?
02:35
<@ToxicFrog>
Yeah. The "making programming languages do things they aren't supposed to" thread.
02:35
<@ToxicFrog>
Oh, here's a quine that's valid in Haskell, Scheme, and OCaml.
02:36
<@ToxicFrog>
...a simple TCP-based chat server in a single python expression...
02:37
< Alek>
...
02:37 * ToxicFrog 's head detonates
02:38
<@Derakon>
What is it, "import chatserv"?
02:38
<@ToxicFrog>
A program that's valid zsh, bash, ruby, perl, make, C, C++, Haskell, HTML, JavaScript, python, and brainfuck.
02:38
<@Derakon>
You forgot INTERCAL.
02:38
<@Derakon>
Or, wait, no.
02:38
<@ToxicFrog>
It prints "I'm a <language> (program|script)!" depending on what terp you feed it to.
02:38
<@Derakon>
Whatever that "text editor" was.
02:39
<@ToxicFrog>
And no, it's this: http://paste.pocoo.org/show/91848/
02:39
<@Derakon>
The one where every string is a valid program.
02:39
<@Derakon>
I'm curious what the bas64-encoded string is for...
02:40
<@ToxicFrog>
Pong and Sokoban written in sed.
03:05 Alek [~omegaboot@Nightstar-23818.dsl.emhril.sbcglobal.net] has quit [Quit: ]
03:06 Alek [~omegaboot@Nightstar-23818.dsl.emhril.sbcglobal.net] has joined #code
04:35 mac is now known as macdjord
04:36 macdjord is now known as NSGuest-883
04:37 NSGuest-883 is now known as macdjord
04:59
<@Derakon>
Hmm...I should use the same basic approach to player powerups that I was going to use for modules in Selene.
05:02 Syloqs-AFH [Syloq@Admin.Nightstar.Net] has quit [Connection reset by peer]
06:05
<@Derakon>
Oh, Vorn -- did you ever get an answer to your PHP question?
06:05
<@Derakon>
(About switching into and out of <?php> mode)
06:07
<@Vornicus>
I have not; haven't had a chance to find the tools I need to do the benchmark.
06:07 * Derakon idly notes that reducing the tunnel length to 66% of prior values increases the apparent map density enormously.
06:08
<@Vornicus>
Well, show us then.
06:08
<@Derakon>
Well, to do that properly I should fix the map dimensions (which are currently semirandom)...it'll take a few minutes to make maps.
06:09 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code
06:09 mode/#code [+o gnolam] by ChanServ
06:09
<@Derakon>
9 seconds to make the non-dense map...
06:10
<@Derakon>
22 seconds to make the dense one, of which 10.5 was spent making the tree.
06:10
<@Derakon>
http://derakon.dyndns.org/~chriswei/games/jbrl/mapgen20c.png and http://derakon.dyndns.org/~chriswei/games/jbrl/mapgen20d.png
06:11
<@Vornicus>
Much nicer.
06:16
<@Vornicus>
Minor bug, on the dense one, top, just left of center.
06:16
<@Derakon>
The line along the top of the screen?
06:16
<@Vornicus>
That.
06:16
<@Derakon>
Yeah, that won't be noticeable in-game since I'll be doing LOS truncating on displayed blocks.
06:16
<@Vornicus>
Okay.
06:17
<@Vornicus>
Wait, LOS truncating in a platformer? I assume you'll be doing it less strictly than true LOS.
06:17 * Derakon ups the distance requirement for loops to form by a facter of 3.
06:17
<@Derakon>
Well, something like LOS.
06:17
<@Derakon>
You shouldn't see the other sides of walls.
06:17
<@Derakon>
Dense map with fewer trivial loops: http://derakon.dyndns.org/~chriswei/games/jbrl/mapgen20e.png
06:18
<@Vornicus>
I like the big northeast loop.
06:18
<@Derakon>
Yeah.
06:24 Derakon is now known as Derakon[AFK]
06:30 macdjord is now known as macdjord|bed
06:40 Vornicus [~vorn@Admin.Nightstar.Net] has quit [Quit: ]
07:21 somnolence [~somnolenc@212.116.219.ns-22904] has quit [Ping Timeout]
07:43 somnolence [~somnolenc@203.160.1.ns-3171] has joined #code
08:05 somnolence [~somnolenc@203.160.1.ns-3171] has quit [Client exited]
08:31 GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has quit [Ping Timeout]
08:32 somnolence [~somnolenc@203.160.1.ns-3171] has joined #code
08:33 GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has joined #code
08:33 mode/#code [+o GeekSoldier] by ChanServ
08:45 AnnoDomini [~farkoff@Nightstar-29128.neoplus.adsl.tpnet.pl] has joined #Code
08:45 mode/#code [+o AnnoDomini] by ChanServ
09:16 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has quit [Quit: Rhamphoryncus]
09:58 * gnolam curses greedy textbook authors to the lowest pits of Hell.
10:07 mac [~macdjord@129.97.124.ns-22188] has joined #Code
10:07 macdjord|bed [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has quit [Ping Timeout]
10:35 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
10:35 mode/#code [+o Attilla] by ChanServ
12:15 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Quit: <Insert Humorous and/or serious exit message here>]
15:03 Syloqs_AFH [Syloq@Admin.Nightstar.Net] has joined #code
15:04 Syloqs_AFH is now known as Syloqs-AFH
15:14 KBot [AnnoDomini@Nightstar-28949.neoplus.adsl.tpnet.pl] has joined #Code
15:14 Derakon[AFK] is now known as Derakno
15:14 Derakno is now known as Derakon
15:14 AnnoDomini [~farkoff@Nightstar-29128.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
15:15 KarmaBot [AnnoDomini@Nightstar-29128.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
15:17 KBot is now known as KarmaBot
15:21 AnnoDomini [~farkoff@Nightstar-28949.neoplus.adsl.tpnet.pl] has joined #Code
15:21 mode/#code [+o AnnoDomini] by ChanServ
15:21 crem_ [~moo@Nightstar-28703.adsl.mgts.by] has quit [Ping Timeout]
15:24 * Molgorn eyebrows
15:25
< Molgorn>
So, trying to do var urlend = "&postedby_id=1"; in javascript causes it to tell me "It's not well formed".
15:25
< Molgorn>
The best advice the interwebs have been able to offer is "replace the & with an &"
15:27
< Molgorn>
Is it because I'm starting the string with &? I've got strings with &s in the middle that work fine
15:27
<@Derakon>
Try replacing the " with '
15:28
< Molgorn>
Already tried that one
15:28
<@Derakon>
Bah.
15:49
<@ToxicFrog>
Works for me:
15:49
<@ToxicFrog>
ben@orias:~> rhino
15:49
<@ToxicFrog>
Rhino 1.7 release 6.14 2008 12 03
15:49
<@ToxicFrog>
js> var urlend = "&postedby_id=1"
15:49
<@ToxicFrog>
js> urlend
15:49
<@ToxicFrog>
&postedby_id=1
15:50
<@Derakon>
I suspect Rhino's JS interpreter is different from what Mol is using.
15:50
<@ToxicFrog>
Are you sure the problem isn't elsewhere in your code?
15:51
<@ToxicFrog>
Derakon: let me cling to the delusion that even if different JS terps have different semantics, they all at least accept the same language~
15:54
<@Derakon>
Heh.
16:00
<@Derakon>
Mental note: create a name generator to give more identity to the different themed areas of the map.
16:01
< Molgorn>
oh gods
16:01
< Molgorn>
I think it's because it's in a <script> tag in XUL
16:02
< Molgorn>
...no, wait, it's the same for the other one and that just uses <script src=""/> to import
16:02
< Molgorn>
aaaaaaugh
16:11
< Molgorn>
ah, &amp;
16:11
<@Derakon>
Heh.
16:43 mac [~macdjord@129.97.124.ns-22188] has quit [Ping Timeout]
16:44 mac [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has joined #Code
17:15 macd [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has joined #Code
17:16 mac [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has quit [Ping Timeout]
17:18 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has joined #code
17:19 mac [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has joined #Code
17:19 macd [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has quit [Ping Timeout]
17:24 macd [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has joined #Code
17:25 mac [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has quit [Ping Timeout]
17:30 mac [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has joined #Code
17:30 macd [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has quit [Ping Timeout]
17:43 macd [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has joined #Code
17:44 mac [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has quit [Ping Timeout]
17:45 mac [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has joined #Code
17:47 macd [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has quit [Ping Timeout]
17:52 mac [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has quit [Ping Timeout]
17:52 macdjord [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has joined #Code
18:10 Alek [~omegaboot@Nightstar-23818.dsl.emhril.sbcglobal.net] has quit [Ping Timeout]
18:11 Alek [~omegaboot@Nightstar-23818.dsl.emhril.sbcglobal.net] has joined #code
18:11 macdjord [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has quit [Ping Timeout]
18:14 macdjord [~macdjord@Nightstar-9795.129-97-124-126.uwaterloo.ca] has joined #Code
19:46 Netsplit Troika.TX.US.Nightstar.Net <-> DeepThought.NY.US.Nightstar.Net quits: Syloqs-AFH, macdjord, KarmaBot, @ToxicFrog, @C_tiger, Alek, Rhamphoryncus, Tarinaky, @GeekSoldier, somnolence, (+3 more, use /NETSPLIT to show all of them)
19:46 Derakon [~Derakon@Nightstar-4920.hsd1.ca.comcast.net] has quit [Quit: And poof! I am gone.]
19:59 Netsplit over, joins: McMartin, Tarinaky, gnolam, somnolence, GeekSoldier, KarmaBot, Rhamphoryncus, Alek, macdjord
19:59 Derakon [~Derakon@Nightstar-4920.hsd1.ca.comcast.net] has joined #code
19:59 Netsplit over, joins: Syloqs-AFH
19:59 Netsplit over, joins: C_tiger
19:59 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
19:59 Netsplit over, joins: Doctor_Nick
19:59 mode/#code [+o jerith] by ChanServ
19:59 mode/#code [+o TheWatcher[afk]] by ChanServ
19:59 mode/#code [+o Chalain] by ChanServ
19:59 mode/#code [+o Reiver] by ChanServ
19:59 mode/#code [+o Consul] by ChanServ
19:59 mode/#code [+o EvilDarkLord] by ChanServ
19:59 mode/#code [+o MyCatVerbs] by ChanServ
19:59 mode/#code [+o AnnoDomini] by ChanServ
22:09 macdjord is now known as macdjord|fuud
23:13 macdjord|fuud is now known as macdjord
23:35 AnnoDomini [~farkoff@Nightstar-28949.neoplus.adsl.tpnet.pl] has quit [Quit: (...) By this point, the astute reader has picked up that Nethack isn't a "game" as much as an extremely prolonged and extremely elaborate form of masochism. Ask any serious player.]
23:46 Vornicus [~vorn@Admin.Nightstar.Net] has joined #code
23:46 mode/#code [+o Vornicus] by ChanServ
--- Log closed Thu Mar 19 00:00:27 2009
code logs -> 2009 -> Wed, 18 Mar 2009< code.20090317.log - code.20090319.log >