00:09:44 | * | ftsf_ quit (Remote host closed the connection) |
00:20:22 | * | manjaroi3 quit (Quit: leaving) |
00:24:56 | * | PMunch_ quit (Quit: leaving) |
00:30:39 | * | eizua joined #nim |
00:41:17 | * | yglukhov joined #nim |
00:41:56 | * | eizua quit (Quit: Leaving) |
00:43:05 | * | Matthias247 quit (Read error: Connection reset by peer) |
00:46:35 | * | yglukhov quit (Ping timeout: 255 seconds) |
00:47:22 | * | chemist69 quit (Ping timeout: 256 seconds) |
00:53:49 | * | ftsf_ joined #nim |
00:54:47 | * | chemist69 joined #nim |
01:17:25 | * | Kingsquee joined #nim |
01:50:49 | * | eizua joined #nim |
02:12:51 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
02:13:27 | * | def-pri-pub joined #nim |
02:18:50 | * | pie_ quit (Ping timeout: 240 seconds) |
02:23:30 | * | kier quit (Remote host closed the connection) |
02:24:57 | * | chemist69 quit (Ping timeout: 255 seconds) |
02:37:26 | * | chemist69 joined #nim |
02:44:31 | * | yglukhov joined #nim |
02:48:50 | * | yglukhov quit (Ping timeout: 240 seconds) |
02:53:04 | * | brson quit (Ping timeout: 258 seconds) |
02:56:37 | * | kulelu88 quit (Quit: Leaving) |
03:05:42 | * | lenstr quit (Ping timeout: 276 seconds) |
03:15:51 | * | Pisuke joined #nim |
03:18:16 | * | vasher_ quit (Quit: Connection closed for inactivity) |
03:18:42 | * | MyMind quit (Ping timeout: 276 seconds) |
03:36:41 | * | Kingsquee quit (Ping timeout: 255 seconds) |
03:37:04 | * | Kingsquee joined #nim |
03:57:53 | * | dddddd quit (Quit: Hasta otra..) |
03:58:00 | * | yglukhov joined #nim |
04:03:11 | * | yglukhov quit (Ping timeout: 245 seconds) |
04:03:30 | * | ftsf_ quit (Ping timeout: 255 seconds) |
04:12:10 | * | def-pri-pub quit (Quit: leaving) |
04:24:24 | * | ftsf_ joined #nim |
04:54:48 | * | ftsf_ quit (Ping timeout: 255 seconds) |
05:06:30 | * | ftsf_ joined #nim |
05:57:43 | zion_ | quit |
05:57:49 | * | zion_ quit (Quit: leaving) |
06:08:18 | FromGitter | <zacharycarter> I'm having some difficulty with function pointers, was hoping someone could help me |
06:08:22 | FromGitter | <zacharycarter> https://gist.github.com/zacharycarter/0d2b3ca29568dceeb355a7c005370d01 |
06:08:30 | FromGitter | <zacharycarter> made the most concise example I could |
06:09:21 | FromGitter | <zacharycarter> I think I see what I'm doing wrong actually |
06:11:09 | FromGitter | <zacharycarter> I realize I'm not actually passing function pointers... |
06:23:53 | FromGitter | <zacharycarter> got it working I think :D |
06:31:59 | * | nsf joined #nim |
06:44:58 | * | Trioxin quit (Ping timeout: 258 seconds) |
06:45:03 | * | dyson joined #nim |
06:45:26 | * | dyson is now known as Guest85943 |
06:48:25 | * | bjz joined #nim |
06:55:42 | * | bjz quit (Ping timeout: 240 seconds) |
07:01:06 | * | yglukhov joined #nim |
07:04:06 | * | eizua quit (Quit: Leaving) |
07:06:12 | * | yglukhov quit (Ping timeout: 276 seconds) |
07:22:18 | * | bjz joined #nim |
07:29:20 | * | filcuc joined #nim |
07:32:12 | * | Matthias247 joined #nim |
07:40:26 | * | rokups joined #nim |
07:46:45 | * | Matthias247 quit (Read error: Connection reset by peer) |
07:47:35 | * | chemist69 quit (Ping timeout: 255 seconds) |
07:49:56 | FromGitter | <Varriount> @zacharycarter Need any help? |
07:51:00 | * | chemist69 joined #nim |
08:17:28 | * | fulcrum joined #nim |
08:19:28 | * | Arrrr joined #nim |
08:27:52 | * | Andris_zbx joined #nim |
08:29:38 | * | yglukhov joined #nim |
08:33:24 | * | bbl joined #nim |
08:33:27 | * | yglukhov quit (Read error: Connection reset by peer) |
08:33:29 | * | yglukhov_ joined #nim |
08:33:55 | * | yglukhov_ quit (Remote host closed the connection) |
08:34:07 | * | couven92 joined #nim |
08:34:09 | * | yglukhov joined #nim |
08:40:31 | * | Trioxin joined #nim |
08:40:41 | * | Guest85943 quit (Ping timeout: 245 seconds) |
08:55:02 | TheManiac | Could someone help me understand iterators a little better? |
08:55:05 | TheManiac | https://bitbucket.org/snippets/maxgrenderjones/aB6yr |
08:55:37 | TheManiac | I've been staring at this a while and tried reading the docs, but I still can't understand why this doesn't print anything |
08:57:56 | TheManiac | My problem is probably that I think nim iterators are python iterators, which they clearly aren't, but still... |
08:58:42 | Araq | sounds a bit like https://github.com/nim-lang/Nim/issues/3837 |
08:59:24 | TheManiac | > echo it # Expected output: @[4, 8, 12, 16, 20], Actual output: @[] |
08:59:34 | TheManiac | that looks very familiar |
09:00:10 | TheManiac | I don't get an error, just tumbleweed |
09:00:27 | TheManiac | Am using 0.16.0 - should I report as bug, or try with latest dev? |
09:00:37 | Araq | nothing changed in dev |
09:02:25 | flyx | does it work if you just do `for item in input:` instead of `for item in input():` ? |
09:03:14 | flyx | `input()` will call the closure iterator, so you effectively do `for item in [expression with type A]:` |
09:07:52 | TheManiac | Doesn't compile - got iterative, expected items |
09:07:59 | TheManiac | *iterator |
09:12:57 | flyx | well it does work with a while loop |
09:13:21 | flyx | see https://nim-by-example.github.io/for_iterators/#closure-iterators |
09:15:38 | TheManiac | Indeed, got it working in a while loop. So does it not work in a for loop because it's designed that way or something else? |
09:16:29 | TheManiac | The countTo9 example looks like what I'm trying to do |
09:18:02 | * | yeeve quit (Remote host closed the connection) |
09:20:02 | flyx | it *is* designed that way: http://nim-lang.org/docs/manual.html#iterators-and-the-for-statement-first-class-iterators |
09:20:06 | flyx | so it seems to be a bug |
09:20:57 | flyx | might be the issue Araq linked |
09:23:40 | * | yglukhov quit (Remote host closed the connection) |
09:24:21 | * | yglukhov joined #nim |
09:25:25 | * | pie_ joined #nim |
09:28:11 | * | yglukhov quit (Remote host closed the connection) |
09:31:36 | * | Vladar joined #nim |
09:49:59 | * | yglukhov joined #nim |
09:54:29 | * | chemist69 quit (Ping timeout: 255 seconds) |
09:57:31 | * | chemist69 joined #nim |
09:59:15 | * | yglukhov quit (Remote host closed the connection) |
10:00:13 | * | yglukhov joined #nim |
10:08:40 | Araq | TheManiac: can you report it properly as a bug please. including the version with the 'while' that works. |
10:08:45 | Araq | that surely would be helpful |
10:10:42 | flyx | Araq: why does the syntax want `for item in input()` rather than `for item in input`? |
10:14:58 | Araq | flyx: yeah that makes no sense |
10:25:50 | * | Arrrr quit (Ping timeout: 240 seconds) |
10:35:42 | * | Vladar quit (Remote host closed the connection) |
10:39:11 | * | Arrrr joined #nim |
10:39:32 | * | Vladar joined #nim |
11:00:17 | * | yglukhov quit (Remote host closed the connection) |
11:21:43 | * | synapse joined #nim |
11:22:06 | * | synapse is now known as Guest89004 |
11:24:20 | * | fulcrum quit (Ping timeout: 240 seconds) |
11:27:28 | * | yglukhov joined #nim |
11:29:10 | * | yglukhov quit (Remote host closed the connection) |
11:42:22 | * | bknox quit (Quit: WeeChat 1.4) |
11:43:35 | * | Trioxin quit (Ping timeout: 256 seconds) |
11:45:11 | * | arnetheduck joined #nim |
11:52:07 | * | yglukhov joined #nim |
12:00:52 | * | yglukhov quit (Remote host closed the connection) |
12:01:11 | * | PMunch quit (Read error: Connection reset by peer) |
12:01:48 | * | PMunch joined #nim |
12:07:05 | * | Snircle joined #nim |
12:23:08 | * | yglukhov joined #nim |
12:29:26 | PMunch | Hmm dom96 what's nimbot? |
12:33:28 | * | yglukhov quit (Remote host closed the connection) |
12:36:01 | Araq | !lag |
12:36:01 | NimBot | 11ms between me and the server. |
12:39:18 | couven92 | !help |
12:39:23 | couven92 | :( |
12:39:26 | couven92 | !lag |
12:39:26 | NimBot | 11ms between me and the server. |
12:40:17 | Arrrr | !lag |
12:40:17 | NimBot | 11ms between me and the server. |
12:40:38 | Arrrr | this looks hardcoded |
12:58:58 | * | vlad1777d joined #nim |
13:05:08 | * | Sentreen quit (Quit: WeeChat 1.4) |
13:05:26 | * | Sentreen joined #nim |
13:09:23 | * | ftsf_ quit (Quit: :q!) |
13:10:20 | FromGitter | <zacharycarter> @Varriount thanks for the offer last night but I think I figured out what I want to do |
13:13:56 | * | Arrrr quit (Quit: WeeChat 1.5) |
13:18:59 | PMunch | I was actually talking about this: https://github.com/nim-lang/nimbot |
13:19:14 | PMunch | But I guess this is the live version :P |
13:20:07 | PMunch | !ping |
13:20:07 | NimBot | pong |
13:20:20 | PMunch | !lag |
13:20:20 | NimBot | 10ms between me and the server. |
13:21:05 | * | fredrik92 joined #nim |
13:21:44 | * | couven92 quit (Disconnected by services) |
13:21:51 | * | fredrik92 is now known as couven92 |
13:22:12 | * | fredrik92 joined #nim |
13:32:39 | PMunch | lib/nim/pure/asyncdispatch.nim(14, 28) Error: cannot open 'deques' |
13:32:44 | PMunch | Uhm, that doesn't seem good |
13:34:40 | * | rupil joined #nim |
13:38:26 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
13:44:18 | * | yglukhov joined #nim |
13:48:05 | PMunch | Is there a reason why deques is suddenly gone from my install? |
13:48:55 | * | yglukhov quit (Ping timeout: 258 seconds) |
13:58:13 | * | Kingsquee quit (Quit: https://i.imgur.com/qicT3GK.gif) |
14:04:59 | * | yglukhov joined #nim |
14:09:46 | * | yglukhov quit (Remote host closed the connection) |
14:21:46 | * | irrequietus quit (Remote host closed the connection) |
14:22:22 | * | irrequietus joined #nim |
14:23:32 | * | nsf quit (Quit: WeeChat 1.7) |
14:26:34 | rokups | is there any compiler switch to compile/link additional c files? i cant find one in docs.. |
14:29:09 | * | chemist69 quit (Ping timeout: 258 seconds) |
14:31:43 | * | chemist69 joined #nim |
14:40:17 | enthus1ast | rokups: there is something http://nim-lang.org/docs/backends.html and there http://nim-lang.org/docs/nimc.html |
14:41:02 | enthus1ast | importc, compile pragma, passL |
14:44:18 | * | pregressive joined #nim |
14:44:21 | * | plm joined #nim |
14:44:23 | plm | Hi all |
14:50:53 | plm | what we need to have a big company behind Nim? |
14:50:56 | plm | :) |
14:51:00 | plm | like as rust.. |
14:51:18 | plm | I newbie of nim, but I like it so much, like as I like of Python :) |
14:58:38 | * | yglukhov_ joined #nim |
14:59:10 | * | yglukhov_ quit (Remote host closed the connection) |
14:59:22 | * | couven92 quit (Ping timeout: 240 seconds) |
15:06:20 | * | Guest89004 quit (Ping timeout: 240 seconds) |
15:06:35 | * | devted joined #nim |
15:09:03 | * | zevlg joined #nim |
15:12:12 | * | michael_campbell quit (Quit: ZNC 1.6.1 - http://znc.in) |
15:15:26 | Sentreen | Is there any reason why |
15:15:28 | Sentreen | type |
15:15:30 | Sentreen | Test = object |
15:15:32 | Sentreen | t : TestA |
15:15:34 | Sentreen | TestA = int |
15:15:36 | Sentreen | Works, but |
15:15:56 | Sentreen | t : TestA |
15:15:58 | Sentreen | type TestA = int |
15:16:02 | Sentreen | does not? |
15:16:44 | * | fredrik92 quit (Quit: Client disconnecting) |
15:17:46 | Sentreen | Sorry, I should have put that in a paste: http://pastebin.com/i16tLneW |
15:21:45 | Sentreen | Basically, is there any reason why dependent types work when they are added in the same type block, but not when they are in separate type blocks? |
15:22:54 | * | PMunch quit (Quit: leaving) |
15:23:30 | * | couven92 joined #nim |
15:25:41 | FromGitter | <zacharycarter> sorry for the noob question - I need to divide an unsigned 32 bit integer by 1000 - how do I do that? |
15:26:13 | couven92 | value / 1000 |
15:26:15 | FromGitter | <zacharycarter> the division procedure won't operate on uint32s |
15:26:27 | rokups | enthus1ast: thanks, compile pragma does pretty much that. any idea if it can somehow be used from nimscript? keeping such detail out of code would be ideal. |
15:26:51 | FromGitter | <zacharycarter> only int, float32 or float |
15:27:08 | Araq | value div 1000u |
15:27:20 | FromGitter | <zacharycarter> thank you |
15:27:35 | couven92 | Ah, sry I forgot! |
15:27:49 | Araq | Sentreen: because that's how Nim has been defined. the compiler needs to know when the type graphs are complete |
15:28:08 | rokups | btw should anyone care (probably will not) i updated utf8 string lib to support latest utf8rewind lib. https://github.com/rokups/nim-ustring |
15:28:34 | Araq | what is utf8rewind? |
15:28:48 | rokups | great utf8 handlig lib |
15:29:02 | rokups | that https://bitbucket.org/knight666/utf8rewind/ |
15:29:19 | Sentreen | Araq, so are there any good workarounds for when you are defining a rather complex type graph that you preferably want to split over multiple files? |
15:29:29 | Sentreen | Besides "design it in another way" of course |
15:30:03 | Araq | RootObj and generics are the workarounds |
15:31:10 | Araq | but design it another way. if your types are mutually dependent there is no reason to pretend they are not |
15:35:07 | Sentreen | Yeah, makes sense. I'm probably too anal about the "splitting them over multiple files" part |
15:39:01 | * | couven92 quit (Quit: Bye) |
15:45:21 | * | yglukhov joined #nim |
15:51:36 | * | yglukhov quit (Remote host closed the connection) |
15:59:36 | * | pregressive quit (Remote host closed the connection) |
16:00:08 | * | pregressive joined #nim |
16:04:36 | * | pregressive quit (Ping timeout: 258 seconds) |
16:05:38 | FromGitter | <timeyyy> :plm hi |
16:05:47 | * | Trustable joined #nim |
16:05:50 | FromGitter | <timeyyy> .. @plm |
16:05:56 | FromGitter | <timeyyy> !lag |
16:06:30 | * | couven92 joined #nim |
16:09:28 | rokups | i was wondering.. what do you people think of this? https://gist.github.com/rokups/c66ea0ed35e7cadffda44371aa9b1a54 |
16:12:29 | Araq | rokups: you got construction wrong ;-) |
16:13:10 | Araq | or maybe not. hmmm |
16:14:30 | FromGitter | <Varriount> Sentreen: Put the type in one file, and their methods in two or more different files? |
16:14:54 | Sentreen | Yeah, that's what I'm doing now :) |
16:16:01 | FromGitter | <Varriount> You don't have to stick with the whole "procedures and types must be in the same file" in Nim |
16:16:53 | rokups | Araq: remembering all the discussions IMHO this is best of all worlds. construction tied to the type while still allowing ultimate control over how things are done. new for refs, init for values. also very intuitive. and i think it hopefully fits into nim world view. that "hmmm" is encouraging :) |
16:17:08 | FromGitter | <andreaferretti> I usually stick the converse convention |
16:17:09 | FromGitter | <andreaferretti> all types in one file |
16:17:25 | FromGitter | <andreaferretti> and the the procs split based on their context |
16:17:39 | FromGitter | <andreaferretti> so that it is easy to have a look at all types involved |
16:22:14 | * | arnetheduck quit (Ping timeout: 258 seconds) |
16:22:50 | * | couven92 quit (Read error: Connection reset by peer) |
16:30:20 | Sentreen | I tend to group files with their functionality. |
16:30:32 | Sentreen | Types with their functionality is what I meant :) |
16:31:02 | Sentreen | Procs that deal with multiple types are somewhere else, depending on where it makes the most sense. |
16:33:08 | Sentreen | But for me it makes sense to put `$`, equality checks, initializers, ... right after the type definition. |
16:33:21 | Sentreen | That being said, I do notice that compared to most nim people I prefer my files to be pretty short |
16:36:44 | * | brson joined #nim |
16:37:19 | Araq | if I want a mess of little snippets where everything happens somewhere else, I use Smalltalk. :P |
17:06:36 | rokups | Araq: what would be the official way for a wrapper to handle overriding of virtual methods of cpp classes? |
17:07:18 | Araq | that part is still not covered at all, you have to use .emit |
17:08:55 | rokups | bummer. is there any particular plan for officially supporting this? maybe a way for a type to inherit cpp class? |
17:10:16 | * | pie_ quit (Ping timeout: 245 seconds) |
17:10:36 | Araq | you can inherit from C++ classes that is not the problem |
17:10:55 | Araq | the problem is convince the codegen to put your method/proc into a C++ class |
17:11:21 | rokups | hmm didnt know inheritance already worked. but yeah i basically meant all you just said |
17:14:02 | Araq | it's not exactly a trivial codegen addition |
17:14:22 | Araq | I can guide you if you think you're good enough at Nim |
17:14:43 | rokups | i dont think that ^_^ |
17:18:53 | * | yglukhov joined #nim |
17:23:06 | * | yglukhov quit (Ping timeout: 240 seconds) |
17:28:39 | rokups | Araq: last question for today: what are officially supported compilers? maybe it would be worthwhile for me trying to get rid of fasm and use compiler assemblers to asselble coroutine stuff? |
17:29:32 | cheatfate | rokups, you will be in trouble because VCC doesn't support inline assembly of x64 code |
17:29:57 | rokups | cheatfate: visual studio bundles masm, thats not a problem |
17:32:11 | * | filcuc quit (Ping timeout: 240 seconds) |
17:32:51 | cheatfate | officially supported compilers are, GCC, CLANG, VCC, ICC and TCC |
17:44:52 | rokups | cheatfate: thanks o/ icc being intel compiler right? wich one is tcc? |
17:45:11 | rokups | o wait, tiny c compiler? that one will certainly not support assembly i bet |
17:45:37 | cheatfate | http://bellard.org/tcc/ |
17:46:27 | rokups | docs mention inline assembly support. encouraging |
17:47:23 | cheatfate | Compile and execute C source directly. No linking or assembly necessary. Full C preprocessor and GNU-like assembler included. |
17:48:20 | rokups | i hope they support intel syntax because att syntax is freakin braindead.. |
17:54:54 | rokups | tcc supports only ATT syntax. oh well.. lowest common denominator. |
17:57:27 | * | Andris_zbx quit (Remote host closed the connection) |
18:07:39 | * | yglukhov joined #nim |
18:21:26 | FromGitter | <Varriount> I've never understood why people like AT&T syntax. It's even more masochistic |
18:24:11 | cheatfate | at&t syntax is not so masochistic like gcc inline assembly with registers replacement... |
18:24:39 | cheatfate | rokups, are you going to make coroutines support ARM? |
18:25:39 | rokups | cheatfate: that would be cool i guess, but i have pretty much no knowledge of arm arch so no promises |
18:26:15 | rokups | last time i worked on these things i couldnt even figure out why coroutines work in general but compiling compiler with them enabled fails :| |
18:28:08 | FromGitter | <Varriount> What we need is some tool that takes in some subset of assembly and spits out dialects for various assemblers |
18:29:06 | cheatfate | rokups, just try to find any tutorial about risc assembler you will like it :) |
18:30:08 | cheatfate | and for coroutines the only thing you need to find is how to store/restore registers to/from memory and how to transfer execution without modifying stack |
18:30:34 | rokups | Varriount its actually not too bad keeping separate files for ms/unix ABIs. i386 arch can use same code on ms and unix so its a bit of code duplication, but x86_64 - different calling conventions so got to have separate assembly for platforms anyway.. |
18:30:56 | rokups | maintaining extra copy of assembly file of vaning i386 is easier than producing a tool i bet ;) |
18:32:26 | rokups | cheatfate: i looked at arm a little bit. from first sight it seemed to have bit more stuff going on than x86_64 |
18:33:23 | cheatfate | rokups, arm is RISC (reduced instruction set) and intel is CISC (complex instruction set), so there can't be more stuff :) |
18:34:14 | rokups | in this particular case that does not really matter.. its all about saving and restoring state (registers) |
18:35:11 | Araq | cheatfate: there are no RISC designs left, they all got SIMD at least iirc |
18:39:02 | cheatfate | Araq, single instructions can execute several low-level operations (such as a load from memory, an arithmetic operation, and a memory store) or are capable of multi-step operations or addressing modes within single instructions. |
18:39:23 | cheatfate | doesn't matter they have SIMD or no |
18:43:10 | cheatfate | Araq, is there any semantic difference between `method` and `proc`? |
18:43:15 | * | gangstacat quit (Remote host closed the connection) |
18:45:36 | FromGitter | <Varriount> @Araq is there any documentation on nimscript? |
18:47:57 | * | gangstacat joined #nim |
18:50:29 | Araq | http://nim-lang.org/documentation.html |
18:50:35 | Araq | "NimScript" --> |
18:50:45 | Araq | http://nim-lang.org/docs/nims.html |
18:51:07 | Araq | "The system module in NimScript mode additionally supports these operations: nimscript." |
18:51:14 | Araq | http://nim-lang.org/docs/nimscript.html |
18:53:01 | * | hcorion joined #nim |
18:55:25 | * | hcorion_ joined #nim |
18:55:46 | * | hcorion quit (Client Quit) |
18:55:59 | * | hcorion joined #nim |
18:56:44 | * | hendi joined #nim |
19:03:17 | * | kier joined #nim |
19:04:04 | * | kier quit (Remote host closed the connection) |
19:05:32 | Araq | cheatfate: yes, methods use dynamic binding, procs don't |
19:05:55 | gangstacat | is it possible to close an UI window with a button in the current state of the library? because it doesn't work to apply the closure from the Quit menu item to a button |
19:14:58 | Araq | gangstacat: I don't know |
19:15:45 | gangstacat | Error: type mismatch: got (string, proc (): bool{.closure, noSideEffect, gcsafe, locks: 0.}) but expected one of: proc newButton(text: string; onclick: proc () = nil): Button |
19:15:53 | gangstacat | so yep.. |
19:34:54 | * | yglukhov quit (Remote host closed the connection) |
19:35:44 | * | hcorion_ quit (Remote host closed the connection) |
19:37:33 | * | yglukhov joined #nim |
19:38:48 | * | gokr joined #nim |
19:39:30 | * | hendi quit (Quit: hendi) |
19:40:18 | * | yglukhov quit (Remote host closed the connection) |
19:40:47 | * | yglukhov joined #nim |
19:42:31 | * | nsf joined #nim |
19:47:42 | gokr | Howdy folks. Did you notice this one? Perhaps someone can mention Nim to him/her :) https://news.ycombinator.com/item?id=13470592 |
19:48:25 | * | kier joined #nim |
20:19:51 | * | bjz joined #nim |
20:21:59 | * | kier quit (Ping timeout: 264 seconds) |
20:40:40 | * | StarBrilliant joined #nim |
20:48:35 | FromGitter | <lbmn> Rust may be of interest to SOME programmers frustrated with C++, but Nim should be of interest to ALL programmers frustrated with Rust. ;) |
20:53:40 | * | beatmox quit (Remote host closed the connection) |
20:54:12 | * | beatmox joined #nim |
20:55:16 | * | hendi joined #nim |
20:55:24 | * | kulelu88 joined #nim |
21:09:07 | smt | I was having a similar thoughts earlier, I was starting to write something small and this was the first lines i wrote: http://i.imgur.com/DBYaa4Y.png and i just took a step back and looked at how nice and high level it was, yet it's super fast and the language can still do super advanced stuff that's beyond me |
21:09:11 | smt | i think that sums up nim for me |
21:09:19 | * | nsf quit (Quit: WeeChat 1.7) |
21:14:25 | * | Guest89004 joined #nim |
21:14:41 | devted | PabClsn_twitter, to auto-start Sublime Text with 'open -a "/Applications/Sublime Text.app"', you can create an Applescript launcher that you can copy to your /Applications/ folder. See http://pastebin.com/T41zxDTC |
21:18:44 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
21:19:03 | * | Matthias247 joined #nim |
21:20:13 | FromGitter | <lbmn> Nim can be the ideal programming ecosystem, but no one syntax skin can compete with Python and Rust at the same time. There could eventually be an even more high-level way to code Nim. Implicit var, implicit type conversion, much syntax sugar, etc. But that's not a priority for now. |
21:21:21 | * | hendi quit (Quit: hendi) |
21:21:38 | * | Vladar quit (Quit: Leaving) |
21:22:57 | * | AckZ quit () |
21:33:26 | federico3 | how can I iterate over an arbitrary type's fields? |
21:33:44 | federico3 | ideally getting the field name as a string as well |
21:34:13 | * | chemist69 quit (Ping timeout: 255 seconds) |
21:35:12 | * | chemist69 joined #nim |
21:43:04 | * | handlex joined #nim |
21:48:16 | * | couven92 joined #nim |
21:48:30 | * | bjz joined #nim |
21:50:30 | * | bjz quit (Client Quit) |
22:01:20 | * | vlad1777d quit (Quit: Leaving) |
22:05:24 | * | vlad1777d joined #nim |
22:05:41 | * | rupil quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
22:09:23 | * | vlad1777d quit (Client Quit) |
22:11:59 | devted | federico3, the source to the marshal module might help. If you don't need such a "deep enumeration", you can "import typetraits" and then "echo myvar.type.name" |
22:12:07 | * | rokups quit (Quit: Connection closed for inactivity) |
22:12:40 | * | handlex quit (Quit: handlex) |
22:32:36 | * | Jesin quit (Quit: Leaving) |
22:32:40 | * | handlex joined #nim |
22:38:15 | * | handlex quit (Quit: handlex) |
22:42:13 | * | nsf joined #nim |
22:43:08 | * | vasher_ joined #nim |
23:02:02 | * | Guest89004 quit (Ping timeout: 240 seconds) |
23:06:31 | * | ftsf_ joined #nim |
23:10:27 | * | jackv quit (Ping timeout: 252 seconds) |
23:11:31 | * | jackv joined #nim |
23:19:57 | * | Trustable quit (Remote host closed the connection) |
23:25:04 | * | devted quit (Quit: Sleeping.) |
23:26:37 | * | arnetheduck joined #nim |
23:27:27 | * | couven92 quit (Quit: Client disconnecting) |
23:29:16 | FromGitter | <Varriount> Gokr: Have you mentioned anything in that thread yet? |
23:31:41 | * | sz0 joined #nim |
23:38:05 | * | yglukhov quit (Remote host closed the connection) |
23:46:03 | * | Jesin joined #nim |
23:47:00 | * | Trioxin joined #nim |
23:50:55 | * | plm quit (Quit: leaving) |
23:53:08 | * | nsf quit (Quit: WeeChat 1.7) |