| 00:04:07 | * | yglukhov joined #nim |
| 00:06:32 | * | |2701 quit (Changing host) |
| 00:06:32 | * | |2701 joined #nim |
| 00:06:32 | * | |2701 quit (Changing host) |
| 00:06:32 | * | |2701 joined #nim |
| 00:08:47 | * | yglukhov quit (Ping timeout: 260 seconds) |
| 00:45:01 | * | yglukhov joined #nim |
| 00:49:30 | * | yglukhov quit (Ping timeout: 260 seconds) |
| 00:53:01 | * | libman quit (Remote host closed the connection) |
| 01:13:00 | * | yglukhov joined #nim |
| 01:17:22 | * | yglukhov quit (Ping timeout: 252 seconds) |
| 01:49:33 | * | yglukhov joined #nim |
| 01:50:53 | tautologico | it seems generic templates aren't working... what is the recommended workaround? |
| 01:54:03 | * | yglukhov quit (Ping timeout: 240 seconds) |
| 02:12:54 | * | saml_ quit (Ping timeout: 276 seconds) |
| 02:16:48 | * | PMunch quit (Ping timeout: 276 seconds) |
| 02:25:45 | * | yglukhov joined #nim |
| 02:30:10 | * | pregressive joined #nim |
| 02:30:27 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 02:47:28 | * | pregressive quit (Remote host closed the connection) |
| 03:02:02 | * | yglukhov joined #nim |
| 03:07:02 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 03:11:21 | * | |2701 quit (Quit: Connection closed for inactivity) |
| 03:37:57 | * | kseg quit (Quit: kseg) |
| 03:38:15 | * | yglukhov joined #nim |
| 03:38:52 | * | kseg joined #nim |
| 03:42:42 | * | yglukhov quit (Ping timeout: 250 seconds) |
| 03:49:10 | * | space-wi_ joined #nim |
| 03:52:12 | * | space-wizard quit (Ping timeout: 260 seconds) |
| 04:07:33 | cjh` | where are the semantics for nim's assignment operator defined? in particular: when a user defined assignment operator is expected to be called |
| 04:07:38 | cjh` | context: https://github.com/nim-lang/Nim/issues/4174 |
| 04:14:32 | * | yglukhov joined #nim |
| 04:19:24 | * | yglukhov quit (Ping timeout: 260 seconds) |
| 04:38:52 | * | yglukhov joined #nim |
| 04:42:47 | * | space-wi_ quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
| 04:42:59 | * | Demon_Fox joined #nim |
| 04:43:18 | * | yglukhov quit (Ping timeout: 246 seconds) |
| 05:03:47 | * | cheatfate_ joined #nim |
| 05:04:24 | * | zodiak_ joined #nim |
| 05:06:07 | * | mal``` joined #nim |
| 05:11:07 | * | M-max1 joined #nim |
| 05:11:52 | * | dariusc93 joined #nim |
| 05:12:54 | * | mal`` quit (Ping timeout: 246 seconds) |
| 05:12:54 | * | M-max quit (Ping timeout: 246 seconds) |
| 05:12:54 | * | darius93 quit (Ping timeout: 246 seconds) |
| 05:12:55 | * | onionhammer quit (Ping timeout: 246 seconds) |
| 05:12:55 | * | dyce_ quit (Ping timeout: 246 seconds) |
| 05:12:56 | * | zodiak quit (Ping timeout: 246 seconds) |
| 05:12:56 | * | pandada8 quit (Ping timeout: 246 seconds) |
| 05:12:57 | * | kingofoz quit (Ping timeout: 246 seconds) |
| 05:12:57 | * | cheatfate quit (Ping timeout: 246 seconds) |
| 05:12:58 | * | Roin quit (Ping timeout: 246 seconds) |
| 05:12:58 | * | federico3 quit (Ping timeout: 246 seconds) |
| 05:12:58 | * | allan0 quit (Ping timeout: 246 seconds) |
| 05:13:00 | * | vegansk quit (Ping timeout: 246 seconds) |
| 05:13:00 | * | Amun_Ra quit (Ping timeout: 246 seconds) |
| 05:13:07 | * | kingofoz joined #nim |
| 05:13:39 | * | pandada8 joined #nim |
| 05:14:21 | * | Roin joined #nim |
| 05:14:25 | * | vegansk joined #nim |
| 05:14:26 | * | onionhammer joined #nim |
| 05:14:35 | * | dyce_ joined #nim |
| 05:14:55 | * | yglukhov joined #nim |
| 05:15:00 | * | federico3 joined #nim |
| 05:15:54 | * | Amun_Ra joined #nim |
| 05:18:55 | * | allan0 joined #nim |
| 05:19:42 | * | yglukhov quit (Ping timeout: 260 seconds) |
| 05:27:24 | * | kingofoz quit (Ping timeout: 246 seconds) |
| 05:27:50 | * | kingofoz joined #nim |
| 05:34:22 | * | endragor joined #nim |
| 05:39:19 | * | yglukhov joined #nim |
| 05:44:09 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 06:03:29 | * | yglukhov joined #nim |
| 06:05:22 | * | gokr joined #nim |
| 06:10:48 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 06:19:42 | * | endragor_ joined #nim |
| 06:22:33 | * | endragor quit (Ping timeout: 240 seconds) |
| 06:23:04 | * | yglukhov joined #nim |
| 06:27:17 | * | yglukhov quit (Ping timeout: 244 seconds) |
| 06:33:56 | * | endragor_ quit (Remote host closed the connection) |
| 06:36:41 | * | endragor joined #nim |
| 06:52:05 | * | fastrom joined #nim |
| 07:02:25 | * | space-wizard joined #nim |
| 07:05:39 | * | GangstaCat quit (Ping timeout: 260 seconds) |
| 07:06:16 | * | space-wizard quit (Client Quit) |
| 07:15:30 | * | kingofoz quit (Quit: Leaving) |
| 07:18:32 | * | SShrike joined #nim |
| 07:31:58 | * | fastrom quit (Quit: Leaving.) |
| 07:40:20 | * | kingofoz joined #nim |
| 07:45:51 | * | Trustable joined #nim |
| 07:51:07 | * | endragor quit (Remote host closed the connection) |
| 08:07:40 | * | endragor joined #nim |
| 08:25:04 | * | zahary joined #nim |
| 08:42:48 | * | yglukhov joined #nim |
| 08:44:31 | * | vqrs joined #nim |
| 08:44:40 | * | kseg_ joined #nim |
| 08:45:00 | * | saml_ joined #nim |
| 08:45:10 | * | huonw_ joined #nim |
| 08:45:30 | * | Xe` joined #nim |
| 08:45:41 | * | CARAM__ quit (Ping timeout: 250 seconds) |
| 08:45:42 | * | huonw quit (Ping timeout: 250 seconds) |
| 08:45:42 | * | NhanH quit (Ping timeout: 250 seconds) |
| 08:45:44 | * | Xe quit (Ping timeout: 250 seconds) |
| 08:45:45 | * | vqrs_ quit (Ping timeout: 250 seconds) |
| 08:45:46 | * | kseg quit (Ping timeout: 250 seconds) |
| 08:45:46 | * | StarBrilliant quit (Ping timeout: 250 seconds) |
| 08:45:47 | * | EastByte_ quit (Ping timeout: 250 seconds) |
| 08:45:51 | * | flyx quit (Ping timeout: 250 seconds) |
| 08:45:52 | * | autumnl quit (Ping timeout: 250 seconds) |
| 08:45:52 | * | saml quit (Ping timeout: 250 seconds) |
| 08:45:54 | * | fowl quit (Ping timeout: 250 seconds) |
| 08:45:57 | * | kseg_ is now known as kseg |
| 08:45:57 | * | notfowl joined #nim |
| 08:45:59 | * | StarBrilliant joined #nim |
| 08:46:13 | * | saml_ quit (Max SendQ exceeded) |
| 08:46:26 | * | EastByte_ joined #nim |
| 08:46:39 | * | saml_ joined #nim |
| 08:47:54 | * | flyx joined #nim |
| 08:49:23 | * | zielmicha quit (Read error: Connection reset by peer) |
| 08:49:32 | * | Xe` is now known as Xe |
| 08:55:54 | * | Sembei joined #nim |
| 08:56:37 | * | NhanH joined #nim |
| 08:56:54 | * | CARAM__ joined #nim |
| 08:57:24 | * | zielmicha joined #nim |
| 09:02:51 | * | Vladar joined #nim |
| 09:03:11 | Vladar | hi |
| 09:04:30 | Vladar | should it be considered a bug if "+".parseFloat(f) and "-".parseFloat(f) returns 1? |
| 09:05:35 | * | nsf quit (Quit: WeeChat 1.4) |
| 09:06:17 | Araq_ | Vladar: indeed. regression? |
| 09:06:45 | Vladar | probably, wasn't there before |
| 09:06:58 | Vladar | then I post it on github |
| 09:07:11 | Araq_ | we changed parseFloat yesterday :-) |
| 09:07:20 | Vladar | parseInt is all right though |
| 09:07:22 | Araq_ | great how quick you are |
| 09:07:28 | Araq_ | we didn't change parseInt ;-) |
| 09:08:06 | Vladar | my lis.nim started infinite-looping on (+ a b) and (- a b) =) |
| 09:11:50 | Vladar | posted |
| 09:16:29 | * | Arrrr joined #nim |
| 09:29:41 | * | cheatfate_ is now known as cheatfate |
| 09:31:33 | yglukhov | Araq_: hi, could you please have a look into https://github.com/nim-lang/Nim/pull/4068? It's been a while... |
| 09:36:00 | * | SShrike quit (Quit: SShrike) |
| 09:36:05 | Araq_ | yglukhov: I have looked into this bug before without any insights, but your fix cannot work and you know it |
| 09:37:59 | yglukhov | Araq_: will my fix break anything? |
| 09:38:29 | Araq_ | it should. typedesc[enum] is simply not the same as enum |
| 09:43:58 | Araq_ | hmm for your test program I now get |
| 09:44:00 | Araq_ | lib/core/macros.nim(257, 22) Error: redefinition of 'geItem1' |
| 09:44:06 | Araq_ | wtf |
| 09:45:15 | * | Parashurama joined #nim |
| 09:50:17 | yglukhov | im getting the same now. regardless of my fix. some new regression probably. |
| 09:51:35 | Parashurama | Araq_: My bad for the parseFloat issue. The fix should be pretty easy. |
| 09:51:59 | Araq_ | Parashurama: please fix it |
| 09:52:01 | Parashurama | simply check for a single 'sign' with nodigits |
| 09:52:23 | Araq_ | no worries, but I cannot do every little bugfix on my own |
| 09:52:39 | Araq_ | I wouldn't do anything else the whole day then. |
| 09:54:56 | Parashurama | Araq_: how do you add a test file in tests. simply adding the file in the folder? |
| 09:58:10 | yglukhov | Araq_: the regression was introduced in https://github.com/nim-lang/Nim/commit/c870e831c8ab53adacffa80939be70de85de7601 |
| 09:58:27 | Araq_ | yglukhov: yeah I know, and I have a fix for that |
| 09:58:47 | Araq_ | Parashurama: depends on the folder and the file needs to start with 't' |
| 09:58:52 | yglukhov | cool. do you by any chance have a fix for my issue? ;) |
| 09:58:59 | Araq_ | working on it |
| 09:59:15 | Araq_ | I think I know what's wrong with it |
| 09:59:38 | yglukhov | fingers crossed =) |
| 09:59:43 | Parashurama | Araq_: so i can just add a tfloat5.nim in tests/float/ and it should work. |
| 10:00:09 | Araq_ | try it: tests/testament/tester cat float |
| 10:00:34 | Araq_ | I have an alias for that btw, 'tt float' |
| 10:01:41 | Parashurama | Ok it works. nice. |
| 10:15:26 | Araq_ | yglukhov: the real problem seems to be that an enum without an attached symbol is produced |
| 10:18:33 | yglukhov | ok, but the symbol should then be attached when after macro returns, right? and i suppose if my fix is so simple to make it work, then the "right" fix should not be much harder? =) |
| 10:27:23 | * | Demon_Fox_ joined #nim |
| 10:27:47 | * | Demon_Fox quit (Disconnected by services) |
| 10:27:51 | * | Demon_Fox_ is now known as Demon_Fox |
| 10:36:29 | * | kseg quit (Quit: kseg) |
| 10:38:09 | Araq_ | yglukhov: indeed, I have a proper fix |
| 10:39:43 | * | arnetheduck joined #nim |
| 10:44:43 | Araq_ | yglukhov: check it out and change your PR to only add the testcase |
| 10:46:21 | * | GangstaCat joined #nim |
| 10:48:13 | yglukhov | awesome! |
| 10:49:58 | * | Sembei quit (Ping timeout: 250 seconds) |
| 10:56:29 | * | Sembei joined #nim |
| 11:08:42 | * | nsf joined #nim |
| 11:21:09 | * | PMunch joined #nim |
| 11:31:06 | * | kulelu88 joined #nim |
| 11:52:40 | * | |2701 joined #nim |
| 12:04:33 | * | Salewski joined #nim |
| 12:05:08 | Salewski | removeDir() but only when dir is empty. Ideas? |
| 12:08:53 | Salewski | https://rosettacode.org/wiki/Empty_directory#Nim |
| 12:09:03 | * | Salewski quit (Client Quit) |
| 12:19:47 | * | elrood joined #nim |
| 12:35:38 | cheatfate | dom96, you can update your https://github.com/nim-lang/Nim/issues/4123 |
| 12:36:51 | kulelu88 | I was watching Araq_s talk at Nim conf last year, very cool |
| 12:37:13 | Gonzih | kulelu88: link? |
| 12:37:58 | kulelu88 | https://www.youtube.com/watch?v=zb3Sqs7lNJo |
| 12:38:05 | Gonzih | thanks! |
| 12:39:55 | dom96 | cheatfate: updated |
| 12:42:54 | cheatfate | dom96, and what `cancel` must do? just set state of future to `canceled` and call callback? or you want to introduce another callback? |
| 12:44:34 | * | wuehlmaus quit (Quit: Lost terminal) |
| 12:46:29 | * | nsf quit (Quit: WeeChat 1.4) |
| 13:01:43 | arnetheduck | let's say I have a bunch of tasks that I want to run in parallel, limited by #cpus and collect results from each.. how would I go about? |
| 13:02:37 | arnetheduck | I can prepare the list up front or as the tasks finish, doesn't really matter (though I guess the latter makes more sense because then generation and running can be parallel as well) |
| 13:06:48 | Araq_ | arnetheduck: results[i] = spawn foo() and then collect the acc = merge(acc, ^results[i]) |
| 13:12:28 | arnetheduck | thanks |
| 13:14:23 | dom96 | cheatfate: possibly a bit more than that |
| 13:14:31 | dom96 | for windows it needs to cancel the operation |
| 13:17:30 | cheatfate | dom96, and this is a problem, because CancelIO operation would cancel all operations for `handle`... |
| 13:17:49 | * | gokr quit (Ping timeout: 260 seconds) |
| 13:18:41 | cheatfate | CancelIoEx was introduced only with Vista |
| 13:19:21 | dom96 | That's good enough. |
| 13:20:03 | dom96 | We can fallback to select on Windows, or just not support 'cancel' on it. |
| 13:20:11 | dom96 | *windows XP |
| 13:22:10 | * | nsf joined #nim |
| 13:22:35 | cheatfate | and there is one more problem CancelIO could not cancel operations which are not belongs to thread... |
| 13:28:01 | cheatfate | so if we start #cpu poll() threads we can't use cancelIO anymore... |
| 13:30:42 | cheatfate | so i think we need threadId in future |
| 13:32:59 | * | GangstaCat quit (Ping timeout: 260 seconds) |
| 13:35:27 | * | fastrom joined #nim |
| 13:46:46 | * | Parashurama quit (Quit: ChatZilla 0.9.92 [Firefox 46.0/20160425115046]) |
| 13:48:08 | * | zaquest quit (Remote host closed the connection) |
| 13:49:07 | * | zaquest joined #nim |
| 13:50:55 | * | fastrom quit (Read error: Connection reset by peer) |
| 13:53:38 | * | saml_ quit (Remote host closed the connection) |
| 13:56:42 | * | saml joined #nim |
| 14:07:26 | * | Sembei quit (Ping timeout: 276 seconds) |
| 14:07:50 | * | gokr joined #nim |
| 14:08:31 | * | lubos_cz joined #nim |
| 14:13:55 | * | Pisuke joined #nim |
| 14:13:56 | * | PMunch quit (Ping timeout: 276 seconds) |
| 14:15:07 | * | fastrom joined #nim |
| 14:22:01 | * | kulelu88 quit (Quit: Leaving) |
| 14:23:23 | * | Pisuke quit (Read error: Connection reset by peer) |
| 14:24:17 | * | Pisuke joined #nim |
| 14:30:57 | * | fastrom quit (Read error: Connection reset by peer) |
| 14:33:54 | * | arnetheduck quit (Ping timeout: 276 seconds) |
| 14:35:32 | * | arnetheduck joined #nim |
| 14:36:24 | * | GangstaCat joined #nim |
| 14:46:50 | * | fastrom joined #nim |
| 14:58:35 | * | ozra joined #nim |
| 14:58:48 | * | ozra left #nim (#nim) |
| 15:16:16 | * | fastrom quit (Read error: Connection reset by peer) |
| 15:33:44 | * | libman joined #nim |
| 15:34:23 | * | |2701 quit (Changing host) |
| 15:34:23 | * | |2701 joined #nim |
| 15:34:23 | * | |2701 quit (Changing host) |
| 15:34:23 | * | |2701 joined #nim |
| 15:40:31 | * | fastrom joined #nim |
| 15:51:18 | * | fastrom quit (Read error: Connection reset by peer) |
| 15:57:15 | * | fastrom joined #nim |
| 15:59:03 | * | arnetheduck quit (Ping timeout: 276 seconds) |
| 15:59:49 | tautologico | is there a way to pass a type to a macro? |
| 16:04:35 | Araq_ | tautologico: sure, via typedesc |
| 16:06:15 | * | fastrom quit (Quit: Leaving.) |
| 16:16:37 | * | PMunch joined #nim |
| 16:24:21 | yglukhov | Araq_: should it be easy to allow macro pragmas over type definitions? :) |
| 16:24:47 | Araq_ | in theory, yes. |
| 16:24:53 | Araq_ | in practice ... not so much. |
| 16:34:03 | Arrrr | Do you plan to introduce them? |
| 16:37:58 | Araq_ | sure |
| 16:42:38 | Arrrr | Sure as in "Why not" or it is in your todo list |
| 16:45:23 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 16:47:04 | Araq_ | it's in my todo, but low priority. |
| 16:49:36 | Arrrr | I see |
| 16:59:13 | tautologico | any documentation about creating macros with quoting & antiquoting? can't find anything in the manual or tutorial |
| 17:00:16 | Arrrr | do you mean using quote do ? |
| 17:00:54 | tautologico | I think I saw something about quoting in the macros module |
| 17:01:10 | tautologico | like lisp macros |
| 17:01:18 | tautologico | '(f (,a ,b)) |
| 17:01:45 | tautologico | so I don't have to build the AST by hand |
| 17:02:03 | * | lubos_cz quit (Ping timeout: 240 seconds) |
| 17:02:31 | dom96 | tautologico: you can use this http://nim-lang.org/docs/macros.html#quote,stmt,string |
| 17:02:37 | dom96 | but in my experience it doesn't work very well |
| 17:02:55 | tautologico | I see |
| 17:03:00 | dom96 | you can also use parseStmt/expr or templates + getAst |
| 17:03:18 | tautologico | for my current use case a generic template would be enough, but the compiler SIGSEGV's when compiling the template |
| 17:03:34 | dom96 | that's a compiler bug, report it on github |
| 17:03:56 | tautologico | will do |
| 17:05:23 | dom96 | thanks |
| 17:08:37 | Araq_ | tautologico: my favourite solution is template + getAst |
| 17:10:45 | tautologico | Araq_: do you have an example of that? |
| 17:12:07 | Araq_ | macro m(...): untyped = |
| 17:12:10 | Araq_ | template helper(x, i): untyped = x[i] * i + i |
| 17:12:23 | Araq_ | result = getAst(helper(foo, bar)) |
| 17:13:01 | Araq_ | the crucial part is that the template can be .dirty |
| 17:13:23 | Araq_ | macros.quote doesn't support dirtiness iirc |
| 17:19:37 | * | space-wizard joined #nim |
| 17:20:14 | * | space-wizard quit (Max SendQ exceeded) |
| 17:20:55 | * | space-wizard joined #nim |
| 17:22:00 | dom96 | macros.quote needs to be fixed |
| 17:23:33 | * | Pisuke quit (Ping timeout: 276 seconds) |
| 17:23:53 | * | lompik joined #nim |
| 17:24:37 | Araq_ | so fix it and give a 'dirty=true' parameter |
| 17:27:09 | * | yglukhov joined #nim |
| 17:30:04 | cheatfate | funny, nim's github readme.md is show "build failing" now in Nim header |
| 17:31:14 | * | yglukhov quit (Ping timeout: 250 seconds) |
| 17:31:19 | Araq_ | because it does fail |
| 17:31:27 | Araq_ | because I produced a regression, I'm working on it |
| 17:32:06 | cheatfate | Araq_, you are so fast :) |
| 17:32:44 | cheatfate | i was compiled my new nim in 5 OSes and all was fine, got some sleep and now all is not fine :) |
| 17:33:05 | cheatfate | and this was 4 hours ago |
| 17:33:37 | cheatfate | and why github shows my PR last |
| 17:36:14 | * | lubos_cz joined #nim |
| 17:36:25 | tautologico | Araq_: thanks |
| 17:51:54 | * | yglukhov joined #nim |
| 17:57:28 | * | yglukhov quit (Remote host closed the connection) |
| 18:01:32 | * | Arrrr quit (Quit: WeeChat 1.4) |
| 18:19:57 | * | yglukhov joined #nim |
| 18:20:17 | * | Roin quit (Ping timeout: 276 seconds) |
| 18:21:13 | * | Roin joined #nim |
| 18:24:24 | * | yglukhov quit (Ping timeout: 246 seconds) |
| 18:38:06 | * | Vladar left #nim ("Leaving") |
| 18:49:12 | * | vendethiel joined #nim |
| 18:51:05 | * | Matthias247 joined #nim |
| 18:53:40 | * | yglukhov joined #nim |
| 18:55:48 | * | Demon_Fox quit (Quit: Leaving) |
| 18:59:41 | * | lompik quit (Quit: WeeChat 1.4) |
| 19:14:58 | * | antonin joined #nim |
| 19:15:06 | antonin | Hi there! |
| 19:15:26 | antonin | I'm Antonin, a new fan of this wonderful programming language :-) |
| 19:15:40 | antonin | I'm interested to learn more about Nim, and to promote it |
| 19:15:59 | dom96 | antonin: hello! Glad to hear it :) |
| 19:16:07 | antonin | Are some people available in Canada - especially Montreal - to discuss about Meetup in Montreal for Nim? :-D |
| 19:16:13 | antonin | Hello dom96 |
| 19:16:31 | * | Matthias247 quit (Read error: Connection reset by peer) |
| 19:17:43 | * | Matthias247 joined #nim |
| 19:28:59 | * | antonin quit (Quit: This computer has gone to sleep) |
| 19:32:25 | * | antonin joined #nim |
| 19:36:50 | Araq_ | hey antonin. welcome :-) |
| 19:39:47 | antonin | Hey Araq_, thanks a lot :-) |
| 19:44:16 | * | yglukhov quit (Remote host closed the connection) |
| 19:44:41 | * | Ven joined #nim |
| 19:44:45 | * | sorakun joined #nim |
| 19:46:26 | antonin | Any person interested to meet up in Montreal? |
| 19:46:51 | antonin | Also, is anybody here is building a lib for deep learning in Mim? |
| 19:47:06 | antonin | (That can be cool to merge Python syntax which the power of C...) |
| 19:47:20 | antonin | (... for deep learning)* |
| 19:47:50 | dom96 | antonin: not sure there are that many people from Montreal here |
| 19:48:25 | antonin | Crap... |
| 19:48:26 | antonin | Ok, I will try to create this meetup - let's see in anybody is interested ;-) |
| 19:48:35 | antonin | Thanks dom96 |
| 19:56:05 | * | yglukhov joined #nim |
| 19:58:56 | Araq_ | antonin: hmm was it you that I told to try c2nim on that deep learning library? |
| 19:59:36 | antonin | Not - just an idea I had 1 hour ago :-/ |
| 19:59:58 | Araq_ | I quickly skimmed it, I think you can only use Python to produce the model and then load and evaluate it with C++. that Google deep learning lib, forgot its name |
| 20:00:25 | antonin | TensorFlow? |
| 20:00:54 | * | yglukhov quit (Ping timeout: 260 seconds) |
| 20:01:03 | * | endragor quit (Ping timeout: 240 seconds) |
| 20:03:27 | antonin | The idea is just to implement a Machine Learning lib with Nim :-) |
| 20:03:27 | antonin | Just talk about Python and C due to cool syntax and perf of Nim ;-) |
| 20:04:23 | antonin | like Leaf for Rust |
| 20:05:46 | Araq_ | ah cool |
| 20:06:26 | antonin | Also, can you tell me if a web interface of nimble is available? Like crates.io for Rust |
| 20:06:42 | antonin | (yes, big fan of Rust...) |
| 20:09:45 | * | fastrom joined #nim |
| 20:16:39 | tautologico | the macro/template/getAst thing worked, nice |
| 20:23:44 | * | jeffc_ quit () |
| 20:25:32 | * | antonin quit (Quit: Quitte) |
| 20:27:30 | * | lubos_cz quit (Ping timeout: 276 seconds) |
| 20:30:04 | * | JStoker quit (Ping timeout: 260 seconds) |
| 20:30:53 | * | JStoker joined #nim |
| 20:32:02 | * | yglukhov joined #nim |
| 20:36:10 | * | yglukhov quit (Ping timeout: 244 seconds) |
| 20:47:17 | * | fastrom1 joined #nim |
| 20:48:26 | * | sorakun quit (Read error: Connection reset by peer) |
| 20:50:07 | * | fastrom quit (Ping timeout: 260 seconds) |
| 20:52:05 | dom96 | antonin: nothing like crates.io but we do have http://nimble-explorer.com/ (it's not official though) |
| 21:05:57 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 21:07:33 | * | yglukhov joined #nim |
| 21:09:07 | * | huonw_ is now known as huonw |
| 21:12:17 | * | yglukhov quit (Ping timeout: 260 seconds) |
| 21:22:19 | * | elrood quit (Remote host closed the connection) |
| 21:27:53 | cheatfate | Araq_, is there any problems can be happen with openarray[T] if it from shared heap? |
| 21:33:12 | * | lubos_cz joined #nim |
| 21:36:17 | * | fastrom1 quit (Quit: Leaving.) |
| 21:51:23 | * | lubos_cz quit (Quit: Leaving) |
| 21:51:39 | * | lubos_cz joined #nim |
| 21:53:39 | * | lubos_cz quit (Client Quit) |
| 21:54:03 | * | vendethiel quit (Ping timeout: 246 seconds) |
| 21:54:04 | * | lubos_cz joined #nim |
| 21:54:59 | * | yglukhov joined #nim |
| 21:55:57 | * | lubos_cz quit (Client Quit) |
| 21:57:29 | * | lubos_cz joined #nim |
| 21:59:59 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 22:01:50 | * | vendethiel joined #nim |
| 22:11:27 | * | antonin joined #nim |
| 22:13:03 | * | pigmej quit (Ping timeout: 240 seconds) |
| 22:13:50 | * | pigmej joined #nim |
| 22:14:15 | * | space-wi_ joined #nim |
| 22:16:55 | * | space-wizard quit (Ping timeout: 260 seconds) |
| 22:18:23 | * | Trustable quit (Remote host closed the connection) |
| 22:24:51 | * | vendethiel quit (Ping timeout: 246 seconds) |
| 22:30:33 | * | yglukhov joined #nim |
| 22:34:39 | * | yglukhov quit (Ping timeout: 246 seconds) |
| 22:37:17 | * | vendethiel joined #nim |
| 22:41:20 | * | antonin quit (Quit: Quitte) |
| 23:05:20 | * | lubos_cz quit (Ping timeout: 260 seconds) |
| 23:06:26 | * | Salewski joined #nim |
| 23:08:59 | * | yglukhov joined #nim |
| 23:09:01 | Salewski | a = "abc" & "\n" # how can I remove that "\n" again from a? Difficult because \n can be OS dependent and one or two chars. |
| 23:09:33 | Araq_ | setlen(x, x.len - "\n".len) |
| 23:10:04 | Araq_ | but I guess we need a proper 'chop()' |
| 23:10:29 | * | Jesin quit (Quit: Leaving) |
| 23:12:35 | * | Jesin joined #nim |
| 23:13:37 | * | yglukhov quit (Ping timeout: 260 seconds) |
| 23:14:13 | Salewski | Thanks Araq! |
| 23:14:37 | cheatfate | Salewski, `\n` is not OS dependent |
| 23:15:51 | cheatfate | `\n` its just a char |
| 23:16:42 | Salewski | Cheatfate, I wrote "\n" |
| 23:17:21 | * | PMunch quit (Ping timeout: 246 seconds) |
| 23:17:29 | cheatfate | in C and i think in NIM too "\n" is a string with 1 byte length |
| 23:18:33 | Salewski | Cheatfate, maybe you should read Dominiks books, or at least the tutorial. |
| 23:19:06 | * | Salewski quit () |
| 23:21:49 | * | kseg joined #nim |
| 23:23:03 | * | space-wi_ quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
| 23:23:11 | * | vendethiel quit (Ping timeout: 276 seconds) |
| 23:23:55 | cheatfate | lol Salewski was right |
| 23:25:09 | cheatfate | interesting what history reason to make this nice behavior of "\n" |
| 23:25:36 | * | space-wizard joined #nim |
| 23:28:24 | * | Matthias247 quit (Read error: Connection reset by peer) |
| 23:32:07 | * | vendethiel joined #nim |
| 23:33:33 | * | yglukhov joined #nim |
| 23:38:00 | * | yglukhov quit (Ping timeout: 246 seconds) |
| 23:43:31 | tautologico | I want a bunch of types to implement the same proc/method... which one is faster: concepts+generics or objects+dynamic dispatch? |
| 23:53:03 | * | vendethiel quit (Ping timeout: 246 seconds) |
| 23:53:44 | dom96 | the former |
| 23:58:30 | * | yglukhov joined #nim |
| 23:59:57 | tautologico | thought so |