00:04:40 | * | RushPL quit (Read error: Connection reset by peer) |
00:05:43 | * | saml_ joined #nim |
00:06:26 | * | RushPL joined #nim |
00:07:43 | * | desophos joined #nim |
00:14:29 | * | Demos quit (Quit: Bye) |
00:38:39 | * | jcosborn quit (Quit: Page closed) |
01:02:30 | * | chemist69_ joined #nim |
01:05:50 | * | chemist69 quit (Ping timeout: 272 seconds) |
01:08:16 | * | shodan45 joined #nim |
01:14:31 | * | sarlalian quit (Ping timeout: 244 seconds) |
01:18:19 | * | sarlalian joined #nim |
01:24:53 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
01:41:16 | * | brson quit (Ping timeout: 264 seconds) |
02:01:22 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
02:25:00 | * | akaisora quit (Ping timeout: 272 seconds) |
02:28:51 | * | akaisora joined #nim |
02:49:41 | * | saml_ quit (Quit: Leaving) |
03:04:06 | * | filwit joined #nim |
03:22:20 | * | gokr quit (Ping timeout: 260 seconds) |
03:24:11 | * | akaisora quit (Remote host closed the connection) |
03:32:43 | * | chemist69_ quit (Ping timeout: 258 seconds) |
03:40:11 | * | chemist69_ joined #nim |
03:48:31 | * | chemist69_ quit (Ping timeout: 250 seconds) |
04:06:19 | * | chemist69_ joined #nim |
04:42:50 | * | gokr joined #nim |
04:47:09 | * | gokr quit (Ping timeout: 246 seconds) |
04:54:08 | * | filwit quit (Quit: Konversation terminated!) |
05:03:00 | * | endragor joined #nim |
05:22:36 | * | endragor quit (Remote host closed the connection) |
05:22:56 | * | endragor joined #nim |
05:33:22 | * | tudisco joined #nim |
05:39:05 | * | yglukhov joined #nim |
05:49:02 | * | demi joined #nim |
05:56:05 | * | tudisco quit (Read error: Connection reset by peer) |
05:58:33 | demi | It seems to me that -d:release should be deprecated, since it makes Nim programs vulnerable to buffer overflows, etc. |
05:59:52 | * | pregressive joined #nim |
06:01:01 | * | pregress_ joined #nim |
06:01:02 | * | pregressive quit (Read error: Connection reset by peer) |
06:03:04 | * | demi quit (Ping timeout: 250 seconds) |
06:06:12 | * | pregress_ quit (Ping timeout: 276 seconds) |
06:10:03 | * | chemist69_ quit (Quit: WeeChat 1.5) |
06:10:25 | * | chemist69 joined #nim |
06:20:49 | * | endragor_ joined #nim |
06:24:09 | * | endragor quit (Ping timeout: 250 seconds) |
06:31:36 | * | xet7 joined #nim |
06:34:09 | * | PMunch joined #nim |
06:47:29 | * | endragor_ quit (Remote host closed the connection) |
06:47:57 | * | endragor joined #nim |
06:58:08 | * | der-landgraf quit (Quit: WeeChat 1.5) |
07:14:51 | * | yglukhov quit (Remote host closed the connection) |
07:16:29 | * | filcuc joined #nim |
07:23:44 | * | Trustable joined #nim |
07:30:22 | * | bjz joined #nim |
07:33:48 | * | gokr joined #nim |
07:45:33 | * | chemist69 quit (Ping timeout: 250 seconds) |
07:49:59 | * | chemist69 joined #nim |
07:50:18 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
07:51:01 | * | Ven joined #nim |
07:56:02 | * | Ven quit (Ping timeout: 260 seconds) |
07:58:57 | * | Saffron joined #nim |
07:59:19 | * | Saffron quit (Client Quit) |
08:06:20 | * | bjz joined #nim |
08:19:36 | * | coffeepot joined #nim |
08:29:12 | * | endragor quit (Remote host closed the connection) |
08:30:13 | * | Arrrr joined #nim |
08:35:59 | * | desophos quit (Read error: Connection reset by peer) |
08:37:32 | * | Ven joined #nim |
08:40:53 | * | yglukhov joined #nim |
08:45:23 | * | yglukhov quit (Client Quit) |
08:56:02 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
08:59:12 | * | der-landgraf joined #nim |
09:03:38 | * | yglukhov joined #nim |
09:07:18 | * | Ven joined #nim |
09:20:44 | * | endragor joined #nim |
09:39:18 | cheatfate | Araq, is it safe to upgrade my OS farm with 0.14.2? |
09:39:46 | Araq | er ... is 0.14.2 already a thing? |
09:40:27 | cheatfate | Araq, i dont know but i heard yesterday it must be released at midnight |
09:40:37 | cheatfate | or i missing something? |
09:41:19 | Araq | I am not a vampire. |
09:41:35 | Araq | I can work before midnight. Or after. |
09:42:34 | cheatfate | :) |
09:45:27 | cheatfate | i thought you like da vinchi `sleeping for 15 minutes every 4 hours` :P |
09:49:49 | * | Demon_Fox quit (Quit: Leaving) |
09:51:11 | * | tautologico quit (Quit: Connection closed for inactivity) |
09:52:35 | * | chemist69 quit (Ping timeout: 260 seconds) |
09:54:41 | * | chemist69 joined #nim |
10:03:39 | * | Sembei joined #nim |
10:13:39 | * | bjz_ joined #nim |
10:13:51 | * | bjz quit (Ping timeout: 276 seconds) |
10:18:47 | * | arnetheduck joined #nim |
10:30:44 | * | euantor joined #nim |
10:31:10 | euantor | Hi, anybody got any ideas about the following error on WIndows: |
10:31:11 | euantor | could not load: (ssleay64|libssl64).dll |
10:32:00 | euantor | Using the x64 version of Nim 0.14.0, installed yesterday. libeay64.dll is in C:\Nim\bin, which is in my $PATH |
10:32:34 | euantor | Same with ssleay64.dll, though libssl64.dll is missing |
10:35:12 | * | TheLemonMan joined #nim |
10:37:12 | PMunch | Then I'd take a wild guess that it is libssl64 which is missing |
10:38:15 | PMunch | They talked about this yesterday, but since I don't use Windows I didn't really pay attention so I can't recall what they ended on.. |
10:49:04 | euantor | Ah, damn. I can't seem to find any copies of that from anywhere I'd call reliable without self compiling it |
10:49:27 | euantor | THanks though @PMunch, I'll have a look at the IRC logs |
10:50:05 | PMunch | I think they mentioned that the files should be supplied with Nim |
10:50:09 | PMunch | But I might be wrong.. |
10:51:49 | euantor | Yeah, it looks like it. I also grabbed the other zip they mentioned. It's also missing libssl64 |
10:52:26 | euantor | Looks like the discussion was mostly centered around Nimble. I need it for a package I'm writing too unfortunately |
10:55:03 | * | bjz joined #nim |
10:55:25 | * | bjz_ quit (Ping timeout: 244 seconds) |
10:58:57 | PMunch | Oh, I'm sorry I couldn't be of more help :( |
10:59:58 | yglukhov | Araq: hi, mind merging https://github.com/nim-lang/Nim/pull/4294 ? |
11:01:51 | euantor | No problem @PMunch - it's nothing mission critical at the moment! |
11:01:59 | yglukhov | Araq: thanks =) |
11:02:18 | Araq | euantor: tell me how to reproduce it, just install win64 and see for myself? |
11:03:10 | euantor | @Araq: Install x64 on Windows (8.1 is what I'm using, fully patched, with all install options checked in Nim installer) |
11:03:22 | euantor | @Araq: Then clone this repository that I'm working on: https://github.com/euantorano/mailgun.nim |
11:03:35 | euantor | THen `nim c -r -d:ssl tests/mailgun_sync.nim` |
11:04:12 | euantor | Hint: operation successful (34319 lines compiled; 1.133 sec total; 66.008MiB; Debug Build) [SuccessX] |
11:04:20 | euantor | could not load: (ssleay64|libssl64).dll |
11:04:33 | euantor | Error: execution of an external program failed: 'c:\users\euant\desktop\mailgun.nim\tests\mailgun_sync.exe ' |
11:04:53 | euantor | So it compiles, it just seems to be at runtime that it fails |
11:05:07 | Araq | put the DLLs next the .exe please and see if it changes anything |
11:07:28 | euantor | I've only got the DLL for ssleay64.dll, but I tried putting that in ./tests/ alongside mailgun_sync.exe and I still get the error |
11:07:38 | euantor | Also tried putting it in ./ with no luck |
11:09:53 | cheatfate | euantor, please try in such way, put ssleay64.dll in the same directory where you run your project exe file, also put there libeay64.dll (but rename it to libeay32.dll) |
11:11:50 | euantor | @cheatfate: Tried that. I now have: libeay32.dll, libeay64.dll, ssleay32.dll and ssleay64.dll in the directory. Still no luck |
11:12:08 | Araq | euantor: I think the 64bit DLLs that we offer are broken |
11:12:38 | Araq | I can update the DLLs.zip package if only I knew where to find non-broken DLLs |
11:13:58 | euantor | Yep, I've had a search too and haven't been able to find any copies anywhere at all |
11:14:04 | cheatfate | euantor, if it helps, ssleay64.dll has in it import table (for some reason) name libeay32.dll (not libeay64.dll) so it will never loads |
11:14:24 | euantor | It compiles and works perfectly on my Mac and on Linux, just not WIndows |
11:14:35 | cheatfate | if what can helps you is to rename libeay64.dll (real 64bit dll) to name libeay32.dll |
11:16:16 | euantor | Just tried that, and that works |
11:16:26 | euantor | How bizarre |
11:16:50 | Araq | cheatfate: brilliant :-) so it was my renaming of the DLLs |
11:17:05 | Araq | any way we can patch the DLL? |
11:17:09 | Araq | (hex-editor?) |
11:19:07 | cheatfate | Araq, i dont think so, ssleay64.dll imports functions for libeay32.dll by ordinal, not by names, so it can causes a problems... |
11:19:30 | * | nsf quit (Quit: WeeChat 1.4) |
11:19:56 | cheatfate | The best option you can make is to move them in separate directories and give them appropriate names :) |
11:27:25 | * | elrood joined #nim |
11:34:48 | Araq | cheatfate: I think it works :-) |
11:35:37 | cheatfate | Araq, you just renamed libeay32.dll to libeay64.dll in ssleay64.dll imports table? |
11:35:48 | Araq | I used a hex editor |
11:35:51 | cheatfate | you need to update CRC at least |
11:36:32 | Araq | apparently not |
11:38:22 | cheatfate | Araq, most AV programs can detect your `brand new ssl dll` as suspicious |
11:38:30 | cheatfate | in heuristic mode |
11:38:40 | cheatfate | because PE CRC is wrong |
11:38:46 | cheatfate | but windows will load it anyway |
11:41:31 | Araq | euantor: can you try the DLLs from http://nim-lang.org/download/dlls2.zip please? |
11:41:51 | Araq | cheatfate: that may well be, but I'm curious if my hack works |
11:42:15 | euantor | Araq: sure, do you just want them dropping in next to the .exe? |
11:42:29 | Araq | yup |
11:42:54 | euantor | Yep, that works |
11:44:48 | Araq | now the question is whether "breaks AV software" is worse than "broken everywhere" |
11:49:31 | dom96 | btw 'could not load: (ssleay64|libssl64).dll' means could not find ssleay64.dll or libssl64.dll, it doesn't mean that both have to be present. |
11:49:58 | cheatfate | Araq, i have found tool which you can use to update ssleay64.dll properly |
11:50:13 | cheatfate | but it windows tool |
11:50:18 | cheatfate | CFF Explorer |
11:50:42 | cheatfate | i have already made a proper variant of ssleay64.dll with proper CRC |
11:51:09 | cheatfate | http://www.ntcore.com/exsuite.php |
11:51:12 | def- | Don't see it being detected by AV btw: https://www.virustotal.com/en/file/0552ec05f5b28b25f1b639588450f8be49f7a0a8b1e555505c311b08a26afc86/analysis/1465386599/ |
11:52:27 | cheatfate | def-, virustotal not included heuristic analysys of AVs |
11:52:33 | cheatfate | includes |
11:52:36 | def- | ah, good to know |
11:55:14 | euantor | @dom96: Ah, I'd assumed so but I wasn't sure. Googling had brought up little to no information apart from some old IRC logs about issues with Nimble |
11:58:56 | * | endragor quit (Remote host closed the connection) |
12:06:20 | * | BitPuffin joined #nim |
12:09:41 | * | yglukhov quit (Ping timeout: 240 seconds) |
12:10:56 | * | lucus16 joined #nim |
12:11:55 | lucus16 | Is there a formal specification of nim's syntax somewhere? |
12:12:21 | def- | lucus16: http://nim-lang.org/docs/manual.html#syntax-grammar |
12:12:33 | lucus16 | Thanks |
12:15:19 | arnetheduck | Araq, should {zero,copy..}Mem be declared when compiling to JS? |
12:21:27 | * | Arrrr quit (Ping timeout: 260 seconds) |
12:25:27 | * | lucus16 quit (Quit: lucus16) |
12:28:33 | * | jeffc joined #nim |
12:29:41 | cheatfate | So is current `devel` branch is safe? |
12:29:49 | cheatfate | and dont break anything? |
12:38:29 | * | gokr quit (Ping timeout: 250 seconds) |
12:38:29 | def- | Anyone know if this is an intentional change? https://bitbucket.org/lyro/strfmt/issues/5/strfmtnim-module-tests-do-not-compile |
12:39:24 | * | fredrik92 joined #nim |
12:57:30 | * | endragor joined #nim |
13:05:51 | * | fastrom joined #nim |
13:08:25 | dom96 | yay, we're on the HN front page |
13:09:03 | PMunch | link? |
13:15:47 | Araq | def-: the 'concept' related change? yep. |
13:16:05 | Araq | concepts are hard enough already we removed that special casing |
13:16:13 | Araq | I guess I forgot to update the docs though |
13:16:40 | Araq | arnetheduck: no. |
13:16:48 | dom96 | PMunch: #2 on https://news.ycombinator.com/ |
13:19:25 | PMunch | Hmm, come to think of it (Keyframes comment on HN). How do you debug Nim efficiently? |
13:19:48 | PMunch | Have only used it for a small project were it sufficed with the odd print statement |
13:19:59 | Araq | with GDB and the like. |
13:20:08 | Araq | not optimal, but not that bad either |
13:20:22 | * | fastrom quit (Quit: Leaving.) |
13:20:22 | PMunch | Hmm, GDB will show you the C source though. |
13:20:25 | Araq | I've a GDB filter in the works that demangles Nim stuff |
13:20:35 | Araq | no, Nim generates #line directives |
13:20:39 | PMunch | Aaah |
13:20:41 | Araq | it shows teh Nim source code. |
13:20:46 | PMunch | Nice |
13:21:06 | PMunch | What'll the GDB filter do then? |
13:21:13 | Araq | demangle the names |
13:21:23 | Araq | know about Nim's enums and bitsets and strings and seqs |
13:21:40 | PMunch | Aaah, that sounds like a nice addition |
13:22:14 | Araq | yup, it's also the only thing that'll work, ENDB is dead |
13:23:47 | Araq | but also system.writeStackTrace is really useful for debugging |
13:23:52 | cheatfate | dom96, i'm just curious, why you are not do close(AsyncFD(f.fd)) here https://github.com/nim-lang/Nim/blob/devel/lib/pure/asyncfile.nim#L317-L324 like you do with sockets |
13:26:33 | dom96 | cheatfate: hrm, it seems that's a bug, it should unregister the FD |
13:28:36 | dom96 | def-: very nice of you to fix those packages for 0.14.0 :) |
13:28:57 | * | yglukhov joined #nim |
13:32:22 | * | tautologico joined #nim |
13:48:59 | * | fastrom joined #nim |
13:49:35 | Araq | cheatfate: thanks I used that tool to update the DLLs. |
13:49:46 | Araq | now everything should be fine. |
13:50:23 | cheatfate | Araq, now you can start to write viruses&trojan horses for windows on Nim :) |
13:50:39 | arnetheduck | Araq, ok, what about system/streams? looks like my little ansi_c patch is stirring up quite some trouble.. streams uses copyMem so at least parts of it cant be supported |
13:51:03 | arnetheduck | I'm guessing it all worked before because those Mem funcs were nodecl so it just happened to be silentlty ignored |
13:51:28 | Araq | possible. |
13:52:52 | arnetheduck | er, pure/streams that is |
13:53:25 | arnetheduck | stringstream uses copymem |
13:53:57 | arnetheduck | ah, and filestream is already ignored for js |
13:55:48 | * | desophos joined #nim |
13:58:23 | fredrik92 | Could we add static code analysis annotations for Nim? sth like {.notnil.} {.mayreturnnil.}, etc...? |
13:59:31 | * | coffeepot quit (Quit: Page closed) |
13:59:55 | fredrik92 | like SAL in C/C++ or JetBrains Annotations in C# |
14:01:16 | Araq | fredrik92: yeah but 'not nil' will beome the default soon |
14:01:31 | * | ics joined #nim |
14:02:17 | * | PMunch quit (Quit: leaving) |
14:05:28 | * | fastrom quit (Quit: Leaving.) |
14:06:04 | * | fastrom joined #nim |
14:06:12 | Araq | dom96: as far as I'm concerned 0.14.2 is ready should the tests be green etc |
14:07:21 | * | fastrom quit (Client Quit) |
14:07:54 | * | fastrom joined #nim |
14:09:15 | * | fastrom quit (Client Quit) |
14:09:50 | * | fastrom joined #nim |
14:11:08 | * | fastrom quit (Client Quit) |
14:11:42 | * | fastrom joined #nim |
14:13:01 | * | fastrom quit (Client Quit) |
14:13:37 | * | fastrom joined #nim |
14:14:49 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
14:14:54 | * | fastrom quit (Client Quit) |
14:15:28 | * | fastrom joined #nim |
14:16:48 | * | fastrom quit (Client Quit) |
14:17:23 | * | fastrom joined #nim |
14:18:52 | * | fastrom quit (Client Quit) |
14:19:25 | * | fastrom joined #nim |
14:20:46 | * | fastrom quit (Client Quit) |
14:21:20 | * | fastrom joined #nim |
14:22:40 | * | fastrom quit (Client Quit) |
14:23:16 | * | fastrom joined #nim |
14:24:33 | * | fastrom quit (Client Quit) |
14:25:06 | * | fastrom joined #nim |
14:26:26 | * | fastrom quit (Client Quit) |
14:27:01 | * | fastrom joined #nim |
14:28:31 | * | fastrom quit (Client Quit) |
14:29:09 | * | fastrom joined #nim |
14:30:26 | * | fastrom quit (Client Quit) |
14:31:01 | * | fastrom joined #nim |
14:32:20 | * | fastrom quit (Client Quit) |
14:32:54 | * | fastrom joined #nim |
14:34:13 | * | _stowa joined #nim |
14:34:13 | * | fastrom quit (Client Quit) |
14:34:46 | * | fastrom joined #nim |
14:36:08 | * | fastrom quit (Client Quit) |
14:36:41 | * | fastrom joined #nim |
14:38:01 | * | fastrom quit (Client Quit) |
14:38:37 | * | fastrom joined #nim |
14:39:55 | * | fastrom quit (Client Quit) |
14:40:36 | * | fastrom joined #nim |
14:41:49 | * | fastrom quit (Client Quit) |
14:41:59 | * | _stowa quit (K-Lined) |
14:42:25 | * | fastrom joined #nim |
14:43:43 | * | fastrom quit (Client Quit) |
14:44:17 | * | fastrom joined #nim |
14:45:36 | * | fastrom quit (Client Quit) |
14:46:09 | * | fastrom joined #nim |
14:47:29 | * | fastrom quit (Client Quit) |
14:48:02 | * | fastrom joined #nim |
14:49:25 | * | fastrom quit (Client Quit) |
14:51:21 | * | Jesin quit (Quit: Leaving) |
14:52:29 | namnguyen | Araq, if "not nil" is the default soon, could we expect "import nil" to follow suit? |
14:55:59 | Araq | no, because it's not enough to scream loud about it |
14:56:05 | Araq | you have to give good arguments. |
14:56:24 | * | nsf joined #nim |
14:56:33 | Araq | right now the argument seems to be "foo.add" is easy to reason about but when "add(foo)" is also allowed it's hard to reason about. |
14:56:50 | Araq | that makes so little sense that it's hard to take serious. |
14:58:53 | * | Salewski joined #nim |
14:59:09 | * | fastrom joined #nim |
15:00:02 | namnguyen | if you import nil, not so sure if you can do "foo.add" anymore. |
15:00:08 | namnguyen | "add" is not imported by default. |
15:00:28 | * | fastrom quit (Client Quit) |
15:00:45 | def- | namnguyen: right, you can't |
15:01:12 | namnguyen | def-, so what's the argument? i missed it. |
15:02:35 | def- | some people want "from myModule import nil" as the default instead of current "import nil". then you have to specify the module explicitly like myModule.add(foo, ...) |
15:03:48 | namnguyen | yep. i've got that part so far. and i think it makes sense. that would lighten the cognitive load on the readers to know all the exported names from all the imported modules. |
15:04:20 | Araq | what about the cognitive load cause by pointlessly verbose code? |
15:04:41 | Araq | why is "where does this come from" the most important aspect when reading code? |
15:04:47 | Araq | what if it's not? |
15:05:09 | Araq | and how often do you need to |
15:05:18 | namnguyen | because the tools can resolve the name clash quickly, but the human doesn't have that capability. |
15:05:31 | Araq | *read* module.foo, module.foo, module.foo everywhere to know where it comes from? |
15:06:08 | namnguyen | i don't think the argument was about "always" write module.foo. |
15:06:16 | namnguyen | it's about making that the default. |
15:06:29 | Araq | indeed, the argument is entirely inconsistent. |
15:06:42 | namnguyen | so, one can still import the procs (or *) if they need. |
15:06:49 | Araq | because the consisten variant of it is so dumb that nobody sersiously suggests it |
15:07:16 | namnguyen | the reverse is also true that if they want import nil to be the default, they could also write import nil in their code. |
15:08:24 | namnguyen | if something was so dumb, i wonder why most of the style guides suggest that dumb way. |
15:08:50 | Araq | they don't. |
15:08:51 | namnguyen | Java: don't import *. c++: don't use namespace. python don't import *. etc. |
15:09:54 | Araq | I have no time for this nonsense. |
15:10:14 | Araq | if you think *module.add* is used in Java anywhere, so be it. |
15:10:51 | Salewski | I wonder if foo.mymodule.add is really impossible? Maybe using another symbol than the period? |
15:11:13 | namnguyen | or from mymodule import add |
15:11:51 | namnguyen | i mean, use something so that the readers can easily tell what "add" is. |
15:12:27 | namnguyen | when a bunch of "add"s is possible, that's a confusing mess for the readers. |
15:12:47 | namnguyen | when you write it, sure you can vividly remember what it is, where it comes from, etc. |
15:13:03 | namnguyen | but that's just like Perl. |
15:14:27 | Araq | "I want the shorter import statement to make me write more" |
15:14:50 | Salewski | namguyen, we had that discussion just in the Forum, for most people really using Nim current state is fine! |
15:15:02 | Araq | see how much sense this does make for you. |
15:15:08 | Araq | for me it makes no sense. |
15:15:35 | Salewski | Araq, quick question, are the hidden fields of Nim Objects well defined and documented somewhere? (I was thinking about the possibility to copy content of GTK widgets into a Nim object, but I guess that is silly.) |
15:17:38 | Araq | Salewski: you can count on the fact that's a single word at the start of the object |
15:19:34 | Salewski | Sad, on the bottom would be nicer for GTK, than GTK functions could accept Nim objects. So I will forget that idea. |
15:20:43 | Salewski | Or I would need some magic address shift... |
15:24:50 | * | fastrom joined #nim |
15:26:34 | * | fastrom quit (Client Quit) |
15:29:44 | * | akaisora_ joined #nim |
15:35:53 | * | fastrom joined #nim |
15:36:48 | * | Salewski quit () |
15:37:18 | * | fastrom quit (Client Quit) |
15:41:43 | * | PMunch joined #nim |
15:53:43 | * | shodan45 quit (Quit: Konversation terminated!) |
15:57:31 | arnetheduck | yay, https://github.com/nim-lang/Nim/pull/4284 finally passes |
16:04:16 | * | euantor quit (Quit: Page closed) |
16:07:12 | * | endragor quit (Ping timeout: 260 seconds) |
16:10:31 | * | desophos quit (Read error: Connection reset by peer) |
16:13:18 | * | arnetheduck quit (Ping timeout: 276 seconds) |
16:13:46 | namnguyen | arnetheduck, just a nit, zeroMem is usually reimplemented to really make sure that the memory is wiped. now, i'm not sure if that's the purpose of zeroMem though. |
16:13:52 | namnguyen | oh, opps, he left |
16:50:08 | * | Ven joined #nim |
17:02:03 | * | yglukhov quit (Ping timeout: 240 seconds) |
17:08:53 | * | miere joined #nim |
17:11:36 | * | filcuc quit (Read error: Connection reset by peer) |
17:17:42 | * | desophos joined #nim |
17:18:05 | * | desophos_ joined #nim |
17:18:14 | * | desophos quit (Read error: Connection reset by peer) |
17:19:18 | * | PMunch quit (Quit: leaving) |
17:27:31 | * | pregressive joined #nim |
17:28:42 | * | Sembei quit (Ping timeout: 276 seconds) |
17:28:50 | * | miere quit () |
17:32:56 | * | miere joined #nim |
17:40:50 | * | yglukhov joined #nim |
17:43:42 | * | pregressive quit (Remote host closed the connection) |
17:44:07 | * | desophos_ is now known as desophos |
17:45:03 | * | yglukhov quit (Ping timeout: 240 seconds) |
17:52:34 | * | yglukhov joined #nim |
17:53:22 | * | pregressive joined #nim |
18:07:10 | * | Jesin joined #nim |
18:07:26 | * | BitPuffin quit (Read error: Connection reset by peer) |
18:32:13 | * | fastrom joined #nim |
18:44:22 | flyx | can I assume that getType will stay the way it is in 0.14.0 for now? or will it be reversed because it's an accidental breaking change? |
18:45:00 | Araq | uh oh, good point |
18:45:07 | Araq | we need to reverse this |
18:49:29 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
18:49:47 | * | user joined #nim |
18:51:29 | flyx | okay, then I'll wait with new NimYAML releases until it is reversed |
18:52:05 | * | PMunch joined #nim |
18:58:38 | * | gokr joined #nim |
19:05:56 | Araq | flyx: er, never mind, I changed my mind. this breaking changes does make the AST more consistent |
19:06:03 | Araq | so it's a good thing and needs to stay |
19:06:08 | flyx | good. |
19:08:08 | * | Matthias247 joined #nim |
19:08:49 | * | user quit (Quit: WeeChat 1.5) |
19:09:09 | * | user joined #nim |
19:21:04 | * | Ven joined #nim |
19:32:18 | * | brson joined #nim |
19:35:43 | * | yglukhov quit (Remote host closed the connection) |
19:39:09 | * | ludocode quit (Remote host closed the connection) |
19:41:36 | * | yglukhov joined #nim |
19:45:45 | Araq | namnguyen: nah, for that we have the (entirely unimplemented) ensureZeroMem() :-) |
20:21:14 | * | irrequietus joined #nim |
20:41:16 | * | Demon_Fox joined #nim |
20:48:39 | * | akaisora_ quit (Remote host closed the connection) |
20:50:44 | * | akaisora_ joined #nim |
20:59:40 | * | miere quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) |
21:00:14 | PMunch | Anyone here know who Alexander Rødseth is? |
21:00:29 | PMunch | He's the maintainer for Nim on Arch systems and the package is seriously lacking behind |
21:00:36 | PMunch | Currently on version 0.13.0-3 |
21:02:51 | Araq | that surely sounds like his real name... |
21:04:15 | PMunch | Yes, probably is |
21:04:38 | PMunch | I was more wondering if he was anyone in this channel |
21:08:05 | * | mahlon quit (Quit: nine foot long outhouse ladle) |
21:09:01 | elrood | PMunch, actually, arch's package list displays 0.14.0-1 as the latest version. are you sure the problem isn't somewhere else? |
21:10:21 | PMunch | Hmm, I'm using Manjaro so it could be that it's the Manjaro repositories which lags a bit behind |
21:10:32 | PMunch | But 0.13.0 is still older than I would expect.. |
21:14:02 | * | user quit (Ping timeout: 260 seconds) |
21:15:46 | elrood | that'd be something to bug the manjaro repo maintainers about then. it should be fairly trivial to install arch packages on manjaro, though |
21:15:50 | * | misterguy joined #nim |
21:16:00 | misterguy | hey |
21:16:27 | * | misterguy quit (Client Quit) |
21:17:38 | dom96 | PMunch: 0.13.0 is just one version older than 0.14.0 |
21:17:59 | PMunch | I had 0.13.1 installed |
21:18:12 | PMunch | But then again I pulled from the devel branch when working on the JSON hash stuff |
21:18:34 | PMunch | So only the 0.x.0 versions are "release" versions? |
21:19:00 | dom96 | no, there just wasn't any 0.13.x releases except 0.13.0 |
21:24:31 | PMunch | Aaah, that makes sense |
21:24:58 | PMunch | So I guess the Manjaro version will update in a couple days then. It's typically no more than a week behind as long as stuff is stable |
21:30:53 | * | TheLemonMan quit (Quit: "It's now safe to turn off your computer.") |
21:31:15 | * | elrood quit (Quit: Leaving) |
21:34:54 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
21:36:46 | * | PMunch quit (Quit: leaving) |
21:37:03 | * | pregressive quit (Remote host closed the connection) |
21:37:36 | * | pregressive joined #nim |
21:41:46 | * | pregressive quit (Ping timeout: 252 seconds) |
21:46:55 | * | pregressive joined #nim |
21:52:53 | * | akaisora_ quit (Ping timeout: 258 seconds) |
21:57:26 | * | akaisora joined #nim |
22:04:36 | * | fastrom quit (Quit: Leaving.) |
22:06:23 | * | pregressive quit (Remote host closed the connection) |
22:07:00 | * | pregressive joined #nim |
22:11:03 | * | pregressive quit (Ping timeout: 244 seconds) |
22:17:02 | * | akaisora quit (Ping timeout: 258 seconds) |
22:22:09 | * | akaisora_ joined #nim |
22:22:38 | * | Trustable quit (Remote host closed the connection) |
22:28:27 | * | ludocode joined #nim |
22:30:45 | * | fastrom joined #nim |
22:34:55 | * | ics quit (Quit: Connection closed for inactivity) |
22:45:38 | dom96 | This is very interesting, a list of barrier's to D's adoption http://forum.dlang.org/post/[email protected] |
22:54:42 | akaisora_ | dom96: thanks for sharing |
22:55:06 | akaisora_ | i believe D is a truely innovative language, but i still dunno why i never tried it myself xD |
23:02:31 | * | fastrom quit (Quit: Leaving.) |
23:02:39 | * | fastrom joined #nim |
23:05:18 | * | cheatfate_ joined #nim |
23:05:19 | * | cheatfate quit (Read error: Connection reset by peer) |
23:07:05 | * | fastrom quit (Ping timeout: 260 seconds) |
23:15:41 | * | desophos quit (Remote host closed the connection) |
23:20:14 | * | fredrik92 quit (Quit: Shutting down...) |
23:21:15 | * | Jesin quit (Quit: Leaving) |
23:24:47 | * | Matthias247 quit (Read error: Connection reset by peer) |
23:25:26 | * | Jesin joined #nim |
23:33:22 | * | yglukhov quit (Remote host closed the connection) |
23:35:57 | * | k0pernicus joined #nim |
23:36:04 | k0pernicus | Hi guys! |
23:36:40 | k0pernicus | I'm trying to program a simplistic implementation of the BASIC programming language in Nim |
23:37:00 | k0pernicus | The problem is... I don't know how to begin with Nim :-/ |
23:37:47 | k0pernicus | Is anybody here has a similar project in Nim to show me how to do please? |
23:38:30 | Araq | well the Nim compiler is written in itself and contains a fullblown interpreter too |
23:38:49 | Araq | compiler/lexer.nim # the lexer |
23:38:55 | def- | k0pernicus: hi. I wrote a very simple brainfuck interpreter here: http://howistart.org/posts/nim/1 |
23:39:05 | Araq | compiler/ast.nim # the abstract syntax tree |
23:39:51 | k0pernicus | Thanks Araq - to look the Nim compiler can be a great solution :-) |
23:40:05 | Araq | well it's messy and not that idiomatic code |
23:40:32 | k0pernicus | def-: Thanks, I wrote also a brainfuck compiler using meta-programming ;-) |
23:40:37 | Araq | the stdlib also contains lots of parsers |
23:40:41 | def- | k0pernicus: there's also this: https://github.com/gokr/spry |
23:41:10 | Araq | parsesql, parsecsv, json parsers, html parser |
23:41:42 | dom96 | I wrote this interpreter for a Forth-like language a long time ago, https://github.com/dom96/nael. The code may be slightly outdated but it should still give you a good idea of how to go about this. |
23:41:51 | k0pernicus | Araq: I will take a look, thank you :-) |
23:42:08 | k0pernicus | Great, thanks dom96 and def- :-) |
23:43:19 | Araq | if already have some experience, go for a register based VM (compiler/vm.nim) |
23:43:32 | Araq | these are the most fun. |
23:44:56 | k0pernicus | Oh great - evaluation engine? |
23:45:53 | Araq | aye |
23:47:48 | k0pernicus | I will try to help the community for the release later - I just began to learn Nim few weeks ago... |
23:50:49 | * | yglukhov joined #nim |
23:55:21 | * | yglukhov quit (Ping timeout: 250 seconds) |
23:59:50 | * | irrequietus quit () |