code logs -> 2008 -> Tue, 12 Feb 2008< code.20080211.log - code.20080213.log >
--- Log opened Tue Feb 12 00:00:39 2008
00:01
<@ToxicFrog>
No, that bit makes sense.
00:01
<@ToxicFrog>
It's the fact that List<Object> a = new List<Foo>(); passes type checking that strikes me as weird.
00:03
<@AnnoDomini>
Hey, anyone have experience with Turbo Assembler? I can't seem to make it see the damn file I want assembled.
00:04
<@McMartin>
TF: It doesn't pass type checking.
00:04
<@McMartin>
However, I was writing as if it did\.
00:04
<@McMartin>
Thus, I got 47 trillion errors.
00:05
<@McMartin>
As it happens, I was able to solve all be three of them via judicious use of <? extends T> modifiers.
00:05
<@ToxicFrog>
Aah.
00:05
<@McMartin>
The other three were simply sloppy design on my part, and I had to do it right instead.
00:05
<@ToxicFrog>
AnnoDomini: nope, I've only used nasm and weird IDEs.
00:05
<@McMartin>
I last used Turbo Assembler to write the VGA drivers for Target Acquired. In 1995.
00:07 You're now known as TheWatcher[T-2]
00:07 * McMartin now has about 2/3 of a POJO-based API for iFiction files now.
00:11 You're now known as TheWatcher[zZzZ]
00:21 * AnnoDomini leaves the bloody piece of dog shit that TASM appears to be, and goes to sleep.
00:21 AnnoDomini [AnnoDomini@83.21.31.ns-26971] has quit [Quit: No fighting in the War Room!]
00:35 Vornicus is now known as Darius
--- Log closed Tue Feb 12 00:53:12 2008
--- Log opened Tue Feb 12 00:53:44 2008
00:53 TheWatcher[zZzZ] [~chris@82.71.33.ns-26612] has joined #code
00:53 Irssi: #code: Total of 16 nicks [6 ops, 0 halfops, 0 voices, 10 normal]
00:53 mode/#code [+o TheWatcher[zZzZ]] by ChanServ
00:54 Irssi: Join to #code was synced in 43 secs
--- Log closed Tue Feb 12 01:12:59 2008
--- Log opened Tue Feb 12 01:13:03 2008
01:13 TheWatcher[zZzZ] [~chris@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #code
01:13 Irssi: #code: Total of 16 nicks [6 ops, 0 halfops, 0 voices, 10 normal]
01:13 mode/#code [+o TheWatcher[zZzZ]] by ChanServ
01:13 Irssi: Join to #code was synced in 41 secs
01:50
<@McMartin>
Man. MacVICE really *does* suck.
01:51
<@McMartin>
In fact, I'm not convinced it's actually usable without a 2-button mouse attached.
01:57
< Darius>
Yeah, it's quite bad.
01:57
< Darius>
the gtk one is much nicer.
01:57
<@McMartin>
The experimental Cocoa one appears to just NFW.
01:57
< Darius>
Yes.
02:00
<@McMartin>
MacPorts version also DFC.
02:04
<@ToxicFrog>
VICE?
02:07
< Darius>
VICE: VIC Emulator, an emulator for the Commodore 64 and 128, the Commodore VIC 20, and some other computers.
02:07
< Darius>
The best of the bunch.
02:11
<@McMartin>
Basically, all the 8-bit CBM machines, and all their peripherals.
02:11
<@McMartin>
http://www.viceteam.org/
02:26 Derakon [~Derakon@Nightstar-8000.hsd1.wa.comcast.net] has joined #code
02:26 mode/#code [+o Derakon] by ChanServ
03:34 Pi-2 is now known as Pi
04:44 GeekSoldier is now known as GS|work
05:07 Darius is now known as Vornicus
05:17 GS|work [~Rob@Nightstar-8525.dip.t-dialin.net] has quit [Ping Timeout]
05:18 GS|work [~Rob@Nightstar-8525.dip.t-dialin.net] has joined #code
05:41 GS|work [~Rob@Nightstar-8525.dip.t-dialin.net] has quit [Ping Timeout]
05:50 Chalcedon [~Chalcedon@203.211.126.ns-3357] has joined #code
05:50 mode/#code [+o Chalcedon] by ChanServ
06:06 GS|work [~Rob@Nightstar-9670.dip.t-dialin.net] has joined #code
06:42 * McMartin bends Ant to his will.
06:45 Derakon is now known as Derakon[AFK]
07:11 You're now known as TheWatcher
08:05 AnnoDomini [AnnoDomini@83.21.31.ns-26971] has joined #Code
08:05 mode/#code [+o AnnoDomini] by ChanServ
08:15 GS|work [~Rob@Nightstar-9670.dip.t-dialin.net] has quit [Ping Timeout]
08:16 You're now known as TheWatcher[afk]
08:18 GS|work [~Rob@Nightstar-9670.dip.t-dialin.net] has joined #code
09:28 GS|work [~Rob@Nightstar-9670.dip.t-dialin.net] has quit [Ping Timeout]
09:48 You're now known as TheWatcher
09:55 AnnoDomini [AnnoDomini@83.21.31.ns-26971] has quit [Ping Timeout]
09:59
<@McMartin>
Hmm.
09:59
<@McMartin>
So, on the one hand, this one class definition is 500 lines long.
09:59
<@McMartin>
On the other, all the org.xml and org.w3c and javax.xml imports are all now constrained to this one, single file.
10:08
< Vornicus>
I'd go with that.
10:19
<@McMartin>
Yeah.
10:19
<@McMartin>
XML *output* I'm going to distribute amongst the data, because that's basically just print statements.
10:22
< Vornicus>
I'm not sure I'd go with that.
10:24
<@McMartin>
Since at the moment I only need input, I can punt.
10:25
< Vornicus>
Okay.
10:27 * McMartin also needs to add support for non-Inform tags, as well as forcible ignoring of <annotation>.
10:28
<@McMartin>
But! Once I do all that.
10:28
<@McMartin>
Full parsing capability for iFiction records.
10:29
< Vornicus>
So, playing Kirby's Dreamland 3
10:29
< Vornicus>
or, rather, having beaten it
10:29
< Vornicus>
and the critter credits are going by.
10:29
< Vornicus>
The "umbrella" miniboss is called "jumper shoot"
10:30
<@McMartin>
Hee
10:30
<@McMartin>
http://blorple.svn.sourceforge.net/viewvc/blorple/src/java/net/sf/blorple/ificti on/Parser.java?revision=19&view=markup
10:33
<@McMartin>
Blah. The TADS tags require me to be able to replicate HTML.
10:33 * McMartin will probably just cheat on that.
10:34 Reiver is now known as torthia
10:34 torthia is now known as orthia
10:35 orthia is now known as NSGuest-5002
10:44 NSGuest-5002 is now known as Orthia
10:55 Vornicus is now known as Vornicus-Latens
11:04 gnolam [lenin@Nightstar-10613.8.5.253.static.se.wasadata.net] has joined #Code
11:04 mode/#code [+o gnolam] by ChanServ
11:24 Orthia is now known as Reiver
11:28 AnnoDomini [AnnoDomini@83.21.31.ns-26971] has joined #Code
11:28 mode/#code [+o AnnoDomini] by ChanServ
12:12
<@gnolam>
GODDAMMIT. I am NOT a "f[f]r[r]equent[t] visitor to re[e]t[t]ail sof[f]t[t]w[w]ar[r]e stores".
12:14
<@gnolam>
This particular spammer annoys the fuck out of me.
12:17 AnnoDomini [AnnoDomini@83.21.31.ns-26971] has quit [Ping Timeout]
12:18 AnnoDomini [AnnoDomini@83.21.21.ns-26664] has joined #Code
12:18 mode/#code [+o AnnoDomini] by ChanServ
12:50 You're now known as TheWatcher[d00m]
13:00 AnnoDomini [AnnoDomini@83.21.21.ns-26664] has quit [Ping Timeout]
13:00 AnnoDomini [AnnoDomini@83.21.28.ns-4026] has joined #Code
13:00 mode/#code [+o AnnoDomini] by ChanServ
14:07 You're now known as TheWatcher
14:20 * jerith looks sadly at the code he has just written.
14:20
<@jerith>
So, Java.
14:21
<@jerith>
I have a list of strings and a list of objects.
14:21
<@jerith>
I want to look at the list of objects and essentially filter out objects that do not contain a string in the list of strings.
14:22
<@jerith>
I have a nested if/for/if/for/if, which I /think/ is the easiest way of doing it.
14:22
<@jerith>
Oh, if the list of strings to filter on is empty, I don't want to filter at all.
14:23
<@jerith>
That's the first if.
14:28
<@ToxicFrog>
"do not contain"?
14:31
<@TheWatcher>
I think he means that he has a list of objects, each of which contains a string, and a second list which contains some strings, and he wants to remove objects from the first list if the string they contain is not in the second.
14:36
<@jerith>
Yes, that.
14:37
<@jerith>
The objects are essentially three-way mappings. I want to filter based on a list of one of the items.
14:37
<@jerith>
In fact, let me sanitise and pastebin the code.
14:45
<@jerith>
List<String> filterList = getFilterList();
14:45
<@jerith>
List<MyStruct> unfilteredList = getUnfilteredList();
14:45
<@jerith>
Crap!
14:45
<@jerith>
Firefox crashed on me just as I pasted.
14:49
<@jerith>
http://rafb.net/p/Lyk2kg70.html
15:34 You're now known as TheWatcher[afk]
16:29 Xiphias [~Ameroth@Nightstar-12823.wlms-broadband.com] has joined #code
17:02 Xiphias [~Ameroth@Nightstar-12823.wlms-broadband.com] has quit [Quit: I was never gone]
17:10 gnolam is now known as gnolametal
17:26 * ToxicFrog implements a tiny subset of the relational calculus
18:38
< MyCatVerbs>
Define "subset"?
18:39
< MyCatVerbs>
Complete enough to build all the other constructs?
18:47 You're now known as TheWatcher
19:39
<@ToxicFrog>
Ahahahahahano.
19:49
<@McMartin>
Argh
19:49 * McMartin sets Michael Roberts on fire
19:49 * McMartin then goes to read up on JAXP
19:50
<@ToxicFrog>
?
19:52
<@McMartin>
The TADS extensions to the iFiction XML format are not actually XML
19:53
<@McMartin>
This causes the XML parser to die in a fire before it can reach the information I actually need.
19:53
<@ToxicFrog>
Oh joy.
19:53
<@ToxicFrog>
Drop TADS support~
19:55
<@McMartin>
That's the first solution
19:55
<@McMartin>
However, it means innocent users will be unable to import data if there's any TADS data anywhere in it.
19:56
<@McMartin>
It would probably be better to find a switch to flip that says "all TADS data is secretly CDATA, like <pre>, even though it doesn't say so"
19:57
<@McMartin>
Which I really kind of need anyway to deal with <annotation>
19:57
<@McMartin>
Which "can contain anything, and tools are required to ignore any they didn't put there
19:58
<@McMartin>
Which in my case would be stuff in <blorple> tags. Which will be fully XML-compliant thank you very much
20:08 gnolametal is now known as gnolam
21:00 Vornicus-Latens is now known as Vornicus
21:16 GS|work [~Rob@91.18.111.ns-12364] has joined #code
22:07
<@jerith>
http://vhata.net/files/bored.c <-- A friend of a friend got bored.
22:07
<@jerith>
(Run it in an 80-column terminal.)
22:32
<@AnnoDomini>
Nice.
22:33
<@McMartin>
Cunning.
22:33
<@McMartin>
Also, in a stroke of SRMD, I have reached the solution to my <tads> problem.
22:33
<@McMartin>
To with, escape them with regexps before handing it to a stock parser. =P
22:43
<@ToxicFrog>
...how is it that L' has cpp installed, but not gcc?
23:00
<@McMartin>
cpp is used by applications that aren't gcc.
23:00
<@McMartin>
Because they are FOOLS in need of GLORIOUS DESTRUCTION, but this is beside the point.
23:01 * McMartin forgets the exact quote, but "The Design and Evolution of C++" includes a flavor quote to the effect of "It is my opinion that cpp is evil and needs to destroyed".
23:01
<@McMartin>
One of the few statements re: the design of C++ that I found sensible~
23:06
<@gnolam>
jerith: ?
23:06
<@McMartin>
It's not a sploit.
23:06
<@McMartin>
It makes no libc calls besides putchar.
23:08 * gnolam wonders what he's apparently missed.
23:08
<@McMartin>
I assumed you were ?ing at jerith's link.
23:08
<@gnolam>
Ah. Desynch.
23:09
<@ToxicFrog>
There's probably some terminal emulator out there which you can do a code-execution attack on using nothing but putchar~
23:09
<@gnolam>
Anyone care to re-post that link then?
23:09
<@ToxicFrog>
<jerith> http://vhata.net/files/bored.c <-- A friend of a friend got bored.
23:09 mode/#code [-o ToxicFrog] by ToxicFrog
23:09 mode/#code [+o ToxicFrog] by ToxicFrog
23:09
<@ToxicFrog>
<jerith> http://vhata.net/files/bored.c <-- A friend of a friend got bored.
23:10 mode/#code [+oooooo Attilla C_tiger GS|work MyCatVerbs Pi Raif] by AnnoDomini
23:10 mode/#code [+ooo Serah Syloqs-AFH Vornicus] by AnnoDomini
23:10
<@McMartin>
TF: That's the terminal emulator's fault~
23:10
<@McMartin>
Actually, running this app through gcc -E makes what it does painfully obvious, so don't do that first, it will ruin the surprise~
23:12 * AnnoDomini ran it in Borland C 3.1.
23:12
<@McMartin>
(gcc -E applies the preprocessor and sorts out all the #defines, and then dumps the result to the terminal.)
23:12
<@McMartin>
(Which makes it look less like a rant and more like an only slightly wacky implementation of its algorithm
23:13
<@gnolam>
AnnoDomini: masochist, eh?
23:14
<@McMartin>
Alternately, still stuck in DOS.
23:14
<@McMartin>
On the plus side, this means he can produce .com files.
23:14
<@McMartin>
... what with .COM and .NET, clearly the successor to vista will need .ORG and .EDU executable formats.
23:15
<@McMartin>
For the former, the assembler can be .ORGasm. I'm sure that will go over well.
23:15
<@AnnoDomini>
gnolam: Bah. It's the ONLY C environment I was actually taught to code in. We had classes for Visual C++, but the TA didn't teach us shit.
23:20
<@Vornicus>
McM: I do know that there is a microsoft tool called prorgasm.
23:22
<@gnolam>
Heh. Our dev environment training consists of a small page explaining how to invoke GCC (or gnatmake, or javac, or...).
23:23
<@gnolam>
By the time we get to anything remotely resembling real programming we're supposed to be used to emacs already. :)
23:24
<@gnolam>
(BTW, emacs is a program I constantly switch between wanting to hug and wanting to KILL WITH RIGHTEOUS FIRE, but that's another story)
23:39 You're now known as TheWatcher[T-2]
23:43 You're now known as TheWatcher[zZzZ]
--- Log closed Wed Feb 13 00:00:45 2008
code logs -> 2008 -> Tue, 12 Feb 2008< code.20080211.log - code.20080213.log >