00:00:44 | fowl | filwit, thanks, i dont know for sure that overloading deref works anyways |
00:03:11 | dom96 | filwit: is 5 valid syntax? |
00:03:16 | dom96 | *line 5 |
00:07:44 | * | NimBot joined #nim |
00:39:54 | * | Kingsquee joined #nim |
00:58:28 | * | wb_ joined #nim |
00:58:50 | filwit | dom96: eh.. one sec let me look |
00:59:29 | filwit | dom96: yeah? what looks wrong about line 5? |
00:59:50 | * | wb quit (Ping timeout: 240 seconds) |
01:23:41 | * | wuehlmaus quit (Quit: Lost terminal) |
01:30:14 | * | wb_ quit (Ping timeout: 272 seconds) |
02:00:30 | * | brson joined #nim |
02:20:34 | * | bogen quit (Quit: Leaving.) |
02:20:55 | * | bogen joined #nim |
02:50:36 | * | filwit quit (Quit: Leaving) |
02:51:41 | Varriount | reactormonk: ping |
03:03:31 | * | Varriount quit (Read error: Connection reset by peer) |
03:13:50 | * | brson quit (Ping timeout: 240 seconds) |
03:15:03 | * | brson joined #nim |
03:19:07 | * | flaviu quit (Ping timeout: 256 seconds) |
03:22:27 | * | brson quit (Ping timeout: 260 seconds) |
03:23:00 | * | darkf joined #nim |
03:23:19 | * | brson joined #nim |
03:24:04 | * | flaviu joined #nim |
03:54:01 | porglezomp | Is there a heap / priority queue in the standard library? |
03:58:07 | * | fowl is now known as notfowl |
04:01:19 | renesac | porglezomp: http://forum.nim-lang.org/t/1244 |
04:02:32 | * | strcmp1 quit (Quit: Leaving) |
04:20:19 | * | xificurC quit (Ping timeout: 256 seconds) |
04:28:12 | * | vegansk joined #nim |
04:28:47 | * | Kingsquee quit (Read error: Connection reset by peer) |
04:29:14 | * | Kingsquee joined #nim |
04:42:46 | * | brson quit (Ping timeout: 240 seconds) |
04:56:54 | * | vendethiel joined #nim |
04:59:48 | * | Demon_Fox quit (Quit: Leaving) |
05:04:28 | * | bogen quit (Read error: Connection reset by peer) |
05:08:54 | * | Demon_Fox joined #nim |
05:11:14 | * | boopisaway is now known as boop |
05:11:16 | * | boop is now known as boopisaway |
05:21:09 | * | zaquest quit (Quit: Leaving) |
05:21:51 | * | vendethiel quit (Ping timeout: 255 seconds) |
05:40:29 | * | bogen joined #nim |
06:13:33 | * | yglukhov joined #nim |
06:15:55 | * | yglukhov quit (Remote host closed the connection) |
06:19:52 | * | kas joined #nim |
06:28:31 | * | yglukhov joined #nim |
06:30:16 | * | jszymanski joined #nim |
07:08:56 | * | Ven joined #nim |
07:28:00 | * | porglezomp quit (Ping timeout: 264 seconds) |
07:33:03 | * | xificurC joined #nim |
07:58:01 | * | kas quit (Ping timeout: 244 seconds) |
07:59:57 | * | coffeepot joined #nim |
08:28:52 | * | dalarmmst quit (Ping timeout: 272 seconds) |
08:30:29 | * | wuehlmaus joined #nim |
08:40:37 | * | Trustable joined #nim |
08:40:39 | * | wb joined #nim |
08:43:31 | * | BitPuffin|osx quit (Ping timeout: 260 seconds) |
08:58:37 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
09:14:45 | * | gimireh joined #nim |
09:15:38 | * | bogen quit (Read error: Connection reset by peer) |
09:18:27 | * | Demon_Fox quit (Quit: Leaving) |
09:20:30 | Araq | hi gimireh welcome |
09:23:07 | * | ChrisMAN quit (Ping timeout: 265 seconds) |
09:27:40 | federico3 | hi infinity0 |
09:30:18 | * | MatrixBridge quit (Ping timeout: 272 seconds) |
09:33:34 | * | MatrixBridge joined #nim |
09:42:36 | * | gimireh quit (Remote host closed the connection) |
09:43:50 | * | gimireh joined #nim |
09:44:06 | * | gimireh quit (Remote host closed the connection) |
09:44:55 | * | gimireh joined #nim |
09:45:07 | * | gimireh quit (Remote host closed the connection) |
09:45:26 | coffeepot | is there any function about that converts a unicode rune to a widechar (aka utf16)? |
09:46:07 | coffeepot | I mean, I don't think I can just cast it, not quite sure how to do it :/ |
09:46:30 | Araq | dunno, there is unicode.nim and encodings.nim |
09:47:06 | Araq | widechar is a disease |
09:47:22 | coffeepot | tell that to sql server ;) |
09:47:41 | Araq | wideCstrings are utf-16 based |
09:47:41 | coffeepot | at first glance looks like encodings.nim is what I want :) |
09:48:53 | coffeepot | I am trying to put a seq[rune] into a buffer than expects widestring |
09:49:23 | Araq | I told you to not use seq[rune], use string instead and convert it iva newWideCString |
09:49:48 | Araq | nothing uses seq[rune] anyway |
09:52:24 | coffeepot | okay, i'll see how it goes with just string. I just wish sql server could deliver utf8 like every other db |
09:53:07 | * | xcombelle joined #nim |
09:56:38 | * | Ven joined #nim |
10:03:19 | * | gokr joined #nim |
10:06:37 | * | Ven quit (Remote host closed the connection) |
10:08:42 | * | Ven joined #nim |
10:12:26 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
10:14:04 | * | coffeepot joined #nim |
10:48:35 | * | bogen joined #nim |
11:06:50 | * | xet7 quit (Quit: Leaving) |
11:21:43 | infinity0 | federico3: hi |
11:33:16 | infinity0 | Araq: how are you picking platform names in compiler/platform.nim? from any specific published standards, or just making them up? |
11:33:52 | infinity0 | specifically, the CPU names |
11:44:44 | * | boopisaway is now known as boop |
12:07:09 | * | dalarmmst joined #nim |
12:12:01 | infinity0 | gonna try building nim on hurd-i386, lol |
12:14:01 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
12:16:14 | * | vegansk quit (Quit: Ухожу я от вас (xchat 2.4.5 или старше)) |
12:16:35 | Araq | infinity0: it's been a long time since I picked the names, cannot remember |
12:17:30 | Araq | I guess I made them up, but amd64 is from some linux guys who argued it should give credit to amd |
12:19:23 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
12:19:42 | * | coffeepots joined #nim |
12:22:01 | * | Ven joined #nim |
12:25:12 | infinity0 | Araq: i see ok thanks |
12:26:29 | infinity0 | getting this debian package to build on multiple architectures, i guess i'll just use a manual translation table for now |
12:26:52 | infinity0 | federico3: got another version, tested on kfreebsd-amd64 https://mentors.debian.net/package/nim but hopefully also works on arm etc |
12:27:13 | infinity0 | also pushed it to git, please sponsor https://anonscm.debian.org/cgit/collab-maint/nim.git/log/?h=_volatile_rc |
12:35:30 | * | coffeepots quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
12:36:10 | * | dalarmmst quit (Ping timeout: 240 seconds) |
12:40:12 | * | Ven quit (Read error: No route to host) |
12:44:40 | * | FedeOmoto joined #nim |
12:45:16 | * | Ven joined #nim |
12:51:11 | * | coffeepot joined #nim |
12:52:28 | * | strcmp1 joined #nim |
12:54:52 | * | porglezomp joined #nim |
12:56:09 | * | dalarmmst joined #nim |
12:59:33 | * | wb quit (Read error: Connection reset by peer) |
13:57:59 | * | Ven quit (Remote host closed the connection) |
14:11:10 | * | polde quit (Ping timeout: 258 seconds) |
14:11:48 | * | Demos joined #nim |
14:15:06 | * | Ven joined #nim |
14:16:34 | * | strcmp1 quit (Ping timeout: 272 seconds) |
14:17:12 | * | polde joined #nim |
14:22:43 | * | Kingsquee quit (Quit: Konversation terminated!) |
14:45:01 | * | Demon_Fox joined #nim |
14:58:50 | * | gokr left #nim (#nim) |
15:27:22 | * | Ven is now known as Guest11249 |
15:27:51 | * | Guest11249 is now known as Ven_ |
15:29:22 | * | mikolalysenko quit (Remote host closed the connection) |
15:29:22 | * | eventualbuddha quit (Remote host closed the connection) |
15:33:51 | * | UberLambda joined #nim |
15:36:15 | * | jszymanski quit (Ping timeout: 265 seconds) |
15:37:18 | * | jszymanski joined #nim |
15:42:25 | * | jszymanski quit (Quit: computer sleeps...) |
15:42:36 | * | eventualbuddha joined #nim |
15:47:37 | * | yglukhov_ joined #nim |
15:50:11 | * | Demos quit (Remote host closed the connection) |
15:50:57 | * | yglukhov quit (Ping timeout: 255 seconds) |
15:52:12 | * | yglukhov_ quit (Ping timeout: 272 seconds) |
15:55:56 | * | DecoPerson quit (Remote host closed the connection) |
15:55:56 | * | TylerE_ quit (Remote host closed the connection) |
16:01:41 | * | ChrisMAN joined #nim |
16:01:45 | * | kas joined #nim |
16:04:28 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
16:28:17 | * | mikolalysenko joined #nim |
16:30:32 | * | TylerE_ joined #nim |
16:36:48 | * | Demos joined #nim |
16:41:29 | * | NimBot joined #nim |
16:42:23 | * | darkf quit (Quit: Leaving) |
16:47:33 | * | yglukhov joined #nim |
16:48:48 | * | UberLambda quit (Ping timeout: 250 seconds) |
16:51:17 | * | Demon_Fox quit (Quit: Leaving) |
16:51:41 | * | yglukhov quit (Ping timeout: 252 seconds) |
16:52:28 | * | DecoPerson joined #nim |
16:53:36 | * | Demon_Fox joined #nim |
16:57:17 | * | strcmp1 joined #nim |
16:58:12 | * | rgv151 joined #nim |
17:06:38 | * | yglukhov joined #nim |
17:08:09 | federico3 | yay for the nim-robot |
17:08:29 | * | UberLambda joined #nim |
17:12:18 | * | Demos_ joined #nim |
17:12:38 | * | Demos_ quit (Remote host closed the connection) |
17:12:56 | * | Demos quit (Read error: Connection reset by peer) |
17:13:18 | * | Demos joined #nim |
17:14:37 | * | stubbZ joined #nim |
17:25:53 | * | UberLambda quit (Quit: GTG) |
17:35:17 | * | unclechu joined #nim |
17:38:54 | * | drewsrem joined #nim |
17:47:29 | * | gmpreussner|mobi joined #nim |
17:48:26 | renesac | the RST reference link is dead: http://nim-lang.org/docs/docgen.html |
17:48:52 | renesac | where I can find it? |
17:55:52 | * | filcuc joined #nim |
17:59:15 | * | gmpreussner|mobi quit (Quit: Bye) |
18:00:50 | * | Demos_ joined #nim |
18:02:23 | * | Demos_ quit (Read error: Connection reset by peer) |
18:02:30 | * | Demos__ joined #nim |
18:03:06 | * | Ven_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
18:04:38 | * | Demos quit (Ping timeout: 250 seconds) |
18:26:57 | Araq | renesac: works for me |
18:28:22 | renesac | ah, right, it is filtering sourceforge addresses here because "badware risk" |
18:28:47 | * | xet7 joined #nim |
18:32:20 | * | filcuc_ joined #nim |
18:33:52 | * | clone1018_ joined #nim |
18:34:41 | * | rgv151 quit (Ping timeout: 240 seconds) |
18:34:42 | * | clone1018 quit (Ping timeout: 240 seconds) |
18:34:43 | * | DecoPerson quit (Ping timeout: 240 seconds) |
18:34:45 | * | filcuc quit (Ping timeout: 240 seconds) |
18:37:20 | * | vendethiel joined #nim |
18:38:18 | * | clone1018_ is now known as clone1018 |
18:42:58 | * | DecoPerson joined #nim |
18:47:09 | * | drewsrem quit (Quit: Leaving) |
18:58:01 | * | jszymanski joined #nim |
19:02:13 | * | Ven joined #nim |
19:06:17 | * | Demos__ quit (Remote host closed the connection) |
19:08:35 | * | Ven quit (Read error: Connection reset by peer) |
19:09:20 | * | Demos joined #nim |
19:12:27 | * | xcombelle quit (Remote host closed the connection) |
19:14:22 | * | askatasuna joined #nim |
19:29:09 | * | UberLambda joined #nim |
19:42:09 | * | yglukhov quit (Remote host closed the connection) |
19:48:29 | * | UberLambda quit (Quit: GTG) |
19:56:08 | * | Ven joined #nim |
19:56:29 | * | ggVGc left #nim (#nim) |
19:56:48 | * | Ven quit (Client Quit) |
20:03:55 | * | Raimondi joined #nim |
20:06:30 | * | Jesin joined #nim |
20:16:18 | * | kas quit (Ping timeout: 272 seconds) |
20:42:33 | * | zahary joined #nim |
20:42:45 | Araq | hey zahary |
20:42:46 | * | yglukhov joined #nim |
20:42:55 | zahary | hi Araq |
20:42:55 | Araq | the people need staticT |
20:43:45 | zahary | I rebased the fix you reverted, but there are few regressed test cases I think and I still haven't been able to look at them |
20:44:29 | Araq | aha, good to see you back at work anyway |
20:45:12 | zahary | well, this has been already one week ago, but I hope to finish it this weekend |
20:45:39 | zahary | also, I made my atom plugin vastly better if anyone is intersted |
20:45:49 | * | brson joined #nim |
20:47:20 | * | yglukhov quit (Ping timeout: 244 seconds) |
20:47:39 | zahary | how did it go at oscon btw? |
20:48:08 | Araq | people said it was very good |
20:48:23 | skyfex | Hmm, how does one do mutually recursive procs? |
20:48:50 | Araq | skyfex: via a forward decl. sux, we know, we know |
20:49:02 | skyfex | :'( |
20:50:58 | skyfex | Why is there no & operator for arrays? Shouldn't it be possible to define one now? |
20:51:26 | * | ringrong joined #nim |
20:53:46 | Araq | skyfex: you mean to produce a static size of N+M? |
20:53:56 | skyfex | Araq: yeah |
21:04:11 | federico3 | It finally happened: |
21:04:14 | federico3 | apt-get install nim |
21:04:58 | skyfex | ^_^ |
21:05:24 | * | stubbZ quit (Ping timeout: 250 seconds) |
21:05:25 | * | cazov quit (Ping timeout: 250 seconds) |
21:05:27 | * | cazov_ joined #nim |
21:07:14 | def- | federico3: It's in debian unstable? great news! |
21:10:10 | avsej | how I can convert bytebuffer represented by pointer and size to sequence of the bytes? |
21:10:50 | federico3 | def-: next - it will be nimble |
21:17:21 | * | jszymanski quit (Quit: computer sleeps...) |
21:20:05 | Araq | avsej: newSeq + copyMem |
21:24:34 | * | filcuc_ quit (Quit: Konversation terminated!) |
21:28:18 | dom96 | federico3: awesome! |
21:30:18 | dom96 | https://twitter.com/nim_lang/status/626867416803491840 |
21:31:24 | federico3 | \o/ |
21:31:49 | * | BlaXpirit joined #nim |
21:33:55 | * | unclechu quit (Remote host closed the connection) |
21:34:21 | * | askatasuna quit (Ping timeout: 244 seconds) |
21:35:01 | * | BlaXpirit quit (Client Quit) |
21:45:12 | * | ringrong quit (Quit: leaving) |
21:47:50 | * | Trustable quit (Remote host closed the connection) |
21:55:04 | * | Demos_ joined #nim |
21:58:38 | * | Demos quit (Ping timeout: 244 seconds) |
21:59:32 | * | Demos_ quit (Ping timeout: 265 seconds) |
22:01:45 | * | Jesin quit (Quit: Leaving) |
22:04:25 | * | Jesin joined #nim |
22:15:46 | * | boop is now known as boopisaway |
22:25:34 | * | zahary quit (Read error: Connection reset by peer) |
22:25:52 | * | zahary joined #nim |
22:36:56 | * | flaviu quit (Remote host closed the connection) |
22:38:13 | * | vendethiel quit (Ping timeout: 246 seconds) |
22:50:59 | * | brson quit (Quit: leaving) |
23:03:04 | * | Demos joined #nim |
23:07:25 | * | Demos quit (Ping timeout: 256 seconds) |
23:18:23 | Araq | zahary, dom96 btw I will get rid of var v = closureIterator |
23:18:48 | Araq | instead it will be something like var v = start(closureIterator) |
23:30:04 | zahary | but doesn't var v = closureIterator just initialize the closure, the code inside will start executing only when you call the v() variable for the first time |
23:31:23 | Araq | yeah perhaps 'start' is the wrong term |
23:31:30 | dom96 | Araq: why? |
23:31:31 | zahary | we've talked about the inconsistency between the iterator types before. normal iterators are like factories for Iterator[T] objects and the closure iterators are the Iterator[T] object themself |
23:32:18 | Araq | dom96: cause it's too weird and right now the compiler can instantiate it too often |
23:32:49 | Araq | also we have system.finished for iterators, so why not a start? |
23:33:07 | dom96 | sure |
23:33:11 | dom96 | will we also get a restart? :P |
23:33:29 | Araq | I think that's just 'start' as well |
23:37:48 | def- | Araq: maybe 'init'? |
23:38:05 | def- | and I welcome this change, sounds reasonable |
23:41:09 | Araq | yeah 'init' and 'finished' why not |
23:42:45 | Araq | or maybe even 'new'? |
23:43:03 | Araq | it calls new under the hood anyway |
23:43:52 | dom96 | new is typically called with the variable you are initialising as its param though |
23:44:20 | Araq | you never used the typedesc version of it, did you? ;-) |
23:44:48 | * | gokr joined #nim |
23:45:05 | dom96 | I did say 'typically' |
23:45:30 | dom96 | But closureIterator is not a type |
23:45:38 | dom96 | it's a procedure |
23:45:57 | Araq | yeah, but overloading resolution can handle that |
23:46:00 | Araq | (I think) |
23:46:49 | dom96 | My thoughts are with the human reader |
23:46:57 | dom96 | whether it'll be confusing for the programmer |
23:47:32 | Araq | I've accepted the fact that programmers are the most confused beings on this planet |
23:47:43 | Araq | and are confused by everything all the time |
23:49:33 | * | Demos joined #nim |
23:49:55 | Demos | is there a way to detect what backend is in use at compile time |
23:50:14 | Demos | for example to expose one version of a wrapper when in c mode and another when in c++ |
23:50:23 | dom96 | defined(cpp) IIRC |
23:50:27 | Araq | when defined(cpp) |
23:50:27 | Demos | thanks |
23:50:33 | * | Varriount joined #nim |
23:53:29 | * | dom96_ joined #nim |
23:55:11 | Araq | but we can also name it newClosureIterator |
23:55:30 | Araq | it's long but it's so rarely used that it doesn't matter |
23:56:10 | renesac | by the way, is there any way to independently advance an iterator inside a loop? |
23:56:47 | Varriount | renesac: What do you mean? |
23:56:53 | Araq | not really you can only call it and then check for finished |
23:57:01 | renesac | right now usually this means a while loop plus indexing |
23:58:18 | dom96_ | a closure iterator? or a normal iterator? |
23:59:06 | renesac | Varriount: an example where it would be useful |
23:59:07 | renesac | https://github.com/nim-lang/Nim/blob/master/lib/pure/strutils.nim#L289 |
23:59:41 | renesac | well, not exacly, but basically when you have a loop inside another |
23:59:57 | renesac | the inside one advancing the same thing the outer one is working |