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:58 | Araq | hey filwit |
02:35:13 | filwit | hi araq |
02:35:15 | filwit | sorry one sec |
02:38:24 | filwit | hey |
02:38:31 | filwit | so how's the conference? |
02:38:54 | filwit | still looking forward to seeing your talk. any idea on when it will be online? |
02:40:36 | Araq | no sorry |
02:40:45 | Araq | but I need to give my permissions |
02:40:56 | Araq | before they can release it |
02:41:05 | filwit | no worries, i'll just wait till then |
02:41:14 | Araq | the conference is just superb |
02:41:51 | filwit | awesome. that does sound like fun. i'm jealous. |
02:41:59 | filwit | i looked into Strangeloop a little more |
02:42:19 | filwit | sounds like they have a lot of great talks |
02:42:33 | Araq | indeed, lots of experts |
02:43:00 | filwit | it's great that Nimrod is having it's first public appearance as well |
02:43:07 | filwit | (presentation wise i mean) |
02:43:09 | Araq | with a bit of luck I'll speak again next year ;-) |
02:43:51 | filwit | i read your presentation page on the Strangeloop site |
02:44:09 | filwit | yeah i, i would like to try and make it out there as well |
02:44:20 | Araq | I should upload my slides I guess |
02:44:29 | filwit | $500 for a ticket is out of my budget, atm |
02:44:48 | Araq | so ... it's $500 |
02:44:51 | Araq | interesting |
02:44:59 | filwit | you must have paid a pretty penny to get an overseas, haha |
02:45:09 | Araq | ? |
02:45:18 | Araq | they paid for everything ... |
02:45:32 | filwit | even your flight? that's awesome |
02:46:19 | filwit | that's good news :) |
02:46:28 | Araq | yes, even the flight |
02:46:35 | filwit | looks like things are going well for Nimrod |
02:47:06 | Araq | we'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:45 | filwit | is there a way to force inline through a pragma? |
06:16:15 | filwit | {.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:41 | filwit | hi folks |
17:04:56 | filwit | anyone know if there's a way to {.forceinline.} ? |
17:05:50 | dom96 | use a template? |
17:06:18 | filwit | hmm.. not a bad idea i guess |
17:06:35 | filwit | i want it for the JS backend |
17:07:10 | filwit | also, are there any known limitations with Nimrod's JS backend? |
17:07:25 | filwit | beyond the ones that are listed on the docs |
17:08:05 | filwit | also, hi man :) |
17:08:47 | filwit | i was talking to Araq earlier, sounds like he's having a good time at SL |
17:09:16 | filwit | and i found a project that I'm thinking about using Nimrod for |
17:09:41 | dom96 | hey, that's cool |
17:09:57 | filwit | it'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:33 | Guest14108 | does anyone know what the {.pf.} pragma means? |
17:28:40 | dom96 | Can't say I know much about JS backend. reactormonk might be a better person to ask. |
17:29:39 | filwit | k thanks |
18:09:12 | * | q66 quit (Quit: Leaving) |
18:15:16 | * | q66 joined #nimrod |
18:22:11 | Guest14108 | Is there a nicer way of unpacking Vector objects other than something than "let x = vec.x \n y = vec.y" ? |
18:31:38 | dom96 | if Vector is a tuple then you can do: let (x, y) = vec |
18:32:27 | * | Guest14108 quit (Ping timeout: 260 seconds) |
18:32:31 | filwit | and Vectors should be tuples |
18:35:13 | dom96 | indeed |
19:01:57 | filwit | type People = array[0..4, cstring] |
19:02:15 | filwit | let list: People = ["bob", "joe", ...] |
19:02:27 | filwit | main.nim(7, 21) Error: type mismatch: got (Array constructor[0..4, string]) but expected 'Names' |
19:02:29 | filwit | why? |
19:02:40 | filwit | oh, wait |
19:03:07 | filwit | nevermind, was because i was using cstring instead of string |
19:05:08 | filwit | but i want it to work with cstring.. |
19:05:26 | filwit | anyway to get around that without using a conversion proc? |
19:05:38 | dom96 | why do you want cstring? |
19:06:01 | filwit | it doesn't wrap cstrings in the JS backend, they just appear as normal JS strings |
19:06:32 | filwit | actually, fuck it, i dont care |
19:06:43 | filwit | it doesn't effect it much |
19:23:35 | * | brson joined #nimrod |
19:28:15 | filwit | hmmm.. one more |
19:28:16 | filwit | var test {.nodecl.}: cstring = "TEST" |
19:28:27 | filwit | app.nim(21, 10) Error: internal error: symbol has no generated name: test |
19:28:32 | filwit | No stack traceback available |
19:28:42 | filwit | any way to disable stack traceback? |
19:31:47 | dom96 | yeah, there is a compiler switch |
19:31:53 | dom96 | -d:release also does it |
19:32:05 | filwit | i'm using -d:release |
19:33:14 | filwit | i 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:34 | filwit | (then again, that might not be a good idea for the future when i have the native backend..) |
19:34:11 | filwit | just wondering if it's possible to declare a var in Nimrod, without having it build it into the code |
19:34:48 | dom96 | maybe what you want is 'const'? |
19:35:34 | filwit | hmm... i don't think so, but i actually think i need to use procs anyways |
19:36:00 | filwit | i'll have two backend to my nimrod code: C & JS |
19:36:31 | filwit | so i need to plan around linking with both |
19:36:49 | filwit | and procs are probably best suited for passing data |
19:38:20 | dom96 | why not just write everything in Nimrod? :P |
19:39:06 | filwit | well i can't |
19:39:18 | filwit | i'm going to write most everything in nimrod |
19:39:36 | filwit | but i need to control the canvas rendering and stuff natively in JS |
19:39:58 | filwit | your right though, for the native version i can just use Nimrod's OpenGL wrappers |
19:40:25 | dom96 | you could also wrap canvas rendering in Nimrod |
19:41:15 | filwit | it'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:27 | filwit | and then do all the Canvas details inside that function |
19:42:24 | filwit | hmmm.. one sec though, let me test something |
19:43:53 | * | dyu quit (Quit: Leaving) |
19:45:01 | filwit | proc log(message:cstring) {.exportc:"console_log", nodecl.} = nil |
19:45:01 | filwit | proc app_resize(width, height:int) {.exportc:"app_resize".} = |
19:45:01 | filwit | log $width |
19:45:01 | filwit | log $height |
19:45:12 | filwit | app.nim(5, 7) Error: type mismatch: got (None, int) |
19:45:28 | filwit | it's talking about the line: "log $width" |
19:47:32 | * | ltbarcly joined #nimrod |
19:47:46 | filwit | any idea on what's messed up in that code? |
19:48:28 | filwit | nevermind, i fixed it |
19:48:40 | filwit | it was just an issue with $ and brackets |
19:48:43 | dom96 | I don't think you need the '= nil' |
19:51:07 | filwit | yeah i didn't either, but it wouldn't compile successfully without it |
19:52:05 | * | ltbarcly quit (Ping timeout: 248 seconds) |
19:52:30 | filwit | cool.. so i can put any text inside exportc huh? that's useful |
19:53:53 | filwit | so 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:06 | filwit | where GlobCanvas is a JS object |
19:54:54 | filwit | nice |
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 |