September 6, 2011  
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 | 30

[00:18:31] *** lijat has quit IRC
[00:22:32] *** lijat has joined #ooc-lang
[01:13:08] *** mickael9 has quit IRC
[01:30:07] *** fredreichbier has quit IRC
[01:47:03] *** shahri has quit IRC
[02:24:37] *** curtism has joined #ooc-lang
[03:36:48] *** Oddity007 has left #ooc-lang
[04:59:31] *** curtism has quit IRC
[06:34:47] *** duckinator changes topic to "Welcome to the official ooc programming language IRC channel | Channel's logged: http://tinyurl.com/ooc-lang | 0.9.2 on the way! | Get rock: `cd ~ && curl da.gd/get-rock | bash` (use `wget -O-` instead of `curl`, if you wish. Installs to ~/rock, executable at ~/rock/bin/rock)"
[06:35:11] *** duckinator changes topic to "Welcome to the official ooc programming language IRC channel | Channel's logged: http://tinyurl.com/ooc-lang | 0.9.2 on the way! | Get rock: `cd ~ && curl http://da.gd/get-rock | bash` (use `wget -O-` instead of `curl`, if you wish. Installs to ~/rock, executable at ~/rock/bin/rock)"
[06:35:21] <duckinator> 'night o/
[07:11:30] *** Nilium_ has joined #ooc-lang
[07:11:31] *** ChanServ sets mode: +v Nilium_
[07:12:51] *** Nilium has quit IRC
[07:12:52] *** Nilium_ is now known as Nilium
[07:13:11] *** bartwe has quit IRC
[07:13:17] *** sohum has quit IRC
[07:14:55] *** sohum has joined #ooc-lang
[07:19:13] *** bartwe has joined #ooc-lang
[08:13:55] *** shamanas has joined #ooc-lang
[08:23:03] *** shamanas has quit IRC
[10:08:49] *** shamanas has joined #ooc-lang
[10:09:02] <shamanas> hey :D
[10:10:00] <shamanas> lol i added wrapped 4 days ago? :P Feels like a month or smth :O
[11:47:19] *** shahri has joined #ooc-lang
[12:02:30] <locks> http://mlkshk.com/p/6WE2
[12:03:03] <shamanas> haha
[12:03:10] <shamanas> lol
[12:07:34] <locks> http://giles.tumblr.com/post/9866416864
[12:07:38] <locks> internets :P
[12:12:34] <shamanas> xD
[12:46:00] *** Oleiade has quit IRC
[12:46:49] *** Oleiade has joined #ooc-lang
[15:20:14] *** Jetbeard has joined #ooc-lang
[16:02:20] *** shamanas has quit IRC
[17:12:45] *** fredreichbier has joined #ooc-lang
[17:12:46] *** ChanServ sets mode: +v fredreichbier
[18:19:50] *** MayDaniel has joined #ooc-lang
[18:31:41] *** MayDaniel has quit IRC
[18:56:01] *** mickael9 has joined #ooc-lang
[19:14:03] *** wandernauta has joined #ooc-lang
[19:14:37] <wandernauta> G'afternoon all!
[19:20:16] * Nilium had to fix some inline assembly in libatomic_ops to get 0.9.2 to build O_o
[19:23:02] *** MayDaniel has joined #ooc-lang
[19:26:23] *** mickael9` has joined #ooc-lang
[19:27:09] *** mickael9 has quit IRC
[19:31:19] *** MayDaniel has quit IRC
[19:43:46] <duckinator> hi
[19:43:57] <duckinator> Nilium: yeaaaa we're working on that :P
[19:44:01] <duckinator> well, ndd is
[19:45:14] <duckinator> Nilium: can you paste the lines you fixed, and what they were before?
[19:45:46] <Nilium> They're fixed in the latest libatomic_ops snapshot on github
[19:45:54] <duckinator> ah, alright
[19:45:59] <duckinator> that'll make it easier then :P
[19:49:35] *** shamanas has joined #ooc-lang
[19:49:45] <shamanas> hey peeps :D
[19:50:16] <wandernauta> shamanas: o.
[19:50:42] <wandernauta> shamanas: o/
[19:50:54] <shamanas> wandernauta: \o/
[19:51:11] <wandernauta> .o. -o- \o/ -o- .o.
[19:51:21] <shamanas> anyone wanna close the other half of #311 for me? D:
[19:51:24] <fredreichbier> yo wander, yo shamanas, yo all!
[19:51:35] <shamanas> fredreichbier: :D
[19:51:39] <wandernauta> Yo fredreichbier!
[19:51:45] <duckinator> o/ wandernauta shamanas fredreichbier
[19:51:58] <shamanas> duckinator: o/
[19:52:06] <shamanas> wow we have some people tonight :P
[19:52:14] <duckinator> afternoon* ;P
[19:52:41] <shamanas> or w/e it is there ;)
[19:53:07] <wandernauta> Afternoon here.
[19:53:48] <Nilium> https://github.com/nddrylliog/rock/issues/319  Well, there you go.
[19:54:00] <Nilium> I even kindled provided a link to the github repo for libatomic_ops
[19:55:00] <duckinator> haha, alright ^^
[19:55:39] <duckinator> we're gonna end up having to release an 0.9.2-1 :P
[19:56:27] <shamanas> btw why not accept #313 now we are in 0,9.2 ? :D
[19:57:00] <duckinator> shamanas: i'll accept that after i get out 0.9.2-1 (aka "oops i think we broke the 0.9.2 release" ;P)
[19:57:15] <duckinator> just updating .gitignore and fixing libatomic_ops for -1
[19:57:15] <shamanas> :D
[19:57:32] <shamanas> ok sure :p
[19:57:50] <duckinator> alright, first part is done :D
[19:58:05] <CIA-126> rock: Nick Markwell master * r585e7c1 / .gitignore : Fixed .gitignore - http://git.io/i5CRmA
[19:58:06] <CIA-126> rock: Nick Markwell master * re34afc0 / .gitignore :
[19:58:06] <CIA-126> rock: Merge pull request #320 from duckinator/master
[19:58:06] <CIA-126> rock: Fixed .gitignore - http://git.io/BSg2ng
[19:58:25] <locks> yay
[19:59:58] <duckinator> if someone gets bored, feel free to go through rock's source and add comments about any ugly/poorly-done code on https://github.com/nddrylliog/rock/issues/318 so we can try to get rock cleaned up once i make it actually compile ;P
[20:02:54] <shamanas> also, do you guyz agree with adding wrapped keyword?
[20:03:11] <duckinator> shamanas: i see no problem with it, and i've seen no objections to it
[20:03:52] <duckinator> it adds no bloat to generated executables afaik, so no real harm done if it's not used often
[20:04:11] <duckinator> because there /is/ use for it, i just don't know how often :P
[20:04:56] <Nilium> What's a wrapped keyword supposed to do?
[20:04:57] <shamanas> well ndd said "Im not entirely against it" <- so ... i would like to see his arguments against it if he has some
[20:05:12] <shamanas> g: wrapped func
[20:05:22] *** wandernauta has left #ooc-lang
[20:05:26] <shamanas> is equivalent to
[20:05:39] <shamanas> _g: extern func; g: func { _f() }
[20:05:55] <shamanas> g: func { _g() }***
[20:06:00] <duckinator> shamanas: i think his issue is probably related to what i said about not knowing how often it'd be used
[20:06:05] <duckinator> don't hold me to that though ;P
[20:06:10] <Nilium> So why not just g: extern func()
[20:06:16] <shamanas> because of
[20:06:23] <shamanas> #...
[20:06:25] <shamanas> wait a bit :p
[20:06:45] <shamanas> #293
[20:06:59] <shamanas> extern functions are not "true" functions
[20:07:09] <Nilium> That's a wall 'o text
[20:07:18] <duckinator> but it's a very good point
[20:07:22] <Nilium> Github needs to adjust its paragraph formatting
[20:07:53] <shamanas> maybe its the way i wrote it, not sure :P
[20:08:12] <Nilium> Well, you should also have a single blank line between paragraphs for markdown's sake
[20:08:58] <shamanas> Well im sure id use it in my bindings
[20:08:59] <Nilium> Anywho, off to weight training
[20:09:08] <shamanas> not on every function
[20:09:17] * Nilium adds "write a new SDK for ooc" on his todo list
[20:09:35] <shamanas> but on some that it could actually be used efficiently
[20:09:47] <duckinator> shamanas: i think wrapped is at least good temporary measure until we can look into fixing #293 BUT we probably need to make rock a tad smarter about that in the long run ;P
[20:09:59] <shamanas> hm
[20:10:11] <shamanas> I see no real solution for this without making it tons heavier
[20:10:15] <duckinator> yea
[20:10:21] <duckinator> as i said, we'll need to look into it :)
[20:10:23] <shamanas> just because of the ability to bind to #define-s
[20:10:55] <duckinator> wrapped is a good fix, but there is probably a better one --- even if that's just making rock use the equivalent of `wrapped` as appropriate
[20:11:03] <duckinator> ofc that'd probably be even uglier
[20:11:08] <duckinator> so forget i said it
[20:11:31] <shamanas> hmm
[20:12:19] <duckinator> well, uglier from a debugging standpoint :P
[20:12:22] <shamanas> this is a pure design flaw. fixing it will be at least tough but not impossible i guess
[20:12:28] <duckinator> yea
[20:12:38] <shamanas> anyway
[20:12:51] <shamanas> im gonna ftry to fix the other half of #311 tomorrow
[20:13:00] <shamanas> atm im too lazy
[20:13:05] <duckinator> i think the main issue will be fixing it /without/ making extern hilariously heavy :P
[20:13:14] <shamanas> yay
[20:13:33] <duckinator> oh, #311! yay!
[20:14:02] <shamanas> my fix is quite ugly :/
[20:14:26] <duckinator> no uglier than the bug :P
[20:14:33] <shamanas> just due to the fact i was forced to add fields to FunctionCall
[20:15:19] <shamanas> i dont like that. at all
[20:16:34] <duckinator> well
[20:16:42] <duckinator> i say worry about making it work now, then make it nice later on :P
[20:16:49] <duckinator> because that's a rather bad bug to have hanging around
[20:18:50] <shamanas> so the other part
[20:19:01] <shamanas> is with functions that return closures right?
[20:19:10] <shamanas> and functions that return functions that return closures etc.
[20:19:24] <shamanas> not to straight up closures?
[20:21:04] <duckinator> right
[20:21:21] <duckinator> f: func -> Func -> Bool { "f was called." println(); g }
[20:21:21] <duckinator> g: func -> Bool { true }
[20:21:34] <duckinator> with those^, the following two lines both break:
[20:21:38] <duckinator> false ?  f()() : true
[20:21:41] <duckinator> false && f()() || true
[20:22:08] <shamanas> yay
[20:22:24] <shamanas> ill study that tomorrow xD
[20:22:26] <duckinator> alright
[20:23:01] <fredreichbier> duckinator, have you seen my warnings thing with varargs?
[20:23:18] <duckinator> you showed me it, yea ^^
[20:23:22] <shamanas> fredreichbier: we need no warnings anymore :D
[20:23:28] <duckinator> fredreichbier: shamanas is working on a proper fix :3
[20:23:29] <fredreichbier> ahhh right, yeah
[20:23:31] <fredreichbier> does it work already?
[20:23:33] <shamanas> fredreichbier: that part is fixed
[20:23:37] <fredreichbier> cool!
[20:23:41] <fredreichbier> well the closure part is very similar
[20:23:45] <duckinator> yea
[20:23:46] <shamanas> fredreichbier: the closure thingy is still open though
[20:23:53] <duckinator> the closure part's actually simpler i'm pretty sure
[20:23:53] <shamanas> fredreichbier: y i guess
[20:23:55] <duckinator> well
[20:24:03] <shamanas> duckinator: pretty much the same
[20:24:03] <duckinator> a simpler fix overall, idk about simpler to generate that code ;P
[20:24:13] <fredreichbier> :D
[20:24:22] <shamanas> i will just make sure not to add more fields to functionCall
[20:25:09] <shamanas> i guess botRight will become an Expression instead of a StructLiteral then check for instanceof?(StructLiteral)
[20:26:40] <shamanas> C is stoopid
[20:27:16] <duckinator> shamanas: https://github.com/nddrylliog/rock/issues/311#issuecomment-2020621
[20:27:22] <shamanas> if you have two variables of anon struct type with the same field names and types, you cannot assign the one to another
[20:27:57] <duckinator> there's a reason we're building on top of C, instead of just using C ;D
[20:27:59] <shamanas> dont worry, i know what code should be generated :)
[20:28:27] <duckinator> yea, just thought a comment without any other cruft around it might be helpful in case you're unsure of any details of it ;P
[20:28:32] <duckinator> since it is pretty hideous and all that
[20:28:36] <shamanas> its also the reason i had to assign each field of the varargs structures
[20:29:42] <shamanas> my worries are if that if we have a call of type f()()()() the closures must be assigned in the right order :D
[20:30:17] <shamanas> although
[20:30:24] <duckinator> oh my :P
[20:30:31] <shamanas> it doesnt really matter i guess?
[20:30:38] <shamanas> or does it
[20:30:41] <shamanas> yes it does :P
[20:30:59] <duckinator> well, wouldn't defining them in the order they're called work? :P
[20:31:15] <shamanas> y but i have no control on that
[20:31:22] <duckinator> like w/e's returned by f(), then w/e's returned by f()(), then w/e's returned by f()()(), then w/e's returned by f()()()()?
[20:31:26] <shamanas> i dont know in what order the funcCalls will be written
[20:31:37] <duckinator> hmm
[20:31:39] <shamanas> logically
[20:31:42] <duckinator> this entire thing is a mess :D
[20:31:42] <shamanas> it will be this one
[20:39:51] <shamanas> gtg bb
[20:39:52] *** shamanas has quit IRC
[21:03:31] *** curtism has joined #ooc-lang
[22:51:56] <Nilium> I dislike fiddling with inline assembly
[23:54:31] *** Jetbeard has quit IRC

top