| 00:04:51 | * | PMunch joined #nim |
| 00:06:14 | * | brson joined #nim |
| 00:27:46 | * | darkf joined #nim |
| 00:55:15 | * | brson quit (Quit: leaving) |
| 01:06:00 | * | Trustable quit (Remote host closed the connection) |
| 01:56:11 | * | apotheon quit (Read error: Connection reset by peer) |
| 02:01:20 | * | apotheon joined #nim |
| 02:08:48 | * | PMunch quit (Ping timeout: 244 seconds) |
| 02:33:47 | * | alexsystemf_ quit (Quit: Connection closed for inactivity) |
| 02:44:33 | * | brson joined #nim |
| 03:22:18 | * | nande joined #nim |
| 03:24:50 | * | brson quit (Quit: leaving) |
| 03:29:14 | * | bjz_ joined #nim |
| 03:31:37 | * | bjz quit (Ping timeout: 260 seconds) |
| 03:55:01 | * | bjz joined #nim |
| 03:57:18 | * | bjz_ quit (Ping timeout: 276 seconds) |
| 04:36:34 | * | pandada8 quit (Ping timeout: 244 seconds) |
| 04:59:49 | * | lqdc quit (Ping timeout: 250 seconds) |
| 05:00:03 | * | SShrike joined #nim |
| 05:00:16 | * | SShrike quit (Remote host closed the connection) |
| 05:06:04 | * | nande quit (Read error: No route to host) |
| 05:23:06 | * | perturbation quit (Quit: Leaving) |
| 05:41:06 | * | pandada8 joined #nim |
| 06:02:07 | * | apotheon quit (Ping timeout: 260 seconds) |
| 06:06:47 | * | apotheon joined #nim |
| 06:15:03 | * | endragor joined #nim |
| 06:57:21 | * | Demon_Fox quit (Ping timeout: 276 seconds) |
| 06:57:49 | * | Demon_Fox joined #nim |
| 07:10:21 | * | bjz quit (Ping timeout: 276 seconds) |
| 07:42:36 | * | bjz joined #nim |
| 07:48:04 | * | bjz quit (Ping timeout: 240 seconds) |
| 07:53:22 | * | bjz joined #nim |
| 07:55:31 | * | yglukhov joined #nim |
| 07:59:37 | * | yglukhov quit (Ping timeout: 244 seconds) |
| 08:04:48 | * | Demon_Fox quit (Quit: Leaving) |
| 08:31:36 | * | silven quit (Ping timeout: 244 seconds) |
| 08:32:25 | * | silven joined #nim |
| 08:41:34 | * | Matthias247 joined #nim |
| 08:52:20 | * | desophos quit (Read error: Connection reset by peer) |
| 08:56:26 | * | Matthias247 quit (Read error: Connection reset by peer) |
| 09:02:08 | * | irrequietus joined #nim |
| 09:07:26 | * | Arrrr joined #nim |
| 09:07:26 | * | Arrrr quit (Changing host) |
| 09:07:26 | * | Arrrr joined #nim |
| 09:08:39 | * | vendethiel- joined #nim |
| 09:10:17 | * | vendethiel quit (Ping timeout: 250 seconds) |
| 09:13:47 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
| 09:23:30 | * | bjz joined #nim |
| 09:23:41 | * | Ven joined #nim |
| 09:42:07 | * | elrood joined #nim |
| 09:49:03 | * | apotheon quit (Ping timeout: 246 seconds) |
| 10:04:55 | * | fredrik92 joined #nim |
| 10:21:42 | * | SianaGea1z quit (Ping timeout: 244 seconds) |
| 10:22:30 | * | SianaGearz joined #nim |
| 10:22:30 | * | SianaGearz quit (Changing host) |
| 10:22:31 | * | SianaGearz joined #nim |
| 10:24:36 | * | apotheon joined #nim |
| 10:51:10 | * | endragor quit (Ping timeout: 248 seconds) |
| 10:57:03 | * | endragor joined #nim |
| 10:57:08 | * | endragor quit (Remote host closed the connection) |
| 10:57:56 | * | endragor joined #nim |
| 11:37:48 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 11:53:21 | * | irrequietus quit () |
| 12:14:15 | federico3 | niv: very nice |
| 12:14:38 | niv | federico3: pardon? |
| 12:14:46 | federico3 | your reactor library |
| 12:14:56 | * | krux02 joined #nim |
| 12:14:57 | niv | oh, haha. its not mine. i just found it. |
| 12:15:28 | federico3 | ah. Then kudos to zielmicha |
| 12:20:51 | niv | i havent played with it yet, im loathe to move away from the builtins unless neccessary |
| 12:23:06 | * | yglukhov joined #nim |
| 12:26:02 | * | yglukhov quit (Remote host closed the connection) |
| 12:26:35 | * | yglukhov joined #nim |
| 12:27:11 | * | yglukhov quit (Remote host closed the connection) |
| 12:27:27 | * | yglukhov joined #nim |
| 12:49:26 | dom96 | niv: haven't played with it myself, but looks nice. |
| 12:49:48 | cheatfate | dom96, it has same problems with timers like yours implementation |
| 12:53:01 | * | fredrik92 quit (Ping timeout: 250 seconds) |
| 12:57:54 | cheatfate | libuv dont use hardware timers |
| 12:58:51 | dom96 | cheatfate: any other advantages/disadvantages in comparison to my implementation? |
| 12:59:51 | cheatfate | ok it support signals/processes/custom user events and has async dns resolver (but it uses threads) |
| 13:00:11 | cheatfate | so its not true async dns resolver :) |
| 13:01:02 | cheatfate | i dont tested reactor.nim i just give you info on libuv |
| 13:01:23 | cheatfate | reactor is based on libuv |
| 13:03:57 | * | irrequietus joined #nim |
| 13:05:23 | * | yglukhov quit (Remote host closed the connection) |
| 13:10:32 | * | yglukhov joined #nim |
| 13:12:15 | * | darkf quit (Quit: Leaving) |
| 13:12:17 | endragor | how do I disable XDeclaredButNotUsed hint for single proc (not whole module)? Wrapping it into {.hints:off.}, {.hints:on.} seems to work, but doing so for the single hint ({.hint[XDeclaredButNotUsed]: off/on.}) doesn't. bug? |
| 13:12:41 | * | vendethiel- quit (Ping timeout: 244 seconds) |
| 13:12:45 | niv | dom96: dogmatic style question: pure enums, or prefixed enums? |
| 13:13:17 | dom96 | niv: pure |
| 13:13:38 | niv | ty |
| 13:14:01 | Araq | endragor: there is something weird going on, and it's been reported already. |
| 13:14:20 | Araq | that said, .push/.pop around the procs is flawed to begin with. |
| 13:14:53 | Araq | "undeclared" messages are produced at scope end |
| 13:15:15 | Araq | and by then the compiler doesn't remember the .push/pop pair. |
| 13:15:31 | Araq | bbl |
| 13:15:39 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 13:16:07 | endragor | Araq: so no good way to do that for now? (hints off/on acts differently from push/pop as it seems btw) |
| 13:42:45 | * | PMunch joined #nim |
| 13:43:21 | * | irrequietus_ joined #nim |
| 13:43:29 | * | irrequietus_ quit (Client Quit) |
| 13:46:21 | * | irrequietus quit (Ping timeout: 246 seconds) |
| 13:48:59 | niv | on a scale from 1 to omg, how horrible is this? https://gist.github.com/niv/6e2cbd9217a02bc694e2f0bef06ede23 |
| 13:55:33 | federico3 | niv: what exactly? |
| 13:55:57 | niv | just the general hackishness of it. i was being cheeky, fishing for feedback |
| 13:56:11 | niv | im sure there's better ways to do it or horrible things in the night that i overlooked |
| 13:56:47 | niv | i like the idea of being able to just declare a tuple on the stack and unpack json into it without going through the usual motions |
| 14:04:06 | federico3 | a structured deserializer is quite useful |
| 14:08:08 | * | vendethiel joined #nim |
| 14:09:30 | federico3 | niv: I wonder if you could use template and macros to generate the deserialization code at compile time |
| 14:10:24 | niv | federico3: maybe, but i dont know enough about that? and it seems kind of "too smart", considering i only need to cover a handful of cases |
| 14:11:39 | federico3 | maybe this should be part of the JSON module actually |
| 14:16:27 | niv | needs more polishing in any case. and the time handler currently breaks non-gmt timezones :) |
| 14:16:44 | niv | maybe add support to supply converters for custom types, but no idea how to best do that atm |
| 14:16:53 | federico3 | IMO anything non-JSON should be optional |
| 14:17:22 | niv | well the time converter one is pretty json-y and its something anyone working with json apis will run into |
| 14:19:21 | * | PMunch quit (Ping timeout: 276 seconds) |
| 14:19:54 | federico3 | uhm? JSON does not have a data format |
| 14:20:39 | niv | not by spec, no. but virtually everyone is using iso8601 in utc timezone |
| 14:21:28 | federico3 | yup, that why I'm saying it can be supported optionally by enabling it with a flag |
| 14:23:52 | federico3 | actually, given that the user is providing a type for JSON conversion, it's going to be quite clear if there are fields that will contain a Time |
| 14:27:31 | niv | youre right though, best make it optional/replaceable |
| 14:28:35 | federico3 | there could be a strict parser that refuses to handle any type that contains non-JSON formats and a lenient one |
| 14:28:55 | * | yglukhov joined #nim |
| 14:35:20 | * | yglukhov_ joined #nim |
| 14:35:26 | * | yglukhov quit (Ping timeout: 268 seconds) |
| 14:39:31 | * | yglukhov_ quit (Ping timeout: 244 seconds) |
| 15:04:55 | * | Ven joined #nim |
| 15:05:06 | cncl | is there a way to assure the nim compiler that i'm initializing a field (in this case via memset) when using the requiresInit pragma? |
| 15:06:25 | Araq | cncl: I don't think so. |
| 15:06:56 | * | desophos joined #nim |
| 15:10:42 | cncl | ah ok. no problem |
| 15:10:57 | cncl | turns out it makes almost no performance difference in this case |
| 15:29:45 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 15:34:47 | * | Matthias247 joined #nim |
| 15:40:16 | federico3 | writing a wrapper for nettle doesn't seem that obvious. |
| 15:43:14 | niv | federico3: https://gist.github.com/niv/d2b7e41ad5b2c8d8b62b4ccaef337043 |
| 15:43:48 | niv | now with more pluggability or something |
| 15:46:54 | federico3 | nice |
| 15:49:05 | * | Ven joined #nim |
| 15:49:54 | * | fredrik92 joined #nim |
| 15:57:22 | niv | is there some kind of documentation somewhere on how to structure nimble packages? |
| 15:57:45 | niv | i see the private/ directory repeated across packages. is that a requirement, and/or good style? |
| 15:59:23 | * | Matthias247 quit (Read error: Connection reset by peer) |
| 16:02:11 | dom96 | niv: nimble readme |
| 16:02:55 | dom96 | and yes, to the second question |
| 16:03:53 | niv | so if i have a global file called jser.nim which is used to pull in the core packages, is it good style to put optional packages in jser/*.nim? i've tested with nimble install, and it then looks like this: import jser ; import jser/more... |
| 16:04:23 | niv | i've split up the internals into separate files and im putting them into private/, then from the global file i just include them inline |
| 16:07:54 | dom96 | sure, sounds good |
| 16:08:11 | niv | thank you :) |
| 16:24:17 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 16:36:40 | * | yglukhov joined #nim |
| 16:41:02 | * | yglukhov quit (Ping timeout: 248 seconds) |
| 16:41:49 | * | fredrik92 quit (Ping timeout: 250 seconds) |
| 16:50:55 | * | fredrik92 joined #nim |
| 17:05:28 | niv | hmm, there's a bug in the times module i think |
| 17:07:18 | niv | ah, already reported. nvm |
| 17:12:09 | * | endragor quit (Ping timeout: 250 seconds) |
| 17:23:41 | * | yglukhov joined #nim |
| 17:24:06 | * | yglukhov quit (Remote host closed the connection) |
| 17:24:22 | * | yglukhov joined #nim |
| 17:24:44 | niv | dom96: if you want & have some time in the coming days, kindly look over https://github.com/niv/jser.nim to see if all is proper, before i attempt to publish to nimble (federico3: might interest you too) |
| 17:29:19 | dom96 | niv: private dir should be inside 'jser' dir |
| 17:29:25 | dom96 | btw did you see the marshal module? |
| 17:30:25 | niv | dom96: oh, with jester its not in a subdir. and yes, saw marshal, but that doesnt save field names and seems a bad idea to throw user generated json against anyways |
| 17:32:59 | * | McSpiros joined #nim |
| 17:34:17 | federico3 | dom96: I have a little doc build/publish script at https://gist.github.com/FedericoCeratto/410fcc8b94f7ecd0f1ec0be6f6b1157b |
| 17:35:02 | federico3 | do you see it being part of nimble, or on the wiki or something? |
| 17:40:37 | * | Trustable joined #nim |
| 17:42:39 | * | yglukhov quit (Read error: Connection reset by peer) |
| 17:43:14 | * | yglukhov joined #nim |
| 18:06:40 | * | Jesin quit (Quit: Leaving) |
| 18:09:05 | * | Jesin joined #nim |
| 18:09:14 | * | yglukhov quit (Remote host closed the connection) |
| 18:09:53 | * | yglukhov joined #nim |
| 18:33:48 | dom96 | federico3: I'd rather put it on the wiki for now. |
| 18:34:10 | niv | dom96: whats the reasoning for putting private into a subdir? |
| 18:34:39 | dom96 | niv: if two packages install 'private/utils' then which one should the compiler pick? |
| 18:35:01 | niv | hmm, right. i just figured it was a special case since i have seen a lot of packages do it |
| 18:37:57 | dom96 | it is a special case, but some packages do it wrong (including Jester) |
| 18:38:35 | niv | so the best way is to do it <pkgname>/private/whatever? |
| 18:38:49 | niv | how is it handled as a special case then? |
| 18:41:29 | * | apotheon quit (Ping timeout: 268 seconds) |
| 18:42:32 | niv | sorry for asking all these questions, just want to know what's the right thing to do |
| 18:43:49 | dom96 | well, it's not really handled as a special case by any of the tools yet |
| 18:43:55 | dom96 | it's just a special convention |
| 18:44:33 | niv | got it |
| 18:46:13 | niv | whats the new nimscript equivalent of SkipFiles and friends? |
| 18:47:18 | * | apotheon joined #nim |
| 18:48:33 | niv | found it, it's skipFiles = @[] |
| 19:17:06 | * | yglukhov quit (Remote host closed the connection) |
| 19:30:35 | * | couven92 joined #nim |
| 19:30:57 | * | Arrrr left #nim ("WeeChat 1.4") |
| 19:42:31 | * | gokr joined #nim |
| 19:59:23 | * | Matthias247 joined #nim |
| 20:07:50 | * | Jesin quit (Quit: Leaving) |
| 20:10:09 | * | yglukhov joined #nim |
| 20:16:54 | * | yglukhov quit (Remote host closed the connection) |
| 20:23:46 | * | mat4 joined #nim |
| 20:23:48 | mat4 | hello |
| 20:23:54 | niv | hullo |
| 20:24:13 | mat4 | hi niv |
| 20:24:31 | couven92 | Hi there :-) |
| 20:32:31 | mat4 | what is the syntax for defining a constructor (I mean a function which is implicit invoked at object instanciation) ? |
| 20:34:20 | * | Trustable quit (Remote host closed the connection) |
| 20:35:17 | * | couven92 quit (Quit: Shutting down . . .) |
| 20:35:38 | * | couven92 joined #nim |
| 20:37:08 | * | sora_kun joined #nim |
| 20:46:26 | cheatfate | asyncdispatch code is something looks like it was outsourced at least 2-3 times :) |
| 20:47:36 | * | sora_kun quit (Remote host closed the connection) |
| 20:49:54 | cheatfate | because algorithm of send() in windows is different from unix send() :) about connect() i told some days ago :) |
| 20:52:04 | * | Matthias247 quit (Read error: Connection reset by peer) |
| 21:01:58 | krux02 | mat4: there is no function that get's implicitly invoked |
| 21:02:57 | krux02 | the pattern to use, is to write a procedure that is called newMyType(arg1 Type1, ...) : MyType = |
| 21:10:39 | * | Jesin joined #nim |
| 21:12:49 | mat4 | thanks, I hoped this feature was added recently |
| 21:16:26 | * | mat4 quit (Quit: Leaving) |
| 21:33:15 | * | McSpiros quit (Quit: Page closed) |
| 21:34:07 | * | elrood quit (Quit: Leaving) |
| 21:51:43 | * | nande joined #nim |
| 22:00:22 | * | nvt_ joined #nim |
| 22:03:03 | nvt_ | Hello all, does anyone know if Boehm GC supports the max pause settings? Also, are there any good general references about Boehm GC? |
| 22:35:07 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
| 22:35:23 | * | brson joined #nim |
| 22:46:21 | * | ekarlso quit (Ping timeout: 276 seconds) |
| 22:48:01 | * | krux02 quit (Quit: Verlassend) |
| 22:53:25 | * | bjz joined #nim |
| 23:00:30 | * | ekarlso joined #nim |
| 23:05:40 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
| 23:07:17 | * | Jesin quit (Quit: Leaving) |
| 23:39:53 | * | fredrik92 quit (Read error: Connection reset by peer) |
| 23:40:44 | * | couven92 quit (Quit: Good Night!) |
| 23:41:26 | * | Jesin joined #nim |