←2006-06-16 2006-06-17 2006-06-18→ ↑2006 ↑all
00:48:08 -!- Arrogant has quit ("Leaving").
00:56:05 -!- Arrogant has joined.
01:59:25 -!- Arrogant has quit ("Leaving").
02:14:13 <ihope> Developers, developers, developers, developers, developers, developers, developers, developers, developers, developers, developers, developers, developers, developers?
02:18:46 <ihope> Oh, it's bedtime.
02:19:06 -!- ihope has quit ("The wonderful thing about Tiggers...").
02:53:23 -!- kipple has quit (Read error: 110 (Connection timed out)).
03:06:23 -!- jix has quit (Read error: 110 (Connection timed out)).
03:06:35 -!- jix has joined.
03:15:22 <SimonRC> hmm, accurate: http://discuss.fogcreek.com/joelonsoftware/default.asp?cmd=show&ixPost=2290
03:15:30 <SimonRC> also: ...
03:15:57 <SimonRC> Ye gods this is clever! perl -e '$??s:;s:s;;$?::s;;=]=>%-{<-|}<&|`{;; y; -/:-@[-`{-};`-{/" -;;s;;$_;see'
03:16:03 <SimonRC> DO NOT RUN THAT!!!!
03:16:10 <SimonRC> http://www.dlitz.net/stuff/malicious-perl-sig/
03:23:40 <bsmntbombdood> ahh, perl
03:26:33 <bsmntbombdood> executable line-noise
03:28:32 <SimonRC> it is very clever
03:29:20 <bsmntbombdood> I don't know perl, so I have no idea
03:29:32 <SimonRC> have you read the URL?
03:29:40 <bsmntbombdood> yeah
03:30:16 <SimonRC> well, the program starts with the equivalent of: false?asdfasdfasdf:morestuff
03:30:27 <SimonRC> i.e. only moresutff gets executed.
03:30:32 <bsmntbombdood> I understood that part
03:31:00 <SimonRC> Now, Larry Wall was not just a programmer, but a linguist too...
03:31:10 <SimonRC> so he gave perl pronouns
03:31:21 <SimonRC> the default pronoun for many things is called $_
03:31:53 <SimonRC> it is what allows perl to work like sed often, since $_ is implicit in many places
03:32:00 <SimonRC> got that? ...
03:32:11 <bsmntbombdood> no
03:32:21 <SimonRC> you know what sed is, right?
03:32:25 <bsmntbombdood> yeah
03:32:56 <SimonRC> perl has some of the same stuff as that in it.
03:33:26 <SimonRC> but perl justifies such things belonging in a real language by using $_
03:33:26 <bsmntbombdood> ok
03:33:46 <SimonRC> $_ is the variable that commands often work on if you specify no other variable
03:34:20 <SimonRC> so, the first command is a substitution on $_, like sed's s///.
03:34:41 <SimonRC> except, here the programmer chose to use ; instead of /
03:35:24 <SimonRC> it replaces nothing ($_ is initially empty AFAICT) with =]=>%-{<-|}<&|`{ in $_
03:35:50 <SimonRC> which basically acts like $_ = '=]=>%-{<-|}<&|`{'
03:36:13 <SimonRC> got that?
03:36:15 <bsmntbombdood> yeah
03:36:30 <bsmntbombdood> I think I understand it now
03:36:33 <SimonRC> so, we have a string of precise garbage in $_
03:36:53 <SimonRC> now, the y command translates chars into other chars with a look-up table
03:37:14 <SimonRC> he has used lots of ranges, to make the LHS shorter and the RHS letter-free
03:37:57 <SimonRC> if you work out what the table is, you find it turns all the ASCII punctuation except ~ into (mostly) letters.
03:38:28 <SimonRC> this turns the string of garbage in $_ into system"rm -rf /"
03:39:25 <SimonRC> the final substitution turns nothing into $_ (don't quite understand that myself), and executes the result.
03:39:41 <SimonRC> Tada! He demonstrates that perl is too powerful
03:39:44 <SimonRC> heh
03:40:09 <bsmntbombdood> and that people should execute random code
03:40:16 <SimonRC> :-)
03:40:47 <bsmntbombdood> s/should/shouldn't/
03:47:05 * SimonRC goes
03:47:08 * SimonRC goes to bed
04:27:13 -!- wildhalcyon has joined.
05:49:22 -!- jix has quit ("This computer has gone to sleep").
06:09:08 -!- wildhalcyon has quit ("Chatzilla 0.9.73 [Firefox 1.5.0.4/2006050817]").
07:59:04 -!- bsmntbombdood has quit ("all your basment are belong to bsmntbombdood").
07:59:59 -!- clog has quit (ended).
08:00:00 -!- clog has joined.
11:54:43 -!- kipple has joined.
13:10:36 * SimonRC eats breakfast
13:53:00 -!- kipple has quit (Read error: 104 (Connection reset by peer)).
14:15:45 -!- kipple has joined.
15:22:50 <kipple> hmm. my new language has a feature I'm starting to think could be a problem: It is not possible to have code in the program that is not executed at least once. I.e. If is not possible
15:23:00 <kipple> would that be a problem for turing completeness?
17:33:07 -!- ihope has joined.
17:33:14 <ihope> BASIC and Haskell are opposites.
17:49:03 -!- tgwizard has joined.
17:50:07 <SimonRC> kipple: I think that is not a problem
17:52:25 <SimonRC> given cond = [expression giving 1 or 0], then you do tt twice, undo tt (2-i) times, do ff twice, undo ff (1+i) times.
17:52:45 <SimonRC> the net result is: if c then tt else ff endif
17:53:02 <SimonRC> ihope: well, duh
17:58:21 <ihope> :-)
17:58:41 <SimonRC> ye gods this compiler is crap so far...
17:59:10 <SimonRC> " goto A_Start_exit;
17:59:11 <SimonRC> A_Start_exit:"
17:59:41 <SimonRC> also:
17:59:42 <SimonRC> " goto A_Start_exit;
17:59:45 <SimonRC> A_Start_exit:"
17:59:46 <SimonRC> erm, oops
17:59:55 <SimonRC> I meant:
17:59:56 <SimonRC> " fp[-2] = (int)malloc(8);
17:59:56 <SimonRC> fp[-1] = fp[-2];
17:59:56 <SimonRC> push(10);
17:59:57 <SimonRC> push(fp[-1]);"
18:00:32 <SimonRC> Note that fp points to the last value pushed at the strt of that snippet.
18:00:37 <ihope> So Subtle Cough is useless...
18:00:42 <SimonRC> ???
18:00:45 <ihope> That's nice :-)
18:01:22 <SimonRC> Well, my job next academic year is to make it into an ptimising compiler
18:01:43 <ihope> What's it compiling?
18:04:01 <SimonRC> A java subset into C.
18:04:16 <SimonRC> it assumes that sizeof(int)=8
18:04:20 <SimonRC> oops
18:04:21 <SimonRC> it assumes that sizeof(int)=4
18:05:06 <SimonRC> waitamo...
18:05:41 <SimonRC> is it traditional for the stack pointer to point at the top item of the stack or the place where the next item will be put?
18:11:49 <ihope> Who uses pointers? :-P
18:16:28 <SimonRC> OMFG! http://elitemrp.net/fark/2006/hdd/
19:56:18 -!- GregorR has quit ("Leaving").
20:52:34 -!- bsmntbombdood has joined.
21:01:15 -!- wildhalcyon has joined.
21:01:32 <wildhalcyon> hey folks
21:01:45 <ihope> HAI
21:02:12 <wildhalcyon> whats up?
21:02:33 <bsmntbombdood> the sky, stupid :P
21:03:07 <wildhalcyon> Only from the perspective of the ground, in reference to physical objects
21:03:14 <ihope> Yeah, duh. Why don't you just LOOK up, you idiot?
21:04:06 <wildhalcyon> Well, suppose you're at the International Space Station?
21:04:15 <wildhalcyon> Up is like... some other direction
21:04:21 <bsmntbombdood> then there is no up.
21:07:36 <ihope> There are two ups, but they're in opposite directions, so they cancel out.
21:07:45 <bsmntbombdood> no, there's no ups
21:08:12 <wildhalcyon> up is a constantly changing dynamic quantity
21:08:25 <bsmntbombdood> no, it doesn't exist
21:08:59 <wildhalcyon> but it does
21:09:07 <bsmntbombdood> define it
21:10:05 <wildhalcyon> ...
21:10:07 <wildhalcyon> I can't :-(
21:11:56 <ihope> At a given point X, up is the opposite of the direction of the net gravity at X.
21:12:58 <bsmntbombdood> * X *
21:13:06 -!- jix has joined.
21:13:17 <wildhalcyon> that would work
21:13:20 <bsmntbombdood> if * is a planet, where is up at point X
21:13:37 <wildhalcyon> depends on where you currently are on the planet
21:14:00 <wildhalcyon> for the most part, its going to be the normal vector to the surface of the planet at point x
21:14:03 <ihope> If there is no net gravity at X, then the direction of the net gravity at X is undefined, making up at point X undefined.
21:35:02 <wildhalcyon> That makes sense
22:02:05 <ihope> Hmm. A Google search for "cow tipping" gives "Wikipedia: Cow Tipping", with a description of "Examines the evidence that cow tipping is an urban myth." Compare this to one of the results for "Phil Stocks": "Phil Stocks - Wikipedia, the free encyclopedia", with the description of "Phil Stocks then worked on the two RSL trials at 107.2 WIN FM, before becoming the drivetime presenter in 1999....
22:02:06 <ihope> ...In July 2001 Phil joined Wessex FM soon ..."
22:11:40 <ihope> http://pastebin.com/715432 <- makes little sense
22:14:36 -!- jix has quit ("Bitte waehlen Sie eine Beerdigungnachricht").
22:14:44 -!- wildhalcyon has quit ("Chatzilla 0.9.73 [Firefox 1.5.0.4/2006050817]").
22:20:27 * bsmntbombdood doesn't get it
22:21:18 <ihope> The pastebin thing, or the Google thing?
22:21:27 <bsmntbombdood> the pastebin
22:25:44 <bsmntbombdood> well, both
22:26:38 <ihope> The pastebin is a snip of stuff copied from Mirek's Cellebration.
22:26:48 <ihope> The Google thing is a proof that Google is magic.
22:28:38 <ihope> Ah, but Yahoo provides "sublinks" for the Wikipedia article on cow tipping!
22:31:05 <bsmntbombdood> it's amazing that they get any work done at google.
22:34:43 <ihope> Why?
22:34:53 <bsmntbombdood> "here, take this scooter and ride around all day."
22:35:16 <ihope> Boosting worker morale can't be bad :-P
22:36:13 <bsmntbombdood> I saw some pictures of a google office, and they just had a WHOLE BOWL full of m&ms on the counter
22:37:29 <ihope> Maybe that's just to lure workers in, and then they use them for slaves.
22:39:13 <bsmntbombdood> A WHOLE BOWL
22:40:37 <bsmntbombdood> just sitting there for anybody to eat
22:42:30 <bsmntbombdood> it's amazing
23:09:40 -!- Arrogant has joined.
23:39:23 -!- tgwizard has quit ("Leaving").
←2006-06-16 2006-06-17 2006-06-18→ ↑2006 ↑all