←2009-01-28 2009-01-29 2009-01-30→ ↑2009 ↑all
00:00:02 <okloWBW> that's how i do it in idle, therefore also in j
00:00:03 <ehird> x=:+1
00:00:03 <ehird> x 2
00:00:05 <ehird> |syntax error
00:00:07 <ehird> :<
00:00:09 <okloWBW> there probably are better ways
00:00:21 <okloWBW> ehird: x=:+&1
00:00:29 <ehird> what
00:00:33 <okloWBW> +1 is just 1.
00:00:35 <lament> :+&
00:00:38 <ehird> what's the &
00:00:43 <okloWBW> ehird: it's an adverb
00:00:50 <ehird> how do you look up a functions doc in j
00:01:18 <okloWBW> wait it's a conjunction
00:01:36 <okloWBW> in j602, help->help
00:01:38 <ehird> like I wanna look up &
00:01:40 <okloWBW> that's all i know
00:01:47 <okloWBW> there's a reference card, googl it
00:01:48 <okloWBW> *google
00:01:51 <okloWBW> well.
00:01:55 <ehird> yeah I get all the &s in it.
00:01:58 <okloWBW> you'll probably need some basics first
00:02:08 <ehird> "vocabulary" helps
00:02:20 <ehird> also, fuck basics
00:02:22 <ehird> I'm just going to write code
00:02:24 -!- Corun has joined.
00:02:35 <okloWBW> hf.
00:02:48 -!- Corun has quit (Client Quit).
00:02:48 <ehird> how do you undefine somethin
00:02:48 <ehird> g
00:02:49 <ehird> :|
00:02:50 <okloWBW> tell me when you're better than me
00:02:55 <okloWBW> err
00:03:12 <okloWBW> hmm.
00:04:13 <okloWBW> i do not know.
00:04:56 * ehird tries j's life
00:04:57 <ehird> whoa
00:04:58 <ehird> that is fast
00:05:25 <okloWBW> btw
00:05:27 <okloWBW> coins
00:05:29 <ehird> ??
00:05:32 <okloWBW> god that's hard :|
00:05:34 <ehird> ??
00:06:27 -!- CakeProphet has joined.
00:07:04 <ehird> i think I love j
00:07:20 <ehird> !999999999
00:07:20 <ehird> _
00:07:23 <ehird> is _ "i dunno lol"
00:09:07 <ehird> okloWBW: in the vocab list
00:09:11 <ehird> is that _really_ it?
00:12:00 -!- jix_ has joined.
00:13:18 <okloWBW> umm?
00:13:25 <okloWBW> _ is infinity
00:13:33 <okloWBW> __ is negative infinity
00:13:53 <ehird> kay
00:14:02 <ehird> okloWBW: are strings, umm, lists of sth
00:14:05 <ehird> <.<
00:14:11 <ehird> i might read the tutorial
00:14:13 -!- Corun has joined.
00:14:33 <okloWBW> 'str'
00:14:44 <ehird> right
00:14:49 <ehird> what can you do wid them
00:14:58 <ehird> I tried
00:14:59 <ehird> print 's'
00:15:01 <ehird> and it opened up a printer dialog
00:15:02 <ehird> XDDDD
00:15:06 <ehird> too literal man
00:15:20 <okloWBW> haha :)
00:15:28 <okloWBW> umm i haven't done anything with strings
00:15:37 <ehird> cool, ++ doubles
00:15:39 <ehird> how does that work
00:15:43 <okloWBW> ehird: still don't know what coins meant?
00:15:46 <okloWBW> it's one of the demos
00:15:49 <ehird> o
00:16:00 <ehird> wut is it
00:16:09 <okloWBW> ++ doubles?
00:16:10 <okloWBW> wut?
00:16:16 <ehird> yep
00:16:22 <ehird> (++) 2 -> 4
00:16:22 <okloWBW> ehird: it's a game
00:16:33 <ehird> (++) 2 3 -> 4
00:16:34 <ehird> er
00:16:35 <okloWBW> ohh
00:16:35 <ehird> (++) 2 3 -> 4 6
00:16:40 <okloWBW> well yeah of course
00:16:46 <ehird> i dun geddit
00:17:23 <okloWBW> a (b c) d = (a b (c d))
00:17:36 <okloWBW> but
00:17:45 <okloWBW> monadically: (b c) d = (d b (c d))
00:17:50 <ehird> ah
00:17:53 <ehird> so
00:17:58 <ehird> (2 + (+ 2))
00:18:00 <ehird> ok
00:18:07 <ehird> cool
00:18:12 <okloWBW> yeah
00:18:35 -!- Corun has quit (Client Quit).
00:19:16 <ehird> ah, strings are documented in j602/help/user/script_strings.htm
00:20:47 <ehird> haha, + = --
00:21:05 <ehird> hrm, where's range...
00:22:04 <okloWBW> i.?
00:22:48 <ehird> yep
00:23:51 -!- jix has quit (Read error: 110 (Connection timed out)).
00:24:21 <ehird> omg omggggggggg
00:24:22 <ehird> 2 5$i.10
00:24:23 <ehird> 0 1 2 3 4
00:24:25 <ehird> 5 6 7 8 9
00:24:27 <ehird> awesome.
00:24:29 <ehird> too awesome.
00:24:38 <okloWBW> yes
00:24:45 <okloWBW> j makes you go like that a lot
00:24:59 <ehird> how do you input a multid array
00:25:01 <ehird> just reshape?
00:25:48 <ehird> 0 1 0
00:25:48 <ehird> glider=:3 3$1 1 1 1 0 0 0 1 0
00:25:50 <ehird> glider
00:25:52 <ehird> 1 1 1
00:25:54 <ehird> 1 0 0
00:25:56 <ehird> 0 1 0
00:25:58 <ehird> j is jawsome
00:26:06 <okloWBW> that's one way
00:26:13 <ehird> how would you do it
00:26:27 <okloWBW> well you can use raze........
00:26:31 <ehird> raze?
00:26:35 <okloWBW> yes
00:26:40 <ehird> wat
00:26:57 <okloWBW> >1 2 3; 3 4 5
00:27:37 <ehird> ooh, neat.
00:27:43 <ehird> how do you expand a matrix? :s
00:27:45 <ehird> I searched the docs...
00:27:50 <okloWBW> expand?
00:27:54 <ehird> yeah like
00:28:19 <ehird> 0 0 0 0 0 0 0 0 0
00:28:19 <ehird> 0 0 0 0 0 0 0 0 0
00:28:21 <ehird> 0 0 0 0 0 0 0 0 0
00:28:23 <ehird> 0 0 0 1 1 1 0 0 0
00:28:25 <ehird> 0 0 0 1 0 0 0 0 0
00:28:27 <ehird> 0 0 0 0 1 0 0 0 0
00:28:29 <ehird> 0 0 0 0 0 0 0 0 0
00:28:31 <ehird> 0 0 0 0 0 0 0 0 0
00:28:33 <ehird> 0 0 0 0 0 0 0 0 0
00:28:35 <ehird> from my glider
00:29:01 <okloWBW> you can consider the arrays lists of lists as long as you make sure length issues don't arise; / maps an operator over a list, and , concatenates
00:29:06 <okloWBW> ,/ >...
00:29:18 <ehird> 5 $!.0 glider
00:29:18 <ehird> 1 1 1
00:29:19 <ehird> 1 0 0
00:29:21 <ehird> 0 1 0
00:29:23 <ehird> 0 0 0
00:29:25 <ehird> 0 0 0
00:29:27 <ehird> that helped a bittttttttttt
00:29:46 <lament> 0 0 0 0 0 0 0 0
00:29:48 <lament> 0 0 0 0 0 0 0 0
00:29:51 <lament> 0 0 0 0 0 0 0 0
00:29:53 <lament> 0 0 0 0 0 0 0 0
00:29:55 <lament> 0 0 0 0 0 0 0 0
00:29:57 <ehird> ...
00:29:57 <lament> 0 0 0 0 0 0 0 0
00:30:00 <lament> 0 0 0 0 0 0 0 0
00:30:00 <okloWBW> o o o o o o o o o o o o o o o
00:30:01 <okloWBW> o
00:30:02 <ehird> stop it
00:30:02 <lament> 0 0 0 0 0 0 0 0
00:30:05 <lament> 0 0 0 0 0 0 0 0
00:30:09 <ehird> .....................................................
00:30:10 <okloWBW> o o o o o o o o o o o o o o o o o o o o o o o o o o
00:30:13 <lament> 0 0 0 0 0 0 0 0
00:30:17 -!- okloWBW has changed nick to oklopol.
00:30:22 <ehird> what the fuck are you doing lament
00:31:53 <lament> what? It's a game of life state
00:32:03 <ehird> yes it is.
00:32:18 <ehird> but yeah oklopol i can't figure out how to drown my glider in a sea of 0s <_<
00:33:20 <oklopol> oh umm
00:33:43 <oklopol> there's a way to do that, but umm.
00:33:50 <oklopol> i don't remember :'(
00:33:58 <ehird> :(
00:34:32 * ehird notes that neighbours are
00:34:36 <ehird> 0 0 |. x
00:34:39 <ehird> 0 1 |. x
00:34:44 <ehird> 1 0 |. x
00:34:46 <ehird> 1 1 |. x
00:34:51 <ehird> 0 _1 |. x
00:34:54 <ehird> _1 0 |. x
00:34:55 <ehird> _1 _1 |. x
00:35:11 <ehird> neighbour at point goes into point.
00:35:47 -!- jix_ has quit ("...").
00:37:25 <oklopol> o
00:37:37 <ehird> soooooooooooooooooooooooooooooksdfsdfsdf
00:38:22 <oklopol> o
00:38:22 <oklopol> o
00:38:40 <ehird> :|
00:38:53 <oklopol> slep!
00:38:54 <oklopol> ->
00:39:14 <ehird> noooooooo
01:26:17 -!- Corun has joined.
02:00:28 -!- psygnisfive has joined.
02:01:24 <psygnisfive> hey goise
02:01:53 <oerjan> *quack*
02:06:30 -!- MizardX has quit (Read error: 104 (Connection reset by peer)).
02:06:33 -!- MizardX has joined.
02:49:12 -!- Corun has quit ("This computer has gone to sleep").
04:05:01 -!- oerjan has quit ("Lost terminal").
04:15:59 <psygnisfive> ugh
04:15:59 <psygnisfive> so
04:16:17 <psygnisfive> i dont like the idea of having to create a parser that recognizes things character by character
04:16:33 <psygnisfive> but unfortunately, stupid regex's dont let me specify set intersections :(
04:16:48 <psygnisfive> EVEN THO regular languages are closed under intersection
04:16:58 <psygnisfive> set union? easy!
04:17:03 <psygnisfive> set intersection? hah!
04:17:10 <psygnisfive> supposedly perl allows it but ruby's regex doesnt. :|
04:18:21 <psygnisfive> i suppose i could also use subtraction. that would help too. but no.
04:18:24 <psygnisfive> none of that for me~!
04:19:07 -!- bsmntbombdood has changed nick to bsmntbombgirl.
04:38:55 <psygnisfive> bsmntbombgirl, are you transexual?
04:39:11 <bsmntbombgirl> psygnisfive: are you five?
04:39:46 <psygnisfive> yes.
04:40:01 <bsmntbombgirl> are you a pygmy?
04:40:10 <psygnisfive> well, no. im actually an irrational number but five is close enough for convenience.
04:40:19 <psygnisfive> yes, i am also a pygmy. how did you know?
05:12:34 <psygnisfive> ugh
05:12:36 <psygnisfive> someone talk
05:12:36 <psygnisfive> :|
05:16:02 <bsmntbombgirl> bo
05:20:42 -!- oklopol has quit (Read error: 104 (Connection reset by peer)).
05:20:57 -!- oklopol has joined.
05:40:21 <oklopol> o
06:59:39 -!- puzzlet_ has quit (Read error: 60 (Operation timed out)).
06:59:54 -!- puzzlet has joined.
07:59:59 -!- clog has quit (ended).
08:00:00 -!- clog has joined.
08:13:43 <MizardX> psygnisfive: (?:(?=[a-r])[d-z]) == [d-r]
08:14:57 <MizardX> And a trick for the built-in classes: [^\W\d] == \w - \d
08:26:01 -!- GreaseMonkey has quit ("Client Excited").
08:37:52 <MizardX> >>> del __builtins__.__import__
08:37:56 <MizardX> >>> import sys
08:37:57 <MizardX> ImportError: __import__ not found
08:38:05 <MizardX> sandbox mode! :)
08:56:45 -!- ehird has quit ("Disconnecting from stoned server.").
08:57:08 -!- ehird has joined.
10:13:53 -!- puzzlet has quit (Remote closed the connection).
10:19:11 -!- puzzlet has joined.
10:49:09 -!- Slereah2 has joined.
11:00:21 -!- Slereah has quit (Read error: 110 (Connection timed out)).
11:07:24 -!- jix has joined.
12:18:12 -!- comexk has joined.
12:18:54 -!- comex has quit (Remote closed the connection).
12:18:54 -!- ehird has quit (Remote closed the connection).
12:18:54 -!- puzzlet has quit (Read error: 104 (Connection reset by peer)).
12:18:56 -!- ehird has joined.
12:20:19 -!- puzzlet has joined.
12:40:21 -!- Corun has joined.
12:50:11 -!- AnMaster has quit ("ZNC - http://znc.sourceforge.net").
12:52:40 -!- AnMaster has joined.
12:57:31 -!- Corun has quit ("This computer has gone to sleep").
13:05:57 <MizardX> How is single \r and \n handled by *nix shells? On windows; a single \r moves the cursor to the start of the current line.
13:08:47 <MizardX> hmm... print 'foo\rx\nbar\rx' gives "xoo" on one line, and "xar" on the next, both on windows and SunOS
13:09:52 <MizardX> ... redhat too
13:10:36 <MizardX> could be python that makes it so though... >_>
13:14:11 <impomatic> Corewar will be 25 years old later this year :-)
13:39:30 <AnMaster> um
13:39:38 <AnMaster> depends on terminal rather than shell I think
13:39:47 <AnMaster> MizardX, ^
13:40:07 <MizardX> ok
13:40:16 <AnMaster> and yes python could mess with it
13:40:34 <AnMaster> so why not: echo -ne 'foo\rx\nbar\rx'
13:40:47 <AnMaster> possibly remove the -n
13:47:13 <MizardX> simple answer: they don't
13:47:47 <MizardX> probably putty that resets the cursor position on \r
13:48:23 <fizzie> If you manage to print out a raw \r, it probably does move the cursor to the start of the current line on just about any sensible terminal.
13:56:24 -!- bsmntbombgirl has quit (Read error: 110 (Connection timed out)).
13:56:56 -!- bsmntbombgirl has joined.
14:53:00 <ehird> oklopol: i am totally understanding j
14:53:37 <oklopol> that's cool
14:53:46 <ehird> yes, verily
14:54:02 <oklopol> what do you mean by that
14:54:08 -!- Hiato has joined.
14:54:10 <oklopol> do you know how raze works?
14:54:14 <ehird> i think I'm starting to "get" J
14:54:17 <ehird> and I think I know how raze works.
14:54:36 <ehird> i don't _entirely_ understand it all, but I think I'm getting the gist.
14:55:12 <oklopol> array languages are fun in that there actually is a gist
14:55:17 <oklopol> i mean
14:55:32 <oklopol> compared to learning liek umm what was the thing i was reading
14:55:34 <oklopol> well anyway.
14:55:39 <oklopol> it was this language
14:55:54 <oklopol> nevermind, probably proves my point even better than remembering
14:55:56 <oklopol> sp ->
14:56:00 <ehird> i kind of wish j gave things more conventional names though
14:56:05 <ehird> it's kind of hard to find something
14:56:18 <ehird> "reflex . passive / evoke" well duhhhhh
14:59:05 <ehird> okay hrmmmmmmmmmmmmmmm how could I run |. over the various args without troubles hrmmmmm
15:00:27 <oklopol> dunno what you mean
15:00:43 <ehird> well, yesterday I said:
15:00:52 <ehird> 16:34:32 * ehird notes that neighbours are
15:00:53 <ehird> 16:34:36 <ehird> 0 0 |. x
15:00:54 <ehird> 16:34:39 <ehird> 0 1 |. x
15:00:56 <ehird> 16:34:44 <ehird> 1 0 |. x
15:00:58 <ehird> 16:34:46 <ehird> 1 1 |. x
15:01:00 <ehird> 16:34:51 <ehird> 0 _1 |. x
15:01:02 <ehird> 16:34:54 <ehird> _1 0 |. x
15:01:04 <ehird> 16:34:55 <ehird> _1 _1 |. x
15:01:06 <ehird> 16:35:11 <ehird> neighbour at point goes into point.
15:01:08 <ehird> it's just like... i don't want to write out all those :D
15:02:37 -!- FireFly has joined.
15:02:56 <oklopol> hmmhmm. right.
15:02:56 -!- MigoMipo has joined.
15:03:09 <ehird> so I'm wondering how I could do lieeeeeek
15:03:16 <oklopol> i suggest you do some searching, i don't remember :|
15:03:21 <ehird> "lieeeeeeek length two permutations of _1 0 1, feed em to |. k"
15:03:32 <oklopol> there's a simple way to (1,0,1)2
15:03:44 <oklopol> *(-1,0,1)2
15:03:48 <oklopol> *(-1,0,1)^2
15:03:50 <oklopol> ...
15:04:00 <oklopol> wtf is it with my laptop constantly putting insert on
15:04:11 <oklopol> i've never actually pressed it except to off it.
15:04:45 <oklopol> well i don't know what length 2 permutations of _1 0 1 are, but i guess you mean the cartesian product because you listed it
15:04:49 <oklopol> more sp ->
15:13:00 <oklopol> (i:1) ((<@([;]))"0/) (i:1) holy fuck that was hard
15:13:19 <oklopol> that's the hardest part of j, getting ranks and all that right
15:14:18 <ehird> ranks are kind of confusing
15:14:19 <ehird> oklopol: what is sp
15:14:24 <oklopol> south park.
15:14:27 <ehird> o
15:14:33 <oklopol> o
15:14:42 <ehird> (_1 0 1)^2
15:14:42 <ehird> 1 0 1
15:14:57 <oklopol> i meant cartesian product
15:15:01 <oklopol> with itself
15:15:22 <ehird> isn't there, liek
15:15:24 <ehird> a function 4 dat
15:15:30 <ehird> i'm sure der is
15:15:35 <oklopol> "a oper/ b" applies oper to the cartesian product.
15:15:44 <oklopol> and there probably is a function that just gives the cp
15:15:50 <oklopol> but i don't know it atm.
15:15:54 <Slereah2> CP D:
15:15:56 <ehird> (_1 0 1) |./ glider
15:15:56 <ehird> |length error
15:15:58 <ehird> | (_1 0 1) |./glider
15:16:00 <ehird> my world is over
15:16:23 <oklopol> no no i mean
15:16:33 <ehird> u meen
15:16:37 <oklopol> (each of a) oper (each of b)
15:16:41 <oklopol> liek makes an array of them.
15:16:50 <ehird> lol can u c im confused lol
15:16:51 <ehird> :-|
15:17:15 <ehird> i mean it's not even all permutations
15:17:25 <ehird> because it's all permutations of (one elem, one elem)
15:17:40 <oklopol> something like that.
15:17:47 <ehird> you're so helpful :D
15:18:41 <oklopol> :DDDDDDDDDDDDDDD
15:19:33 <ehird> j is for people who
15:19:37 <ehird> DON'T NEED ANY HELP
15:19:56 <oklopol> ;;;)
15:20:03 <ehird> dude.
15:20:06 <ehird> there is a j channel
15:20:08 <ehird> #jsoftware
15:20:12 <ehird> they have j evaluation bots.
15:20:15 <ehird> !
15:20:30 <oklopol> OMG
15:20:39 <ehird> I KNOW
15:20:53 <ehird> there's only 4 people in ther
15:20:54 <ehird> e
15:20:54 <ehird> and us
15:20:56 <ehird> XD
15:21:00 <ehird> and 3 bots
15:29:44 -!- BeholdMyGlory has joined.
16:02:22 <ehird> % grep -i 'youtube' *|head
16:02:22 <ehird> 06.05.23:03:38:04 <SimonRC> http://www.youtube.com/watch?v=vD4OnHCRd_4
16:04:08 <ehird> 04.05.27:14:16:29 <lament> i have never even seen a breadboard, but they sure sound sexy
16:47:38 <ehird> whoa
16:47:41 <ehird> guy in #jsoftware, gnomon
16:47:45 <ehird> is in the logs of here im reading now
16:47:46 <ehird> :o
17:00:03 -!- BeholdMyGlory has changed nick to IllegalNameExcep.
17:00:59 -!- MigoMipo has changed nick to NullPointer.
17:01:04 -!- NullPointer has changed nick to MigoMipo.
17:01:30 -!- IllegalNameExcep has changed nick to BeholdMyGlory.
17:05:49 <AnMaster> ehird, there?
17:05:57 <ehird> Yes.
17:06:50 <AnMaster> I have a python question, if I want to dump everything python knows about a module, how would I do it? This is for debugging, basically I have a crash in a C program using python for an embedded scripting language. And I want to dump everything python knows about the module it implements.
17:06:55 <AnMaster> I have read python docs yes
17:07:05 <ehird> Be more specific.
17:07:08 <ehird> "Everything it knows" makes little sense.
17:07:11 <ehird> What do you want to dump?
17:07:18 <AnMaster> ehird, PyModule object
17:07:35 <AnMaster> and it's dict
17:07:41 <ehird> I'm afraid I'm not too familiar with the C API. Can you get the module from inside a Python prompt?
17:07:41 <AnMaster> recursively
17:07:52 <AnMaster> ehird, I can run python code yes
17:08:03 <AnMaster> I'm stepping in gdb to right before the point it crashes
17:08:04 <ehird> Try module.__dict__
17:08:08 <AnMaster> ah
17:08:09 <AnMaster> thanks
17:08:51 <AnMaster> ehird, yes that did what I wanted.
17:08:52 <AnMaster> :D
17:08:57 <ehird> hooray
17:09:04 <AnMaster> (gdb) call PyRun_SimpleString("print Crossfire.__dict__\n")
17:09:06 <AnMaster> fun :)
17:09:16 <AnMaster> now if it was a bit easier to read only :/
17:09:22 <ehird> AnMaster: import pprint
17:09:37 <ehird> pprint.pprint(Crossfire.__dict__)
17:09:40 <AnMaster> ah
17:10:06 <AnMaster> call PyRun_SimpleString("import pprint\npprint.pprint(Crossfire.__dict__)\n") I guess
17:10:08 * AnMaster tests
17:10:17 <AnMaster> yes :)
17:10:36 <AnMaster> 'Time': <module 'Crossfire_Time' (built-in)>,
17:10:37 <AnMaster> 'Type': <module 'Crossfire_Type' (built-in)>,
17:10:43 <AnMaster> hm, guess it isn't recursive
17:10:47 <AnMaster> oh well
17:10:53 <ehird> You can make it recursive.
17:10:56 <AnMaster> oh?
17:11:03 <ehird> Sure, sec.
17:11:24 <AnMaster> anyway the issue is something is wrong with reference count, python thinks that module, 'Crossfire_Type' has no references, but I think it has, to be specific: in that dict
17:11:40 <AnMaster> so does the python object think. but not the python gc
17:11:43 <AnMaster> :/
17:11:55 <AnMaster> result: crossfire-server: Modules/gcmodule.c:277: visit_decref: Assertion `gc->gc.gc_refs != 0' failed.
17:11:57 <AnMaster> :D
17:12:14 <AnMaster> ehird, so I'm digging deep into the internals atm
17:12:15 <ehird> def recdict(o):
17:12:15 <ehird> if hasattr(o, '__dict__'):
17:12:16 <ehird> r = {}
17:12:18 <ehird> for k, v in o.__dict__.iteritems():
17:12:20 <ehird> r[k] = recdict(v)
17:12:22 <ehird> return r
17:12:24 <ehird> else:
17:12:26 <ehird> return o
17:12:28 <ehird> pprint.pprint(recdict(Crossfire))
17:12:38 <AnMaster> oh nice, now to write it all in a C string :D
17:12:41 <AnMaster> with spaces
17:12:48 <ehird> "def recdict(o):\n if hasattr(o, '__dict__'):\n r = {}\n for k, v in o.__dict__.iteritems():\n r[k] = recdict(v)\n return r\n else:\n return o\n"
17:12:50 <ehird> well
17:12:56 <AnMaster> yeah
17:12:57 <ehird> "def recdict(o):\n if hasattr(o, '__dict__'):\n r = {}\n for k, v in o.__dict__.iteritems():\n r[k] = recdict(v)\n return r\n else:\n return o\npprint.pprint(recdict(Crossfire))\n"
17:13:06 <ehird> I got that by doing """(code)""" in python and looking at the output :P
17:13:27 <AnMaster> hm
17:13:29 <AnMaster> interesting
17:14:24 <ehird> btw, I would recommend against using python as an embedded scripting language.
17:14:30 <ehird> It isn't very...embeddable.
17:14:48 <AnMaster> ehird, well not my choice, has been like that since before I joined the project
17:14:55 <ehird> OK.
17:15:02 <AnMaster> ehird, I would have used lua
17:15:20 <ehird> Lua is... rather crappy.
17:15:21 <AnMaster> heh, 800 lines of output from that
17:15:29 <ehird> The syntax isn't very nice, and *arrays index at 1*
17:15:45 <AnMaster> ehird, well there is guile too, but I don't expect anyone else to have liked that idea.
17:16:04 <AnMaster> apart from that I can't think of any embedded scripting language
17:16:15 <ehird> guile is a rather crappy Scheme, too :P
17:16:23 <AnMaster> however since the embedded scripting language is in a plugin and not in core it should be easy to replace
17:16:24 <ehird> I'd go for elk, it's an embeddable Scheme with nice things like full continuations
17:16:28 <ehird> but that's a bit dormant
17:16:32 <ehird> (2 years of no dev, IIRC)
17:16:49 <AnMaster> well, that would make me rule it out probably
17:17:04 <AnMaster> anyway you could have it as well. just a cfelk plugin
17:17:13 <AnMaster> (dynamically loaded)
17:17:19 <ehird> I'd just rewrite the whole thing in Scheme, to be honest. :-P
17:17:53 <AnMaster> you mean the core too? hah, well the code is old in parts, there is stuff in common/porting.c that even Lovecraft would avoid writing about.
17:20:04 <AnMaster> ehird, is there any way from inside python to ask python what it thinks about reference count of objects?
17:20:04 <ehird> Yes, I believe so, let me find it in the library reference
17:20:04 <AnMaster> hm even better would be: if the GC thinks it can see a specific pointer in C
17:20:04 <ehird> AnMaster: http://python.org/doc/2.6/library/gc.html
17:20:04 <AnMaster> ehird, huh I looked there just a second ago *re-reads*
17:20:09 <ehird> get_referrers/get_referents is probably what you want
17:20:35 <AnMaster> yes indeed
17:20:39 <AnMaster> exactly indeed
17:21:07 <ehird> AnMaster: note: python does freaky shit to handle circular references.
17:21:18 <AnMaster> right
17:21:18 <ehird> if you have some of them, might wanna look there.
17:21:42 <AnMaster> I don't think I have it, but that recursive dump above was over 800 lines long
17:22:46 <AnMaster> NameError: name 'Crossfire_Time' is not defined
17:22:47 <AnMaster> uh
17:22:52 <AnMaster> that is supposed to be a module?
17:23:17 <AnMaster> ah I need to import it in the line too
17:23:19 <AnMaster> right
17:23:27 <ehird> AnMaster: make a script
17:23:30 <ehird> to check for circular references
17:23:39 <ehird> i.e., walk the recdict tree, remembering every object you see
17:23:43 <ehird> if you see one again, print it
17:25:10 <AnMaster> err
17:25:15 <AnMaster> the result of gc.get_referrers made no sense
17:25:19 <AnMaster> call PyRun_SimpleString("import pprint, gc, Crossfire_Time\npprint.pprint(gc.get_referrers(Crossfire_Time))\n")
17:25:23 <AnMaster> wouldn't that be correct?
17:25:57 <AnMaster> it seems to return a list of many modules instead of "who is holding a reference to the PyModuleObject for Crossfire_Time
17:26:51 <AnMaster> ehird, does http://rafb.net/p/0gPG5U88.html make any sense to you?
17:27:16 <ehird> AnMaster: I think that means that Crossfire_Time imports all those modules, directly or indirectly.
17:27:22 <ehird> Maybe you want referrents
17:27:33 <AnMaster> hm *reads docs again*
17:28:05 <AnMaster> that only lists what the module contains...
17:28:23 * ehird shrug
17:28:25 <ehird> Try #python?
17:28:38 <AnMaster> well I will after I debug this some more first
17:29:24 -!- Corun has joined.
17:29:26 <AnMaster> hm
17:30:05 <AnMaster> maybe there is some way to say "don't ever try to garbage collect this stuff because there is C side stuff you don't know about, so GC should just ignore this"?
17:30:34 <oklopol> there is
17:30:43 <oklopol> if talking about python
17:30:47 <AnMaster> yes
17:31:11 * oklopol waits for AnMaster to ask what it is
17:31:18 <AnMaster> oklopol, what is it?
17:31:28 <oklopol> HOW SHOULD I KNOW NOT HAVING GC IS A RETARDED IDEA
17:31:39 <oklopol> thanks for asking
17:31:51 <AnMaster> uh...
17:32:06 -!- Mony has joined.
17:32:27 <oklopol> anyway
17:32:29 <oklopol> it's python
17:32:32 <oklopol> so why do you have to ask
17:32:38 <oklopol> import gc, help(gc)
17:32:48 <Mony> plop
17:33:22 <AnMaster> oklopol, I mean from the C Embedding API point of view
17:34:51 <oklopol> hmm, i'm not actually sure you can ignore only some objects.
17:35:34 <ehird> why would you, AnMaster
17:35:41 <ehird> you're meant to fit your freeing to python's gc
17:37:02 <AnMaster> ehird, well the issue is it is freeing something that is used from C code. just increasing reference count doesn't work, then python thinks there is a bug due to a missing decrease:
17:37:07 <AnMaster> crossfire-server: Modules/gcmodule.c:277: visit_decref: Assertion `gc->gc.gc_refs != 0' failed.
17:37:15 <ehird> that's not what you're meant to do.
17:37:19 <ehird> you're meant to set up a proper reference
17:37:37 <AnMaster> ehird, well there is a proper reference to this object inside the dict of the Crossfire module
17:37:48 <ehird> If there is a reference it won't be freed.
17:42:35 <AnMaster> ehird, well following from the top module through the dict, using gdb, seems to indicate there is a reference there
17:42:57 <AnMaster> and if that is actually freed then python should certainly have decreased reference count by one?
17:43:54 <AnMaster> also this is a crazy line: print *(PyDictObject*)(((PyModuleObject*)CrossfireModule).md_dict)
17:43:54 <AnMaster> :D
17:44:13 <AnMaster> yes all show up as PyObject, but they are really the other ones basically
17:44:27 <ehird> <AnMaster> and if that is actually freed then python should certainly have decreased reference count by one?
17:44:28 <AnMaster> what python does is like manual union
17:44:34 <ehird> not sure.
17:44:37 <ehird> Ask #python.
17:44:40 <AnMaster> hm
17:44:50 * AnMaster searches the internet first
17:45:29 -!- Hiato has quit ("Leaving.").
18:04:06 <psygnisfive> MizardX: oh sir if that works and i hadn't thought of it, i love you.
18:06:21 -!- olsner has joined.
18:07:03 -!- Mony has quit ("Quit").
18:32:15 -!- Corun has quit ("This computer has gone to sleep").
18:41:58 -!- Corun has joined.
19:10:49 -!- Hiato has joined.
19:20:19 -!- monu has joined.
19:20:30 <oklopol> fungot: demonstrate yourself.
19:20:31 <fungot> oklopol: i could just not claw/ bite the network cable... they waxed the floors here and then think they have the same problem
19:21:05 <ehird> ^bf ,[.,]!runs brainfuck too
19:21:06 <fungot> runs brainfuck too
19:21:08 <ehird> ^ul (and underload)S
19:21:09 <fungot> and underload
19:21:11 <ehird> ^help
19:21:11 <fungot> ^<lang> <code>; ^def <command> <lang> <code>; ^show [command]; lang=bf/ul, code=text/str:N; ^str 0-9 get/set/add [text]; ^style [style]; ^bool
19:21:16 <ehird> ^bool
19:21:17 <fungot> Yes.
19:21:18 <ehird> ^bool
19:21:18 <fungot> Yes.
19:21:20 <ehird> ^bool
19:21:21 <fungot> Yes.
19:21:22 <ehird> ^bool
19:21:23 <fungot> Yes.
19:21:24 <ehird> ...
19:21:25 <ehird> ^bool
19:21:25 <fungot> Yes.
19:21:27 <FireFly> :D
19:21:28 <ehird> ... a no please?
19:21:30 <ehird> ^bool
19:21:31 <fungot> Yes.
19:21:33 <ehird> ^bool
19:21:33 <fungot> Yes.
19:21:37 <ehird> Worst. PRNG. Evar/
19:21:38 <ehird> ^bool
19:21:39 <fungot> No.
19:21:41 <ehird> finally
19:21:46 <FireFly> Nice randomness
19:21:50 <ehird> ^stylr
19:21:51 <ehird> er
19:21:52 <ehird> ^style
19:21:53 <fungot> Available: agora alice darwin discworld europarl ff7 fisher ic irc* lovecraft pa speeches ss wp
19:21:56 <ehird> ^style alice
19:21:56 <fungot> Selected style: alice (Books by Lewis Carroll)
19:21:58 <ehird> fungot: a
19:21:59 <fungot> ehird: and now how much of human suffering i fnord only relieved, but actually fnord!" her husband uneasily replied. " it would be fnord of entertainment!" the professor suggested. " a lady never knows on which side he will jump down.
19:23:02 <Slereah2> fnord the fnord game fnord
19:24:08 <olsner> yo dawg I heard u like fnord so I put a fnord in your fnord so you can fnord while you fnord
19:25:08 <lament> a lady never knows on which side he will jump down.
19:26:54 <ehird> I think that's a statement about sex changes/
19:27:09 <Slereah2> Yo dawg I herd yo dawg likes yoyos so I put a dog in a y if your brother worked on the civ 2 team
19:27:13 <Slereah2> Woops
19:27:17 <Slereah2> Wrong copypasta
19:27:31 <Slereah2> Disregard this, it is meaningless.
19:27:43 <monu> who is fungot ?
19:27:43 <fungot> monu: " there's more evidence to come yet, please your majesty," said sylvie.
19:27:55 <ehird> monu: a bot.
19:27:58 <monu> are you sure ?
19:27:59 <ehird> the bot written in befunge.
19:28:00 <ehird> :P
19:28:07 <monu> ehird: i know that :P
19:28:08 <ehird> o
19:28:17 <monu> ehird: u just told me
19:28:22 <ehird> hmm so i did.
19:28:41 <monu> is fungot an animal ?
19:28:42 <fungot> monu: 30. sometimes the conclusion, offered to us, with much pride, the handle of it caught her under the chin, and, in the course of the evening."
19:29:15 <monu> who is fungot ?
19:29:16 <fungot> monu: " but it's the wrong street. that's where we've made our mistake! our best plan, now, did you?
19:29:41 -!- MigoMipo has quit ("QuitIRCException: MigoMipo out of IRC").
19:29:56 <ehird> fungot's a mineral
19:29:57 <fungot> ehird: though the barrister tried to appeal to its pride, and vainly proceeded to fnord his attention.
19:30:54 <monu> is fungot a storyteller ?
19:30:55 <fungot> monu: ' i know they're talking nonsense,' alice thought. still, she couldn't make out what it could possibly be. but lady muriel seemed to take it quite as a matter of course that doesn't do unless children are healthy: i quite allow that. well, well!' said alice, looking about in great fnord, that seemed to exist in the air a weary and wandering sigh then sounded like " fnord!"
19:31:06 <ehird> monu: to a degree
19:31:08 <ehird> it's a markov chain
19:31:09 <ehird> ^style
19:31:10 <fungot> Available: agora alice* darwin discworld europarl ff7 fisher ic irc lovecraft pa speeches ss wp
19:31:18 <ehird> Currently it's spewing lewis caroll, feel free to change that.
19:31:24 -!- Hiato has quit ("Leaving.").
19:31:28 <monu> k
19:31:42 <monu> so fungot forgets, he doesnt remember ...
19:31:43 <fungot> monu: alice did not like shaking hands with either of them first, for fear of hurting my feelings). " you're nothing but a bottle of ink, and when he urged " for fnord sake: ' the nights are very damp!"
19:31:59 <FireFly> ^style wp
19:31:59 <fungot> Selected style: wp (1/256th of all Wikipedia "Talk:" namespace pages)
19:32:02 <FireFly> Yey
19:32:04 <FireFly> fungot
19:32:06 <fungot> FireFly: i began to try to thrust all that into the lead section's image: we haven't even explained heredity and variation yet, so great was his power." i suggest we begin to doubt the fnord as we called him, the reason for this?
19:33:47 <monu> ^style irc
19:33:47 <fungot> Selected style: irc (IRC logs of freenode/#esoteric, freenode/#scheme and ircnet/#douglasadams)
19:34:09 <monu> fungot
19:34:10 <fungot> monu: going against th fnord of society in the quest for fnord beauty" by pointing to frth :) thanks again!) but with none of the stories are about robots.
19:34:51 <monu> douglasadams
19:34:57 -!- Corun has quit ("This computer has gone to sleep").
19:36:59 <monu> fungot
19:37:00 <fungot> monu: financial loss from feeding it anyway.
19:38:03 <monu> ...
19:38:17 <monu> financial ?
19:38:31 <monu> fungot
19:38:31 <fungot> monu: local person the question " how is a named-let different from a let that binds the variables it binds in their scope so functions bound to them so strong that you need anything lower-level than syntax-rules.)
19:39:18 <monu> sayonara fungot
19:39:18 <fungot> monu: after tusho writes a proposal that allows players to donate points, by creating a continuation at some other time
19:39:40 -!- monu has left (?).
19:43:25 <AnMaster> ehird, btw: I found and fixed the issue
19:43:47 <AnMaster> though the fix seems wrong... and disagree with the documentation.
19:43:50 <kerlo> Would you use fungot daily?
19:43:51 <fungot> kerlo: funet does, bash doesn't have, and that i'm not a wolf. you communicate by howling, but i'm doing sicp exercise 1.22 and wondering whether it just does
19:44:01 <AnMaster> kerlo, uh?
19:44:31 <kerlo> It's a question. A question is the kind of thing you can answer.
19:46:13 <kerlo> I wonder where the "i'm not a wolf. you communicate by howling" thing came from.
19:46:53 <kerlo> ^style agora
19:46:53 <fungot> Selected style: agora (a large selection of Agora rules, both current and historical)
19:46:58 <kerlo> fungot
19:46:59 <fungot> kerlo: a player becomes sitting. a zombie may not
19:47:06 <kerlo> fungot
19:47:07 <fungot> kerlo: an office is not impaired by contradiction between the announcement the scorekeepor. the
19:51:23 <AnMaster> ^style
19:51:24 <fungot> Available: agora* alice darwin discworld europarl ff7 fisher ic irc lovecraft pa speeches ss wp
19:51:30 <AnMaster> ^style europarl
19:51:31 <fungot> Selected style: europarl (European Parliament speeches during approx. 1996-2006)
19:51:32 <AnMaster> fungot, hi
19:51:35 <fungot> AnMaster: mr president, a few members of a national side of the house to go back on what is being proposed for the reserved sector and the right of the presumption of guilt of terrorism for any person going through a period of 10 years for revision. i have several questions to the greek authorities, which includes ' pre-emptive strikes', such as poverty, public servants being unable to cope with the new initiatives for employme
19:51:46 <AnMaster> heh
19:53:18 <FireFly> Ooh, interesting, isn't it, fungot?
19:53:18 <fungot> FireFly: mr president, ladies and gentlemen, the third aspect concerns the role of the joint research centre. as you will be informed of the progress made should not be underestimated.
19:53:34 <AnMaster> ^style pa
19:53:35 <fungot> Selected style: pa (around 1200 transcribed Penny Arcade comics)
19:53:42 <AnMaster> no
19:53:44 <AnMaster> fungot, ?
19:53:45 <fungot> AnMaster: because i hate myself. and when you do play, it's like a copyright infringement kit. you want in on some of this stuff is actually really tasteful.
19:53:52 <AnMaster> ^style alice
19:53:53 <fungot> Selected style: alice (Books by Lewis Carroll)
19:53:56 <AnMaster> hello fungot
19:53:57 <fungot> AnMaster: ' it says " fnord!" that fnord is fnord to me is my fnord' doggie than a dozen sic' as thou! and through and through me without seeing me. " this is harder than fnord!" thundered the vice-warden.
19:54:01 <FireFly> ^style xkcd :>?
19:54:01 <fungot> Not found.
19:54:07 <AnMaster> ^style
19:54:08 <fungot> Available: agora alice* darwin discworld europarl ff7 fisher ic irc lovecraft pa speeches ss wp
19:54:10 <AnMaster> are the ones that exisgt
19:54:12 <AnMaster> exist*
19:54:12 <FireFly> Yep
19:54:21 <AnMaster> ^style fisher
19:54:21 <fungot> Selected style: fisher (Fisher corpus of transcribed telephone conversations)
19:54:22 <FireFly> But I'd like to see an xkcd one :D
19:54:35 <kerlo> fungot
19:54:35 <AnMaster> FireFly, you transcribe the comics+
19:54:36 <fungot> kerlo: ( ( closest to)) did we look at how the people over
19:54:36 <AnMaster> ?
19:54:42 <AnMaster> fungot, huh?
19:54:43 <fungot> AnMaster: you too how are you oh okay oh)) someone and they called him i think
19:54:52 <AnMaster> oh that one
19:54:53 <kerlo> ^stylp wp
19:54:55 <AnMaster> now I remember
19:55:00 <kerlo> ^style wp
19:55:01 <fungot> Selected style: wp (1/256th of all Wikipedia "Talk:" namespace pages)
19:55:05 <AnMaster> hi fungot
19:55:06 <fungot> AnMaster: look here fnord/ fnord/ tco/ fnord
19:55:09 <kerlo> Talk:, eh?
19:55:10 <AnMaster> ...
19:55:12 <FireFly> AnMaster: http://www.ohnorobot.com/index.pl?comic=56&s=test&search=Search
19:55:13 <kerlo> fungot: :-(
19:55:13 <AnMaster> fungot, poke
19:55:14 <fungot> kerlo: how come this section is about violence that has occurred at the beginning and end of each title's description, there is still a paramount pa., age 1) and ruby j. wilson ( born n.y., age 8).
19:55:14 <fungot> AnMaster: if there is other fair use media, consider checking that you have specified the fair use rationale on the other images used on this article.
19:55:17 <FireFly> [[A man sits at a computer connected through a wall to another computer.]]
19:55:17 <FireFly> TURING TEST EXTRA CREDIT: CONVINCE THE EXAMINER THAT HE'S A COMPUTER. / Man: You know, you make some really good points. I'm ... not even sure who I am anymore.
19:55:17 <FireFly> {{Title Text: Hit Turing right in the test-ees.}}
19:55:21 <FireFly> Enough for me
19:55:30 <AnMaster> hah
19:55:36 <AnMaster> ^style ss
19:55:37 <fungot> Selected style: ss (Shakespeare's writings)
19:55:59 <AnMaster> fungot, To be or not to be (a markov chain)
19:56:01 <fungot> AnMaster: gon. not since widdow dido's time to counsaile thee that art to me, and ile not wish thee to a shrew'd ill-fauour'd wife? thou'dst thanke me but a little, comfort a little, and legion himself possessed him, yet he talkes well, but that i am
19:57:13 <AnMaster> fungot, oh
19:57:14 <fungot> AnMaster: richard. then, heaven, i love thee well; and, by my faith, this league that we haue giuen thee faces of the groomes withall, for it is not that a good word
19:57:31 <AnMaster> ^style irc
19:57:31 <fungot> Selected style: irc (IRC logs of freenode/#esoteric, freenode/#scheme and ircnet/#douglasadams)
19:57:44 <AnMaster> fungot, hu
19:57:44 <fungot> AnMaster: or even smalltalk ( see squeak) smalltalk to find that out.
19:57:45 <AnMaster> hi*
20:11:43 <impomatic> Hmmm...
20:13:09 <impomatic> Borland C++ Builder 5.0's license doesn't allow the user freedom of use for compiled files :-(
20:13:20 -!- bsmntbombgirl has changed nick to bsmntbombdood.
20:13:38 -!- bsmntbombdood has quit.
20:13:57 -!- bsmntbombdood has joined.
20:15:18 <bsmntbombdood> impomatic: use a real compiler?
20:16:37 <bsmntbombdood> i think the openbsd team should do a cc hackathon
20:18:33 <AnMaster> bsmntbombdood, "cc hackathon"?
20:18:34 -!- BeholdMyGlory has changed nick to ewih.
20:18:40 <ehird> A hackathon. On C compilers.
20:18:44 <ehird> Is that a difficult concept? :P
20:18:46 <AnMaster> also just use g++, or icc
20:18:52 -!- ewih has changed nick to BeholdMyGlory.
20:18:56 <bsmntbombdood> gcc is huge a bloated
20:19:03 <ehird> bsmntbombdood: clang?
20:19:14 <ehird> Reasonable license, advancing quickly, not bloated, etc.
20:19:15 <AnMaster> ehird, clang didn't codegen C++ last I looked
20:19:19 <ehird> Sure.
20:19:22 <ehird> I'm talking about the future.
20:19:27 <AnMaster> so not a solution today, for the future, sure
20:19:48 <bsmntbombdood> ehird: that's not even a real compiler
20:19:55 <ehird> Why not?
20:19:56 <AnMaster> creating build/temp.linux-x86_64-2.6-pydebug/home/anmaster/src/python/Python-2.6.1/Modules
20:19:58 <AnMaster> um?
20:20:01 <ehird> Does a real compiler need REAL MEN working on it or something, bsmntbombdood?
20:20:02 <AnMaster> strange
20:20:06 <bsmntbombdood> it compiles to some virtual machine
20:20:11 <ehird> no.
20:20:17 <ehird> LLVM compiles to native code.
20:20:31 <ehird> I'm incredibly surprised you haven't heard of it; it has a lot of backing.
20:20:58 <AnMaster> I'm surprised you didn't read the main text on llvm.org, it says "llvm can be a static compiler"
20:21:00 <AnMaster> iirc
20:22:12 <bsmntbombdood> sounds dumb
20:22:21 <bsmntbombdood> i want a classic, unix, cc
20:22:26 <bsmntbombdood> worse is better
20:22:39 <ehird> llvm is worse is better
20:22:39 <AnMaster> ...
20:22:53 <ehird> Dismissing it as "dumb" after you just hear of it is, um, dumb.
20:23:02 * AnMaster agrees with ehird here
20:23:15 <AnMaster> also if you like it that way just use tcc or pcc
20:23:28 <AnMaster> tcc is very fast because the only optimising it does is constant folding
20:23:32 <lament> lllllllllllllllllllvm
20:23:50 <AnMaster> lament, that wasn't very zen I'm afraid
20:24:03 <ehird> that was very zen
20:24:05 <ehird> because it wasn't zen
20:24:21 <lament> let's make it zen
20:24:26 * lament whacks AnMaster with a stick
20:24:31 <AnMaster> oh you are right ehird
20:24:37 * AnMaster dodges
20:24:53 * AnMaster uses Kung-fu on lament
20:25:09 <ehird> lament: you need an Oerjan-Approved A Grade IRC User Swatter from Oerjancorp.
20:25:10 <ehird> undodgable.
20:25:24 <lament> I will simply use my Zen skills.
20:25:26 * lament meditates
20:25:33 <AnMaster> ehird, that is a busted myth
20:25:43 <ehird> no. mythbusters are corporate drones.
20:25:50 <ehird> oerjancorp is a non-profit. despite the name.
20:26:04 <lament> corporate drones armed with guided missiles!
20:26:16 <ehird> the best kind!
20:26:31 <lament> if you want a zen compiler
20:26:34 <lament> just compile haskell to haskell
20:26:40 <AnMaster> nice!
20:26:45 <lament> ommmm
20:35:37 <ehird> oklopol:
20:35:37 <ehird> 07.03.18:06:15:42 <oklopol> noweach, lopoda, nopol implementation, oklotalk, nestor
20:35:40 <AnMaster> afk
20:35:44 <ehird> dude. you've had nopol since 2007
20:35:48 <ehird> lazy bum-ass
20:39:53 <ehird> <oklopol> that fucking K has almost all advantages of oklotalk... how dare it
20:43:28 <oklopol> hmm i don't remember what lopoda was...
20:45:03 <oklopol> noweach was one sick language, it was a cellular automaton kinda thing, except you could also refer to current state, so it was kinda constraint programming with an infinite datastructure
20:45:04 <oklopol> ...
20:45:22 <oklopol> my madness is probably decreasing :|
20:47:18 <AnMaster> oklopol, wow noweach sounds fun
20:47:21 <AnMaster> what was the syntax?
20:47:39 <oklopol> that i don't recall
20:47:58 <oklopol> probably something with a lot of < brackets.
20:48:01 <oklopol> *<>
20:52:45 <impomatic> Okay, I give up with C++ Builder. Is GCC a big download?
20:53:02 <Deewiant> Source or binary?
20:53:21 <impomatic> Binary
20:53:46 <Deewiant> Platform?
20:53:50 <Deewiant> Windows?
20:54:53 <impomatic> I only want to compile one thing, then I'll probably never use it again
20:54:53 <impomatic> I don't like C
20:54:53 <impomatic> Yes
20:55:10 <Deewiant> MinGW is around 200M when installed, for me
20:55:55 <Deewiant> But then I think I've got ada and objective-c there as well, along with some third party libraries possibly
20:56:21 <Deewiant> 6,4Mgcc-part-c++-4.3.0-20080502-2-mingw32-alpha-bin.tar.gz
20:56:21 <Deewiant> 7,8Mgcc-part-core-4.3.0-20080502-2-mingw32-alpha-bin.tar.gz
20:56:46 <Deewiant> So I guess around 15-20M for everything if you need C++, 10-15 if only C
20:57:02 <Deewiant> impomatic: but VC++ might be easier to get working
20:57:45 <impomatic> Thanks, I'll download next month :-)
20:57:45 <impomatic> My bandwidth limit is close!
20:58:31 <Deewiant> You poor common law countries and your bandwidth limits
20:59:10 <ehird> oklopol: (∼R∈R∘.×R)/R←1↓⍳R
20:59:12 <ehird> howdya write that in j
20:59:25 <Deewiant> implementing life?
20:59:33 <ehird> naw
20:59:36 <ehird> that's a prime number finder
20:59:43 <Deewiant> darn
20:59:43 <ehird> life is a bit longer :-P
20:59:51 <Deewiant> not much
20:59:56 <Deewiant> twice that or so
20:59:58 <ehird> Deewiant: about 50-60 chars
21:00:13 <ehird> Deewiant: http://www.catpad.net/michael/APLLife.gif
21:00:15 <Deewiant> was the whole thing that long?
21:00:28 <Deewiant> hmm, that's a different one
21:01:39 <ehird> you mean the video I linked to?
21:01:44 <ehird> that was kind of spread over multiple lines tbh
21:01:52 <ehird> but even with the infrastructure it was still ~60 chars
21:02:04 <Deewiant> I'd type it now if I had an APL keyboard :-P
21:02:19 <Deewiant> looks shorter to me
21:02:21 <Deewiant> let me count
21:02:41 <Deewiant> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
21:02:50 <Deewiant> I don't think it uses anything
21:02:56 <ehird> link?
21:02:58 <Deewiant> takes a matrix and outputs the next state
21:03:10 <ehird> "APL is a mistake, carried through to perfection. It is the language of the future for the programming techniques of the past: It creates a new generation of coding bums."
21:03:11 <Deewiant> how does one link to specific points in youtube videos
21:03:12 <ehird> - Dijkstra
21:03:21 <ehird> Deewiant: #NmMs
21:03:23 <ehird> e.g. #4m33s
21:03:27 <ehird> at the end
21:03:33 <Deewiant> I tried that and it doesn't seem to work
21:03:46 <Deewiant> http://www.youtube.com/watch?v=a9xAKttWgP4#4m23s anyway
21:04:47 <ehird> hm, ok then
21:22:50 -!- MigoMipo has joined.
21:28:49 <Asztal> might be #/4m23s
21:29:04 <ehird> no.
21:31:38 -!- kar8nga has joined.
21:35:30 <Asztal> aha, http://uk.youtube.com/watch?v=a9xAKttWgP4#t=4m23s
21:35:46 <ehird> ah, t=
21:43:56 -!- MigoMipo has quit ("QuitIRCException: MigoMipo out of IRC").
21:47:34 -!- GreaseMonkey has joined.
21:48:32 <ehird> aa
21:58:57 -!- sebbu has joined.
22:12:42 -!- GreaseMonkey has quit ("Client Excited").
22:15:16 -!- sebbu2 has quit (Read error: 113 (No route to host)).
22:19:13 <MizardX> Heh. #t=4m23s doesn't work when first loading the web-page in Google Chrome, but when stepping back or forward in browser-history it jumps to the correct time.
22:19:55 <MizardX> v1.0.154.43... just saw that there is a newer version
22:22:18 -!- yoR has joined.
22:23:21 <yoR> Hi all
22:23:57 <ehird> hi
22:24:24 <yoR> ehird: The 'bug' in bf languages still exists ;-)
22:24:30 <ehird> bug?
22:24:33 <yoR> (in anarchy golf)
22:24:52 <yoR> The 'feature' that allows cheating/using the codespace
22:25:05 <impomatic> Hi yoR :-)
22:25:17 <ehird> ah
22:25:19 <ehird> how does it work again
22:27:32 <yoR> +[+<]
22:27:42 <yoR> This finds the last instruction of your program itself
22:27:49 <ehird> ah
22:34:37 <yoR> I'm currently writing my first self-made-esolang-interpreter
22:35:01 <yoR> Since I aleady made subleq and bf interpreters, I created my own language this time
22:38:19 -!- BeholdMyGlory has quit ("TooTiredException").
22:41:19 <impomatic> I made another bf interpreter last night in 8086 asm
22:43:22 <yoR> You have too much time impy ;)
22:44:48 <impomatic> No, not enough time!
22:58:29 -!- jix has quit ("Computer has gone to sleep").
23:04:51 -!- jix has joined.
23:09:07 -!- oerjan has joined.
23:09:10 <ehird> oklopol: OMG OMG OMG
23:09:11 <ehird> J IS NOT PURE
23:09:15 <ehird> It cannot handle huge numbers :'(
23:09:17 <ehird> 69999999999999999999999999699999999999999999999999996999999999999999999999999969999999999999999999999999699999999999999999999999996999999999999999999999999969999999999999999999999999699999999999999999999999996999999999999999999999999969999999999999999999999999699999999999999999999999996999999999999999999999999969999999999999999999999999699999999999999999999999996999999999999999999999999969999999999999999999999999699999999999999999999999996999999999999
23:09:20 <ehird> 99999999999996999999999999999999999999969999999999999999999999999699999999999999999999999996999999999999999999999999969999999999999999999999999699999999999999999999999996999999999999999999999999969999999999999999999999999699999999999999999999999996999999999999999999999999969999999999999999999999999699999999999999999999999996999999999999999999999999969999999999999999999999999699999999999999999999999996999999999999999999999999969999999999999999999999999699
23:09:25 <ehird> 999999999999999999999996999999999999999999999999969999999999999999999999999
23:09:27 <ehird> _
23:12:31 <oerjan> <ehird> lament: you need an Oerjan-Approved A Grade IRC User Swatter from Oerjancorp.
23:12:44 <oerjan> comes with a free fly simulator!
23:13:15 <FireFly> Lastest version of MS*
23:13:24 <FireFly> MS' Fly simulator*
23:14:19 * oerjan swats FireFly -----###
23:14:35 <FireFly> :<
23:14:42 <oerjan> free demonstration
23:14:47 * FireFly tries to dodge, but fails miserably
23:16:28 * oerjan notes the swatter is on fire and dips it in water
23:16:43 <oerjan> always a risk with fireflies
23:17:11 <oerjan> be especially careful with greek fireflies, as water doesn't work on greek fire
23:17:49 <oerjan> fortunately this one was swedish. they practically fly into the swatter by themselves.
23:19:01 <AnMaster> oerjan, it is a myth it is dodge proof
23:19:45 <oerjan> the swatter is sweeped in many myths
23:19:47 <ehird> oerjan: AnMaster thinks the swatter is dodge proof. this is because he has no brain.
23:19:47 * AnMaster dodges successfully
23:19:52 -!- GreaseMonkey has joined.
23:19:56 <ehird> everyone knows it's dodgeproof.
23:20:03 <ehird> typing a line on IRC saying you dodge post-swatting doesn't change that.
23:20:11 <AnMaster> ehird, yes
23:20:25 <AnMaster> it does since he swatted by typing a line on irc too
23:20:34 <oerjan> ehird: especially when you're not actually being swatted
23:21:40 <oerjan> actually the swatter is dodgeproof but not foolproof (there's always a better fool). therefore AnMaster can dodge it.
23:22:04 <AnMaster> hah
23:22:33 <ehird> oerjan: he dodges it but it still hits him
23:26:20 <FireFly> I'm not greek, just a geek
23:27:01 <oklopol> eek
23:28:13 <FireFly> "they practically fly into the swatter by themselves." :<
23:29:56 <oerjan> oklopol: gee
23:30:13 -!- kar8nga has quit (Read error: 110 (Connection timed out)).
23:31:03 <oerjan> FireFly: do you reek?
23:31:25 <FireFly> Reek? ;o
23:32:18 <oerjan> do you reek of leek all the week?
23:32:42 <FireFly> Now you have to involve 'cheek' too
23:32:46 <FireFly> Don't ask me how
23:32:54 <FireFly> I'm having math homework for tomorrow, but boolean algebra seems more interesting
23:34:18 <oerjan> something else seeming more interesting is normal. the strange thing is that it is still math...
23:35:15 <FireFly> The things we currently do is a bit.. basic :<
23:35:26 <FireFly> Um, are*
23:40:02 -!- olsner has quit ("Leaving").
23:42:45 <oerjan> <ehird> Does a real compiler need REAL MEN working on it or something, bsmntbombdood?
23:43:17 <oerjan> no. real women and real small furry creatures from Alpha Centauri can also be utilized.
23:45:41 -!- jix has quit ("Computer has gone to sleep").
23:47:07 <oklopol> FireFly: i have boolean algebra on a course atm
23:47:15 <FireFly> :<
23:47:28 <FireFly> I'll have it in another two years
23:47:32 <FireFly> At least some, I think
23:47:37 <oklopol> what institution?
23:48:53 <FireFly> Um, well, I don't know the english term, but I'm only in the 'gymnasium' atm
23:49:05 <FireFly> I think the american equalient is high school, but I'm not sure :\
23:49:58 <ehird> well how old are you
23:50:04 <FireFly> 16 years old
23:50:17 <ehird> high school yeah
23:50:18 <oerjan> the gymnasium is where everyone runs around naked. at least that's the original meaning.
23:50:32 <FireFly> ._.
23:51:27 <oklopol> FireFly: then are you sure you mean boolean algebra and not like, say, digital logic?
23:51:51 <FireFly> I dunno, but I found what they talked about on some discrete math course interesting
23:51:57 <FireFly> A friend linked a video
23:52:05 <oklopol> not that the difference is all that crucial, i'm just very jealous if it's actual boolean algebra.
23:52:16 * oerjan 's first exposure to boolean algebra was from his father's digital logic book
23:52:42 <FireFly> I only know that we have a course called "descrete mathematics" in year 3 (me being in year 1 now)
23:53:35 <oklopol> i see. i think we had something like that too
23:53:57 <oklopol> of course by second year i was so fed up with the system i couldn't really enjoy even the nice courses.
23:53:59 <FireFly> And I just watched http://video.google.com/videoplay?docid=-2965569821331370765 <-- and that seems interesting
23:54:20 <oklopol> i hated it so much i cannot stop ranting about how much of a waste it was.
23:55:25 <FireFly> Hm, I wonder why i^-i = e^(pi/2) :\
23:55:25 -!- CakeProphet has quit ("lol").
23:55:41 -!- Judofyr has quit ("raise Hand, 'wave'").
23:55:57 <ehird> I wonder what the average age in here is
23:56:06 <oerjan> FireFly: i = e^(i*pi/2)
23:56:16 <ehird> probably the few really old (:P) people and the few really young people mess up the balance
23:56:49 <FireFly> Well, me, MigoMipo and BeholdMyGlory being 16 propably takes the average age down a bit
23:56:53 <impomatic> I'm 34, so I guess I'm with the few really old people!
23:57:02 <oklopol> FireFly: i doubt that.
23:57:17 <FireFly> But of course, there's a lot of people in here
23:57:24 <oerjan> <- 38
23:57:31 <oklopol> <- 42
23:57:39 * oerjan swats oklopol -----###
23:57:40 <FireFly> ooh, magic number
23:57:46 <oerjan> LIAR
23:57:53 <ehird> <FireFly> Well, me, MigoMipo and BeholdMyGlory being 16 propably takes the average age down a bit
23:57:54 <oklopol> *18
23:57:56 <oklopol> sorry, typo
23:58:00 <oklopol> err
23:58:03 <oklopol> *19
23:58:05 <oklopol> actual error
23:58:07 <ehird> FireFly: No, you're near the average :
23:58:08 <ehird> :P
23:58:09 * ehird = 13
23:58:19 <FireFly> :<
23:58:27 <ehird> asiekierka is I think 11 or 12, but his status as an intelligent being is... debatable.
23:59:02 <oklopol> yeah he's more like a bot.
23:59:17 <ehird> a bad bot
23:59:20 <oklopol> i wanna make a bot that uses a simple hand-woven conlang
23:59:25 <oklopol> i mean
23:59:30 <oklopol> so i don't have to parse english
23:59:35 <ehird> go for lojban, I mean then people will actually be able to understand it
23:59:36 <ehird> without learning it
23:59:38 <ehird> more impressive
23:59:40 <oklopol> i'm more interested in mimicing being social
23:59:47 <ehird> mvldo! :P
←2009-01-28 2009-01-29 2009-01-30→ ↑2009 ↑all