<< 15-11-2015 >>

00:05:10*desophos joined #nim
00:11:47*Kingsquee joined #nim
00:13:41*Ven quit (Read error: Connection reset by peer)
00:14:12*Demon_Fox joined #nim
00:15:12*Ven joined #nim
00:15:48*Ven quit (Client Quit)
00:55:32*dtscode is now known as nchambers
00:59:17*desophos quit (Ping timeout: 252 seconds)
01:34:26*desophos joined #nim
02:12:59*ephja quit (Ping timeout: 252 seconds)
02:41:20*jaco60 quit (Ping timeout: 246 seconds)
02:45:21Demon_FoxI think GamerAim killed himself.
02:45:30Demon_Foxoops, wrong channel
02:45:35Demon_FoxVideo game topic
03:03:17*MyMind joined #nim
03:04:40*gsingh93_ quit (Quit: Connection closed for inactivity)
03:04:50*Sembei quit (Ping timeout: 240 seconds)
03:18:16*strcmp1 quit (Quit: bbl)
03:54:08*strcmp1 joined #nim
04:44:20*Demon_Fox quit (Quit: Leaving)
04:45:49*SirCmpwn quit (Ping timeout: 264 seconds)
04:50:27*SirCmpwn joined #nim
05:20:00*pregressive quit (Remote host closed the connection)
05:25:07*Demon_Fox joined #nim
05:37:37*darkf joined #nim
05:38:57*pregressive joined #nim
05:48:34*pregressive quit (Remote host closed the connection)
05:58:33*Senketsu quit (Quit: Leaving)
06:02:49*gour joined #nim
06:39:32*gour_ joined #nim
06:40:56*gour quit (Disconnected by services)
06:41:05*gour_ is now known as gour
06:44:20*strcmp1 quit (Quit: thanks for the all fish)
06:54:17*desophos quit (Read error: Connection reset by peer)
07:38:45*strcmp1 joined #nim
08:50:18*vqrs quit (Ping timeout: 240 seconds)
08:52:33*vqrs joined #nim
08:52:50*barosl quit (Quit: Leaving)
08:58:01*barosl joined #nim
09:26:25*strcmp1 quit (Ping timeout: 276 seconds)
09:33:40*xet7 quit (Quit: Leaving)
10:05:47*Gonzih joined #nim
10:16:11*vendethiel joined #nim
10:33:02*Kingsqueee joined #nim
10:34:39*Kingsquee quit (Ping timeout: 240 seconds)
10:42:41*Guest48911isaway is now known as Guest48911
11:02:03*gokr quit (Ping timeout: 255 seconds)
11:02:53*Gonzih quit (Ping timeout: 246 seconds)
11:06:26*ephja joined #nim
11:17:24*makoLine quit (Ping timeout: 272 seconds)
11:25:57*jaco60 joined #nim
11:37:10*Ven joined #nim
11:39:08*elrood joined #nim
11:45:16*Ven quit (Read error: Connection reset by peer)
11:46:12*vendethiel quit (Read error: Connection reset by peer)
11:46:47*Ven joined #nim
12:29:34*Ven quit (Read error: Connection reset by peer)
12:30:26*Ven joined #nim
12:44:47*Ven quit (Read error: Connection reset by peer)
12:46:22*Ven joined #nim
12:58:18*Demon_Fox quit (Quit: Leaving)
13:00:43*Ven_ joined #nim
13:02:08*Ven__ joined #nim
13:02:11*Ven quit (Read error: Connection reset by peer)
13:02:26*Ven_ quit (Read error: Connection reset by peer)
13:04:45*Kingsqueee quit (Quit: https://i.imgur.com/qicT3GK.gif)
13:15:20*Ven__ quit (Read error: Connection reset by peer)
13:15:53*Ven joined #nim
13:18:05*Gonzih joined #nim
13:20:23*BitPuffin|osx joined #nim
13:30:11*Ven quit (Read error: Connection reset by peer)
13:30:51*Ven joined #nim
13:41:22*gokr joined #nim
13:45:07*Ven quit (Read error: Connection reset by peer)
13:46:08*Ven joined #nim
14:01:38*Ven quit (Read error: Connection reset by peer)
14:03:40*Ven joined #nim
14:15:38*Ven quit (Read error: Connection reset by peer)
14:16:19*Ven joined #nim
14:21:35*BitPuffin|osx quit (Ping timeout: 240 seconds)
14:24:08*gour_ joined #nim
14:24:19*gour left #nim ("WeeChat 1.3")
14:26:30*gour_ is now known as gour
14:29:59*Gonzih quit (Ping timeout: 240 seconds)
14:39:09*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:47:06nivhi, quick question about file handling in nim: what happens to File types that go out of scope and the GC collects? is the handle automatically closed?
14:49:52*Ven joined #nim
14:52:50*jakesyl quit (Ping timeout: 246 seconds)
15:04:10*jakesyl joined #nim
15:32:39*jakesyl quit (Ping timeout: 240 seconds)
15:35:20*gour quit (Remote host closed the connection)
15:38:22*gour joined #nim
15:42:26*gour quit (Remote host closed the connection)
15:42:49*gour joined #nim
15:45:33*gour quit (Read error: Connection reset by peer)
15:45:56*gour joined #nim
15:48:42*jakesyl joined #nim
15:49:22*gour quit (Read error: Connection reset by peer)
15:49:42*gour joined #nim
15:52:38*jakesyl quit (Max SendQ exceeded)
16:04:34*gour quit (Read error: Connection reset by peer)
16:04:52*gour joined #nim
16:07:34*Matthias247 joined #nim
16:07:47*jakesyl joined #nim
16:15:51*gour quit (Read error: Connection reset by peer)
16:16:12*gour joined #nim
16:16:59*jakesyl quit (Ping timeout: 240 seconds)
16:18:03ephjadom96: do you know what might be the cause of the assertion failure in acceptAddr?
16:20:33*jakesyl joined #nim
16:29:25*gour quit (Read error: Connection reset by peer)
16:29:48*gour joined #nim
16:30:35*gour quit (Remote host closed the connection)
16:30:52*gour joined #nim
16:31:38*Ven quit (Read error: Connection reset by peer)
16:32:10*Ven joined #nim
16:39:58*jakesyl quit (Read error: Connection timed out)
16:46:38*Ven quit (Read error: Connection reset by peer)
16:47:13*Ven joined #nim
17:01:57*BitPuffin|osx joined #nim
17:17:32*barosl quit (Quit: Leaving)
17:30:11*barosl joined #nim
17:31:23*strcmp1 joined #nim
17:53:02*strcmp1 quit (Read error: Connection reset by peer)
17:53:11*strcmp1 joined #nim
17:53:19dom96ephja: haven't had a look yet, sorry
18:17:47*Ven quit (Read error: Connection reset by peer)
18:18:20*Ven joined #nim
18:33:30*Ven quit (Read error: Connection reset by peer)
18:33:41*Ven joined #nim
18:34:00*Ven quit (Read error: Connection reset by peer)
18:34:27*Ven joined #nim
18:34:40*desophos joined #nim
19:02:59*Ven quit (Read error: Connection reset by peer)
19:04:36*Ven joined #nim
19:11:08ephjadom96: ok. I'm not in a rush or anything
19:14:13*darkf quit (Quit: Leaving)
19:15:24*perturbation joined #nim
19:16:07ephjaI just wanted to write an IRC successor
19:21:51perturbationephja: I don't know (but suspect files don't autoclose if they go out of scope). Maybe something like (http://nim-lang.org/docs/manual.html#templates-passing-a-code-block-to-a-template) or using (http://nim-lang.org/docs/manual.html#exception-handling-defer-statement) would work?
19:22:38perturbationerr.. sorry I guess that was for niv
19:22:49*Gonzih joined #nim
19:25:07*strcmp1 quit (Quit: WeeChat 1.2)
19:25:18*strcmp1 joined #nim
19:26:12*strcmp1 quit (Client Quit)
19:26:20*strcmp1 joined #nim
19:32:02*mat4 joined #nim
19:32:06mat4hi all
19:35:41perturbationdom96: is https://github.com/nim-lang/Nim/issues/3545 not reproducible? I can follow the stacktrace ok but I don't know most of the state at each call
19:35:54perturbationI'm reading http://nim-lang.org/docs/intern.html to try and get some ideas
19:36:41perturbationhi mat4
19:36:55mat4hi perturbation
19:40:46mat4perturbation: Which operating system do you use ?
19:40:59perturbationlinux for home
19:41:03perturbationmac os x for work
19:42:36mat4ok I assume your Nim compiler runs on a Linux distro. Do you use Ubuntu ?
19:43:23perturbationyeah, primary is on Trusty Tahrir
19:44:01perturbationLinux localhost 3.10.18 #1 SMP Thu Nov 5 10:40:08 PST 2015 x86_64 x86_64 x86_64 GNU/Linux
19:44:18perturbation^ uname -a
19:45:26mat4please be patience. I have an idea what couses that strange error... I only must do some research
19:45:54perturbationawesome... no worries
19:47:34mat4dom96: As readed you can compile perturbation's est code. Under which operating system have you compiled the code ?
19:49:07mat4^est=test
19:49:26*Ven quit (Read error: Connection reset by peer)
19:50:00*Ven joined #nim
19:58:54mat4perturbation: There exist a (low priority) bug in Ubuntu 12.04 LTS causing memory corruption of shared memory regions in specific SMP configurations
19:59:07perturbationhmm
19:59:14perturbationI can reproduce in jessie as well
19:59:22perturbationbut let me try OS X
20:00:00mat4I have compiled your code successfully on Arch Linux ARM
20:01:20mat4it seems the error occur only with my Ubuntu installation (AMD64)
20:01:47perturbationvery strange.. I get the same error on Mac OS X
20:02:04mat4ok, I don't use Mac OS X
20:02:20perturbationthough also AMD 64 :)
20:02:57mat4anyhow I expect your Nim version differs from mine
20:03:32mat4I use version 0.12.0
20:03:56perturbationshould be latest with devel branch (0.12.1, 0f7fdd8bf4d4f7)
20:03:56*Ven quit (Read error: Connection reset by peer)
20:04:26*BlaXpirit joined #nim
20:04:28perturbation^is my version... I should (in theory) be able to git bisect then
20:04:33*Ven joined #nim
20:05:03mat4if it is not much work for you, it is probably a good idea to compile version 0.12.0. You can then see if the error occur or not
20:06:22perturbationlet me recompile and check
20:06:40mat4I can compile your code with the lates Linux Mint version
20:07:06perturbationand latest compiler version?
20:07:47mat4sorry, don't have the time yet to compile the latest version because chatting here beside work
20:07:53perturbationhmmm still fails with tags/v0.12.0 on jessie
20:08:00perturbationno worries
20:10:22perturbationjust as another data point: tested with v0.12.0 on Mac OS X and gave same error
20:12:02mat4ok, sorry then my assumtion was wrong
20:12:22perturbationI'm going to try digging around with the compiler code and see if I can get it to print more debugging info
20:19:20*Ven quit (Read error: Connection reset by peer)
20:20:07dom96perturbation: I can't reproduce it on Mac OS X.
20:20:12perturbation:(
20:20:25perturbationwith v0.12.1 ?
20:20:42*Ven joined #nim
20:20:59dom96yeah
20:21:03dom96latest level
20:22:01dom96*devel
20:24:50mat4does there exist multiple source trees with the same version number ?
20:25:50perturbationI think it's the same commit
20:26:02perturbationlet me try getting some debug info with renderTree and I'll put it in a pastebin
20:26:13mat4that would be nice
20:26:55mat4dom96: You're a Mac user, right ?
20:27:07dom96kinda why?
20:28:10mat4I simply want to exclude OS related error possibilities
20:29:52dom96I was also able to recently compile the forum on linux x86
20:29:59mat4perturbation: your code compile under Linux Mint (AMD64) and Arch Linux (ARM)
20:30:55mat4at least here
20:30:58perturbationhttp://pastebin.com/wezLAjUP
20:32:03perturbationoh - sanity check mat4 and dom96 - I have my compiler built in debug mode not release mode... (./koch boot) - do you have any flags when building the compiler?
20:32:21dom96mine is built in release mode
20:32:28mat4release mode
20:33:01mat4wait, it compiles also in debug mode on ARM
20:33:41*Ven quit (Read error: Connection reset by peer)
20:33:56mat4(read without -d:release)
20:34:07*Ven joined #nim
20:34:24perturbationjust rebuilt - if I build the compiler in release mode it compiles
20:34:30*Ven quit (Read error: Connection reset by peer)
20:34:40perturbationif I don't build in release mode, it gives the same error
20:34:50*Ven joined #nim
20:35:05*Ven quit (Read error: Connection reset by peer)
20:35:05*gokr quit (Ping timeout: 240 seconds)
20:35:41*Ven joined #nim
20:35:55mat4make sense, because a release build seem to be the standard for compilation (the Nim compiler)
20:36:01dom96perturbation: oh, can reproduce that.
20:36:39perturbation\o/ I'm *not* crazy
20:36:45perturbation:)
20:39:17mat4of course not
20:40:24*gokr joined #nim
20:40:40mat4another question: Does someone here work with Arduino class boards ?
20:42:57mat4(these little boards based on AVR-8 or AVR-32 MCU's)
20:43:18mat4hi gokr
20:43:36gokrhey!
20:43:56gokrI now work at a place where they do stuff with them
20:44:48mat4nice, should I include an AVR backend for my little compiler project ?
20:45:07gokrmat4: They gave me a starter kit, but... the Arduino feels... a tad silly small to me.
20:45:16gokrRfduino etc seems more interesting.
20:45:45gokrmat4: I tried static compiling my Ni interpreter for fun, around 100kb.
20:45:59mat4these MCU's have not much internal RAM, typical 8-32 Kilobyte
20:46:05gokrExact
20:46:34gokrI work at evothings.com now - they have all the toys and more :)
20:48:33mat4I'm work on a native environment which you can use as replacement for the Arduino boot code
20:49:03mat4the goal is using Nim as alternative developing platform for these boards
20:49:14gokrCool!
20:50:09gokrPerhaps we can write some article about it at evothings.com - we like to do "fun stuff" with all these IoT things.
20:52:39*Demos joined #nim
20:53:03dom96hey gokr, your new work sounds like a lot of fun :)
20:53:14gokrdom96: Yeah :)
20:53:19dom96I've still got an Arduino gathering dust...
20:53:52gokrSo... we hit an economic "snag" at 3DICC unfortunately, so both me and Araq had to find something to do elsewhere.
20:55:55mat4gokr: it's not my main work at current (a side project). Anyhow, there exist a release plan (20.1.2016)
20:58:16gokrI have a Pi that I need to do something fun with, but I think I will slap nerves on it. http://nerves-project.org
20:59:25mat4nice, same idea, different language :)
21:01:03dom96Did you guys hear about Julia getting a $600K donation from the Moore Institute?
21:01:10dom96Here's hoping Nim can get something similar :)
21:01:47mat4Erlang (Elixir) makes a lot of sense as development platform for the Pi. However: I doubt the Beam VM can be implemented in an effective way for much more ressource restricted platformas as Arduino
21:02:14mat4^platforms
21:04:38gokrmat4: True, BEAM needs a bit of playroom. But damn... I am very impressed by Elixir/BEAM etc so far.
21:05:04gokrI always knew about the virtues of Erlang, but I also always felt so turned off by the language. Elixir has changed that.
21:05:19mat4dom96: Julia is in my opinion a very well designed language for scientific computing. to attract its audience Nim need at least array level features of Fortran (beside others)
21:08:03federico2someone give Nim $600K as well, please
21:09:47reactormonkfederico2, Araq would just spend it on booze and hookers.
21:12:20mat4really, in Europe government finanziation is not a problem. Bureaucracy is...
21:14:14Matthias247gokr: that company seems to be in a fun-to-play-with domain. But how du you want to generate income?
21:14:58gokrMatthias247: There are various plans of course :)
21:15:10mat4gokr: I've found Elixir a language with nice, readable syntax
21:16:11Matthias247gokr: I'm sure. But open source software is hard to monetize. And I think there are a lot of iot related startups recently
21:16:19federico2mat4: "finanziation"?
21:16:20gokrmat4: Yes, and ... it gives access to the rock solid world of Erlang. The tests they recently did with Phoenix doing 2 million connections was pretty impressive.
21:17:24gokrMatthias247: Sure, its a crowded space. But I think we have some good strategies in place, who knows, we will see :)
21:17:49mat4federico2: subsidization
21:18:11Matthias247gokr: then good luck!
21:18:23gokr:)
21:21:45mat4gokr: solid.. yes, that's the reason why I want support Nim as development option for embedded programming
21:23:30gokrmat4: I wonder if Nim could be made to play nice with BEAM in interesting ways. AFAIK there are three paths, either implement some Erlang protocols to partake as a node, or make it easy to call Nim libraries via NIFs etc.
21:29:04mat4I think the later approach would be better. The problem I have is that Nim is a complex language and embedded execution environments need to be mostly ressource effective (the same problem as with BEAM in some sense)
21:30:26mat4my solution is sompilation for a subset with can be run as (JIT) environment on the host
21:30:34mat4^compilation
21:33:03*jakesyl joined #nim
21:34:46*Ven quit (Read error: Connection reset by peer)
21:34:49*Ven_ joined #nim
21:36:17mat4(no bytecode based VM involved, instead a complete but minimal language environment which allows development on the board at demand)
21:38:34mat4so the last year i puzzled about squeezing such environment into some kB or RAM
21:41:01*mat4 I had doubts whether this would be possible
21:46:23*mat4 quit (Quit: leaving)
21:49:14*Ven_ quit (Read error: Connection reset by peer)
21:53:48*gour quit (Read error: Connection reset by peer)
21:54:31*Ven joined #nim
21:55:44*perturbation quit (Quit: Leaving)
22:05:08Araqhey guys
22:05:17*Ven quit (Read error: Connection reset by peer)
22:08:52*Ven joined #nim
22:10:48*BlaXpirit quit (Quit: Bye)
22:13:34*BlaXpirit joined #nim
22:14:02*lokulin quit (Changing host)
22:14:02*lokulin joined #nim
22:15:29*BlaXpirit quit (Client Quit)
22:17:20*BlaXpirit joined #nim
22:18:30*pregressive joined #nim
22:19:47*Ven quit (Read error: Connection reset by peer)
22:22:13*Ven joined #nim
22:27:05*Ven quit (Ping timeout: 276 seconds)
22:28:09*Trustable joined #nim
22:30:29*Guest48911 is now known as Guest48911isaway
22:51:51*makoLine joined #nim
22:55:06*strcmp1 quit (Ping timeout: 260 seconds)
22:55:48*strcmp1 joined #nim
23:10:05*gokr quit (Ping timeout: 240 seconds)
23:12:26*Gonzih quit (Ping timeout: 272 seconds)
23:43:13*Ven joined #nim
23:49:48*Ven quit (Ping timeout: 272 seconds)