00:03:05 -!- CakeProphet has quit (Ping timeout: 260 seconds).
00:04:42 -!- CakeProphet has joined.
00:10:09 -!- BeholdMyGlory has quit (*.net *.split).
00:10:09 -!- iamcal has quit (*.net *.split).
00:10:50 -!- copumpkin has quit (Quit: Computer has gone to sleep.).
00:12:34 -!- bsmntbombdood has quit (Remote host closed the connection).
00:13:53 -!- BeholdMyGlory has joined.
00:13:53 -!- iamcal has joined.
00:39:56 <oerjan> > fix (drop 1) :: [Int]
00:55:32 <CakeProphet> you'll probably get the same result for most [a] -> [a] functions.
01:02:57 <oerjan> > fix ("you don't say?":)
01:02:58 <lambdabot> ["you don't say?","you don't say?","you don't say?","you don't say?","you d...
01:23:13 -!- copumpkin has joined.
01:23:14 -!- copumpkin has quit (Changing host).
01:23:14 -!- copumpkin has joined.
02:09:08 -!- augur has joined.
02:12:18 -!- augur has quit (Remote host closed the connection).
02:35:19 -!- pikhq_ has joined.
02:38:44 -!- pikhq has quit (Ping timeout: 250 seconds).
02:50:42 -!- calamari has joined.
03:21:16 -!- augur has joined.
04:25:08 <zzo38> Can player phone the wall?
04:27:02 -!- calamari has quit (Quit: Leaving).
04:28:21 -!- twice11 has quit (Ping timeout: 244 seconds).
04:28:25 -!- twice11 has joined.
04:36:27 -!- oerjan has quit (Quit: Good night).
04:40:01 -!- CakeProphet has quit (Ping timeout: 258 seconds).
04:41:40 -!- CakeProphet has joined.
04:47:46 -!- derrik has joined.
04:48:07 -!- derrik has left.
04:57:33 -!- azaq23 has joined.
05:21:35 -!- foocraft has joined.
05:23:46 <zzo38> In C, is it an error to cast from a function pointer to non-function pointer or vice versa when compiling to harvard architectures unless you double-cast it by first casting to a numeric type? (It should be, in my opinion. But only for harvard architectures and only if you do not double-cast.)
05:27:54 <pikhq_> It is undefined behavior, and thus always an error.
05:28:04 <zzo38> I mean a compiler error.
05:28:49 <pikhq_> It would also be valid to have the elephants go on parade.
06:01:38 <zzo38> I remember I once made a computer game where at one point of the game, you are given two choices, you can select either "Can Pikachu electrify the light?" or "Can player phone the wall?" Also in the game is someone who says he will give you two water energies but only if you don't need it.
06:09:04 <zzo38> Someone else in the game once asks you if you like keys.
06:11:51 <monqy> it depends highly on context for me; sometimes I love them and sometimes I hate them
06:28:10 <zzo38> Also in the game is a wizard who does nothing except ask what Pikachu wants. He is standing in a store that only sells two things, food dish and candy.
06:28:39 <zzo38> Also you can find on the floor a "hand energy" which can be used for making pizza later on in the game.
06:29:45 <zzo38> If you select the "Can player phone the wall?" option, the game responds with the message "space echo rings".
06:30:33 <monqy> this makes me want to make games
06:31:47 <zzo38> I have made many computer games.
06:31:55 <zzo38> You can learn, too.
06:32:21 <zzo38> Some games I make using MegaZeux. You can download one version of MegaZeux at: http://zzo38computer.cjb.net/mzx1/mzx_extended/
06:32:35 <zzo38> (That is a directory listing; you must select the files you want to download.)
06:32:48 <zzo38> (And be aware that the online help (when you push F1) has some errors in it.)
06:33:10 <zzo38> Of course is also possible using C, QBASIC, and whatever else you want to use.
06:40:20 -!- aloril has quit (Ping timeout: 252 seconds).
06:48:17 -!- aloril has joined.
06:56:54 -!- monqy has quit (Quit: hello).
07:05:41 -!- CakeProphet has quit (Ping timeout: 250 seconds).
07:08:18 -!- pikhq has joined.
07:08:27 -!- pikhq_ has quit (Ping timeout: 258 seconds).
07:16:25 -!- CakeProphet has joined.
07:16:25 -!- CakeProphet has quit (Changing host).
07:16:25 -!- CakeProphet has joined.
07:38:56 -!- zzo38 has quit (Remote host closed the connection).
08:03:19 -!- jcp has quit (Ping timeout: 250 seconds).
08:04:35 -!- jcp|1 has quit (Ping timeout: 255 seconds).
08:12:56 -!- jcp has joined.
08:18:32 -!- jcp has quit (Ping timeout: 252 seconds).
08:32:53 -!- Vorpal has joined.
08:35:26 -!- jcp has joined.
08:44:56 -!- jcp has quit (Ping timeout: 252 seconds).
08:47:56 -!- jcp has joined.
08:50:56 -!- foocraft has quit (Ping timeout: 255 seconds).
09:03:42 -!- foocraft has joined.
09:07:11 -!- foocraft has quit (Client Quit).
09:13:26 -!- augur has quit (Ping timeout: 276 seconds).
10:51:23 -!- ais523 has joined.
11:47:50 <Lymee> Java doesn't let you golf enoguh.
11:55:24 <CakeProphet> why on Earth would you even expect that from Java.
11:56:17 <CakeProphet> I think golfing a large project would be fun. It provides some new challenges
11:56:32 <CakeProphet> and since the byte counts are larger, there's more room to work in fancy tricks to drop the byte count.
12:01:42 <CakeProphet> for example, with source filters in Perl you could shorten operators and keywords, add semicolons, and have then compress the source.
12:02:54 <CakeProphet> oh and I guess you could expand macros, since I don't think Perl has macros.
12:09:51 <ais523> Lymee: have you seen the trick of putting your code in an enum initialiser?
12:26:47 -!- copumpkin has quit (Quit: Computer has gone to sleep.).
12:27:07 <quintopia> i think you could do some interesting golfing in jvm bytecode maybe
12:38:52 <ais523> Lymee: for golfing Java
12:39:05 <ais523> it's incredibly bad style, but it actually works
12:39:09 <ais523> I can't remember the exact way it's done
12:39:13 <ais523> let me find it on anagolf
12:39:20 <Lymee> CakeProphet, I'd love to have a contest to, say, actually implement an language requiring a complex parser.
12:39:44 <Lymee> Then make examples requiring non-cheating.
12:39:52 <Lymee> I wish you could set it up to make a "generator" program.
12:39:57 <Lymee> Each run, it is fed a random number
12:40:04 <Lymee> It uses this random number to generate input and output set.
12:40:15 <Lymee> Then, cheating implementations are defeated.
12:41:15 -!- CakeProphet has quit (Ping timeout: 244 seconds).
12:41:33 <ais523> here's an example program using the trick, a golfed Java infinite loop by narb: enum _{_;int i;{for(;i<1;);}}
12:42:15 <ais523> (I assume the i<1 is in there because unreachable code produces compile errors in Java, so it had to look like it was doing something)
12:43:08 -!- CakeProphet has joined.
12:43:08 -!- CakeProphet has quit (Changing host).
12:43:09 -!- CakeProphet has joined.
12:43:31 <fizzie> A compile-time detected infinite loop -- like a for (;;) -- fails with: "initializer must be able to complete normally"
12:43:54 <ais523> I suppose infinite loops in initializers is not generally a useful thing to be able to do
12:46:50 <fizzie> "enum _{_;{for(;Math.E<3;);}}" would be one character shorter, but unfortunately also gives the same complaint, perhaps because Math.E is "final".
12:51:32 -!- Vorpal has quit (Ping timeout: 240 seconds).
13:41:08 <EgoBot> syntax error at /tmp/input.24328 line 1, near "..."
13:41:19 <EgoBot> syntax error at /tmp/input.24391 line 1, near "{..."
13:41:36 <CakeProphet> hmmm? I thought ... was a legitimate filler-code syntax...
13:42:58 <EgoBot> syntax error at /tmp/input.24567 line 1, near "{..."
13:47:18 -!- oerjan has joined.
13:48:05 <fizzie> ... is an operator, at least; a variant of the .. operator.
13:50:37 -!- augur has joined.
13:52:35 <fizzie> It works differently in the strange scalar flip-flop case.
13:53:23 <oerjan> "the strange scalar flip-flop case" sounds like a book title gone awry
13:55:34 <fizzie> !perl for (1..3) { print if ($_ == 2) .. ($_ > 0); }
13:55:38 <fizzie> !perl for (1..3) { print if ($_ == 2) ... ($_ > 0); }
13:58:04 <fizzie> The .. operator becomes false already on the $_ == 2 round, while the ... operator waits (doesn't evaluate the right side) until the $_ == 3 round.
14:03:10 <fizzie> Here's another silly thing.
14:03:17 <fizzie> !perl for (1..5) { $v = ($_ == 3 .. $_ == 5); print "($v)" }
14:04:03 <fizzie> The last returned true value has "E0" after it; doesn't change the numeric value, but is distinguishable if necessary.
14:04:15 <fizzie> Reminds one of the "0 but true" thing.
14:08:37 <oerjan> romance in iwc? truly the world is coming to an end
14:18:44 -!- CakeProphet has quit (Ping timeout: 276 seconds).
14:20:18 -!- CakeProphet has joined.
14:20:18 -!- CakeProphet has quit (Changing host).
14:20:19 -!- CakeProphet has joined.
14:22:42 -!- ais523 has quit (Ping timeout: 252 seconds).
14:52:05 -!- CakeProphet has quit (Ping timeout: 276 seconds).
14:56:23 -!- oerjan has quit (Quit: Later).
15:31:56 -!- Tritonio has joined.
15:49:14 -!- Vorpal has joined.
16:33:45 -!- pikhq_ has joined.
16:34:03 -!- pikhq has quit (Read error: Operation timed out).
16:35:35 -!- Phantom_Hoover has joined.
16:54:01 -!- SgeoN1 has joined.
16:57:16 -!- SgeoN1 has quit (Read error: Connection reset by peer).
16:57:43 -!- SgeoN1 has joined.
16:59:52 -!- SgeoN1 has quit (Read error: Connection reset by peer).
17:00:16 -!- SgeoN1 has joined.
17:01:48 -!- SgeoN1 has quit (Read error: Connection reset by peer).
17:19:03 <fizzie> It's Perl Time::HiRes.
17:31:19 -!- Tritonio has quit (Quit: Leaving).
17:33:16 -!- MigoMipo has joined.
17:47:40 -!- sebbu has quit (Read error: Connection reset by peer).
17:48:24 -!- sebbu has joined.
17:48:24 -!- sebbu has quit (Changing host).
17:48:24 -!- sebbu has joined.
17:50:28 -!- derrik has joined.
17:50:43 -!- derrik has left.
18:04:13 -!- monqy has joined.
18:17:56 -!- sebbu2 has joined.
18:17:57 -!- sebbu2 has quit (Changing host).
18:17:57 -!- sebbu2 has joined.
18:20:12 -!- sebbu has quit (Ping timeout: 240 seconds).
18:20:12 -!- sebbu2 has changed nick to sebbu.
18:58:17 * pikhq_ continues to wonder at "The Hobbit" being split into 2 films, but Lord of the Rings not being split into 6.
18:59:54 <olsner> pikhq_: 4 films if you count the two extended editions (of the two hobbit films)
19:02:15 <olsner> and iirc the extended lord of the rings films run to about 12h in total, which is close to 6 films if you split it to normal-length films
19:02:47 <pikhq_> That alone testifies that they shouldn't have freaking made LotR into a film series.
19:02:58 <pikhq_> It's fundamentally incompatible.
19:08:30 <Phantom_Hoover> pikhq_, by which you mean it was significantly better than the books
19:08:49 <pikhq_> Phantom_Hoover: I won't argue that the books are well-written or anything.
19:09:06 <pikhq_> Just that the thing is fundamentally incompatible with the film medium.
19:09:17 <pikhq_> And probably also incompatible with the novel medium as well, TBH.
19:09:44 <pikhq_> The films were also radically distinct from the books.
19:09:48 <Phantom_Hoover> Sure, they had pacing problems, but they were a relatively minor detriment.
19:10:19 <Phantom_Hoover> 'Radically distinct' as in 'they got rid of Bombadil and Saruman's invasion of the Shire'?
19:10:46 <Phantom_Hoover> Also huge swathes of stuff about trees and hills and stuff.
19:10:50 -!- foocraft has joined.
19:13:09 <olsner> I for one didn't notice any of the differences between the books and the films
19:31:47 -!- oerjan has joined.
19:44:19 -!- jcp|other has joined.
20:11:53 <Phantom_Hoover> Does anyone here know how to get X working from within a chroot?
20:18:38 <Phantom_Hoover> My god is this yet more plot development I see in IWC.
20:20:21 <newsham> phantom: a syscall trace (ie. strace/ktrace/truss) should be helpful in figuring out what X wants
20:21:00 <Phantom_Hoover> I know this is an Xauth problem because I solved it before, but I've forgotten how.
20:21:10 <newsham> probably because its trying to connect to a unix domain socket that is not in its chroot
20:41:09 <Gregor> Yeah, you'll need to link in the unix socket file or use DISPLAY=localhost:0 instead (for TCP), and you'll have to get the .Xauthority file and set XAUTHORITY=<that file>
20:41:47 <newsham> or use "xauth" cmd line to add the specific entries you want
20:42:24 -!- ais523 has joined.
20:44:02 <Phantom_Hoover> Gregor, I have a bind mount for /tmp, but there doesn't actually seem to be a socket file there.
20:48:09 <newsham> maybe you're in a chroot under a chroot under a chroot
20:48:16 <newsham> inside a simulator inside a virtual world
20:48:48 <newsham> ls -l /tmp/.X11-unix/X0 shows nada?
20:50:08 <Phantom_Hoover> Gregor, oh, and of course, I don't have a .Xauthority file.
20:50:40 <newsham> phantom: strace/truss/ktrace "xeyes" see what its doing to reach X and to auth
20:52:37 <oerjan> newsham: /tmp/I/N/C/E/P/T/I/O/N/tmp/.X11-unix/X0
20:53:07 <newsham> maybe he's on the thirteenth floor
20:53:49 <Phantom_Hoover> newsham, you know strace is like impossible to extract useful information from, right?
20:54:19 <newsham> ph: you're on the brainfuck channel. you're kidding, right?
20:55:23 <newsham> honestly, i've found strace to be very helpful in situations like this.
20:57:43 <newsham> do you see it connecting to some socket?
21:29:56 -!- jix has quit (Ping timeout: 260 seconds).
21:40:38 -!- MigoMipo has quit (Read error: Connection reset by peer).
21:45:50 -!- azaq23 has quit (Quit: Leaving.).
22:03:25 -!- CakeProphet has joined.
22:03:26 -!- CakeProphet has quit (Changing host).
22:03:26 -!- CakeProphet has joined.
22:04:52 -!- Vorpal has quit (Ping timeout: 250 seconds).
22:18:52 -!- Phantom_Hoover has quit (Quit: Leaving).