| 00:02:35 | * | NimBot joined #nim |
| 00:06:28 | * | NimBot joined #nim |
| 00:14:49 | Jehan_ | One thing at a time, there seems to be another bug with the Boehm GC. |
| 00:14:58 | Jehan_ | By the way, what's wrong with the threadpool? |
| 00:15:04 | Jehan_ | Sorry, not up to date. |
| 00:16:10 | * | irrequietus quit () |
| 00:24:26 | Araq | I want to run the task on the requesting thread if all the workers are busy |
| 00:24:43 | Araq | so that recursion just works (TM) |
| 00:28:18 | Jehan_ | Oh, right, I remember now. |
| 00:28:34 | Jehan_ | And you have a stack overflow problem then? |
| 00:28:44 | Araq | yep |
| 00:32:49 | * | vendethiel- quit (Ping timeout: 246 seconds) |
| 00:34:56 | NimBot | nim-lang/Nim devel dc04793 Araq [+0 ±17 -0]: fixes #2590; methods now require a .base annotation |
| 00:34:56 | NimBot | nim-lang/Nim devel b1a55d8 Araq [+1 ±0 -0]: added missing test |
| 00:39:00 | * | X67r_ quit (Quit: leaving) |
| 00:41:42 | NimBot | nim-lang/Nim devel d7996a9 Araq [+0 ±1 -0]: attempt to support recursions for spawn |
| 00:42:02 | Araq | Jehan_: please take a look, -d:nimRecursiveSpawn |
| 00:42:12 | Jehan_ | In a moment. |
| 00:42:12 | Araq | have to sleep now, good night |
| 00:42:22 | Jehan_ | Ah, okay, tomorrow then. |
| 00:42:26 | Araq | no need to hurry |
| 00:44:32 | * | keyle joined #nim |
| 00:47:11 | * | keyle quit (Read error: Connection reset by peer) |
| 00:59:11 | * | jaco60 quit (Ping timeout: 244 seconds) |
| 01:17:05 | * | golak quit (Quit: leaving) |
| 01:30:20 | * | umurgdk quit (Remote host closed the connection) |
| 01:52:30 | * | chemist69_ joined #nim |
| 01:55:34 | * | chemist69 quit (Ping timeout: 260 seconds) |
| 02:51:25 | * | darkf joined #nim |
| 03:06:33 | * | Demon_Fox joined #nim |
| 03:10:00 | * | enquora quit (Quit: enquora) |
| 03:24:09 | * | Demon_Fox quit (Ping timeout: 252 seconds) |
| 03:24:40 | * | Demon_Fox joined #nim |
| 03:35:23 | * | NimBot joined #nim |
| 03:42:28 | * | umurgdk joined #nim |
| 03:45:02 | * | Kingsquee joined #nim |
| 03:46:25 | * | umurgdk quit (Ping timeout: 240 seconds) |
| 03:51:17 | * | Jehan_ quit (Quit: Leaving) |
| 03:58:15 | * | NimBot joined #nim |
| 04:03:11 | * | Jehan_ joined #nim |
| 04:09:31 | * | Jehan_ quit (Quit: Leaving) |
| 04:10:40 | * | NimBot joined #nim |
| 04:16:34 | * | keyle joined #nim |
| 04:19:09 | * | NimBot joined #nim |
| 04:22:54 | * | NimBot joined #nim |
| 04:53:53 | * | gokr joined #nim |
| 04:58:50 | * | mal`` quit (K-Lined) |
| 05:02:14 | * | mal`` joined #nim |
| 05:15:14 | * | keyle quit (Quit: http://twitter.com/keyle/) |
| 05:30:53 | * | gokr quit (Quit: Leaving.) |
| 05:32:31 | * | FedeOmoto quit (Ping timeout: 250 seconds) |
| 06:04:23 | * | xificurC joined #nim |
| 06:10:20 | * | kilon joined #nim |
| 06:40:50 | * | yglukhov joined #nim |
| 06:45:03 | * | yglukhov quit (Ping timeout: 246 seconds) |
| 06:47:10 | * | unclechu joined #nim |
| 07:04:44 | * | Arrrr joined #nim |
| 07:15:39 | * | gokr joined #nim |
| 07:15:42 | * | gokr quit (Client Quit) |
| 07:24:14 | * | jszymanski joined #nim |
| 07:28:21 | * | BitPuffin|osx quit (Ping timeout: 252 seconds) |
| 07:29:54 | * | gokr joined #nim |
| 07:47:10 | * | gokr quit (Ping timeout: 246 seconds) |
| 07:51:47 | * | vendethiel joined #nim |
| 07:55:28 | * | irrequietus joined #nim |
| 07:59:47 | * | zahary joined #nim |
| 08:02:02 | * | gmpreussner|work quit (Read error: Connection reset by peer) |
| 08:47:55 | * | zemm quit (Ping timeout: 246 seconds) |
| 08:48:03 | * | zemm joined #nim |
| 08:57:49 | * | Demon_Fox quit (Quit: Leaving) |
| 09:09:19 | * | Ven joined #nim |
| 09:12:22 | * | yglukhov joined #nim |
| 09:16:44 | * | yglukhov quit (Ping timeout: 244 seconds) |
| 09:20:10 | * | yglukhov joined #nim |
| 09:20:15 | * | Yaiyan quit (Quit: ZNC - 1.6.0 - http://znc.in) |
| 09:22:24 | * | zemm quit (Ping timeout: 244 seconds) |
| 09:23:05 | * | Yaiyan joined #nim |
| 09:23:13 | * | zemm joined #nim |
| 09:23:52 | * | yglukhov quit (Remote host closed the connection) |
| 09:25:03 | * | umurgdk joined #nim |
| 09:29:21 | * | umurgdk quit (Ping timeout: 252 seconds) |
| 09:38:32 | * | zemm quit (Ping timeout: 272 seconds) |
| 09:38:39 | * | zemm joined #nim |
| 09:44:12 | * | Ven quit (Ping timeout: 264 seconds) |
| 09:46:46 | * | umurgdk joined #nim |
| 09:47:40 | * | jaco60 joined #nim |
| 09:53:20 | * | jszymanski quit (Quit: computer sleeps...) |
| 09:54:38 | * | golak joined #nim |
| 09:56:36 | * | X67r joined #nim |
| 10:08:28 | * | boopsiesisaway is now known as boopsies |
| 10:11:10 | * | Demon_Fox joined #nim |
| 10:24:28 | * | umurgdk quit () |
| 10:24:43 | * | umurgdk joined #nim |
| 10:30:51 | * | Kingsquee quit (Quit: http://i.imgur.com/EsXzoum.png) |
| 10:35:29 | * | shevy joined #nim |
| 11:02:22 | * | UberLambda joined #nim |
| 11:13:26 | * | NimBot joined #nim |
| 11:16:09 | * | yglukhov joined #nim |
| 11:20:52 | * | yglukhov quit (Remote host closed the connection) |
| 11:27:22 | * | gokr joined #nim |
| 11:27:24 | * | gokr quit (Read error: Connection reset by peer) |
| 11:27:37 | * | gokr joined #nim |
| 11:33:04 | * | yglukhov joined #nim |
| 11:35:50 | * | yglukhov quit (Remote host closed the connection) |
| 11:42:10 | * | tankfeeder joined #nim |
| 11:48:51 | * | yglukhov joined #nim |
| 11:51:31 | * | yglukhov quit (Remote host closed the connection) |
| 11:53:18 | * | yglukhov joined #nim |
| 12:05:05 | * | NimBot joined #nim |
| 12:06:13 | * | yglukhov quit (Remote host closed the connection) |
| 12:09:04 | * | yglukhov joined #nim |
| 12:14:16 | * | gokr quit (Quit: Leaving.) |
| 12:15:47 | * | yglukhov quit (Remote host closed the connection) |
| 12:20:32 | * | Demon_Fox quit (Quit: Leaving) |
| 12:23:38 | * | UberLambda quit (Ping timeout: 250 seconds) |
| 12:29:40 | * | BitPuffin|osx joined #nim |
| 12:36:14 | * | yglukhov joined #nim |
| 12:41:37 | * | Jehan_ joined #nim |
| 12:42:27 | * | yglukhov quit (Remote host closed the connection) |
| 12:51:09 | * | irrequietus_ joined #nim |
| 12:51:29 | * | irrequietus quit (Ping timeout: 250 seconds) |
| 12:51:38 | * | irrequietus_ quit (Client Quit) |
| 12:51:55 | * | irrequietus_ joined #nim |
| 12:52:06 | * | irrequietus_ quit (Client Quit) |
| 12:52:30 | * | irrequietus joined #nim |
| 13:03:02 | * | zahary quit (Quit: Leaving.) |
| 13:05:42 | * | zahary joined #nim |
| 13:06:05 | * | zahary quit (Remote host closed the connection) |
| 13:09:16 | * | zeph joined #nim |
| 13:27:23 | * | jszymanski joined #nim |
| 13:39:43 | * | vendethiel quit (Ping timeout: 244 seconds) |
| 13:46:12 | * | enquora joined #nim |
| 13:56:24 | * | vendethiel joined #nim |
| 14:03:48 | * | yglukhov joined #nim |
| 14:04:28 | * | NimBot joined #nim |
| 14:05:59 | * | yglukhov quit (Remote host closed the connection) |
| 14:11:52 | * | xcombelle joined #nim |
| 14:24:52 | * | Trustable joined #nim |
| 14:46:18 | * | yglukhov joined #nim |
| 14:50:30 | * | yglukhov quit (Ping timeout: 244 seconds) |
| 14:54:38 | * | unclechu quit (Ping timeout: 244 seconds) |
| 14:58:15 | * | Jehan_ quit (Ping timeout: 244 seconds) |
| 15:04:33 | * | ofo joined #nim |
| 15:06:08 | * | unclechu joined #nim |
| 15:13:42 | * | gokr joined #nim |
| 15:14:22 | r-ku | gokr hi |
| 15:14:40 | r-ku | people start to think urhonimo is abandonware :p |
| 15:20:11 | * | Jehan_ joined #nim |
| 15:21:20 | * | Jehan_ quit (Client Quit) |
| 15:22:28 | * | Jehan_ joined #nim |
| 15:22:47 | * | umurgdk quit (Remote host closed the connection) |
| 15:25:51 | * | umurgdk joined #nim |
| 15:30:15 | * | Matthias247 joined #nim |
| 15:44:39 | * | Jehan_ quit (Quit: Leaving) |
| 15:47:34 | * | X67r_ joined #nim |
| 15:50:30 | * | X67r quit (Ping timeout: 240 seconds) |
| 15:50:56 | * | EastByte_ is now known as EastByte |
| 15:51:53 | * | X67r_ quit (Read error: Connection reset by peer) |
| 15:52:34 | * | X67r joined #nim |
| 15:53:56 | * | NimBot joined #nim |
| 16:09:46 | Araq | r-ku: why? I ported it to Urho 1.4. |
| 16:13:11 | r-ku | Araq but its not on github |
| 16:13:58 | Araq | can push it tonight |
| 16:14:11 | r-ku | thanks \o/ |
| 16:18:21 | * | Demos joined #nim |
| 16:47:07 | * | NimBot joined #nim |
| 16:53:25 | * | titanomachy joined #nim |
| 16:55:00 | * | vendethiel quit (Ping timeout: 244 seconds) |
| 16:55:03 | gokr | r-ku: Who starts thinking that? |
| 16:55:43 | gokr | r-ku: Hi btw, sorry, I didn't watch this window |
| 16:56:52 | * | vendethiel joined #nim |
| 16:57:41 | r-ku | gokr me for instance ;) last commit 5 months ago on examples, last code modification half year ago.. people get ideas ;) |
| 16:58:22 | gokr | Yes, but I haven't seen anyone asking really. But the truth is - we have been terribly busy with pushing out the first beta of our client *that uses* Urhonimo. |
| 16:58:37 | gokr | So its definitely not abandonware. |
| 16:58:45 | * | perturbation joined #nim |
| 16:59:17 | gokr | And as Araq says, he has 1.4 brewing, he actually worked all friday on it I think. |
| 16:59:52 | gokr | But you can rest assured its not getting abandoned by us - its deeply integrated in our client now. |
| 17:00:27 | gokr | And soon we will try to make some videos :) Its working really well. |
| 17:00:42 | * | enamex joined #nim |
| 17:01:55 | gokr | Also, I will try to take some time to write down some more notes - since we now use Urhonimo on both Windows and OSX. |
| 17:02:29 | Araq | yeah it's a also a bit messy cause for our stuff we use a different configuration etc |
| 17:05:43 | * | enquora quit (Quit: enquora) |
| 17:09:26 | gokr | r-ku: But do ask if there is anything. |
| 17:14:37 | gokr | hehe, anytime Jehan posts to the forum it turns into a super FAQ entry ;) |
| 17:17:03 | r-ku | im good gokr, thanks. not doing anything actually. just like looking at cool stuff \o/ |
| 17:17:10 | r-ku | and you know, waiting for inspiration to come hehe |
| 17:18:00 | * | leru joined #nim |
| 17:20:09 | * | leru quit (Client Quit) |
| 17:22:15 | * | nchambers is now known as dtscode |
| 17:25:12 | * | enamex quit (Ping timeout: 246 seconds) |
| 17:27:24 | Araq | r-ku: you could also figure out why bootstrapping fails with your coroutines patch ... |
| 17:31:42 | r-ku | yeah i tried some. issue seems to be real obscure |
| 17:32:20 | ekarlso | http://paste.ubuntu.com/12297832/ |
| 17:32:26 | ekarlso | does that look like a ok api for tar ? |
| 17:35:34 | ekarlso | Araq: do you have any clue on why when I modify iter.position it still just 512 ? |
| 17:39:55 | * | darkf quit (Quit: Leaving) |
| 17:43:18 | Arrrr | It shouldn't, so probably you are just passing a copy, or displaying the value from a copy |
| 17:43:21 | Arrrr | how are you using it? |
| 17:43:42 | * | leru joined #nim |
| 17:48:02 | Arrrr | or maybe it only reads once and that's why it has that value |
| 17:53:01 | ekarlso | Arrrr: how you mean ? |
| 17:53:08 | perturbation | if I do: var a: ArchiveIter = ArchiveIter(file: nil, position: 30) |
| 17:53:11 | ekarlso | Arrrr: look at iterFiles for example.. |
| 17:53:13 | perturbation | a.position += 30; echo a.position |
| 17:53:18 | perturbation | I get 60 as output |
| 17:54:49 | perturbation | ekarlso: when are you getting it as unmodified? |
| 17:56:33 | ekarlso | perturbation: if you try var a = newTarIterator(file); var buffer: array[512, char]; iter.gotoNext(buffer) on a file |
| 17:56:50 | ekarlso | it sets position always to 512 even if you call iter.gotoNext twice |
| 17:57:45 | perturbation | hmmm |
| 18:05:42 | * | MyMind quit (Ping timeout: 265 seconds) |
| 18:08:25 | * | xcombelle quit (Remote host closed the connection) |
| 18:08:31 | perturbation | weird - I'm still getting different behavior... https://gist.github.com/anonymous/7856f4a5af9b9cee5955 |
| 18:08:56 | perturbation | looks like iterating by 1024 after each call to gotoNext? |
| 18:09:25 | ekarlso | 512 at a time |
| 18:09:33 | ekarlso | each tar block is usually 512 |
| 18:09:49 | perturbation | shouldn't matter, but what OS are you using? (I'm on Linux x86_64 3.10.18) |
| 18:09:56 | ekarlso | ubunt |
| 18:09:58 | ekarlso | u |
| 18:10:05 | * | MyMind joined #nim |
| 18:10:57 | ekarlso | how many files does your tar file have perturbation ? |
| 18:11:14 | perturbation | I just created an empty file for testing... probably not realistic |
| 18:11:25 | perturbation | let me throw in some junk data, I think hasData wasn't returning true |
| 18:11:49 | perturbation | yes |
| 18:12:07 | perturbation | if there is actually data in the file, it iterates by 512, and I get 512 and 1024 as the outputs from the gist ^ |
| 18:14:36 | * | NimBot joined #nim |
| 18:19:54 | ekarlso | perturbation: http://paste.ubuntu.com/12298683/ < that gives 512 on each call |
| 18:27:16 | Arrrr | i'll test it |
| 18:29:25 | perturbation | if I create my own tar file, I get 512 and 7304676363731887984 as output and then it crashes :/, so I think there is something wonky |
| 18:29:35 | ekarlso | :P |
| 18:29:35 | perturbation | are you compiling in release or debug mode? |
| 18:29:46 | ekarlso | nim c -r <file> |
| 18:29:55 | Miruya | ekarlso: when I run that test, I get 512, 1024, 1536 in both release and debug |
| 18:31:04 | Arrrr | same to me perturbation |
| 18:31:20 | ekarlso | if anyone has suggestions i'm open :p |
| 18:32:08 | Arrrr | hasData probably is where i would look |
| 18:32:29 | ekarlso | any better approaches to this kinda thing ? |
| 18:32:44 | Arrrr | A suggestion, dont use result = x; break; Just return x |
| 18:33:52 | ekarlso | still doesn't exlain why it impodes :p |
| 18:34:43 | Arrrr | maybe because readChars is not reading a thing and it never breaks |
| 18:35:03 | Arrrr | or it never finds a '0' |
| 18:35:42 | Arrrr | btw, in your for you can just do 'for v in buffer:' |
| 18:36:52 | ekarlso | https://github.com/alexcrichton/tar-rs/blob/master/src/lib.rs#L257-L263 |
| 18:36:56 | ekarlso | trying to mimic that behaviour |
| 18:37:09 | ekarlso | iterate until one finds a header |
| 18:43:03 | perturbation | I think I got it |
| 18:43:23 | perturbation | you're passing start = iter.position to readChars |
| 18:44:12 | perturbation | start should be 0, it's trying to write past the length of the buffer, which is somehow (lol C memory safety) writing into the position variable and corrupting it |
| 18:45:12 | Arrrr | You are right, if i put 0, it doesnt crash. |
| 18:45:33 | Arrrr | I was getting crazy, i could not understand why it was displaying such a large number. |
| 18:45:41 | perturbation | \o/ |
| 18:45:50 | Arrrr | On the other hand, there should be some range check in readChars, wtf |
| 18:46:11 | Arrrr | like if pos > high(buffer) |
| 18:46:22 | * | dtscode is now known as nchambers |
| 18:46:54 | Arrrr | *'>=' |
| 18:48:51 | * | Miruya quit (Ping timeout: 246 seconds) |
| 18:50:06 | vendethiel | seems like the last Nim release was in early May. 1.3k commits have been made since. Is 1.0 the expected next release? :-) |
| 18:50:22 | perturbation | looks like it's a wrapper around fread in lib/system/sysio.nim (which is deliberately low-level)... maybe we want another layer which is intentionally slower and safer? |
| 18:51:51 | Arrrr | Or rename it to "unsafeReadChars" and provide a safer alternative |
| 18:52:00 | Arrrr | As far as i can tell, that is the plan vendethiel. |
| 18:52:23 | Arrrr | But i also read the release would happen in summer, so dont trust my eys. |
| 18:52:23 | vendethiel | that's an impressive number of commits, btw. 5.8k vs 7.1k now... |
| 18:54:37 | * | perturbation quit (Quit: back later) |
| 18:59:25 | * | Miruya joined #nim |
| 19:01:13 | * | gokr quit (Quit: Leaving.) |
| 19:04:58 | * | gokr joined #nim |
| 19:08:56 | ekarlso | Arrrr: still then why doesn't position get incremented ? |
| 19:09:42 | Arrrr | In my computer it got incremented. Just put 0 instead of iter.position in readChars. |
| 19:10:15 | Arrrr | But i dont know exactly what you need, honestly. Reading stuff from zips seems to me like a hard thing to do. |
| 19:10:26 | * | strcmp1 quit (Quit: Leaving) |
| 19:10:41 | Arrrr | Maybe you can wrap the c code of some lib and use it with nim |
| 19:10:51 | ekarlso | Arrrr: tar is easy ;) |
| 19:11:57 | * | Miruya quit (Ping timeout: 246 seconds) |
| 19:18:18 | * | yglukhov joined #nim |
| 19:22:27 | * | yglukhov quit (Ping timeout: 246 seconds) |
| 19:37:55 | * | Jesin quit (Quit: Leaving) |
| 19:45:29 | * | redwyn joined #nim |
| 19:45:47 | * | Jesin joined #nim |
| 19:47:33 | * | Matthias247 quit (Read error: Connection reset by peer) |
| 19:58:45 | * | MyMind joined #nim |
| 20:03:39 | * | Ven joined #nim |
| 20:04:46 | * | n99999i joined #nim |
| 20:05:32 | Araq | hey n99999i welcome |
| 20:05:47 | * | Snowie joined #nim |
| 20:10:27 | * | jszymanski quit (Quit: computer sleeps...) |
| 20:10:36 | * | Ven quit (Ping timeout: 264 seconds) |
| 20:23:46 | * | leru quit (Quit: Nettalk6 - www.ntalk.de) |
| 20:30:09 | * | Arrrr quit (Quit: WeeChat 1.2) |
| 20:30:24 | * | tankfeeder quit (Ping timeout: 264 seconds) |
| 20:45:01 | * | Demos quit (Read error: Connection reset by peer) |
| 20:48:32 | * | gokr quit (Quit: Leaving.) |
| 21:00:51 | * | CryptoToad joined #nim |
| 21:01:10 | CryptoToad | Is there any way to interface with windows COM using Nim without inline C? |
| 21:07:54 | * | redwyn left #nim (#nim) |
| 21:08:25 | * | X67r_ joined #nim |
| 21:08:42 | * | X67r quit (Ping timeout: 244 seconds) |
| 21:13:53 | * | NimBot joined #nim |
| 21:24:27 | * | Raimondi quit (Read error: Connection reset by peer) |
| 21:25:04 | * | Raimondi joined #nim |
| 21:25:44 | reactormonk | CryptoToad, What does a COM call look like? |
| 21:37:31 | * | Trustable quit (Quit: Leaving) |
| 21:37:59 | * | BitPuffin|osx quit (Ping timeout: 264 seconds) |
| 21:43:18 | * | vendethiel quit (Ping timeout: 244 seconds) |
| 21:45:07 | * | yglukhov joined #nim |
| 21:46:06 | * | boopsies is now known as boopsiesisaway |
| 21:49:57 | * | yglukhov quit (Ping timeout: 256 seconds) |
| 21:50:18 | * | Demon_Fox joined #nim |
| 21:55:54 | * | strcmp1 joined #nim |
| 21:56:52 | * | Jehan_ joined #nim |
| 22:03:45 | * | unclechu quit (Quit: Leaving.) |
| 22:05:48 | * | xificurC quit (Ping timeout: 255 seconds) |
| 22:08:10 | NimBot | nim-lang/Nim devel 81e41dc JamesP [+0 ±1 -0]: Add example (similar to db_mysql) with changes to table definition... 1 more lines |
| 22:08:10 | NimBot | nim-lang/Nim devel 5ae3343 JamesP [+0 ±1 -0]: fastRows() iterator doco updated (similar to db_mysql) with sqlite specific... 1 more lines |
| 22:08:10 | NimBot | nim-lang/Nim devel 9aa9920 JamesP [+0 ±1 -0]: instantRows doco added "the" to improve readability |
| 22:08:10 | NimBot | nim-lang/Nim devel 0edb042 JamesP [+0 ±1 -0]: Clean up a line ending |
| 22:08:10 | NimBot | 1 more commits. |
| 22:11:57 | federico3 | urgh, I cannot redefine attribute types in "subclasses"? |
| 22:16:15 | * | Kingsquee joined #nim |
| 22:19:05 | * | golak quit (Quit: leaving) |
| 22:42:51 | * | Jehan_ quit (Read error: Connection reset by peer) |
| 22:48:48 | * | umurgdk quit (Remote host closed the connection) |
| 22:50:52 | NimBot | nim-lang/Nim devel eb4263a Dominik Picheta [+0 ±1 -0]: Fixes dom96/jester#45. |
| 22:57:39 | * | keyle joined #nim |
| 23:04:55 | * | Varriount quit (Read error: Connection reset by peer) |
| 23:10:48 | * | Jehan_ joined #nim |
| 23:12:21 | * | X67r_ quit (Quit: leaving) |
| 23:14:33 | * | Jehan_ quit (Client Quit) |
| 23:23:37 | * | Jehan_ joined #nim |
| 23:26:02 | * | keyle quit (Quit: http://twitter.com/keyle/) |