00:11:04 | * | ulyssesdwolfe quit (Quit: ChatZilla 0.9.92 [Firefox 41.0.2/20151014143721]) |
00:28:15 | * | milton quit (Ping timeout: 244 seconds) |
00:38:39 | * | coryg quit (Ping timeout: 240 seconds) |
00:39:58 | * | coryg joined #nim |
00:40:11 | * | toad joined #nim |
00:40:22 | toad | Dom96 ping |
00:47:28 | * | Varriount_ joined #nim |
00:49:16 | * | jakesyl quit (Ping timeout: 246 seconds) |
00:49:26 | * | Varriount quit (Ping timeout: 244 seconds) |
00:50:28 | * | yglukhov joined #nim |
00:54:42 | * | yglukhov quit (Ping timeout: 250 seconds) |
01:00:28 | * | toad quit (Remote host closed the connection) |
01:01:04 | * | toad joined #nim |
01:02:33 | * | jakesyl joined #nim |
01:42:07 | * | jaco60 quit (Ping timeout: 246 seconds) |
02:17:06 | * | pregressive quit (Remote host closed the connection) |
02:23:17 | * | pregressive joined #nim |
02:51:51 | * | yglukhov joined #nim |
02:56:02 | * | yglukhov quit (Ping timeout: 250 seconds) |
02:58:18 | * | coryg quit (Ping timeout: 240 seconds) |
03:01:32 | * | coryg joined #nim |
03:07:31 | * | coryg quit (Ping timeout: 246 seconds) |
03:10:41 | * | coryg joined #nim |
03:19:38 | * | coryg quit (Ping timeout: 240 seconds) |
03:21:07 | * | coryg joined #nim |
03:23:43 | * | pregressive quit (Remote host closed the connection) |
03:26:12 | * | Varriount_ quit (Ping timeout: 255 seconds) |
03:27:05 | * | Varriount joined #nim |
03:34:06 | * | pregressive joined #nim |
03:41:37 | * | makoLine joined #nim |
03:53:24 | * | darkf joined #nim |
03:56:33 | * | pregressive quit (Remote host closed the connection) |
04:18:00 | * | Miruya joined #nim |
04:31:40 | * | toad quit (Quit: May good code rain from your keyboard!) |
04:41:03 | * | ryban joined #nim |
04:53:23 | * | yglukhov joined #nim |
04:57:48 | * | yglukhov quit (Ping timeout: 250 seconds) |
05:19:18 | * | coryg quit (Ping timeout: 240 seconds) |
05:32:46 | * | coryg joined #nim |
05:35:34 | * | Demos quit (Read error: Connection reset by peer) |
05:59:51 | * | desophos quit (Read error: Connection reset by peer) |
06:06:01 | * | yglukhov joined #nim |
06:07:12 | * | zepolen joined #nim |
06:08:19 | * | Kingsquee quit (Quit: https://i.imgur.com/qicT3GK.gif) |
06:09:13 | * | woadwarrior joined #nim |
06:10:36 | * | yglukhov quit (Ping timeout: 250 seconds) |
06:28:34 | * | Miruya quit (Quit: Page closed) |
06:37:31 | * | coryg quit (Ping timeout: 246 seconds) |
06:58:13 | * | bjz joined #nim |
07:02:03 | * | gokr joined #nim |
07:03:04 | * | bjz quit (Ping timeout: 246 seconds) |
07:26:59 | * | yglukhov joined #nim |
07:31:33 | * | bjz joined #nim |
07:32:29 | * | bjz quit (Client Quit) |
07:37:49 | * | gokr quit (Ping timeout: 250 seconds) |
07:41:03 | * | bjz joined #nim |
07:43:36 | * | makoLine quit (Ping timeout: 255 seconds) |
07:45:02 | * | gokr joined #nim |
07:47:36 | * | zepolen quit (Remote host closed the connection) |
07:50:27 | * | Trustable joined #nim |
07:52:01 | * | zepolen joined #nim |
07:53:34 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
07:54:47 | * | ryban quit (Quit: Leaving) |
07:55:41 | * | makoLine joined #nim |
07:58:37 | pigmej | clear |
07:59:59 | * | bjz joined #nim |
08:03:34 | * | milton joined #nim |
08:13:45 | * | bjz quit (Ping timeout: 255 seconds) |
08:15:33 | * | bjz joined #nim |
08:16:39 | * | Arrrr joined #nim |
08:21:10 | * | bjz quit (Ping timeout: 240 seconds) |
08:24:56 | * | bjz joined #nim |
08:30:43 | * | Demon_Fox quit (Remote host closed the connection) |
08:31:46 | dom96 | You guys can tune into OSCON at oscon.com/live from home :) |
08:35:06 | * | nande quit (Remote host closed the connection) |
08:38:38 | * | Arrrr quit (Ping timeout: 268 seconds) |
09:05:30 | * | coffeepot joined #nim |
09:07:58 | * | k1i joined #nim |
09:19:47 | * | makoLine quit (Ping timeout: 256 seconds) |
09:25:34 | * | woadwarrior quit (Quit: Textual IRC Client: www.textualapp.com) |
09:38:25 | * | Arrrr joined #nim |
09:42:42 | Arrrr | http://conferences.oreilly.com/oscon/open-source-eu-2015/public/schedule/speaker/200913 |
09:42:50 | Arrrr | How many hours until he speaks? |
09:45:02 | * | gokr quit (Quit: Leaving.) |
09:48:50 | * | milton left #nim (#nim) |
09:56:37 | * | bjz_ joined #nim |
09:57:45 | * | bjz quit (Ping timeout: 256 seconds) |
10:11:47 | * | linkedinyou quit (Read error: Connection reset by peer) |
10:20:50 | federico3 | will there be videos after that? |
10:21:25 | federico3 | "This video compilation will be available for purchase about three weeks after the conference ends" |
10:21:34 | federico3 | appalling |
10:40:42 | * | bjz_ quit (Ping timeout: 260 seconds) |
10:42:12 | * | bjz joined #nim |
11:39:53 | * | boopsiesisaway is now known as boopsies |
11:48:14 | * | profan quit (Remote host closed the connection) |
12:29:44 | * | elrood joined #nim |
13:11:08 | * | toad joined #nim |
13:14:09 | * | toad quit (Client Quit) |
13:21:45 | * | strcmp1 quit (Ping timeout: 240 seconds) |
13:38:42 | * | linkedinyou joined #nim |
13:53:18 | * | BitPuffin joined #nim |
13:54:08 | * | BitPuffin quit (Read error: Connection reset by peer) |
13:54:33 | * | BitPuffin joined #nim |
14:02:49 | * | linkedinyou quit (Read error: Connection reset by peer) |
14:10:16 | Araq | federico3: chances are good we can finally upload the oscon tutorial on youtube the coming days |
14:15:34 | * | Jesin quit (Quit: Leaving) |
14:18:04 | * | Demos joined #nim |
14:19:01 | Demos | hey, so I notice that inc(x,y) does not work when x and y are floats. Is this intended? |
14:19:12 | Demos | I expected inc(x,y) to be the same as x += y |
14:20:06 | * | strcmp1 joined #nim |
14:27:25 | * | askatasuna joined #nim |
14:35:41 | * | Demos quit (Ping timeout: 265 seconds) |
14:40:53 | Arrrr | Will nim have this? https://www.reddit.com/r/programming/comments/3q966h/10_features_in_c_that_you_really_should_learn_and/cwdd3l2 |
14:43:14 | * | darkf_ joined #nim |
14:46:19 | * | darkf quit (Ping timeout: 240 seconds) |
14:52:20 | * | Jesin joined #nim |
14:57:41 | * | pregressive joined #nim |
14:58:50 | Araq | Arrrr: we have 9 out 10 from this list. |
14:58:57 | * | darkf_ is now known as darkf |
14:59:25 | Araq | we lack "nameof" expression though perhaps you can hack something like this via a macro |
14:59:37 | Araq | I think you can. |
15:01:23 | * | pregressive quit (Remote host closed the connection) |
15:03:26 | coffeepot | I like the string interpolation. Is there anything to interpolate expressions in strings with Nim? I know we have % from strutils but the C# version seems more powerful. Seems like something Nim could do though. |
15:03:51 | Araq | we have a nimble package that can do everything you can think of |
15:04:02 | Araq | keep forgetting its name though. |
15:04:13 | Araq | strformat? strfrmt? |
15:04:16 | Araq | nimfrmt? |
15:04:19 | Araq | something like that |
15:04:46 | Araq | in Nim we don't have to bake these things into the language, we have a macro system. |
15:05:24 | coffeepot | Cool :) i think that's one of the problems, not being aware of the cool packages available already |
15:06:17 | * | gokr joined #nim |
15:08:33 | coffeepot | ace, found it on your suggestion here https://lyro.bitbucket.org/strfmt/ |
15:12:04 | Arrrr | Araq: is not a feature from that page, my link is for a comment. In nim would be: 'if animal of Dog: animal.bar#Auto cast inside if# |
15:12:11 | * | linkedinyou joined #nim |
15:12:39 | Arrrr | And yeah, with templates/macros i suppose is easy, but i see it essential |
15:12:55 | Arrrr | *animal.bark |
15:13:16 | Araq | Arrrr: hm. we could do that with our flow typing. |
15:13:46 | Araq | but yeah, just create a template for it and call it a day. |
15:13:50 | Araq | bbl |
15:28:07 | Arrrr | Yep http://ideone.com/dCF6RI |
15:39:36 | coffeepot | nice |
15:44:30 | * | strcmp1 quit (Remote host closed the connection) |
15:46:30 | * | pregressive joined #nim |
16:18:41 | * | joelmo joined #nim |
16:23:58 | * | desophos joined #nim |
17:10:46 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
17:17:01 | * | AckZ joined #nim |
17:40:27 | * | yglukhov quit (Ping timeout: 252 seconds) |
17:50:32 | * | desophos quit (Remote host closed the connection) |
17:52:39 | * | desophos joined #nim |
17:57:13 | * | vqrs quit (Max SendQ exceeded) |
17:58:28 | * | desophos quit (Remote host closed the connection) |
17:59:31 | * | vqrs joined #nim |
18:25:13 | * | yglukhov joined #nim |
18:29:46 | * | yglukhov quit (Ping timeout: 272 seconds) |
18:32:48 | * | darkf quit (Quit: Leaving) |
18:38:47 | * | Matthias247 joined #nim |
18:41:16 | * | buMPnet joined #nim |
18:46:49 | * | solidsnack joined #nim |
18:47:29 | * | buMPnet quit (Read error: Connection reset by peer) |
18:48:42 | * | buMPnet joined #nim |
18:50:32 | * | buMPnet quit (Remote host closed the connection) |
18:58:52 | * | strcmp1 joined #nim |
19:05:51 | * | yglukhov joined #nim |
19:09:44 | * | Kingsquee joined #nim |
19:10:45 | * | makoLine joined #nim |
19:12:14 | * | joelmo quit (Quit: Connection closed for inactivity) |
19:16:00 | * | skalpin joined #nim |
19:17:14 | AckZ | is this expected behavior? https://gist.github.com/jmcnevin/a6fd894f0ea05afa2dc0 |
19:20:10 | * | vendethiel joined #nim |
19:21:59 | Araq | hi AckZ |
19:23:24 | Araq | looks wrong, but also looks like some problem we inherited from ansi C |
19:25:07 | Araq | I think timeInfoToTime translates the time to your local time or something |
19:25:24 | Araq | ... and failing at it ? |
19:25:41 | Araq | or maybe your local time zone is ahead by 69 years |
19:25:55 | AckZ | hehe, pretty sure that's not it :) |
19:26:52 | Araq | for me your program crashes |
19:27:43 | Araq | looks like insufficient error checking somewhere |
19:35:19 | * | elrood quit (Quit: Leaving) |
19:39:10 | * | yglukhov quit (Remote host closed the connection) |
19:39:10 | * | desophos joined #nim |
19:40:58 | * | vqrs quit (Max SendQ exceeded) |
19:42:17 | * | vqrs joined #nim |
19:46:05 | Araq | AckZ: for me localtime returns NULL even though it's not allowed to do that ... |
19:47:20 | makoLine | Er, is implicit conversion from uint to int supposed to work? Version 0.11.2. It does not happen. Is there a sandbox online where I can try small sections of nim code against the nightly? |
19:47:42 | * | strcmp1 quit (Remote host closed the connection) |
19:49:37 | Araq | no, it can lose information |
19:50:02 | * | Demon_Fox joined #nim |
19:52:16 | * | BitPuffin quit (Ping timeout: 265 seconds) |
19:56:37 | * | filcuc joined #nim |
19:56:49 | * | yglukhov joined #nim |
20:04:05 | makoLine | o_o Oh. I expected it to be a no op. |
20:09:07 | Araq | well uint covers a diffferent range of values |
20:09:36 | Araq | so on the cpu instruction level, it might be a no op, but that doesn't mean that it is wise to do |
20:12:26 | * | Arrrr quit (Quit: WeeChat 1.2) |
20:21:08 | * | desophos quit (Remote host closed the connection) |
20:24:08 | * | desophos joined #nim |
20:24:38 | * | nchambers is now known as agent_nchambers |
20:26:31 | * | aziz joined #nim |
20:27:31 | * | agent_nchambers is now known as nchambers |
20:40:00 | * | jaco60 joined #nim |
20:45:17 | desophos | i'm confused about how to use sdl2.addEventWatch; it takes args of types EventFilter and pointer, and i don't know how to create either of these. i tried passing it a proc with the same params and return type but i still got a type mismatch |
20:45:42 | desophos | i read through the relevant sections in the manual but still don't understand how to handle this |
20:46:47 | desophos | the EventFilter type declaration is `EventFilter* = proc (userdata: pointer; event: ptr Event): Bool32 {.cdecl.}` |
20:46:50 | * | themagician quit (Ping timeout: 240 seconds) |
20:47:51 | desophos | and addEventWatch is `proc addEventWatch*(filter: EventFilter; userdata: pointer) {.importc: "SDL_AddEventWatch".}` |
20:51:37 | * | themagician joined #nim |
21:03:05 | * | gmpreussner|work joined #nim |
21:14:41 | * | Varriount_ joined #nim |
21:15:16 | * | Ven joined #nim |
21:15:24 | * | Varriount quit (Ping timeout: 255 seconds) |
21:18:14 | * | filcuc quit (Ping timeout: 272 seconds) |
21:20:42 | * | Ven quit (Read error: Connection reset by peer) |
21:24:05 | * | Ven joined #nim |
21:25:10 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
21:27:47 | * | Ven quit (Client Quit) |
21:33:11 | * | desophos quit (Remote host closed the connection) |
21:33:46 | * | desophos joined #nim |
21:37:08 | * | desophos quit (Remote host closed the connection) |
21:37:26 | * | desophos joined #nim |
21:38:29 | * | askatasuna quit (Ping timeout: 250 seconds) |
21:41:48 | * | dashed joined #nim |
21:57:01 | * | zepolen quit (Remote host closed the connection) |
21:59:52 | * | Demos joined #nim |
22:02:31 | * | Trustable quit (Remote host closed the connection) |
22:12:05 | * | pregressive quit (Remote host closed the connection) |
22:20:21 | * | vendethiel quit (Quit: q+) |
22:21:47 | * | jaco60 quit (Ping timeout: 264 seconds) |
22:59:02 | * | solidsnack quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
23:03:45 | * | aziz quit (Remote host closed the connection) |
23:15:59 | * | jakesyl quit (Ping timeout: 240 seconds) |
23:17:00 | * | gokr quit (Quit: Leaving.) |
23:28:53 | * | ochkoffein quit (Quit: -----------------------------------------------) |
23:29:18 | * | jakesyl joined #nim |
23:29:26 | * | nande joined #nim |
23:31:18 | * | lazypenguin quit (Remote host closed the connection) |
23:37:25 | * | yglukhov quit (Remote host closed the connection) |
23:37:34 | desophos | why can't i index tables with enums? |
23:40:36 | Araq | desophos: because they don't define a 'hash' proc? |
23:41:03 | Araq | you can easily define your own for 'enum' but it's kinda stupid since an array[MyEnum, T] is faster anyway |
23:42:21 | desophos | but enum values are ordinal, so i assumed they could be used as indexes |
23:42:23 | desophos | oh |
23:42:29 | desophos | hmmm |
23:42:32 | desophos | i was using a table |
23:43:06 | desophos | i guess an array would be exactly the same since there are only a set number of indices |
23:43:13 | desophos | well, exactly the same functionally |
23:44:31 | desophos | didn't think of that :) thanks Araq |
23:44:32 | * | boopsies is now known as boopsiesisaway |
23:44:45 | Varriount_ | Araq: ? |
23:44:53 | * | Varriount_ is now known as Varriount |
23:46:04 | * | mrkishi quit (Remote host closed the connection) |
23:46:31 | * | solidsnack joined #nim |
23:48:57 | * | mrkishi joined #nim |
23:53:14 | Araq | Varriount: well travis can produce the .tar.xz |
23:53:22 | Araq | but I cannot download it -.- |
23:57:12 | * | lazypenguin joined #nim |
23:59:13 | * | coryg joined #nim |