<<17-08-2012>>

00:19:09*reactormonk joined #nimrod
00:26:47*Reisen quit (Ping timeout: 246 seconds)
00:31:39*dom96 quit (Ping timeout: 245 seconds)
00:31:42*mal`` quit (Ping timeout: 245 seconds)
00:31:51*dom96_ joined #nimrod
00:32:06*Araq quit (Ping timeout: 245 seconds)
00:32:21*Araq_bnc joined #nimrod
00:38:24*mal`` joined #nimrod
00:39:09*Reisen joined #nimrod
00:39:20*Amrykid quit (Ping timeout: 245 seconds)
00:39:24*Amrykid joined #nimrod
01:08:42*q66 quit (Quit: Quit)
01:10:32*reactormonk quit (Ping timeout: 244 seconds)
01:23:20*Amrykid quit (Changing host)
01:23:20*Amrykid joined #nimrod
02:19:06*XAMPP joined #nimrod
02:43:13*Trixar_za is now known as Trix[a]r_za
05:07:32*Araq_bnc is now known as Araq
05:57:06*Trix[a]r_za is now known as Trixar_za
08:14:38*Amrykid quit (Ping timeout: 245 seconds)
08:14:38*Amrykid joined #nimrod
08:50:44*Trixar_za is now known as Trix[a]r_za
09:32:42*q66 joined #nimrod
09:43:19*|apriori| joined #nimrod
10:38:15*Araq_ joined #nimrod
10:54:19*dom96__ joined #nimrod
12:20:48*|apriori| quit (Remote host closed the connection)
12:29:55*|apriori| joined #nimrod
12:48:32*Trix[a]r_za is now known as Trixar_za
12:49:39*Trixar_za is now known as Trix[a]r_za
13:44:04*zahary quit (Quit: Leaving.)
13:56:51*comex quit (*.net *.split)
13:57:21*dom96__ quit (Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713134347])
13:57:27*comex joined #nimrod
13:57:37*Araq_ quit (Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713134347])
14:00:15|apriori|hey guys.. maybe a stupid question
14:00:24|apriori|what would a simple "pass through" macro look like?
14:00:39fowlwaht does that mean
14:00:54|apriori|a macro that doesnt transform anything
14:00:59|apriori|and just emits its arguments
14:01:55fowlresult = newNimNode(nnkStmtList, body) maybe
14:02:42fowlif body is what yo call the arg
14:03:25|apriori|nope, that doesn't seem to do the right thing
14:03:31|apriori|actually..I'm not even quite sure what it does
14:03:49fowlme neither
14:04:12fowl|apriori|: do echo(treerepr(body)) to see what comes in exactly
14:06:08|apriori|fowl: the ast includes the macrostatement itself, too
14:06:42|apriori|fowl: tried skipping that via body[1], but that doesn't work, either
14:07:34fowltry wrapping it in a stmtlist
14:09:43|apriori|ah
14:09:45|apriori|that works
14:11:00|apriori|thanks
14:11:16fowlyep
14:28:09*Amrykid2 joined #nimrod
14:51:17*Amrykid2 quit (Quit: Page closed)
15:56:48*shevy quit (Ping timeout: 265 seconds)
16:09:13*shevy joined #nimrod
16:33:14dom96_hello
16:33:45*|apriori| quit (Ping timeout: 268 seconds)
16:34:41*dom96_ is now known as dom96
16:34:42*dom96 quit (Changing host)
16:34:42*dom96 joined #nimrod
16:38:25fowlyo
16:41:25dom96sup?
16:42:04dom96brb
17:02:18dom96back
17:13:28*XAMPP quit (Ping timeout: 246 seconds)
17:14:12*dom96 needs to buy a new graphics card
17:14:16dom96Any suggestions?
17:14:57fowlrunning into trouble with generics
17:15:48fowldom96: get one of the new gtx cards
17:16:01*dom96 was thinking of sticking with AMD
17:16:04dom96but hrm
17:18:39dom96fowl: What trouble are you running into?
17:18:47shevyinto aliens
17:19:33*XAMPP joined #nimrod
17:22:25dom96Wait what? "Usually dispatched within 1 to 2 months"
17:22:31dom96That's cool Amazon.
17:23:25fowldom96: i thought i could hav ethe unpack procs like unpack[packettype](): packettype so i could fake passing in the type
17:24:41fowlbut trying to call it gets ambiguous call error
17:25:44dom96hrm
17:26:43dom96What's the exact error?
17:26:49dom96And how are you trying to call that function?
17:29:11fowl Error: ambiguous call; both unpack(s: PStream): InnerPkt and unpack(s: PStream): UnusedP match for: (PStringStream)
17:29:28fowlunpack[InnerPkt](s)
17:30:20dom96And what are the `unpack` functions that you define?
17:32:44fowlhttps://gist.github.com/3342882
17:41:31dom96hrm, right. So you use the macro to generate that proc
17:41:35dom96Damn, that is so confusing.
17:41:59fowllol
17:42:32dom96Only explanation I have for that error is that you're generating two unpack functions
17:42:52dom96oh I see the problem.
17:43:02dom96Nimrod doesn't support return-type overloading yet :P
17:44:01fowli guess i can just name it unpackFoobar() then
17:44:33dom96yeah
17:44:39dom96Forced to unfortunately.
17:55:01*XAMPP quit (Ping timeout: 248 seconds)
18:30:09Araqvar x = p()
18:30:22Araqwhy does everybody want return value overloading?
18:30:45dom96because it's cool obviously
18:30:48Araqit screws local type inference which I consider much more important
18:33:42Araqdom96: Logging library Views: 223
18:33:51Araqdo you know what that means?
18:33:59dom96no?
18:34:11Araqthe pager is not visible enough
18:34:53Araqbecause otherwise we would have an even number of views
18:35:02Araqas there are 2 pages in this thread
18:35:25Araqyou should also start with the last page IMO
18:35:26dom96lol
18:35:37dom96I like your theory
18:35:39Araqit's annoying to click to the last
18:36:07dom96I know
18:36:15dom96and we already said that I would add the pages on the front page
18:36:27Araqyeah true
18:36:30Araqcool cool
18:39:37dom96And it should also indicate if new replies have been made since the last time you've visited the thread
18:40:07Araqtrue but that requires user tracking
18:40:27Araqbut we could only do that for users that are logged in
18:42:33dom96Doesn't require user tracking
18:42:45dom96Save the info as a cookie?
18:48:30Araqah lol
18:48:32Araqyeah
18:48:39*Araq keeps forgetting about cookies
18:49:28dom96Also I need to implement reset password
18:49:33dom96Because I forgot my password haha
18:49:45Araqlol?
18:53:01dom96oh wait
18:53:03dom96Firefox has it saved
18:53:12dom96Well doesn't change the fact :P
19:01:54fowlcool
19:02:18fowlgot sequences working
19:09:08dom96I found something cool for GTK: http://chipx86.github.com/gtkparasite/
19:16:04fowlis there a lib to build the ui from a scheme, preferably not xml
19:16:34fowlthats the most annoying part for me
19:16:44dom96You mean something like Glade?
19:16:57dom96But not XML? As far as I know, no.
19:17:22dom96But Glade should generate it for you anyway
19:17:28dom96You shouldn't need to touch the XML
19:17:44Araqfowl: XML is an industry standard, it has to be good
19:17:49dom96I might someday write a Glade XML to Nimrod code converter is it's possible
19:17:54dom96*if
19:18:29Araqyou can do everything with it thanks to XPATH and XCRAP
19:18:44Araqit's always the best choice
19:18:50Araqand never overly verbose
19:18:51fowllol
19:20:14Araqparasite looks nice but then you have to hack around in python ...
19:20:45Araqwhich is a problem if you never used pygtk ...
19:20:49dom96It's just for inspecting things anyway
19:21:11fowlinstalling 0ad, 5ball, 7kaa, a7xpg because they're at the top of the list lol
19:21:20fowlhopefully one of these games will be fun
19:22:44Araqso who played with the new varargs feature?
19:22:53Araqand how come I'm so proud of it?
19:25:37dom96Because it's a cool feature :)
19:26:50AraqI think it's because no other PL has it :P
19:27:08Araqwell at least I'm not aware of it
19:28:27dom96true
19:30:33fowlwhats up with varargs
19:31:15Araqhttp://forum.nimrod-code.org/t/52/2
19:31:19Araqread my last post
19:34:05dom96Damn.
19:34:11dom96Parasite is actually very cool
19:35:28dom96I can properties of every widget on the fly.
19:50:29dom96ARGH
19:50:35dom96Just realised i missed a word
19:50:48Araqso what
19:50:54AraqI understood it anyway
20:07:23dom96Aww, why can't I do: (?<=v_*a_*r_*) in regex?
20:07:40dom96I suppose lookbehind only allows characters.
20:07:45dom96Any ideas how to get around that?
20:08:05Araqwhat do you want to accomplish?
20:08:42dom96Match "TType" in "var foo: TType"
20:08:42dom96:P
20:09:40fowl:\s*(T|P)[A-Za-z0-9_]+
20:10:01fowlbut it also colors the :
20:10:07Araqif x: bla
20:10:16dom96Yeah, I don't want to match that
20:10:20dom96*want it
20:11:04Araqbrb
20:11:15Araqer, be back in an hour :P
20:11:29dom96:(
20:26:47dom96I think I figured it out
20:27:02dom96Highlighting the type in type definitions is practically impossible I think
20:27:09dom96With regex at least
20:28:23fowljust use (T|P)[^\s]+
20:29:00dom96Not good enough for me :P
20:29:32dom96The language doesn't enforce that convention
20:30:13fowlyeah but you could say that's the standard
20:31:01dom96And btw there is also E for exceptions
20:31:10dom96and I suppose I for interfaces might take off
20:31:22dom96Doesn't seem like a reliable way
20:35:07fowlit looks better than nothing: http://i.cubeupload.com/I8J1F9.png
20:36:44dom96I suppose
20:36:52dom96meh
20:36:59*dom96 just sticks to coloring built in types
22:11:58AraqEpic Games worked with Adobe to take advantage of the Flash Runtime C++ Compiler to bring Unreal Engine 3 to the web. The same breathtaking game engine that powers best-selling Xbox 360 and PlayStation 3 games like Gears of War 3, Borderlands, and Mass Effect 3 now runs on one billion computers (see a video).
22:11:59AraqBy taking advantage of Stage3D hardware acceleration in Flash Player, C/C++ content like Epic Citadel can run directly across browsers with stunning efficiency. Experience it yourself, and welcome to a new level of gaming on your favorite websites.
22:12:20*Araq presses "launch epic citadel"
22:12:31Araq"You appear to be using the incorrect version of the Flash Plug-In required for this content. This version requires Adobe Flash 11.2."
22:12:38Araq:P
22:12:43*Araq is underwhelmed
22:16:04*dom96 is going to try gaikai
22:16:57Araqbillions of computers he?
22:17:04Araqmine is not among those
22:28:16Araqgood night
22:28:24dom96bye
22:28:32dom96You'll be here tomorrow
22:28:34dom96Right?
22:28:38Araqyes
22:42:48*Trix[a]r_za is now known as Trixar_za
23:01:21fowlhttps://gist.github.com/3356675
23:01:29fowl:D
23:07:51dom96aww
23:07:56dom96I was expecting Nimrod
23:16:29fowlhey dom how come only recvline is exposed in asyncio
23:16:41fowli cant do recvfrom
23:16:45fowlor recv()
23:18:05dom96You can
23:18:07*Trixar_za is now known as Trix[a]r_za
23:18:09dom96Just import sockets
23:18:28dom96There is a converter
23:18:44dom96Which converts an PAsyncSocket to a TSocket automatically
23:18:55dom96So all TSocket function should work on it too
23:21:31dom96But be careful
23:21:39dom96Use *async functions if you can
23:21:55fowlah ok