code logs -> 2008 -> Thu, 27 Nov 2008< code.20081126.log - code.20081128.log >
--- Log opened Thu Nov 27 00:00:27 2008
00:57
<@Alek|gone>
I've finished the game tons of times without using Time Stop.
00:58
<@Alek|gone>
yeah, I used to have it for my Genesis. bro sold it. >:(
00:59 * Vornicus has finished the game without Time Stop. Not /entirely/ though.
01:04 Derakon[AFK] is now known as Derakon
01:16
<@Derakon>
Heh.
01:18
<@Vornicus>
Usually though I'll have figured out where the scepter is before leaving the first continent.
01:20
<@Vornicus>
At which point it's usually just "shit, have to find the archipelia charts now" or some such madness.
01:48
<@Reiver>
archipelia charts?
01:56
<@Vornicus>
Archipelia, the third of four continents in King's Bounty
01:57
<@Vornicus>
To get from one continent to the next, you have to find navigation charts.
01:58
<@Vornicus>
So on Continentia you'll find the charts to Forestria, and on Forestria you'll find the charts to Archipelia, and on Archipelia you'll find charts to Saharia.
02:00
<@Vornicus>
(there are no charts on Saharia.)
02:49 GeekSoldier_ [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has joined #code
02:49 GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has quit [Ping Timeout]
03:17 GeekSoldier_ is now known as GeekSoldier
04:56
<@Reiver>
Aaah.
04:57
<@Serah>
?
05:11 GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has quit [Ping Timeout]
05:11 GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has joined #code
05:11 mode/#code [+o GeekSoldier] by ChanServ
05:44 Attilla [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has quit [Ping Timeout]
05:45 Attilla [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has joined #code
05:45 mode/#code [+o Attilla] by ChanServ
05:52 Attilla [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has quit [Ping Timeout]
05:53 Attilla [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has joined #code
05:53 mode/#code [+o Attilla] by ChanServ
06:27 AnnoDomini [~farkoff@Nightstar-29261.neoplus.adsl.tpnet.pl] has joined #Code
06:27 mode/#code [+o AnnoDomini] by ChanServ
06:37 Derakon is now known as Derakon[AFK]
07:40 * Alek|gone snerks at this little gem
07:40
<@Alek|gone>
#define FOREVER for(;;)
07:42
<@AnnoDomini>
I CAN SEE FOREVER.
07:44
<@Alek|gone>
ever hear of Symbian?
07:56
<@McMartin>
Urge to kill fading.
07:56
<@McMartin>
Well, no, that's a lie. Urge to hire a bigger army to kill more effectively rising. Anger fading, though.
07:57
<@McMartin>
Alek: You know the best for-related define ever?
07:57
<@McMartin>
#define for if (0); else for
07:57
<@McMartin>
Guess why you'd do this!
09:24 You're now known as TheWatcher
09:32 * Serah PatPats McMartin.
13:44 Vornicus [~vorn@ServicesOp.Nightstar.Net] has quit [Ping Timeout]
13:53
<@AnnoDomini>
McMartin: Asynchronous detection of 0?
13:59 gnolam [lenin@79.136.60.ns-4387] has joined #Code
13:59 mode/#code [+o gnolam] by ChanServ
14:01 GeekSoldier_ [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has joined #code
14:01 GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has quit [Ping Timeout]
14:06
<@AnnoDomini>
Or maybe a way to detect if something went OMGWTFBBQ.
15:05 Vornicus [~vorn@ServicesOp.Nightstar.Net] has joined #code
15:06 mode/#code [+o Vornicus] by ChanServ
15:32
<@ToxicFrog>
McMartin: I have no idea.
15:33 * TheWatcher eyes this perl code, gets out the refactoring machete
15:37
<@TheWatcher>
And the ' #define for if (0); else for' is to force proper scoping rules when doing for(int i = ....) { } for(int i = ....) { } - without the define, you get a multiple definition of i on some compilers.
15:37
<@TheWatcher>
At least, that's where I have seen it used
15:39
<@TheWatcher>
(AFAIK MS VC++ is the main offender for it)
15:42
<@ToxicFrog>
Aah.
15:57
<@gnolam>
MSVC 6.0 that is.
16:42 GeekSoldier_ is now known as GeekSoldier
17:03 Derakon[AFK] [~Derakon@Nightstar-4920.hsd1.ca.comcast.net] has quit [Operation timed out]
17:13
<@ToxicFrog>
global.c: In function 'lsdl_flip':
17:13
<@ToxicFrog>
global.c:43: warning: 'return' with no value, in function returning non-void
17:13
<@ToxicFrog>
HOW IS THAT ONLY A WARNING
17:31
<@Consul>
Maybe it's a zen compiler. "Is that which is no value a value in itself?"
17:35
< GeekSoldier>
I don't think that C would be so zen, though. For zen compilers, I think Scheme.
18:45 * ToxicFrog gets lines and pixels working, does some timing tests
18:45
<@ToxicFrog>
Pixels: ~1100 ops/millisecond. Lines: likewise.
18:47
<@ToxicFrog>
Flips: 2.5/ms for a 256x256 surface.
19:04 Consul [~consul@Nightstar-5023.dsl.sfldmi.ameritech.net] has quit [Quit: Leaving]
19:06 Consul [~consul@Nightstar-5023.dsl.sfldmi.ameritech.net] has joined #code
19:06 mode/#code [+o Consul] by ChanServ
19:28
<@MyCatVerbs>
ToxicFrog: It just returns undefined instead.
19:29
<@MyCatVerbs>
ToxicFrog: I've seen someone actually run code despite that warning.
19:29
<@MyCatVerbs>
ToxicFrog: he ended up with some random trash where a file descriptor was supposed to be.
19:30
<@MyCatVerbs>
ToxicFrog: ended up rather confused when his program blew up on the first send(2) or recv(2).
20:06
<@McMartin>
TW is correct
20:07
<@McMartin>
One of the other fun things is that at the time, MSVC 6 was doing what the standard demanded.
20:13
<@ToxicFrog>
Quite so.
20:14
<@ToxicFrog>
Well, what C89 demanded.
20:14
<@ToxicFrog>
When was 6 released?
20:17
<@McMartin>
Early-to-mid 90s, I believe.
20:17
<@McMartin>
C89 forbids this construct.
20:18
<@McMartin>
It's what C++ at the time did. The standard changed to be what GNU does later.
20:20
<@ToxicFrog>
Aah.
20:21
<@ToxicFrog>
I could have sworn 6 was more recent than that
20:21
<@ToxicFrog>
What's the most recent version?
20:22
<@McMartin>
"2008"
20:22
<@McMartin>
They switched to years somewhere around 2003
20:22 GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has quit [Ping Timeout]
20:22
<@McMartin>
But I belive the actual number is something like 9 or 10
20:23
<@McMartin>
MSVC6 is what we started UQM on, and we were doing so with an eye to backcompat
20:24 GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has joined #code
20:24 mode/#code [+o GeekSoldier] by ChanServ
20:32 GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has quit [Ping Timeout]
20:34 GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has joined #code
20:34 mode/#code [+o GeekSoldier] by ChanServ
20:53
<@ToxicFrog>
Incidentally, McMartin, any luck on Aquaria.dmg?
20:57 GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has quit [Ping Timeout]
20:57 GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has joined #code
20:58 mode/#code [+o GeekSoldier] by ChanServ
20:58
<@McMartin>
Oh, right. Let me look at that right now.
20:58 * McMartin forgot about it entirely because he needed to deliver fiery death^W^Wperfect safety to a pack of lemmings
21:00
<@McMartin>
Format: "MacOS Extended"
21:01
<@McMartin>
Interesting side point: Merely mounting it in Disk Utility caused it to run some of Ambrosia's stuff.
21:01
<@ToxicFrog>
I thought MacOS Extended was a synonym for HFS+
21:01
<@McMartin>
Running the Verifier, it is indeed journaled HFS+.
21:01
<@ToxicFrog>
Huh.
21:01
<@ToxicFrog>
Well, there's something about it mount doesn't like:
21:02
<@McMartin>
If I had to guess, the Linux tools are barfing on the autorun thing, however the Hell that is happening.
21:02
<@ToxicFrog>
# mount -t hfsplus Aquaria.dmg /mnt/tmp -oro,loop
21:02
<@ToxicFrog>
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
21:02
<@ToxicFrog>
missing codepage or other error
21:02
<@ToxicFrog>
# mount -t hfsplus Aquaria.dmg /mnt/tmp -oro,loop
21:02
<@ToxicFrog>
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
21:02
<@ToxicFrog>
missing codepage or other error
21:03
<@ToxicFrog>
Er
21:03
<@ToxicFrog>
hfs: can't find a HFS filesystem on dev loop0.
21:03
<@ToxicFrog>
hfs: unable to find HFS+ superblock
21:03
<@ToxicFrog>
Vexatious.
21:03
<@McMartin>
I think Ambrosia has done something horrible to the format.
21:03
<@McMartin>
Also, having checked with skeletor, MSVC6 was released in 1998.
21:06
<@McMartin>
Poking elsewhere through it, I *believe* that for statements were changed in the standard in 2003.
21:08
<@ToxicFrog>
They behave as expected (ie, local scope) with -std=c99
21:09
<@McMartin>
c99 and C++03 have nothing at all to do with one another.
21:10
<@McMartin>
And the standard active for C++ in 1999 was C++98.
21:12
<@ToxicFrog>
Oh, C++
21:12
<@ToxicFrog>
I was thinking plain C
21:13
<@McMartin>
Yeah. Try to do this in a C file in MSVC6 and it will - as was absolutely correct for 1998 - stab you in the face.
21:13
<@ToxicFrog>
Nod.
21:14
<@McMartin>
I forget offhand whether we're using 7.1 or 8.0 at work, but whichever one we're using has a compile-time switch you set for which behavior you want. Yay legacy modes. =P
21:14 * McMartin also eyes C++0x.
21:14
<@McMartin>
[](int x, int y) -> int { int z = x + y; return z + x; }
21:15
<@McMartin>
I know they want to not add new keywords/tokens, but sometimes this gets a little out of hand
21:16
<@ToxicFrog>
That appears to be a rather unsettling lambda syntax.
21:16
<@McMartin>
That is in fact precisely what it is.
21:17
<@McMartin>
Looking at the language extensions, it is looking like C++'s resemblance to C is going to become progressively more coincidental.
21:17
<@McMartin>
auto SomeStruct::FuncName(int x, int y) -> int
21:17
<@McMartin>
{ return f(x, y); }
21:18
<@McMartin>
Alternate function definition syntax to get around a lack of computed return types in template methods.
21:19
<@McMartin>
FUCK YES on "concepts", though, which are essentially interface specifications on templates.
21:33
<@McMartin>
Variadic templates fill me with horror but mean C++ finally, finally, finally gets an actual tuple type.
21:41
<@McMartin>
Category: Curly Bracket Programming Languages
21:42
<@McMartin>
I'd take "Things that Don't Fucking Matter for $400, Alex", except that this seems to be the primary objection leveled against Python by programmers and against TADS by non-programmers.
22:02 Consul [~consul@Nightstar-5023.dsl.sfldmi.ameritech.net] has quit [Quit: Leaving]
22:18 Consul [~consul@Nightstar-5023.dsl.sfldmi.ameritech.net] has joined #code
22:18 mode/#code [+o Consul] by ChanServ
22:18 Consul [~consul@Nightstar-5023.dsl.sfldmi.ameritech.net] has quit [Quit: Leaving]
23:09 Consul [~consul@Nightstar-5023.dsl.sfldmi.ameritech.net] has joined #code
23:09 mode/#code [+o Consul] by ChanServ
23:11 GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has quit [Ping Timeout]
23:12 GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has joined #code
23:12 mode/#code [+o GeekSoldier] by ChanServ
23:21 AnnoDomini [~farkoff@Nightstar-29261.neoplus.adsl.tpnet.pl] has quit [Quit: There is strength not only in *knowing* the self, but *knowing* how to bring it forth in others.]
23:27
<@Consul>
McMartin: Do you think it would be possible to rip PulseAudio out of Fedora 10?
23:27
<@Consul>
Well, let me clarify: ... without screwing up anything else.
23:28 GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has quit [Ping Timeout]
23:30 GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has joined #code
23:30 mode/#code [+o GeekSoldier] by ChanServ
23:32 * TheWatcher eyes this
23:32
<@TheWatcher>
This is bloody bizzare
23:33
<@TheWatcher>
`perl -e '$first = glob("/cygdrive/j/Dromed/may/fam/core_3/*.pcx /cygdrive/j/Dromed/may/fam/core_3/*.gif"); print $first;'` works fine, and prints out '/cygdrive/j/Dromed/may/fam/core_3/Planks26.pcx'
23:34
<@TheWatcher>
but this code in a larger script - `my $first = glob("$famdir/$entry/*.pcx $famdir/$entry/*.gif");` when $famdir = "/cygdrive/j/Dromed/may/fam" and $entry = "core_3" has $first coming out undef.
23:39 * ToxicFrog takes that, uses it to beat javax.swing.* to death, buries the log in an unmarked grave in the arboretum
23:39
<@ToxicFrog>
The lot, even
23:41
<@TheWatcher>
... and if I get the result of the glob in list context it works. Blegh, hohum
--- Log closed Fri Nov 28 00:00:38 2008
code logs -> 2008 -> Thu, 27 Nov 2008< code.20081126.log - code.20081128.log >