00:30:57 | * | DAddYE quit (Remote host closed the connection) |
00:48:43 | * | wlhlm quit (Ping timeout: 241 seconds) |
01:14:11 | * | Associat0r quit (Quit: Associat0r) |
01:28:46 | * | dyu joined #nimrod |
01:41:00 | * | OrionPK quit (Quit: Leaving) |
02:17:09 | * | q66 quit (Quit: Leaving) |
03:32:47 | * | DAddYE joined #nimrod |
03:39:39 | * | DAddYE quit (Ping timeout: 260 seconds) |
03:57:23 | * | MFlamer_ joined #nimrod |
04:14:37 | MFlamer_ | Is there tuple unpacking in Nimrod. I swear I've seen an example somewhere and cant find it now |
04:16:16 | dyu | I think its let (x,y) = yourTuple |
04:17:00 | dyu | iirc |
04:36:03 | * | DAddYE joined #nimrod |
04:40:10 | * | DAddYE quit (Ping timeout: 240 seconds) |
04:41:44 | MFlamer_ | dyu: thanks, thats it |
04:42:32 | dyu | np |
05:35:38 | * | DAddYE joined #nimrod |
07:01:21 | * | DAddYE quit (Remote host closed the connection) |
07:01:48 | * | DAddYE joined #nimrod |
07:06:14 | * | DAddYE quit (Ping timeout: 264 seconds) |
08:02:32 | * | DAddYE joined #nimrod |
08:09:14 | * | DAddYE quit (Ping timeout: 264 seconds) |
08:16:23 | * | MFlamer_ quit (Ping timeout: 250 seconds) |
08:16:40 | * | MFlamer_ joined #nimrod |
08:21:41 | * | brson joined #nimrod |
08:24:08 | * | wlhlm joined #nimrod |
08:32:30 | * | brson quit (Ping timeout: 264 seconds) |
08:47:30 | * | dyu quit (Quit: Leaving) |
09:05:34 | * | DAddYE joined #nimrod |
09:10:59 | * | MFlamer_ quit (Ping timeout: 250 seconds) |
09:12:20 | * | DAddYE quit (Ping timeout: 256 seconds) |
10:08:45 | * | DAddYE joined #nimrod |
10:15:25 | * | DAddYE quit (Ping timeout: 245 seconds) |
10:16:29 | * | q66 joined #nimrod |
10:32:55 | * | brson joined #nimrod |
10:47:45 | * | Endy joined #nimrod |
11:12:00 | * | DAddYE joined #nimrod |
11:14:01 | * | [1]Endy joined #nimrod |
11:14:30 | * | brson quit (Ping timeout: 264 seconds) |
11:14:42 | * | Endy quit (Ping timeout: 240 seconds) |
11:14:42 | * | [1]Endy is now known as Endy |
11:17:34 | * | Associat0r joined #nimrod |
11:17:34 | * | Associat0r quit (Changing host) |
11:17:34 | * | Associat0r joined #nimrod |
11:18:06 | * | DAddYE quit (Ping timeout: 245 seconds) |
11:25:01 | * | Endy quit (Ping timeout: 245 seconds) |
11:39:46 | * | Endy joined #nimrod |
12:14:57 | * | DAddYE joined #nimrod |
12:21:01 | * | DAddYE quit (Ping timeout: 245 seconds) |
12:58:22 | * | dyu joined #nimrod |
13:03:45 | NimBot | nimrod-code/packages master 1a139cc Dominik Picheta [+0 ±1 -0]: Added OpenCV wrapper. |
13:07:53 | dyu | woo, nimrod getting some press (hn) |
13:08:12 | dom96 | link? |
13:08:13 | dyu | https://news.ycombinator.com/item?id=6499203 |
13:08:23 | dyu | in the comments .. strange (c++ vs go) |
13:09:08 | dom96 | cool |
13:10:11 | dyu | dom96: "'Yet, unfortunately few bench marks include them." |
13:11:00 | dyu | i think that's your cue :-) |
13:11:52 | dom96 | Someone already mentioned the Rogue level benchmarks, I'm not too proud of the web framework benchmarks :P |
13:12:20 | dom96 | Interesting to see this at the top of the comments |
13:12:40 | Araq | can only be a few months until my talk hits reddit |
13:13:39 | dyu | dom96: yea ... well you could temporarily exclude nimrod in the techempower benchmarks |
13:15:24 | dom96 | Could I? I really wish I had more time to improve Jester and beat Go :P |
13:15:29 | dyu | the results make it on par with the slower scripting languages (which might give nimrod a bad rep) |
13:16:19 | dom96 | Yes, well. I explained what happened in a HN thread when round 6 came out. |
13:17:36 | dom96 | I may still be able to improve it before Round 7 is done. |
13:18:13 | * | DAddYE joined #nimrod |
13:18:40 | dyu | but don't put pressure on yourself though ... you can instruct them to exclude it for the mean time |
13:21:34 | Araq | yeah dom96 do it, exclude the results |
13:22:16 | dom96 | ok ok. I'll send the guy an email... if I can find it. |
13:24:27 | Araq | dom96: I fixed bug #602 |
13:24:44 | Araq | but you said, | also crashes the compiler |
13:24:51 | Araq | so ... I need another test case |
13:24:51 | * | DAddYE quit (Ping timeout: 260 seconds) |
13:26:05 | dom96 | Push your fix and then i'll test it with my crashing code. |
13:27:59 | dom96 | argh, I can't find his email. Should I just create an issue on github? |
13:29:19 | dyu | nah, don't do that :-) best to email I think |
13:29:26 | dyu | i'ma help you look for that email |
13:29:30 | dom96 | yeah, doing it in public is a bit embarrassing :P |
13:29:40 | Araq | dom96: gah never mind, it's not fixed yet |
13:30:33 | Araq | bbl |
13:35:31 | dyu | dom96: [email protected] |
13:35:39 | dyu | Brian Hauer |
13:35:46 | dom96 | wow, how did you find that? |
13:36:28 | dyu | googl |
13:36:34 | dyu | i'm an expert |
13:36:35 | dyu | hehe |
13:36:56 | dom96 | You sure it's the right Brian Hauer :P |
13:37:01 | dyu | yes |
13:37:02 | dom96 | ? |
13:37:13 | dom96 | ok good. Thanks. |
13:37:15 | dyu | dom96: http://www.marshut.com/ivzhz/techempower-round-3.pdf |
13:38:11 | dom96 | nice |
13:38:57 | dyu | dom96: speaking of benchmark, I updated the ffi results and nimrod is no longer as fast as c |
13:39:08 | dom96 | :O why? |
13:39:19 | dyu | gcc with -O2 improved the c results but not nimrod's |
13:39:46 | dyu | both are compiled with the same optimizations |
13:40:23 | dyu | and guess what, luajit is the fastest when it comes to calling shared libraries |
13:40:53 | dyu | i just added it today and i'm still puzzled why its faster than c |
13:41:12 | shevy | hehe |
13:42:17 | dom96 | interesting |
13:42:38 | dyu | shevy: know anything about luajit that could explain why? |
13:42:43 | dom96 | I'm sure Araq will find something to make it faster. |
13:42:54 | shevy | I? phew... I dont even know lua |
13:43:00 | dom96 | He's a God at optimising. |
13:43:08 | shevy | all I know is that lua uses a strange way to use comments |
13:43:59 | dyu | yea it indeed is a bit strange .... plus the non-zero based indexing |
13:44:21 | shevy | hmm |
13:44:42 | shevy | dont have strong feelings about that, we humans start to count at one anyway |
13:45:02 | dyu | humans ... not programmers |
13:45:03 | dom96 | and Rust is on par with Nimrod too, interesting. |
13:46:18 | dyu | yep |
13:48:01 | dom96 | Have you tried clang? |
13:48:20 | dyu | no |
13:53:32 | dyu | dom96: offtopic ... when you get a stackoverflow in nimrod, it segfaults right? (it's not like java where a stackoverflow exception is thrown) |
13:53:33 | dom96 | There is a EStackOverflow so I guess it's like in Java. |
13:53:34 | dyu | i'ma test it now |
13:56:15 | dyu | dom96: Segmentation fault (core dumped) |
13:58:52 | dom96 | hrm, is that in debug mode? |
13:58:55 | * | [1]Endy joined #nimrod |
14:01:51 | dyu | dom96: http://pastebin.com/nx9Z0hDN ... release mode |
14:01:55 | * | Endy quit (Ping timeout: 246 seconds) |
14:01:56 | * | [1]Endy is now known as Endy |
14:02:15 | * | brson joined #nimrod |
14:02:19 | dom96 | try debug mode |
14:07:34 | * | brson quit (Ping timeout: 256 seconds) |
14:08:06 | dyu | dom96: still segfaults |
14:08:34 | dom96 | then I don't know, maybe there is an explicit flag that must be used to enable it |
14:08:39 | dom96 | or it was never implemented |
14:08:41 | dyu | wait |
14:08:51 | dyu | i executed the old binary |
14:09:12 | * | brson joined #nimrod |
14:10:54 | dyu | dom96: yep it indeed still segfaults |
14:11:09 | dyu | oh well |
14:21:14 | * | DAddYE joined #nimrod |
14:27:50 | * | DAddYE quit (Ping timeout: 264 seconds) |
14:39:48 | * | brson quit (Ping timeout: 240 seconds) |
15:07:04 | * | io2 joined #nimrod |
15:24:25 | * | DAddYE joined #nimrod |
15:30:33 | dom96 | oh cool, pcwalton replied on HN |
15:30:37 | * | dom96 did too |
15:30:48 | * | DAddYE quit (Ping timeout: 240 seconds) |
15:40:51 | NimBot | nimrod-code/Aporia master 86e7a8a Dominik Picheta [+1 ±1 -0]: Added babel file and babel install instructions. |
15:42:38 | NimBot | nimrod-code/packages master 7bc7434 Dominik Picheta [+0 ±1 -0]: Added Aporia and Babel. |
15:46:05 | NimBot | nimrod-code/packages master a97fcbe Dominik Picheta [+0 ±1 -0]: Fixed case sensitive aporia url. |
15:59:19 | * | OrionPK joined #nimrod |
16:12:26 | Araq | dyu: luajit might be able to do PIC the FFI call no static compiler can do that |
16:12:40 | Araq | (PIC = polymorphic inline cache) |
16:14:17 | dyu | Araq: thanks |
16:14:50 | dyu | so its a form of inline caching |
16:15:10 | Araq | getting a stack trace for an infinite recursion is quite easy to implement but has never been done |
16:15:48 | Araq | well in fact, it's easy to implement some way to do it but to it properly is quite hard |
16:16:21 | Araq | it requires a signal handler that somehow accesses the stack pointer and detects it points to an invalid page |
16:16:36 | Araq | to the guard page |
16:16:37 | dyu | i see. Is there a significant runtime overhead if that's implemented? |
16:16:44 | Araq | sure |
16:16:59 | dyu | i wonder if rust has it |
16:17:08 | * | dyu will test |
16:17:18 | Araq | well er |
16:17:34 | Araq | no it's no runtime overhead when you choose the signal handler implementation |
16:17:42 | dyu | cool |
16:17:49 | Araq | but it sucks for debuggers |
16:18:22 | Araq | debuggers do not like signal handlers that do crazy stuff at segmentation faults |
16:27:33 | * | DAddYE joined #nimrod |
16:29:30 | Araq | hi DAddYE |
16:33:45 | * | DAddYE quit (Ping timeout: 245 seconds) |
16:37:29 | dyu | rust also segfaults |
16:39:36 | Araq | OOM also segfaults so I don't see much point in "fixing" it |
16:40:37 | OrionPK | https://kidoman.com/programming/go-getter-part-3.html |
16:40:56 | OrionPK | someone should write a nimrod implementation of this benchmark ;) |
16:41:39 | dyu | I nominate OrionPK |
16:42:10 | Araq | thanks to "fork" unix based systems tend to do memory overcommitting ... :P |
16:42:21 | OrionPK | my brain is functioning about 60% this week :P |
16:42:46 | dom96 | I second the nomination :P |
16:43:08 | Araq | OrionPK: Go is still 2x slower and yet the author of that article thinks "I am pretty sure the Go version will get closer and closer as the compiler gets more mature." |
16:43:15 | Araq | which is of course true but also irrelevant |
16:43:29 | OrionPK | well |
16:43:34 | Araq | a good JS engine is also only 2x slower |
16:43:41 | OrionPK | iirc they havent even started optimizing it for speed |
16:44:10 | Araq | yeah yeah yeah |
16:44:22 | OrionPK | hehe |
16:44:22 | dyu | hehehe |
16:44:35 | * | shodan45 joined #nimrod |
16:45:08 | Araq | here are the facts: Go is much more hostile than Java when it comes to garbage collection and it won't be on par with Java any time soon |
16:45:39 | dyu | though java is a memory hog ... that's where go wins |
16:45:59 | dyu | speed vs memory all over again |
16:46:00 | Araq | Java could catch up |
16:46:02 | dom96 | no no, that's where Nimrod wins. |
16:46:07 | dom96 | Go doesn't win anything :P |
16:46:16 | dyu | except its winning right now already |
16:46:26 | dyu | converting those scripting folks |
16:46:44 | Araq | "I am pretty sure the Java version will get closer and closer to Go's memory requirements as the JVM gets more mature." |
16:47:10 | dyu | Araq: the pace of development in the jvm is reaaaally slow |
16:48:00 | dyu | since they know they already have the market share |
16:48:04 | dyu | they aren't gonna be pressured |
16:48:06 | dyu | at all |
16:49:07 | Araq | "I am pretty sure the asm.js version will get closer and closer to C++'s speed as the JavaScript engines get more mature." |
16:49:53 | Araq | "I am pretty sure the PHP version will get closer and closer to C++'s speed as HipHop gets more mature." |
16:49:53 | dyu | are you quoting yourself now? :P |
16:50:22 | Araq | "I am pretty sure the Python version will get closer and closer to C++'s speed as PyPy gets more mature." |
16:51:57 | Araq | well I'm sure you got my point by now :P |
17:16:54 | NimBot | nimrod-code/babel master 05d6621 Dominik Picheta [+0 ±2 -0]: Fixes #7 |
17:17:35 | * | dyu quit (Quit: later!) |
17:19:15 | NimBot | nimrod-code/packages master adfe855 Dominik Picheta [+0 ±1 -0]: Added ipsumgenera. |
17:26:38 | NimBot | nimrod-code/babel master a38f29f Dominik Picheta [+0 ±1 -0]: Updated help text. |
17:26:38 | NimBot | nimrod-code/babel master 2caa500 Dominik Picheta [+0 ±1 -0]: Updated version information. |
17:58:22 | OrionPK | no + operator for uints? |
17:58:34 | Araq | import unsigned |
17:59:33 | OrionPK | gracias |
17:59:45 | * | Boscop quit (Disconnected by services) |
17:59:48 | * | Boscop joined #nimrod |
18:00:58 | NimBot | nimrod-code/babel master 871a2c9 Dominik Picheta [+0 ±1 -0]: Fixed directories with spaces causing problems during builds. |
18:03:10 | Araq | dom96: now it comes further until: |
18:03:30 | Araq | ld.exe cannot open output file ...\babel.exe |
18:03:39 | Araq | since that's what is running I guess |
18:03:47 | dom96 | oh, that's Windows being an idiot, yeah. |
18:03:52 | Araq | and windows then locks the .exe |
18:04:00 | dom96 | Just make a copy of the babel.exe |
18:04:07 | dom96 | then try it |
18:04:14 | Araq | I don't get it |
18:04:22 | Araq | why does it build itself? |
18:04:24 | dom96 | cp babel.exe babel2.exe |
18:04:28 | dom96 | babel2.exe install |
18:04:29 | Araq | obviously I could build it |
18:04:33 | Araq | otherwise it can't run? |
18:05:25 | Araq | it's "copy" and not "cp" on DOS :P |
18:05:29 | Araq | but thanks that did it |
18:05:44 | dom96 | I'm confused |
18:05:49 | dom96 | What do you not get? |
18:06:05 | Araq | what "babel install" is supposed to do |
18:06:17 | Araq | babel itself should not be a babel package |
18:06:21 | dom96 | Why not? |
18:06:29 | Araq | because it makes no sense |
18:06:45 | dom96 | After the initial install you will be able to update by running babel install babel |
18:06:50 | Araq | obviously I have Babel when I do "babel install" |
18:06:55 | Araq | so what's the point? |
18:07:05 | dom96 | You have it, but not in your PATH |
18:07:19 | dom96 | You will be adding ~/.babel/bin to your PATH anyway |
18:07:24 | dom96 | So you might as well put babel there |
18:07:37 | Araq | well I would have put it to where nimrod.exe is |
18:08:13 | dom96 | Sure, if you wanna make things more difficult :P |
18:08:25 | dom96 | Who cares where you put it really? |
18:08:53 | Araq | well it's now in %HOME%\.babel |
18:09:03 | Araq | so ... thanks for the leading '.' on windows |
18:09:14 | Araq | it doesn't make it hidden anyway |
18:09:29 | Araq | and fyi hidden directories are bullshit |
18:09:36 | dom96 | yeah yeah yeah |
18:10:32 | dom96 | This will be customizable in some later version. |
18:10:49 | Araq | the babel.bat you generate is also wrong |
18:10:54 | Araq | as it too lacks quotes |
18:12:47 | Araq | also seriously ... |
18:13:10 | Araq | you could copy the .exe into there instead of generating a .bat |
18:13:53 | dom96 | No. I couldn't. |
18:14:03 | dom96 | That would change it's work dir. |
18:14:37 | Araq | yeah ok so make it customizable |
18:14:43 | Araq | it would work for babel.exe |
18:14:56 | Araq | which lacks an icon btw :P |
18:15:03 | dom96 | Dude. |
18:15:11 | dom96 | Seriously. This is a first version. |
18:15:32 | dom96 | Why is a .bat file so bad? |
18:15:59 | dom96 | As a matter of fact I don't really care. I just want to know whether it works on Windows. |
18:16:12 | dom96 | Can you install ipsumgenera and run it? |
18:16:17 | Araq | well it doesn't work |
18:16:23 | Araq | as your .bat file is wrong |
18:16:25 | Araq | http://upload.wikimedia.org/wikipedia/commons/thumb/f/fc/Pieter_Bruegel_the_Elder_-_The_Tower_of_Babel_%28Vienna%29_-_Google_Art_Project_-_edited.jpg/1280px-Pieter_Bruegel_the_Elder_-_The_Tower_of_Babel_%28Vienna%29_-_Google_Art_Project_-_edited.jpg |
18:16:34 | Araq | here make an icon from this ;-) |
18:16:52 | NimBot | nimrod-code/babel master d513450 Dominik Picheta [+0 ±1 -0]: Fixed quotes in .bat file. |
18:17:18 | dom96 | Cmdline apps don't need no icons. |
18:18:15 | dom96 | Why must you always complain? |
18:19:06 | Araq | if I don't, others will |
18:19:17 | dom96 | You wanted a simple package manager and now you want to add complications before a release has even been made. |
18:19:18 | Araq | and then Nimrod/Babel will get bad publicity. again. |
18:20:10 | Araq | and tbh I think this .bat file generation will give us bad rep |
18:20:24 | Araq | technically it's not bad |
18:20:31 | Araq | but windows users won't like it |
18:20:36 | dom96 | There was a time to discuss this. |
18:20:40 | dom96 | We discussed it endlessly. |
18:20:44 | Araq | yes I know |
18:21:00 | dom96 | It's annoying to have you change your mind after I implemented it. |
18:21:16 | dom96 | And after you gave the OK a looong time ago. |
18:21:21 | Araq | it would be more annoying if I never changed my mind |
18:21:31 | Araq | and btw |
18:21:38 | Araq | I gave my OK but never liked it |
18:22:29 | Araq | ok, how to get this ipsumgenera |
18:22:32 | Araq | ? |
18:23:05 | dom96 | babel update |
18:23:10 | dom96 | babel install ipsumgenera |
18:24:48 | Araq | works |
18:25:01 | Araq | version 0.1 is ready once I tested it on macosx |
18:25:11 | dom96 | good. |
18:25:37 | Araq | also good job with the "already exists. overwrite?" message |
18:26:01 | dom96 | Thank you. Good to hear something except criticism... |
18:33:19 | * | DAddYE joined #nimrod |
18:35:57 | dom96 | Araq: Did you run ipsumgenera from cmd.exe? |
18:36:39 | dom96 | IMO .bat files work really well as a substitute for symlinks on linux. |
18:37:55 | Araq | well I still haven't .babel\bin in my path |
18:38:03 | Araq | and when I run it, it says: |
18:38:18 | Araq | Missing: .babel\bin\ipsum.ini' |
18:38:51 | dom96 | yeah, well that's just your blog config. |
18:39:00 | dom96 | it should look in the CWD |
18:39:09 | Araq | ok |
18:39:28 | * | DAddYE quit (Ping timeout: 240 seconds) |
18:39:56 | dom96 | hrm, i wonder where these stargazers and forks for jester have come from |
18:48:15 | OrionPK | there a ternary operator? |
18:50:42 | wlhlm | Is the source code for NimBot available somewhere? |
18:50:48 | OrionPK | guess just if: else: inline |
18:51:11 | dom96 | what is going on |
18:51:16 | dom96 | Is jester on some popular site? |
18:51:21 | Araq | OrionPK: you can use 'if' as an expression and so 'case' etc. |
18:51:47 | dom96 | yep |
18:51:48 | Araq | p(try: parseInt("32") except EInvalidValue: 42) # default is 42 |
18:51:49 | dom96 | it's on HN hah |
18:51:58 | Araq | :O |
18:52:01 | dom96 | yay my project is on HN |
18:52:02 | dom96 | woooo |
18:52:09 | dom96 | wlhlm: Yeah, it's in the nimbuild repo |
18:52:28 | Araq | HN should really contact the authors |
18:52:47 | Araq | it's always annoying imho |
18:52:49 | dom96 | wlhlm: https://github.com/nimrod-code/nimbuild/blob/master/ircbot.nim |
18:53:07 | wlhlm | dom96: thanks! |
18:56:09 | * | MFlamer_ joined #nimrod |
18:56:36 | OrionPK | there a nmroddy way to get the # of cores/CPUs? |
18:57:01 | dom96 | http://build.nimrod-code.org/docs/osproc.html#105 |
18:57:10 | OrionPK | thx |
19:00:05 | dom96 | I knew Jester would be considered 'cool' ;D |
19:00:05 | io2 | dom96: congrats * congrats |
19:00:13 | dom96 | io2: thanks |
19:00:17 | io2 | you got 2 nice news in a single day I guess |
19:00:18 | io2 | :P |
19:00:28 | dom96 | yeah, lol. |
19:04:06 | MFlamer_ | hey guys |
19:04:14 | dom96 | hey MFlamer_ |
19:07:27 | NimBot | Araq/Nimrod master cb797d2 Simon Hafner [+1 ±2 -0]: moved eqproc to the correct magic position... 2 more lines |
19:07:27 | NimBot | Araq/Nimrod master d37a3a6 Simon Hafner [+0 ±2 -0]: don't mess with semfold, use vars instead |
19:07:27 | NimBot | Araq/Nimrod master 99b12af Andreas Rumpf [+1 ±1 -0]: Merge pull request #604 from reactormonk/master... 2 more lines |
19:09:16 | NimBot | Araq/Nimrod master 9bdbbb2 Robert Persson [+0 ±1 -0]: Fixed small typobug in basic 3d |
19:09:16 | NimBot | Araq/Nimrod master a8d6478 Andreas Rumpf [+0 ±1 -0]: Merge pull request #613 from ventor3000/basic_geom... 2 more lines |
19:09:26 | MFlamer_ | is the `of` operator the same as is used in case....of ? |
19:10:15 | Araq | no, it checks the subtype relationship; if x of MyObject |
19:13:48 | MFlamer_ | ok, got it |
19:22:25 | * | MFlamer_ quit (Ping timeout: 250 seconds) |
19:22:44 | * | MFlamer_ joined #nimrod |
19:25:11 | Araq | dom96: please we really need 'diff' for nimbuild |
19:25:32 | dom96 | fix the corruption in the builder then |
19:26:02 | Araq | well we have the debug GC now |
19:26:21 | Araq | and I have no ssh on this machine so ... :P |
19:28:57 | dom96 | then get ssh :P |
19:29:06 | dom96 | i'm busy with other things |
19:29:35 | Araq | yes well my point is |
19:29:44 | Araq | it's a REALLY important feature for me |
19:30:12 | dom96 | Yeah. I realise that. |
19:30:15 | Araq | ok |
19:31:31 | * | MFlamer_ quit (Ping timeout: 250 seconds) |
19:47:48 | * | cespare joined #nimrod |
19:47:57 | cespare | How do you echo a sequence? |
19:48:22 | cespare | Oh I guess repr is fine for my needs |
19:48:55 | dom96 | hello cespare |
19:49:33 | dom96 | Araq: That reminds me, can `$` be added back for generic sequences? |
19:49:33 | cespare | Is there some shortcut for echo(repr(...)) ? |
19:49:47 | cespare | or some other function that I should use for just debugging/playing around to inspect random vars? |
19:49:51 | cespare | dom96: hi! |
19:50:06 | cespare | I'm about 10 minutes in to learning nimrod |
19:50:35 | dom96 | that's great, welcome :) |
19:51:15 | dom96 | There is no shortcut, but if you really want one you can add do something like: template r(x: expr): stmt = echo(repr(x)) |
19:51:26 | Araq | dom96: yes it can easily be added back. then one of our hundreds of tests break and I dunno which one ... Got the idea? ;-) |
19:51:57 | Araq | hi cespare welcome |
19:52:12 | dom96 | lol, yeah. I get it, you want the diff feature ASAP. |
20:22:39 | OrionPK | can I pass the threads:on switch from code? |
20:23:01 | Araq | use a myproject.nimrod.cfg file and set it there |
20:25:25 | * | q66_ joined #nimrod |
20:29:21 | * | q66 quit (Ping timeout: 252 seconds) |
20:32:33 | OrionPK | hm |
20:32:45 | OrionPK | when I turn on threads I get \main.nim(141, 19) Error: internal error: analyseIfExpr() |
20:32:49 | OrionPK | where I didn't previously |
20:34:07 | Araq | bug report please |
20:34:15 | Araq | and proceed with --threadAnalysis:off |
20:34:19 | reactormonk | Araq, sweet. What was it about that echo you wanted fixed? |
20:34:39 | Araq | you said it doesn't work for the JS backend |
20:34:50 | Araq | when not using -d:nodejs iirc |
20:36:58 | * | DAddYE joined #nimrod |
20:40:02 | Araq | OrionPK: don't bother, fixed it already |
20:40:10 | OrionPK | ah, ok |
20:43:20 | * | DAddYE quit (Ping timeout: 245 seconds) |
20:48:19 | * | shodan45 ponders if he would be as interested in nimrod if Go had exceptions |
20:49:03 | reactormonk | Araq, nah, it doesn't work with nodejs if you don't specify the nodejs backend ;-) |
20:49:27 | reactormonk | shodan45, does go have either types at least? |
20:50:15 | Araq | shodan45: Go -- lacks assertions and think they are a bad idea; Nimrod -- implements assertions in its stdlib so even if I wouldn't like them, I couldn't prevent them |
20:52:09 | shodan45 | Araq: assertions or exceptions? |
20:52:09 | Araq | that's the power of expressivity |
20:52:56 | Araq | assertions. Exceptions are built-in but it's similar; if nimrod lacked them, they could be provided via macros |
20:54:13 | shodan45 | I haven't gotten to the 2nd part of the tutorial yet, so that's over my head a bit ;) |
20:54:38 | shodan45 | reactormonk: "either types"? |
20:58:10 | shodan45 | #go-nuts has 832 nicks o_o |
20:58:29 | * | shodan45 cheers for the scrappy underdog xD |
21:00:41 | Araq | yeah that's the difference between hype and people who have no time left for any marketing |
21:02:33 | shodan45 | Araq: also, Google-backed vs non-Google-backed ;) |
21:02:53 | Araq | Google-backed == instant hype |
21:03:26 | shodan45 | well sure, but I'd say it's "legitimate" hype |
21:03:43 | Araq | hype by definition is never legitimate |
21:03:56 | cespare | strange definition.... |
21:04:39 | Araq | cespare: perhaps ;-) |
21:04:43 | shodan45 | Araq: hmm, not sure I agree - maybe it depends on where the hype is coming from? |
21:05:36 | shodan45 | like, say, a movie/book/game/etc. review can generate hype, but so can ads |
21:05:47 | Araq | for me "hype" always implies "hyperbolism" |
21:06:20 | shodan45 | Araq: interesting |
21:06:34 | Araq | and so it's never legitimate |
21:06:50 | Araq | but hey, english is not my mother tongue so what do I know |
21:08:10 | shodan45 | I'll take the unpopular-but-better over the popular-shiny-with-nude-women-but-crap any day ;) |
21:08:31 | shodan45 | Araq: what is then? |
21:09:50 | Araq | german |
21:10:12 | shodan45 | ahh, I have some german blood in me |
21:14:07 | Araq | yeah, german suits shodan: http://www.youtube.com/watch?v=v_rx3ZGIZ5E |
21:14:56 | shodan45 | WHOA |
21:15:47 | shodan45 | always weird to hear something you're very familiar with in another language |
21:17:16 | shodan45 | oh I know what nimrod needs... a cute mascot! |
21:17:20 | * | brson joined #nimrod |
21:17:32 | Araq | nope we already got the crown, shodan45 |
21:17:55 | shodan45 | Araq: :/ |
21:18:13 | Araq | not good enough? ;-) |
21:18:33 | shodan45 | not that I don't like it, but it isn't very anthropomorphic ;) |
21:19:16 | Araq | well Aporia still needs an icon |
21:19:36 | dom96 | yes.... |
21:19:51 | dom96 | Someone said they would create one... |
21:20:02 | * | dom96 is still awaiting that day patiently |
21:20:58 | Araq | I use nimrod's icon for it |
21:21:44 | shodan45 | hm, I wonder how hard it would be to add support for nimrod to a jetbrains' IDE |
21:22:27 | shodan45 | their python ide is pretty impressive & now it's open source |
21:27:48 | shodan45 | heh, there's a marvel/x-men character named nimrod? |
21:28:03 | * | shodan45 is google image searching for "nimrod" |
21:29:20 | shodan45 | and a plane too |
21:32:53 | Araq | it's also some monster in "Surface" |
21:40:25 | shodan45 | Araq: so what made you pick "Nimrod"? |
21:41:21 | Araq | it's the guy who built the tower of Babel and according to the Bible the first king ever |
21:50:15 | * | io2 quit () |
21:55:07 | shodan45 | Araq: wikipedia says that some stories of nimrod make him "evil" vs. the "good" Abraham |
21:55:53 | Araq | yeah I decided to not care and picked it anyway ;-) |
21:56:23 | Araq | nothing wrong with building a tower to God anyway |
21:58:44 | * | io2 joined #nimrod |
22:00:35 | * | Endy quit (Ping timeout: 260 seconds) |
22:02:38 | * | wlhlm quit (Ping timeout: 264 seconds) |
22:18:34 | NimBot | Araq/Nimrod master 725dab4 Araq [+0 ±7 -0]: 'noStackFrame' implies 'naked' in the generated C code |
22:18:34 | NimBot | Araq/Nimrod master 0cdb04c Araq [+1 ±2 -0]: Merge branch 'master' of https://github.com/Araq/Nimrod |
22:20:33 | * | brson quit (Quit: leaving) |
22:22:29 | dom96 | Araq: Marshal probably can't handle 'ptr' in an object being serialized, can it? |
22:32:14 | Araq | it can't |
22:32:30 | Araq | (I think) |
22:34:20 | dom96 | It looks like it's just treating it as an int. |
22:35:12 | * | q66_ is now known as q66 |
22:35:56 | Araq | quite possible |
22:40:49 | * | DAddYE joined #nimrod |
22:47:30 | * | DAddYE quit (Ping timeout: 245 seconds) |
23:21:49 | * | io2 quit () |
23:43:49 | * | DAddYE joined #nimrod |
23:48:06 | * | DAddYE quit (Ping timeout: 245 seconds) |