00:03:41 | * | boop is now known as boopisaway |
00:10:08 | * | Kingsquee joined #nim |
00:24:42 | * | NimBot joined #nim |
00:38:34 | * | BitPuffin|osx joined #nim |
00:42:27 | * | mrkishi joined #nim |
00:42:27 | * | mrkishi quit (Read error: Connection reset by peer) |
01:12:51 | * | Shoozza left #nim ("Leaving") |
01:16:15 | * | bendiken quit () |
01:35:39 | * | xcombelle quit (Remote host closed the connection) |
01:36:01 | * | NimBot joined #nim |
01:42:50 | * | vasher_ quit (Quit: Connection closed for inactivity) |
01:48:16 | * | NimBot joined #nim |
02:02:11 | * | Jehan_ quit (Quit: Leaving) |
02:06:22 | * | BitPuffin|osx quit (Ping timeout: 244 seconds) |
02:23:17 | * | CryptoToad quit (Ping timeout: 252 seconds) |
02:24:06 | * | CryptoToad joined #nim |
02:35:17 | * | NimBot joined #nim |
02:37:11 | * | vendethiel joined #nim |
02:48:15 | * | NimBot joined #nim |
03:04:19 | * | NimBot joined #nim |
03:19:22 | * | darkf joined #nim |
03:53:51 | * | vendethiel quit (Ping timeout: 244 seconds) |
04:02:46 | * | strcmp2 joined #nim |
04:04:26 | * | NimBot joined #nim |
04:05:48 | * | strcmp1 quit (Ping timeout: 260 seconds) |
05:11:31 | * | FedeOmoto quit (Quit: Leaving) |
05:18:50 | * | strcmp1 joined #nim |
05:21:06 | * | strcmp2 quit (Ping timeout: 272 seconds) |
05:24:58 | * | strcmp1 quit (Quit: Leaving) |
05:36:17 | * | NimBot joined #nim |
05:48:56 | * | xificurC joined #nim |
05:49:47 | * | kilon joined #nim |
05:52:22 | * | NimBot joined #nim |
06:41:26 | * | yglukhov joined #nim |
06:41:33 | * | yglukhov quit (Remote host closed the connection) |
06:42:07 | * | yglukhov joined #nim |
06:42:37 | * | Demon_Fox quit (Quit: Leaving) |
06:43:25 | * | yglukhov quit (Remote host closed the connection) |
06:45:31 | ekarlso | anyone around ? |
06:48:42 | * | NimBot joined #nim |
06:51:07 | * | yglukhov joined #nim |
06:51:43 | gokr | yep |
06:51:58 | gokr | So... I am not sure what to do with this new forum->ml integration. |
06:52:46 | * | yglukhov quit (Remote host closed the connection) |
06:53:32 | * | filcuc joined #nim |
06:57:36 | * | kilon quit (Remote host closed the connection) |
06:59:52 | ekarlso | gokr: do you have a lcue on how you can pass in a seq[char] to readBuffer() ? |
06:59:54 | ekarlso | that takes a ptr |
07:00:11 | gokr | eh |
07:02:00 | gokr | What about using readChars? |
07:02:27 | ekarlso | apparantly that wasn't too good gokr .. |
07:02:50 | gokr | Performance wise? |
07:03:05 | ekarlso | doesn't work .. |
07:03:15 | * | jszymanski joined #nim |
07:04:00 | gokr | I have no idea what you are working on of course |
07:05:12 | ekarlso | https://github.com/ekarlso/nim-tar < gokr |
07:05:32 | ekarlso | if you try to run foo.nim f1.content will be empty... |
07:05:52 | gokr | And what caused you to start implementing tar?? ;) |
07:06:08 | ekarlso | dom96: .. |
07:06:18 | ekarlso | that a bad thing ? :p |
07:06:47 | * | yglukhov joined #nim |
07:06:54 | gokr | Obviously I must have missed some interesting discussion involving the necessity of being able to read and write Tape Archives in the 21st century, without calling out to some other tool that ... can do it. But hey :) |
07:07:22 | gokr | I once hacked the CVS pserver protocol in Smalltalk - so I know all about completely useless (but fun!) projects. |
07:07:45 | ekarlso | gokr: it's to make a library to do package releases in .tar / xz format |
07:07:49 | ekarlso | in nim ;p |
07:08:02 | ekarlso | gokr: but do you have a clue on why it borks ? |
07:08:10 | gokr | Nah. |
07:08:31 | gokr | So all these char all over, is that .. a good choice? |
07:08:42 | gokr | Instead of byte? I dunno. |
07:12:05 | ekarlso | gokr: rust / c impl uses char |
07:12:11 | ekarlso | or rather c does |
07:12:14 | ekarlso | rust uses u8 |
07:12:23 | ekarlso | https://github.com/alexcrichton/tar-rs/blob/master/src/lib.rs |
07:12:35 | gokr | Well, that tells me... you should perhaps use byte or int8 |
07:12:50 | ekarlso | gokr: why ? |
07:13:10 | ekarlso | https://github.com/comex/star_/blob/master/headers/libtar.h < gokr |
07:14:49 | ekarlso | got a clue gokr on how to make it work? |
07:14:58 | gokr | No :) |
07:15:07 | ekarlso | :'( |
07:15:10 | ekarlso | wanna take a look ? :d |
07:15:13 | gokr | I just felt instinctively that... C uses char for bytes often. |
07:15:48 | gokr | Sorry, I am swamped with work here |
07:15:54 | ekarlso | :( |
07:15:57 | ekarlso | boo |
07:17:52 | gokr | And just wrapping libtar or something was out of the question? |
07:18:14 | ekarlso | gokr: wanted a pure nim thing :p |
07:18:26 | gokr | Yeah, I can sympathize. |
07:18:36 | gokr | But... Nim does compile via C so... ;) |
07:19:13 | ekarlso | meh, can it really be so hard to read tar into a buffer correctly.. |
07:23:03 | ekarlso | gokr: what's the + of using uint8 or bytes vs char ? |
07:28:27 | * | lyro quit (Quit: WeeChat 1.1.1) |
07:37:23 | * | jck joined #nim |
07:39:21 | ekarlso | just me or is a sequence + readBytes useless ? |
07:43:12 | * | Ven joined #nim |
07:43:37 | ekarlso | http://paste.ubuntu.com/12197676/ |
07:43:55 | * | Ven quit (Client Quit) |
07:44:04 | ekarlso | so that will fail, readBytes returns 512 but headerBuffer will be empty |
07:44:15 | ekarlso | ehm, headerRead rather |
07:44:15 | * | Ven joined #nim |
07:47:30 | gokr | ekarlso: I did check a bit, but .. not sure either. |
07:47:36 | * | kilon joined #nim |
07:47:44 | NimBot | nim-lang/Nim devel c0ad9a9 Araq [+0 ±1 -0]: fixes #3237 |
07:48:43 | ekarlso | Araq: ... |
07:48:48 | ekarlso | see my issue ? |
07:54:43 | ekarlso | why is Araq lurking.. |
07:56:21 | gokr | So... readChars into an array works at least. Your test file is a bit hard to work with - since its full of 0s |
07:57:09 | ekarlso | gokr: the ^ |
07:57:16 | ekarlso | paste shows u what's wrong.. |
07:58:40 | * | yglukhov quit (Remote host closed the connection) |
07:58:49 | ekarlso | array works fine.. but not seq :/ |
07:59:40 | ekarlso | an alternative I guess would be to read into array[512, char] in a loop and then just retrieve the data from the read buffer into a seq instead |
07:59:54 | ekarlso | just need to do a bit more work then .. |
08:00:45 | * | Jehan_ joined #nim |
08:00:57 | gokr | AFAICT this is readChars: |
08:01:09 | gokr | result = readBuffer(f, addr(a[start]), len) |
08:01:38 | gokr | So... it would need a bit of massage around it to work with seq properly. |
08:02:07 | ekarlso | gokr: how you mean ? |
08:02:20 | ekarlso | afaik if you do readChars() it should work too ... |
08:02:43 | ekarlso | both readBytes and readCahrs doesn't seem to work tbh |
08:02:49 | * | kilon quit (Read error: Connection reset by peer) |
08:03:23 | gokr | what I mean is that readChars does what I pasted above, but that is not enough if the argument is a seq |
08:04:01 | * | NimBot joined #nim |
08:04:07 | gokr | But... perhaps its enough with a little setLen here |
08:04:54 | * | kilon joined #nim |
08:05:04 | ekarlso | gokr: still that's a nasty bug ? :P |
08:05:35 | gokr | So... if you add a size to that seq, and then afterwards do buffer.setLen(readCount) - I think it works |
08:06:16 | gokr | So you allocate the seq to say 100, then try to read up to 100. Then setLen(readCount) |
08:06:21 | gokr | That seems to work for me. |
08:09:05 | ekarlso | yeah, that seems to work, Araq u have a bug :P |
08:09:09 | ekarlso | fairly sad one too |
08:09:15 | gokr | I would consider it a bug - at least a documentation bug. I am guessing a lot of procs that takes openArray arguments tend to treat them as "arrays" so... if you send in a seq you would need to be aware of that. |
08:09:57 | ekarlso | gokr: meh, shouldn't be so hard to fix it ? :P |
08:10:14 | ekarlso | i'll wait for nim's linus a'la Araq to respond :p |
08:11:23 | * | jszymanski quit (Quit: computer sleeps...) |
08:13:36 | * | yglukhov joined #nim |
08:16:19 | gokr | ekarlso: Not hard to fix, but since Araq is pretty ... focused on performance, I would say a "fix" would involve a layer above and not changing readChars. |
08:16:42 | gokr | We do have a streams library, don't we? Haven't looked at it yet. |
08:17:02 | gokr | But perhaps that's a reasonable abstraction layer above these low level procs. |
08:18:32 | ekarlso | gokr: how you mean, should I use streams instead ? ^^ |
08:22:04 | * | Trustable joined #nim |
08:22:33 | gokr | I dunno, I haven't looked at them. But generally I think these readXXX procs are quite low level. |
08:25:40 | gokr | As you can see the procs in streams do similar things: https://github.com/nim-lang/Nim/blob/master/lib/pure/streams.nim#L157 |
08:32:20 | ekarlso | gokr: yeah, I wonder what the reason would be not to use streams.. |
08:34:12 | gokr | I see no reason. |
08:35:25 | * | NimBot joined #nim |
08:39:45 | * | coffeepot joined #nim |
08:41:08 | gokr | coffeepot: Perfect timing! Just got my coffe too. |
08:44:37 | ekarlso | gokr: meh, so apparantly tar in modern systems pad's the data with 0's |
08:45:26 | coffeepot | Haha :D |
08:45:39 | * | coffeepot slurps coffee |
08:46:03 | ekarlso | gokr: if chunk.iter().any(|i| *i != 0) { break } < what's the equiv of that in rust ? |
08:46:58 | gokr | Waff? I don't know rust. I presume you mean "in nim"? |
08:47:17 | ekarlso | gokr: +1 |
08:47:20 | ekarlso | :P |
08:47:24 | ekarlso | I need more redbull to get my wings |
08:47:27 | ekarlso | :D |
08:47:59 | * | gokr grabs coffee... |
08:48:09 | gokr | I am busy trying to crash our client. |
08:48:43 | ekarlso | I guess that's just a while True |
08:48:45 | ekarlso | ish |
08:49:54 | gokr | I read it as it breaks if any element in the iterator is non zero. |
08:50:13 | gokr | So this line is inside a loop i guess? |
08:50:28 | ekarlso | gokr: ye |
08:50:34 | ekarlso | https://github.com/alexcrichton/tar-rs/blob/master/src/lib.rs#L251 |
08:50:42 | ekarlso | this thing, equiv to my nextFile() |
08:53:44 | ekarlso | is there something like StopIteration in nim ? |
09:00:36 | * | jaco60 joined #nim |
09:07:26 | ekarlso | what version of nim is required to use the "do" kw ? |
09:08:38 | ekarlso | nvm |
09:10:47 | gokr | federico3: Feel free to inform me how the plan was for the forum->ml gateway. I am now up to about 50 approvals pending in my inbox :) |
09:13:15 | federico3 | gokr: what are those approvals? |
09:13:33 | gokr | its when people posting on the forum aren't subscribed to the ml. |
09:13:34 | federico3 | new people joining the mlist or is it due to the sync? |
09:13:52 | gokr | No, people can join fine without me. |
09:14:07 | * | NimBot joined #nim |
09:14:33 | gokr | So the ml asks me if I should approve this post, this post, this post etc |
09:14:50 | gokr | And I was wondering what the plan was. |
09:14:56 | federico3 | hm, I see. The sync mechanism should instead forward messages on-behalf-of |
09:15:44 | federico3 | can the mlist authorize incoming messages based on any other criterion? |
09:15:53 | gokr | Dunno :) |
09:16:56 | ekarlso | gokr: is there anything similar to stopiteeration in nim ? |
09:16:57 | federico3 | what mailing list is it |
09:17:06 | gokr | freelists - it uses Ecartis |
09:19:47 | gokr | Hmmm, X-posting-pass ... |
09:20:16 | gokr | nah |
09:22:43 | federico3 | on behalf of? |
09:24:13 | * | Ven quit (Ping timeout: 252 seconds) |
09:25:06 | * | AckZ_ joined #nim |
09:25:07 | federico3 | gokr: if we add a Sender field freelists *might* filter on that |
09:27:22 | * | wuehlmau1 joined #nim |
09:28:15 | * | AckZ quit (Ping timeout: 240 seconds) |
09:28:16 | * | Jesin quit (Ping timeout: 240 seconds) |
09:28:16 | * | xet7 quit (Ping timeout: 259 seconds) |
09:28:17 | * | wuehlmaus quit (Ping timeout: 240 seconds) |
09:28:41 | * | AckZ_ is now known as AckZ |
09:29:24 | * | Jesin joined #nim |
09:32:24 | federico3 | dom96? |
09:41:40 | * | arnetheduck joined #nim |
09:58:44 | * | kilon quit (Remote host closed the connection) |
10:00:39 | * | kilon joined #nim |
10:02:37 | * | thekilon joined #nim |
10:05:17 | * | kilon quit (Ping timeout: 252 seconds) |
10:08:57 | * | dom96_ joined #nim |
10:09:40 | dom96_ | federico3: sounds good. |
10:09:59 | dom96_ | There must be a way to do this. |
10:10:25 | dom96_ | Maybe you could set up a dummy mailing list and test to see if it works with the Sender field? |
10:10:26 | federico3 | dom96_: we need an email account to use it as Sender (and also to do the sync in the opposite direction) |
10:10:49 | dom96_ | Doing the sync in the opposite direction is a lot of work |
10:10:56 | federico3 | yep, but the forum is not building anymore |
10:11:23 | dom96_ | well, what changed? |
10:11:30 | dom96_ | The error is in bcrypt right? |
10:11:42 | dom96_ | Was it updated or is it a compiler regression |
10:12:03 | * | NimBot joined #nim |
10:12:18 | federico3 | a real email would be better |
10:12:34 | nchambers | fair enough |
10:12:55 | dom96_ | you could probably use gmail for testing |
10:13:57 | federico3 | yep |
10:14:06 | federico3 | dom96_: are you able to build the forum? |
10:14:22 | dom96_ | I was able to build it when I was deploying |
10:14:26 | dom96_ | Can't check now |
10:15:03 | gokr | Just so you know, there is no investment in freelists.org - but it is free. Setting up mailman and maintaining mailman... not something I am keen on. |
10:15:36 | federico3 | gokr: why running a dedicated mailman? There are a lot of mlist providers :) |
10:15:49 | gokr | Ok? Free? |
10:16:15 | gokr | I don't recall it was that easy to find one, but perhaps you are right. |
10:17:58 | federico3 | (but, why changing mlist provider anyways?) |
10:19:49 | gokr | Well, so what is the plan? |
10:20:30 | gokr | Using a single dedicated forum address as sender? |
10:20:34 | federico3 | hm, 1) try to fix the forum build 2) set up a test mlist and/or test email account 3) investigate if adding Sender would fix the issue |
10:21:24 | nchambers | http://www.yourmailinglistprovider.com/free.html ? |
10:26:00 | * | Sembei joined #nim |
10:26:31 | * | Kingsquee quit (Ping timeout: 256 seconds) |
10:28:52 | gokr | federico3: Aha! |
10:29:31 | gokr | I can check a checkbox called deny-822-bounce: "Should the RFC822 Resent-From: header be trusted for sender" |
10:31:58 | gokr | Also, if we create a specific forum subscriber - we can set ECHOPOST to false for that one. |
10:32:47 | gokr | federico3: So if you tell me what email you wish the forum to use as "Resent-From:", I can add it. |
10:41:31 | ekarlso | dom96_: do you think it would be more optimal to use streams for tar stuff ? |
10:41:36 | * | Ven joined #nim |
10:42:22 | dom96_ | what are you using now? |
10:42:43 | * | NimBot joined #nim |
10:44:47 | ekarlso | dom96_: standard file object |
10:44:52 | ekarlso | and readChars |
10:45:38 | dom96_ | sounds fine to me |
10:47:02 | * | aziz joined #nim |
10:48:37 | ekarlso | dom96_: hmm, is there a way to do a map / filter stuff on a array ? |
10:49:18 | dom96_ | don't do that |
10:49:21 | dom96_ | use a for loop |
10:49:53 | ekarlso | hmmms, so much more convenient with map / filter :p |
10:50:05 | ekarlso | oh well, guess I gotta use a array then for buffers ;) |
10:50:12 | * | thekilon quit (Remote host closed the connection) |
11:00:23 | * | kilon joined #nim |
11:01:55 | federico3 | gokr, dom96_: it would make sense to create a real mailbox to be used for testing now and then for real (instead of creating two) |
11:02:13 | federico3 | dom96_: do you want to own it given than you run the forum? |
11:08:50 | dom96_ | a mailbox? Can't we just use [email protected]? |
11:09:23 | federico3 | dom96_: a real mailbox would be useful for the bidirectional sync as well |
11:14:48 | dom96_ | bbl |
11:15:09 | * | UberLambda joined #nim |
11:17:27 | * | strcmp1 joined #nim |
11:18:57 | * | xcombelle joined #nim |
11:21:15 | * | dom96_ quit (Ping timeout: 246 seconds) |
11:24:00 | * | strcmp1 quit (Ping timeout: 272 seconds) |
11:34:50 | * | kilon quit (Read error: Connection reset by peer) |
11:35:32 | * | kilon joined #nim |
11:38:45 | * | strcmp1 joined #nim |
11:43:41 | * | jszymanski joined #nim |
11:44:00 | * | UberLambda quit (Ping timeout: 244 seconds) |
11:51:05 | * | jszymanski1 joined #nim |
11:54:11 | * | jszymanski quit (Ping timeout: 246 seconds) |
11:58:47 | baabelfish | dom96: ? |
11:58:59 | baabelfish | ah, I use bbl on ircnet :P |
11:59:26 | * | kilon quit (Remote host closed the connection) |
12:00:08 | * | Ven quit (Read error: Connection reset by peer) |
12:01:01 | * | yglukhov_ joined #nim |
12:01:11 | * | BitPuffin joined #nim |
12:04:04 | * | yglukhov quit (Ping timeout: 250 seconds) |
12:05:12 | * | yglukhov_ quit (Ping timeout: 244 seconds) |
12:11:07 | * | dom96_ joined #nim |
12:17:05 | * | Sembei quit (Ping timeout: 244 seconds) |
12:23:08 | ekarlso | hmmm, should a tar iterator use a mutable object or readonly hen reading ? |
12:25:11 | * | Sembei joined #nim |
12:27:53 | dom96_ | readonly |
12:31:55 | * | Sembei quit (Ping timeout: 250 seconds) |
12:34:36 | * | Ven joined #nim |
12:39:42 | * | Sembei joined #nim |
12:49:12 | * | UberLambda joined #nim |
12:56:20 | * | xcombelle quit (Remote host closed the connection) |
13:02:29 | * | kilon joined #nim |
13:23:47 | * | kilon quit (Remote host closed the connection) |
13:28:59 | * | yglukhov joined #nim |
13:32:32 | * | FedeOmoto joined #nim |
13:32:43 | * | kilon joined #nim |
13:33:00 | * | drewsrem joined #nim |
13:36:44 | * | thekilon joined #nim |
13:37:18 | * | kilon quit (Ping timeout: 255 seconds) |
13:40:10 | * | thekilon quit (Remote host closed the connection) |
13:51:50 | * | shevy left #nim ("I'll be back ... maybe") |
13:56:46 | * | Ven quit (Read error: No route to host) |
14:13:54 | * | arnetheduck quit (Read error: Connection reset by peer) |
14:15:06 | * | CryptoToad quit (Ping timeout: 255 seconds) |
14:18:16 | * | pregressive joined #nim |
14:25:59 | * | Ven joined #nim |
14:26:01 | * | Ven quit (Client Quit) |
14:28:45 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
14:29:00 | * | nchambers is now known as uncloakbot |
14:29:09 | * | uncloakbot is now known as dtscode |
14:34:37 | * | NimBot joined #nim |
14:38:15 | * | pregressive quit (Remote host closed the connection) |
14:41:46 | * | zemm quit (Ping timeout: 260 seconds) |
14:43:06 | * | pregressive joined #nim |
14:56:01 | * | zemm joined #nim |
14:57:24 | dom96_ | Sounds like something we could do: https://twitter.com/Argorak/status/636519240292560897 |
15:00:10 | * | gokr quit (Ping timeout: 240 seconds) |
15:03:07 | * | irrequietus joined #nim |
15:21:33 | * | kilon joined #nim |
15:23:33 | * | UberLambda quit (Quit: GTG) |
15:24:47 | * | bendiken joined #nim |
15:36:07 | * | NimBot joined #nim |
15:40:31 | * | xcombelle joined #nim |
15:40:57 | * | kilon quit (Remote host closed the connection) |
15:50:59 | * | Ven joined #nim |
15:57:48 | * | NimBot joined #nim |
15:59:44 | * | dom96_ quit (Quit: Page closed) |
16:00:25 | * | kilon joined #nim |
16:04:44 | * | filcuc quit (Quit: Konversation terminated!) |
16:11:30 | * | strcmp1 quit (Ping timeout: 240 seconds) |
16:12:18 | * | strcmp1 joined #nim |
16:19:45 | * | kilon quit (Remote host closed the connection) |
16:22:40 | * | NimBot joined #nim |
16:23:02 | * | kilon joined #nim |
16:29:48 | * | kilon quit (Ping timeout: 264 seconds) |
16:33:31 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
16:40:33 | * | xet7_ quit (Quit: Leaving) |
16:48:08 | * | aziz quit (Remote host closed the connection) |
16:49:10 | * | yglukhov quit (Ping timeout: 240 seconds) |
16:54:00 | * | Ven joined #nim |
16:56:39 | * | Ven quit (Remote host closed the connection) |
16:58:58 | * | kilon joined #nim |
16:59:17 | * | Ven joined #nim |
17:02:57 | * | pregressive quit (Remote host closed the connection) |
17:03:19 | * | kilon quit (Ping timeout: 244 seconds) |
17:14:44 | * | pregressive joined #nim |
17:30:01 | * | CryptoToad joined #nim |
17:34:40 | * | bendiken quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
17:35:31 | Varriount | Which held a lot of my work on the Windows wrapper. |
17:35:36 | * | bendiken joined #nim |
17:37:19 | federico3 | dom96: +1 |
17:40:17 | * | yglukhov joined #nim |
17:44:48 | * | yglukhov quit (Ping timeout: 264 seconds) |
17:45:24 | * | yglukhov joined #nim |
17:45:34 | * | bendiken quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
17:46:31 | * | bendiken joined #nim |
17:47:56 | * | X67r joined #nim |
17:48:53 | * | yglukhov quit (Remote host closed the connection) |
17:54:01 | * | xet7_ joined #nim |
17:55:17 | dom96 | Varriount: I feel like i'm missing some context? |
17:56:06 | * | yglukhov joined #nim |
17:56:13 | * | bendiken quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
17:57:10 | * | bendiken joined #nim |
17:58:45 | * | Ven quit (Ping timeout: 255 seconds) |
17:59:58 | * | kilon joined #nim |
18:04:54 | * | kilon quit (Ping timeout: 272 seconds) |
18:07:11 | * | bendiken quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
18:07:38 | * | yglukhov quit (Remote host closed the connection) |
18:08:07 | * | bendiken joined #nim |
18:12:31 | * | Demon_Fox joined #nim |
18:16:22 | * | drewsrem quit (Quit: Leaving) |
18:22:00 | * | darkf quit (Quit: Leaving) |
18:24:47 | Araq | Varriount: is that a joke? |
18:25:34 | * | ^aurora^ joined #nim |
18:26:02 | * | yglukhov joined #nim |
18:27:09 | Araq | Varriount: any chance you got a backup somewhere? :-( |
18:34:12 | * | yglukhov quit (Remote host closed the connection) |
18:36:55 | dom96 | Araq: What am I missing here? |
18:37:01 | dom96 | All I see is "Varriount> Which held a lot of my work on the Windows wrapper." |
18:42:29 | * | vendethiel joined #nim |
18:42:38 | * | BitPuffin quit (Ping timeout: 246 seconds) |
18:49:09 | * | Matthias247 joined #nim |
18:53:32 | * | wuehlmau1 is now known as wuehlmaus |
18:57:14 | * | yglukhov joined #nim |
18:59:40 | * | yglukhov quit (Remote host closed the connection) |
19:05:04 | * | NimBot joined #nim |
19:06:41 | * | bendiken quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
19:52:41 | * | gsingh93_ joined #nim |
19:56:21 | * | thotypous quit (Ping timeout: 252 seconds) |
20:00:51 | * | brson joined #nim |
20:11:26 | * | jszymanski1 quit (Quit: computer sleeps...) |
20:16:53 | * | BitPuffin joined #nim |
20:17:00 | * | BitPuffin quit (Remote host closed the connection) |
20:24:45 | * | kilon joined #nim |
20:36:26 | * | xcombelle quit (Remote host closed the connection) |
20:44:29 | * | gokr joined #nim |
20:47:16 | * | gokr quit (Remote host closed the connection) |
20:54:07 | Araq | dom96: Varriount's laptop has been stolen which had the new Windows wrapper |
20:57:26 | * | Raimondii joined #nim |
20:59:43 | * | Trustable quit (Remote host closed the connection) |
21:00:27 | * | Raimondi quit (Ping timeout: 244 seconds) |
21:02:10 | * | zeph_ joined #nim |
21:02:18 | * | zeph quit (Ping timeout: 244 seconds) |
21:03:00 | Jehan_ | Ouch. |
21:04:05 | Jehan_ | Your laptop being stolen just plain sucks. :( |
21:04:20 | * | Raimondii is now known as Raimondi |
21:11:30 | * | yglukhov joined #nim |
21:12:24 | * | johnsoft quit (Ping timeout: 264 seconds) |
21:15:13 | * | johnsoft joined #nim |
21:15:55 | * | yglukhov quit (Ping timeout: 252 seconds) |
21:18:52 | * | kilon quit (Remote host closed the connection) |
21:22:34 | * | vendethiel quit (Quit: q+) |
21:39:43 | * | X67r quit (Read error: Connection reset by peer) |
21:40:13 | * | X67r joined #nim |
21:53:56 | * | NimBot joined #nim |
21:59:55 | NimBot | nim-lang/Nim devel 20c2b00 Araq [+0 ±1 -0]: make --gc:none work with --threads:on |
22:00:21 | * | pregressive quit (Remote host closed the connection) |
22:00:59 | * | jaco60 quit (Remote host closed the connection) |
22:04:56 | * | brson quit (Ping timeout: 246 seconds) |
22:06:41 | * | jaco60 joined #nim |
22:07:32 | * | Jehan_ quit (Quit: Leaving) |
22:08:08 | * | FedeOmoto quit (Quit: Leaving) |
22:14:02 | * | xificurC quit (Ping timeout: 246 seconds) |
22:14:16 | * | gsingh93_ quit (Quit: Connection closed for inactivity) |
22:14:53 | * | xificurC joined #nim |
22:16:01 | * | NimBot joined #nim |
22:21:29 | NimBot | nim-lang/Nim devel 66ff179 Keerthan Jaic [+0 ±2 -0]: add msp430 cpu support |
22:21:29 | NimBot | nim-lang/Nim devel 887869d Dominik Picheta [+0 ±2 -0]: Merge pull request #3251 from jck/msp430... 2 more lines |
22:24:11 | * | BitPuffin|osx joined #nim |
22:25:30 | ekarlso | hmm |
22:25:50 | ekarlso | why is it that when I modify a objects field inside a variable it doesn't get stored ? |
22:26:14 | ekarlso | as in if I inspect obj.position which get's incremented inside a method that's called it's still 0 that it get's set to at init ? |
22:28:23 | ekarlso | oh haha |
22:28:31 | ekarlso | man I must stop coding in eveings |
22:35:25 | ekarlso | hmm, how can one check if a char is empty or not ? |
22:38:10 | * | pregressive joined #nim |
22:39:29 | Araq | if c == '\0': ... |
22:40:13 | ekarlso | :P |
22:40:27 | ekarlso | how does one find out why a program goes stack smashing ? |
22:43:07 | * | nimjoe joined #nim |
22:45:50 | nimjoe | has anyone written a dns library and/or dns packet parser in nim? |
22:48:16 | * | NimBot joined #nim |
22:48:47 | Araq | no idea, but usually c2nim works really well once you accepted you need to edit the C code to its likings |
22:49:24 | nimjoe | hello Araq, thanks. ok, if I don't find one, I will look at c2nim. |
22:49:28 | federico3 | nimjoe: an arbitrary packet parser would be very nice |
22:51:25 | federico3 | Construct is very nice but for Python |
22:53:21 | nimjoe | oh, like: https://github.com/construct/construct/blob/master/construct/protocols/application/dns.py interesting. |
22:54:13 | federico3 | given Nim's ability to create DSL, writing packet parsers should be fun |
22:54:18 | federico3 | Araq: any suggestion? |
22:55:12 | Araq | sure write a DSL |
22:55:31 | Araq | I need to design a DSL to make Nim generate inline assembler |
22:58:03 | * | brson joined #nim |
22:58:04 | ldlework | We need a guide on writing DSL's |
22:58:23 | federico3 | ...with an example on [un]packing binary data :D |
22:59:58 | * | X67r quit (Quit: leaving) |
23:02:42 | NimBot | nim-lang/Nim devel 370781b Araq [+0 ±1 -0]: update Visual Studio command line flags |
23:03:02 | Araq | federico3: just use 'cast' |
23:04:11 | * | FedeOmoto joined #nim |
23:13:31 | * | pregressive quit (Remote host closed the connection) |
23:16:19 | * | filwit joined #nim |
23:18:24 | * | pregressive joined #nim |
23:20:13 | * | Matthias247 quit (Read error: Connection reset by peer) |
23:20:38 | * | pregressive quit (Read error: No route to host) |
23:21:00 | * | pregressive joined #nim |
23:26:26 | * | pregress_ joined #nim |
23:26:48 | * | pregressive quit (Read error: Connection reset by peer) |
23:37:02 | Araq | hey filwit |
23:37:08 | filwit | hi Arag |
23:37:12 | filwit | Araq* |
23:37:15 | * | benaiah is now known as benaiaher |
23:37:38 | Araq | tried our new config system? |
23:37:50 | filwit | haven't heard about it yet |
23:38:03 | filwit | what's changed? |
23:38:15 | * | benaiaher is now known as benaiah |
23:39:16 | * | gsingh93_ joined #nim |
23:41:42 | Araq | it uses NimScript |
23:41:51 | Araq | read the forum |
23:42:04 | filwit | oh right, I saw that post a bit ago but didn't really read it |
23:42:09 | filwit | one sec |
23:44:30 | filwit | Araq: do you have serious plans to replace the existing config system with the new NimScript system in the future? My config files are so basic right now it doesn't really effect my life much |
23:45:12 | filwit | looks interesting though.. like a 'NimBash' |
23:51:27 | Araq | sure I'm serious, the existing config system is a mess and underpowered |
23:53:01 | * | NimBot joined #nim |
23:53:23 | * | irrequietus quit () |
23:55:34 | filwit | Araq: I think I'll understand it a bit better when it's documented.. not sure what you're trying to achieve with the examples given (for instance, I don't understand how the 'listDirs' task example is useful, or what it's trying to show off) |
23:56:30 | filwit | but don't feel like I'm asking for an explanation right now, just saying I'm confused a bit (when it's more documented I'll give it a read-through) |