<< 21-09-2013 >>

00:18:05*DAddYE quit (Remote host closed the connection)
00:18:37*DAddYE joined #nimrod
00:22:55*DAddYE quit (Ping timeout: 245 seconds)
01:30:06*ltbarcly quit (Ping timeout: 264 seconds)
02:10:15*q66 quit (Quit: Leaving)
02:34:29*filwit joined #nimrod
02:34:58Araqhey filwit
02:35:13filwithi araq
02:35:15filwitsorry one sec
02:38:24filwithey
02:38:31filwitso how's the conference?
02:38:54filwitstill looking forward to seeing your talk. any idea on when it will be online?
02:40:36Araqno sorry
02:40:45Araqbut I need to give my permissions
02:40:56Araqbefore they can release it
02:41:05filwitno worries, i'll just wait till then
02:41:14Araqthe conference is just superb
02:41:51filwitawesome. that does sound like fun. i'm jealous.
02:41:59filwiti looked into Strangeloop a little more
02:42:19filwitsounds like they have a lot of great talks
02:42:33Araqindeed, lots of experts
02:43:00filwitit's great that Nimrod is having it's first public appearance as well
02:43:07filwit(presentation wise i mean)
02:43:09Araqwith a bit of luck I'll speak again next year ;-)
02:43:51filwiti read your presentation page on the Strangeloop site
02:44:09filwityeah i, i would like to try and make it out there as well
02:44:20AraqI should upload my slides I guess
02:44:29filwit$500 for a ticket is out of my budget, atm
02:44:48Araqso ... it's $500
02:44:51Araqinteresting
02:44:59filwityou must have paid a pretty penny to get an overseas, haha
02:45:09Araq?
02:45:18Araqthey paid for everything ...
02:45:32filwiteven your flight? that's awesome
02:46:19filwitthat's good news :)
02:46:28Araqyes, even the flight
02:46:35filwitlooks like things are going well for Nimrod
02:47:06Araqwe'll see but I'm inclined to agree
02:47:57*MFlamer quit (Ping timeout: 250 seconds)
02:57:12*shodan45 joined #nimrod
03:02:10*brson quit (Read error: Operation timed out)
03:05:13*brson joined #nimrod
03:14:12*dyu joined #nimrod
03:38:47*Yeri joined #nimrod
03:46:16*brson quit (Ping timeout: 245 seconds)
03:48:05*brson joined #nimrod
04:07:56*filwit quit (Quit: Leaving)
04:12:21*Yeri quit (Quit: Yeri)
04:25:25*OrionPK quit (Read error: Connection reset by peer)
04:28:38*Associ8or joined #nimrod
04:30:25*zhtx joined #nimrod
04:30:57*Associat0r quit (Ping timeout: 268 seconds)
05:05:42*brson quit (Quit: leaving)
05:09:48*zhtx quit (Quit: Leaving.)
05:31:44*zhtx joined #nimrod
06:07:16*zhtx quit (Quit: Leaving.)
06:14:57*filwit joined #nimrod
06:15:45filwitis there a way to force inline through a pragma?
06:16:15filwit{.forceinline.} would be nice for the javascript backend if it doesn't already exist
06:17:53*dyu quit (Quit: Leaving)
06:46:44*ltbarcly joined #nimrod
07:04:08*filwit quit (Quit: Leaving)
08:18:03*EXetoC quit (Ping timeout: 248 seconds)
08:46:42*silven joined #nimrod
09:30:34*silven quit (Remote host closed the connection)
09:33:57*silven joined #nimrod
09:56:01*q66 joined #nimrod
10:12:10*dyu joined #nimrod
10:12:43*capisce quit (Ping timeout: 248 seconds)
10:17:46*capisce joined #nimrod
11:28:09*dyu quit (Quit: Leaving)
12:03:34*ltbarcly quit (Quit: Computer has gone to sleep.)
12:07:40*zhtx joined #nimrod
12:12:11*zhtx quit (Ping timeout: 248 seconds)
12:44:24*io2 joined #nimrod
13:04:06*EXetoC joined #nimrod
13:47:05*zhtx joined #nimrod
14:12:18*Guest14108 joined #nimrod
14:38:26*zhtx left #nimrod (#nimrod)
14:39:08*algoban joined #nimrod
14:39:36*algoban left #nimrod (#nimrod)
14:53:59*Guest14108 quit (Ping timeout: 260 seconds)
15:14:55*ltbarcly joined #nimrod
15:17:50*Associ8or quit (Quit: Associ8or)
15:19:13*dyu joined #nimrod
15:19:31*ltbarcly quit (Ping timeout: 256 seconds)
15:25:20*ltbarcly joined #nimrod
15:26:56*Yeri joined #nimrod
15:30:01*ltbarcly quit (Ping timeout: 245 seconds)
15:34:10*Amrykid quit (Excess Flood)
15:34:24*Amrykid joined #nimrod
15:37:20*Amrykid quit (Changing host)
15:37:20*Amrykid joined #nimrod
15:43:10*EXetoC quit (Quit: WeeChat 0.4.1)
15:49:43*Yeri quit (Quit: Yeri)
16:04:15*q66 quit (Quit: Leaving)
16:06:25*q66 joined #nimrod
16:11:39*Amrykid quit (Excess Flood)
16:11:54*Amrykid joined #nimrod
16:13:17*Amrykid quit (Changing host)
16:13:17*Amrykid joined #nimrod
16:13:51*q66 quit (Quit: Leaving)
16:14:02*q66 joined #nimrod
16:41:09*Guest14108 joined #nimrod
17:04:21*filwit joined #nimrod
17:04:41filwithi folks
17:04:56filwitanyone know if there's a way to {.forceinline.} ?
17:05:50dom96use a template?
17:06:18filwithmm.. not a bad idea i guess
17:06:35filwiti want it for the JS backend
17:07:10filwitalso, are there any known limitations with Nimrod's JS backend?
17:07:25filwitbeyond the ones that are listed on the docs
17:08:05filwitalso, hi man :)
17:08:47filwiti was talking to Araq earlier, sounds like he's having a good time at SL
17:09:16filwitand i found a project that I'm thinking about using Nimrod for
17:09:41dom96hey, that's cool
17:09:57filwitit's a web/smart-app project, and if Nimrod allows me to target both, that's awesome (plus writing in Javascript sux ballz)
17:18:33Guest14108does anyone know what the {.pf.} pragma means?
17:28:40dom96Can't say I know much about JS backend. reactormonk might be a better person to ask.
17:29:39filwitk thanks
18:09:12*q66 quit (Quit: Leaving)
18:15:16*q66 joined #nimrod
18:22:11Guest14108Is there a nicer way of unpacking Vector objects other than something than "let x = vec.x \n y = vec.y" ?
18:31:38dom96if Vector is a tuple then you can do: let (x, y) = vec
18:32:27*Guest14108 quit (Ping timeout: 260 seconds)
18:32:31filwitand Vectors should be tuples
18:35:13dom96indeed
19:01:57filwittype People = array[0..4, cstring]
19:02:15filwitlet list: People = ["bob", "joe", ...]
19:02:27filwitmain.nim(7, 21) Error: type mismatch: got (Array constructor[0..4, string]) but expected 'Names'
19:02:29filwitwhy?
19:02:40filwitoh, wait
19:03:07filwitnevermind, was because i was using cstring instead of string
19:05:08filwitbut i want it to work with cstring..
19:05:26filwitanyway to get around that without using a conversion proc?
19:05:38dom96why do you want cstring?
19:06:01filwitit doesn't wrap cstrings in the JS backend, they just appear as normal JS strings
19:06:32filwitactually, fuck it, i dont care
19:06:43filwitit doesn't effect it much
19:23:35*brson joined #nimrod
19:28:15filwithmmm.. one more
19:28:16filwitvar test {.nodecl.}: cstring = "TEST"
19:28:27filwitapp.nim(21, 10) Error: internal error: symbol has no generated name: test
19:28:32filwitNo stack traceback available
19:28:42filwitany way to disable stack traceback?
19:31:47dom96yeah, there is a compiler switch
19:31:53dom96-d:release also does it
19:32:05filwiti'm using -d:release
19:33:14filwiti can do what i need through function calls, but I would like be able to define certain variable in javascript. then have Nimrod just be able to access them
19:33:34filwit(then again, that might not be a good idea for the future when i have the native backend..)
19:34:11filwitjust wondering if it's possible to declare a var in Nimrod, without having it build it into the code
19:34:48dom96maybe what you want is 'const'?
19:35:34filwithmm... i don't think so, but i actually think i need to use procs anyways
19:36:00filwiti'll have two backend to my nimrod code: C & JS
19:36:31filwitso i need to plan around linking with both
19:36:49filwitand procs are probably best suited for passing data
19:38:20dom96why not just write everything in Nimrod? :P
19:39:06filwitwell i can't
19:39:18filwiti'm going to write most everything in nimrod
19:39:36filwitbut i need to control the canvas rendering and stuff natively in JS
19:39:58filwityour right though, for the native version i can just use Nimrod's OpenGL wrappers
19:40:25dom96you could also wrap canvas rendering in Nimrod
19:41:15filwitit'll be more efficient (and probably save me time) if i just have functions i need like "drawImage(x, y, w, h)" etc
19:41:27filwitand then do all the Canvas details inside that function
19:42:24filwithmmm.. one sec though, let me test something
19:43:53*dyu quit (Quit: Leaving)
19:45:01filwitproc log(message:cstring) {.exportc:"console_log", nodecl.} = nil
19:45:01filwitproc app_resize(width, height:int) {.exportc:"app_resize".} =
19:45:01filwit log $width
19:45:01filwit log $height
19:45:12filwitapp.nim(5, 7) Error: type mismatch: got (None, int)
19:45:28filwitit's talking about the line: "log $width"
19:47:32*ltbarcly joined #nimrod
19:47:46filwitany idea on what's messed up in that code?
19:48:28filwitnevermind, i fixed it
19:48:40filwitit was just an issue with $ and brackets
19:48:43dom96I don't think you need the '= nil'
19:51:07filwityeah i didn't either, but it wouldn't compile successfully without it
19:52:05*ltbarcly quit (Ping timeout: 248 seconds)
19:52:30filwitcool.. so i can put any text inside exportc huh? that's useful
19:53:53filwitso you might be right, i can probably just use Nimrod to control most of the canvas stuff, since i'll just have make a wrapper: proc canvas_drawImage(...) {.exportc:"GlobCanvas.drawImage".}
19:54:06filwitwhere GlobCanvas is a JS object
19:54:54filwitnice
20:26:27*p0nce is now known as ponce
20:47:16*filwit quit (Quit: Leaving)
20:58:51*EXetoC joined #nimrod
21:42:04*ltbarcly joined #nimrod
22:23:42*io2 quit ()
22:36:00*OrionPK joined #nimrod
22:38:31*ltbarcly quit (Quit: Computer has gone to sleep.)
22:43:27*ltbarcly joined #nimrod
22:45:21*q66 quit (Quit: Leaving)
22:47:48*ltbarcly quit (Client Quit)
22:51:20*q66 joined #nimrod
23:04:09*EXetoC quit (Quit: WeeChat 0.4.1)
23:22:43*Guest14108 joined #nimrod