code logs -> 2007 -> Tue, 10 Apr 2007< code.20070409.log - code.20070411.log >
--- Log opened Tue Apr 10 00:00:53 2007
00:06 MyCatVerbs is now known as MyCatSleeps
00:07
< MyCatSleeps>
Vornicus: oh fuck, *doubles*. Sorry, I don't know why I was thinking of a linear increase.
00:07 * MyCatSleeps sucks. :(
00:26
<@ToxicFrog>
Doctor_Nick, why are you even here again?
00:53 AnnoDomini [~farkoff@Nightstar-29074.neoplus.adsl.tpnet.pl] has quit [Connection reset by peer]
00:55 AnnoDomini [~farkoff@Nightstar-29074.neoplus.adsl.tpnet.pl] has joined #Code
00:55 mode/#code [+o AnnoDomini] by ChanServ
00:59 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.]
03:49 Thaqui [~Thaqui@Nightstar-11596.jetstream.xtra.co.nz] has quit [Quit: Leaving]
04:22 GeekSoldier[A] [~IceChat7@Nightstar-3902.pools.arcor-ip.net] has quit [Quit: Take my advise. I don't use it anyway]
04:36 ReivZzz is now known as Reiver
05:18 Doctor_Nick [~fdsaf@Nightstar-27777.rag-a.fsu.edu] has quit [Ping Timeout]
06:33 Syloq [Syloq@NetAdmin.Nightstar.Net] has quit [Connection reset by peer]
06:42 gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has joined #Code
06:42 mode/#code [+o gnolam] by ChanServ
06:42 gnolam is now known as gnolam|Exam
07:30 MyCatSleeps is now known as MyCatVerbs
07:39 * Vornicus figures out the encoding for Metroid Zero Mission room chunks: http://vorn.dyndns.org/~vorn/rle-decoded_mzm_room.png
07:40
<@McMartin>
Sweet
07:41
<@Vornicus>
Next I need to figure out what the various things mean (I know what _ and x are, the others are generally a bit more complicated), where the rest of the rooms are stored, and the sprite, item, etc data.
07:42 MyCatVerbs is now known as MyCatIsAway
07:46
<@Vornicus>
I'm not sure what the border padding is for, either.
07:48
<@Vornicus>
(the data for the clipping information can be found in your ROM at 0+0x60C64A, and has a length of 304)
07:50
<@Vornicus>
(the things I know are: the first byte is width in tiles (x_screens * 15 + 4), the second is height in tiles (y_screens * 10 + 4), the third is ?????, and then the RLE stuff starts.
07:52
<@Vornicus>
the RLE coding goes length, data, as one-byte chunks - if length > 0x80, there is only one byte of data and that byte is repeated (length - 0x80) times; if length < 0x80 then the next (length) bytes are raw data.
09:12 MahalGone is now known as Mahal
09:29 Netsplit DeepThought.NY.US.Nightstar.Net <-> Troika.TX.US.Nightstar.Net quits: @Raif, @Serah, @AnnoDomini, @Reiver
09:29 Netsplit DeepThought.NY.US.Nightstar.Net <-> Troika.TX.US.Nightstar.Net quits: @Pi, @jerith
09:30 Netsplit DeepThought.NY.US.Nightstar.Net <-> Troika.TX.US.Nightstar.Net quits: @Chalain
09:30 Netsplit over, joins: Chalain, jerith, Pi, Raif, Reiver
09:30 mode/#code [+o Chalain] by ChanServ
09:30 mode/#code [+o jerith] by ChanServ
09:30 Netsplit over, joins: Serah
09:30 mode/#code [+o Pi] by ChanServ
09:30 mode/#code [+o Raif] by ChanServ
09:30 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Client exited]
09:30 mode/#code [+o Reiver] by ChanServ
09:30 Netsplit over, joins: AnnoDomini
09:30 mode/#code [+o Serah] by ChanServ
--- Log closed Tue Apr 10 09:30:43 2007
--- Log opened Tue Apr 10 09:30:47 2007
09:30 TheWatcher[zZzZ] [~chris@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #code
09:30 Irssi: #code: Total of 14 nicks [10 ops, 0 halfops, 0 voices, 4 normal]
09:30 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
09:30 mode/#code [+o ToxicFrog] by ChanServ
09:31 Irssi: Join to #code was synced in 26 secs
09:31 KarmaBot [~karma.bot@Nightstar-29074.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
09:31 McMartin [~mcmartin@Nightstar-8368.dsl.pltn13.sbcglobal.net] has joined #code
09:31 mode/#code [+o McMartin] by ChanServ
09:31 EvilDarkLord is now known as NSGuest-1317
09:32 KarmaBot [~karma.bot@Nightstar-29074.neoplus.adsl.tpnet.pl] has joined #Code
09:52 You're now known as TheWatcher
10:20 Thaqui [~Thaqui@Nightstar-11596.jetstream.xtra.co.nz] has joined #code
10:20 mode/#code [+o Thaqui] by ChanServ
11:23 Mahal is now known as MahalBed
11:29 Vornicus is now known as Vornicus-Latens
12:35 gnolam|Exam is now known as gnolam
12:43
<@gnolam>
http://www.youtube.com/watch?v=uk2sPl_Z7ZU <- The Mona Lisa... in MS Paint.
12:58
<@gnolam>
Hmm. Wrong channel. :D
13:02
<@AnnoDomini>
Bah. It's awesome.
13:03
<@AnnoDomini>
I wonder if there's something like Turing Completeness for image editors.
13:23 Thaqui [~Thaqui@Nightstar-11596.jetstream.xtra.co.nz] has left #code [Leaving]
15:26 Doctor_Nick [~fdsaf@Nightstar-27777.rag-a.fsu.edu] has joined #code
17:15 You're now known as TheWatcher[afk]
17:21 MyCatIsAway is now known as MyCatVerbs
17:25
<@gnolam>
http://worsethanfailure.com/Articles/Some_Call_it_Concatenation.aspx
17:25 * AnnoDomini read that.
17:31
<@Raif>
Heh
17:31
< Doctor_Nick>
why did he do that?
17:37
<@Raif>
Why does anyone on that site do anything?
17:37
<@gnolam>
Because they hate humanity.
17:38
<@Raif>
So do I, and you don't see me writing that shit. :P
17:38
< Doctor_Nick>
raif: because they're either lazy or bored and they dont figure people will give much of a shit
17:38
< Doctor_Nick>
but they didn't expect worsethanfailure.com!
17:39 * Raif shrugs.
17:39
<@Raif>
I've seen so much bad code in the last year that those code samples don't do anything for me anymore. The stories are often amusing, but the snippets are generally pretty tame.
17:46
< Doctor_Nick>
in general, when you know that other people are going to look at your code, you tend to write good, clean code
17:52
< Doctor_Nick>
"I guess some people's brains are hardwired to think in Polish Notation."
17:52
< Doctor_Nick>
hahahahaha
17:55
<@gnolam>
AnnoDomini's brain is!
17:55 * gnolam hides.
17:56
< Doctor_Nick>
snaps
17:57 * AnnoDomini launches a SCUD after gnolam.
17:58 * gnolam is messily annihilated.
17:58
< Doctor_Nick>
spam and cheese bbq sandwich, mm mm good
17:59
<@AnnoDomini>
Hunh. I hadn't expected something as inaccurate as a SCUD to actually work. o_0
17:59
<@gnolam>
Do you guys still have your Scuds?
17:59
<@AnnoDomini>
We had SCUDs?
17:59
<@gnolam>
Yep.
17:59
< Doctor_Nick>
it was iraq that had scuds
18:00 * AnnoDomini is ignorant here, but supposes that we still do.
18:00
<@AnnoDomini>
We don't really have anything to replace 'em with.
18:00
<@gnolam>
Feels like they don't quite fit into the current doctrine, but on the other hand you have the "If it still works, why throw it away?" principle.
18:01
<@AnnoDomini>
"If it appears to be still working, don't throw it away."
18:02
<@AnnoDomini>
Appearances can be deceiving. :/
18:03
<@Reiver>
bah.
18:03 * gnolam reads up.
18:03
<@Reiver>
I still like the Russians Y2K plan for their nuclear silos.
18:03
<@gnolam>
Apparently you decommisioned them all.
18:04
<@Reiver>
Americans: Spend millions ensuring the software is up to date.
18:04
<@Reiver>
Russians: These things have don't-fire-if-the-cover-is-blocked failsafes, right? So, if something starts to open, we park a truck on it.
18:04
<@Reiver>
And then work out what to do from there.
18:04
<@gnolam>
... or possibly not. The sources contradict each other.
18:05
<@gnolam>
Reiver: :D
18:05
< Doctor_Nick>
remember mutually assured destruction
18:05
< Doctor_Nick>
good times
18:05
<@Reiver>
Of course, what makes it all hilariously bad is when it was then revealed there were concerns that the russian army wouldn't have enough petrol for the trucks... ¬¬
18:05
<@gnolam>
I wonder what they did with all the mobile systems.
18:06
<@Reiver>
"If it starts to fire, pull out the goddamn plug"
18:06
<@gnolam>
After all, the Soviet/Russian nuclear doctrine has never (with good reason) been big on static launchers.
18:06
<@Reiver>
I think most of the mobile systems need the truck running to actually launch or something. >.>
18:07
<@gnolam>
My guess is that they used the "Russian private with chain and padlock" method.
18:08
<@Reiver>
("Hey, we need electrical power. From a generator" "You mean like from a diesel powered engine and an alternator?" "Exactly, why?" "Well, sir, this thing is kind of sitting on a truckbed, sir. ...Which sort of has a deisel engine and an alternator by default, sir." "Oh. Well, that's a handy saving, isn't it?")
18:08
< Doctor_Nick>
gnolam: what if they use psychic commandos to prevent the men from turning their keys?
18:08
<@Reiver>
Pretty much, gnolam.
18:09
<@Reiver>
I still wish we could have had our NZ$5000 cruise missiles.
18:09
<@Reiver>
Even with milspec, we coulda done 'em for $20k+warhead, I reckon. ;_;
18:09
<@gnolam>
Well, that thing was a bloody scandal.
18:11
<@Reiver>
"Hello mister americans! We've sent one shipping boat to the gulf as our contribution to the war against Iran." "...Um, thanks." "So! We got two million worth of cruise missiles on board, where you want 'em fired?" "*Mutters something about the things costing two mil each, the bloody fools* ...Uh, fire it at that bridge, I guess." "OK! What about the other 99?" "WHAT?"
18:11 * gnolam is still tempted to build one of the guy's pulse jet designs.
18:15 Reiver is now known as ReivZzz
18:18
< Doctor_Nick>
http://www.somethingawful.com/d/news/userbox-roadshow.php
18:20 You're now known as TheWatcher
18:43 jerith [~jerith@IRCop.Nightstar.Net] has quit [Ping Timeout]
18:44 gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has quit [Quit: ]
18:44 gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has joined #Code
18:44 mode/#code [+o gnolam] by ChanServ
18:45 jerith [~jerith@IRCop.Nightstar.Net] has joined #code
18:45 mode/#code [+o jerith] by ChanServ
18:50 jerith [~jerith@IRCop.Nightstar.Net] has quit [Ping Timeout]
18:52 jerith [~jerith@IRCop.Nightstar.Net] has joined #code
18:52 mode/#code [+o jerith] by ChanServ
19:08 jerith [~jerith@IRCop.Nightstar.Net] has quit [Ping Timeout]
19:09 jerith [~jerith@IRCop.Nightstar.Net] has joined #code
19:09 mode/#code [+o jerith] by ChanServ
19:09 Raja- [~Raja@Nightstar-3789.melsa.net.id] has joined #Code
19:24 Raja- [~Raja@Nightstar-3789.melsa.net.id] has left #Code []
19:25 AnnoDomini [~farkoff@Nightstar-29074.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
19:26 KBot [~karma.bot@Nightstar-29752.neoplus.adsl.tpnet.pl] has joined #Code
19:26 KarmaBot [~karma.bot@Nightstar-29074.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
19:27 KBot is now known as KarmaBot
19:31 AnnoDomini [~farkoff@Nightstar-29752.neoplus.adsl.tpnet.pl] has joined #Code
19:31 mode/#code [+o AnnoDomini] by ChanServ
19:34 Vornicus-Latens is now known as Vornicus
19:51 NSGuest-1317 is now known as EvilDarkLord
20:00 Chalcedon [Chalceon@Nightstar-1613.dialup.ihug.co.nz] has joined #code
20:00 mode/#code [+o Chalcedon] by ChanServ
20:40 MahalBed is now known as Mahal
20:52 gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has quit [Ping Timeout]
21:03 gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has joined #Code
21:03 mode/#code [+o gnolam] by ChanServ
21:06 Otto_Flick [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has joined #Code
21:06 gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has quit [Ping Timeout]
21:06 Otto_Flick is now known as gnolam
21:13 Chalcedon [Chalceon@Nightstar-1613.dialup.ihug.co.nz] has quit [Ping Timeout]
22:06
<@Vornicus>
Is it sad? I can recognize RLE data when I see it, and I've only actually used it once.
22:07
< Doctor_Nick>
=(
22:12
<@McMartin>
Not really. I can read IFF chunks off the binaries half the time.
22:17
<@Vornicus>
heh
22:33 Thaqui [~Thaqui@Nightstar-11596.jetstream.xtra.co.nz] has joined #code
22:33 mode/#code [+o Thaqui] by ChanServ
22:40 Thaqui [~Thaqui@Nightstar-11596.jetstream.xtra.co.nz] has quit [Ping Timeout]
22:40 You're now known as TheWatcher[T-2]
22:46
< Doctor_Nick>
hahaha
22:46
<@AnnoDomini>
What's so funny, laughing boy?
22:47 You're now known as TheWatcher[zZzZ]
22:48
< Doctor_Nick>
hohoho
22:54
< MyCatVerbs>
AnnoDomini: it's the helium.
22:54
< MyCatVerbs>
AnnoDomini: that or the special brownies.
22:55
< MyCatVerbs>
AnnoDomini: that and the special brownies. Both together, just, wow.
22:55
<@AnnoDomini>
Special marihuana brownies filled with helium?
22:56
<@AnnoDomini>
Man, that must be some trip.
22:56
< MyCatVerbs>
SSSSSSH, NARC!
22:56
< MyCatVerbs>
Nononono, you bake the brownies, consume the brownies.
22:56
< MyCatVerbs>
The helium is seperate, except that you use both in rapid succession.
22:57
< MyCatVerbs>
(No, I haven't tried this. If I were going to, I probably would, though.)
--- Log closed Tue Apr 10 23:08:20 2007
--- Log opened Tue Apr 10 23:08:24 2007
23:08 TheWatcher[zZzZ] [~chris@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #code
23:08 Irssi: #code: Total of 17 nicks [11 ops, 0 halfops, 0 voices, 6 normal]
23:08 Irssi: Join to #code was synced in 23 secs
23:10
<@ToxicFrog>
Heh. From another network:
23:10
<@ToxicFrog>
Sess: Hey, Java's a good teaching language.
23:10
<@ToxicFrog>
Me: (lengthy discussion about boilerplate, "magic" programming, the value of REPL for teaching, etc)
23:10
<@ToxicFrog>
Sess: ...ok, I just got spanked.
23:13
<@Vornicus>
"REPL"?
23:14
<@ToxicFrog>
Read-Evaluate-Print loop.
23:14
<@ToxicFrog>
Interactive interpreter.
23:14
<@Vornicus>
ah
23:14
<@ToxicFrog>
Python and Scheme both have them, Lua has the REL part.
23:14 * AnnoDomini is vaguely reminded of BASIC on his Commodore 64.
23:15 * Vornicus has rediscovered his love for Python lately.
23:16 * ToxicFrog has occasionally toyed with the idea of writing a REPL interpreter for Lua, but the grammar makes this nontrivial.
23:27 * Vornicus wanders the MZM data, looking for anything that looks like it might be sprite data.
23:27
< Doctor_Nick>
java's bad for a first language because it allows for some bad programming practices
23:29
<@Vornicus>
Java's bad for a first language because you have to spoon-feed it.
23:29
<@AnnoDomini>
Hm?
23:29 * AnnoDomini is interested, because he's supposed to learn Java this semester.
23:30
< Doctor_Nick>
do you have to? :P
23:30
<@AnnoDomini>
Yes.
23:30
< Doctor_Nick>
sucks, man
23:33
<@ToxicFrog>
You have my sympathies.
23:34
<@ToxicFrog>
I'm not sure if it's more or less painful if you already know some other languages.
23:34
<@ToxicFrog>
Easier to learn, probably, but it would feel more confining.
23:35
<@AnnoDomini>
I 'know' C++. Enough to pass the class, and to list it for an employer, but nothing more.
23:35
< MyCatVerbs>
ToxicFrog: reads, evals, loops, but no printing? o_O
23:36 * Vornicus wanders the MZM ROM, trying to find anything at all that looks even vaguely like it might be the sprite data.
23:37
< Doctor_Nick>
vorniucs: what are you tinkering with??
23:37
< Doctor_Nick>
Vornicus
23:37
< Doctor_Nick>
i probably should have used auto complete :/
23:38
<@Vornicus>
Doctor_Nick: I'm trying to extract map data from Metroid Zero Mission.
23:39
<@ToxicFrog>
MyCatVerbs: you can print(), but it doesn't automatically print the value of whatever you type.
23:39
<@ToxicFrog>
Which is the P part of REPL.
23:39
<@ToxicFrog>
Eg, in Python, if you go:
23:39
<@ToxicFrog>
>>> 3 + 3
23:39
<@ToxicFrog>
It says:
23:39
<@ToxicFrog>
6
23:39
< Doctor_Nick>
Vornicus: so you can make a map editor and stuff?
23:39
<@ToxicFrog>
Whereas Lua says "unexpected symbol near '3'", because that's not a gramatically correct sentence.
23:40
< MyCatVerbs>
ToxicFrog: ooooh. So, shouldn't that be *almost* trivial to implement if the REL is already in there?
23:40
<@ToxicFrog>
No, so that he can automatically make screenshot-perfect maps.
23:40
< MyCatVerbs>
Ahhhh.
23:40
< Doctor_Nick>
ah
23:40
<@McMartin>
Java is a better teaching language than C++.
23:40
<@ToxicFrog>
McMartin: granted.
23:40
< MyCatVerbs>
McMartin: ...
23:40
<@ToxicFrog>
They're both awful.
23:40
<@Vornicus>
I've got a very, very tiny amount of existing documentation, written by a non-programmer, and is very vague about many things.
23:40
< MyCatVerbs>
McMartin: BRAINFUCK IS A BETTER TEACHING LANGUAGE THAN C__
23:40
< MyCatVerbs>
*++
23:40
<@McMartin>
I was about to say.
23:40
< MyCatVerbs>
McMartin: AS ARE INTERCAL AND UNLAMBDA
23:41
<@AnnoDomini>
MALBOLGE. ;)
23:41 * MyCatVerbs stabs McMartin with a spoon made out of icecream.
23:41
<@McMartin>
C is an excellent teaching language. It should be presented about the same time as some variety of assembler.
23:41
<@ToxicFrog>
This much like saying that Scheme is a better driver development language than Ruby.
23:41
<@Vornicus>
So I know the location and some very basic information about room data, but beyond that I am entirely on my own.
23:41
<@ToxicFrog>
C is good for teaching low-level programming.
23:41
<@ToxicFrog>
It's not good for teaching the concepts of programming itself.
23:41
<@ToxicFrog>
Which was the context of the discussion: intro-to-programming courses.
23:41 * MyCatVerbs blinks.
23:41
<@McMartin>
MCV: You may be shocked to hear this, but from about 1994 to about 2000, C++ was the standard instructional language at many top-tier universities.
23:41
< MyCatVerbs>
I have a copy of the Camel book.
23:42 * Vornicus heartily endorses Python.
23:42
< MyCatVerbs>
This has just occurred to me. I have a copy of the Camel book.
23:42
< MyCatVerbs>
Fuck. I have a copy of the Camel book!?
23:42
<@McMartin>
Vornicus: I like Python, but it's not so good for teaching Simula-style OOP.
23:42
<@McMartin>
A proper OO design class should use Java and Python, or equivalents.
23:43
<@McMartin>
(Sorry, Squeakers.)
23:43
<@Vornicus>
Smalltalk... idunno, the whole persistent data store thing kinda scares me.
23:44 * AnnoDomini doesn't understand the discussion much.
23:44 * AnnoDomini sleeps.
23:46
<@ToxicFrog>
Persistent data store?
23:47
<@ToxicFrog>
Smalltalk has transparent persistency at the language level?
23:47
<@McMartin>
Smalltalk doesn't so much have the idea of "programs".
23:47
<@McMartin>
Every executable in the universe is sitting in this transparent persistent layer, and you send "go" messages to objects that correspond to main programs.
23:48
<@McMartin>
Smalltalk also canonically requires characters that didn't make it into ASCII, because people decided they'd rather have caret and underscore.
23:48
<@McMartin>
I imagine Squeak does away with that.
23:50
<@ToxicFrog>
o.O
23:50
<@Vornicus>
Modern smalltalk implementations use caret and underscore.
23:50
<@ToxicFrog>
Ok, that is kind of freaky.
23:50
<@ToxicFrog>
Cool, but fREAKY.
23:50
< gnolam>
"Freaky" pretty much describes the entire language.
23:51
<@McMartin>
I note that earlier exposure to this may be one reason why Java's classpath mechanism bugs me less.
23:52
<@McMartin>
In a "OK, suppose we wanted to have some of the advantages of this, but we are not utter raving loons..."
23:55
<@McMartin>
Hmm
23:56
< MyCatVerbs>
...?
23:56 * McMartin goes to file a new project at SourceForge.
23:56
< MyCatVerbs>
Smalltalk is the Prolog of OO languages?
23:56 * Vornicus likes Java's development as a language... many of the libraries, on the other hand, need some stomping.
23:56
< MyCatVerbs>
Or the ML?
23:56
<@McMartin>
Smalltalk was the language much of the original GUI research was done in.
23:56
<@McMartin>
It and Simula are kind of the stamps from which all other OO systems have been struck.
23:57
<@McMartin>
C++ borrowed from Simula, and Java, Objective-C, etc, continue in that mold.
23:57
<@Vornicus>
Objective-C bases some of its madness on Smalltalk.
23:57
<@McMartin>
OK, I admit to little knowledge of ObjC
23:57
< MyCatVerbs>
s/madness/awesomeness/
23:57
< MyCatVerbs>
(they're bleedin' equivalent!)
23:57 * Vornicus really, really doesn't like objective C.
23:58 * McMartin fixes the widget packing in his GTK app.
23:59
<@McMartin>
http://www.stanford.edu/~mcmartin/if/blorple.png
23:59
<@Vornicus>
Sweet.
--- Log closed Wed Apr 11 00:00:53 2007
code logs -> 2007 -> Tue, 10 Apr 2007< code.20070409.log - code.20070411.log >