<< 17-11-2014 >>

00:10:28*tinAndi quit (Quit: ChatZilla 0.9.91 [Firefox 33.1/20141106120505])
00:12:07*bouliiii joined #nimrod
00:12:32bouliiiiI have a problem with type inference: https://gist.github.com/bsegovia/e6b4081e50238efb941b. It does not work with auto
00:15:20Araqbouliiii: 'auto' return types are broken
00:15:29Araqit's a showstopper bug even
00:15:41Araqcan't do more than that
00:15:50Araq(except fixing it)
00:16:23bouliiiiAraq: OK. not problem. I could look at it. Maybe too high to climb for a newbie but it can be an interesting exercise
00:20:05*uber quit (Quit: bye)
00:21:24*superfunc joined #nimrod
00:22:10*Matthias247 quit (Read error: Connection reset by peer)
00:22:48*uber joined #nimrod
00:23:01bouliiiiAraq: is there any debug mode in the compiler ? I mean a way to make it spit out everything it does (each compilation pass, each transformation it does...)
00:24:33Araqinternal.txt now contains info of how I debug the compiler
00:24:58Araqthere is no spit out everything it does because that's unreasonable
00:25:16Araqyou inject strategic echo renderTree(n) calls instead
00:25:28bouliiiiAraq: not eveerything but selectively (what the programmer thinks it may be important to log)
00:25:44Araqand if you don't guard it, you're doing it wrong ;-)
00:27:53bouliiiisorry for the question: where is internals.txt?
00:28:02NimBotAraq/Nimrod devel fd532b6 Araq [+1 ±1 -0]: fixes #206
00:28:27Araqdoc/intern.txt, sorry
00:28:40bouliiiithanks!
00:28:54Araq"Debugging the compiler"
00:28:57Araqonly in devel
00:29:00Araqgood night
00:29:13bouliiiiSee you.
00:37:02*uber quit (Changing host)
00:37:02*uber joined #nimrod
00:58:17*q66[lap] quit (Read error: Connection reset by peer)
00:58:49*bouliiii quit (Ping timeout: 246 seconds)
01:00:21*q66[lap] joined #nimrod
01:04:16*BitPuffin quit (Ping timeout: 265 seconds)
01:09:58*Varriount joined #nimrod
01:14:27*q66[lap] quit (Read error: Connection reset by peer)
01:15:10*q66[lap] joined #nimrod
01:31:18*q66[lap] quit (Read error: Connection reset by peer)
01:32:55*darkf joined #nimrod
01:33:01*q66[lap] joined #nimrod
01:45:38*brson quit (Quit: leaving)
01:46:09*brson joined #nimrod
01:57:07*johnsoft quit (Ping timeout: 255 seconds)
02:06:56*kniteli joined #nimrod
02:28:58*q66 quit (Quit: Leaving)
02:35:21*kniteli quit (Ping timeout: 258 seconds)
02:42:40*superfunc quit (Quit: Connection closed for inactivity)
02:47:32*kniteli joined #nimrod
02:58:44*kniteli quit (Ping timeout: 258 seconds)
03:10:51*kniteli joined #nimrod
03:13:14*flaviu quit (Ping timeout: 255 seconds)
03:25:47*brson quit (Quit: leaving)
04:05:49*kniteli quit (Ping timeout: 258 seconds)
04:06:17*kniteli joined #nimrod
04:42:33*q66[lap] quit (Read error: Connection reset by peer)
04:43:16*q66[lap] joined #nimrod
04:51:10*boydgreenfield joined #nimrod
05:20:03*Demos joined #nimrod
05:21:47*gokr_ quit (Remote host closed the connection)
05:49:41*untitaker quit (Ping timeout: 264 seconds)
05:53:31*BlaXpirit joined #nimrod
05:55:07*untitaker joined #nimrod
05:59:25*ARCADIVS joined #nimrod
06:07:33*boydgreenfield quit (Quit: boydgreenfield)
06:21:50*Demos quit (Read error: Connection reset by peer)
06:22:17*boydgreenfield joined #nimrod
06:32:46VarriountAraq, dom96: Something went wonky with permissions while I was doing something, and now the buildbot won't start via initscripts.
06:33:02VarriountFor now, I'm running it manually. I'll fix it as soon as I can.
07:12:45*gour joined #nimrod
07:12:49*gour quit (Client Quit)
07:13:44*gour joined #nimrod
07:14:35*vendethiel quit (Quit: q+)
07:18:40*BitPuffin joined #nimrod
07:24:47*boydgreenfield quit (Quit: boydgreenfield)
07:38:06*boydgreenfield joined #nimrod
07:45:52*BitPuffin quit (Ping timeout: 255 seconds)
07:50:50gourmorning
07:51:26gourare all blog posts considered as 'secondary source' for wikipedia?
07:54:54*boydgreenfield quit (Quit: boydgreenfield)
08:04:04*BitPuffin joined #nimrod
08:27:20*BitPuffin quit (Ping timeout: 255 seconds)
08:29:25NimBotAraq/Nimrod devel 729e048 Araq [+1 ±5 -0]: fixes #940
08:29:25NimBotAraq/Nimrod devel c5cc20d Araq [+0 ±5 -0]: fixes #1548
08:31:20*gokr_ joined #nimrod
08:36:05*Trustable joined #nimrod
08:39:15*q66[lap] quit (Read error: Connection reset by peer)
08:41:40*q66[lap] joined #nimrod
08:50:02*kemet joined #nimrod
09:11:56*gokr_ quit (Ping timeout: 264 seconds)
09:16:51*wan joined #nimrod
09:40:09gokr1Morning!
09:52:04*Etheco joined #nimrod
09:52:48wanAraq: thanks for #940 / #1649, it compiles and seems fixed!
09:58:21*darkf_ joined #nimrod
10:00:32*darkf quit (Ping timeout: 256 seconds)
10:01:04*wan quit (Quit: WeeChat 1.0.1)
10:09:02*kemet quit (Quit: Instantbird 1.5 -- http://www.instantbird.com)
10:11:01*darkf_ is now known as darkf
10:14:09*darkf_ joined #nimrod
10:15:57*darkf quit (Ping timeout: 256 seconds)
10:41:18*darkf_ is now known as darkf
11:01:03*khmm joined #nimrod
11:37:11*flaviu joined #nimrod
11:44:36*kemet joined #nimrod
11:52:01*flaviu quit (Ping timeout: 255 seconds)
11:56:48*kemet quit (Quit: Instantbird 1.5 -- http://www.instantbird.com)
12:29:15*johnsoft joined #nimrod
12:32:24*johnsoft quit (Read error: Connection reset by peer)
12:39:29*khmm quit (Ping timeout: 258 seconds)
12:40:07*kemet joined #nimrod
12:40:07*scidom joined #nimrod
12:40:56*scidom quit (Client Quit)
12:41:08*scidom joined #nimrod
12:41:31*kokozedman just used template for the first time: another wicked cool feature! Nim is awesome!!!
12:41:37scidomHi all, I wanted to ask if there are any bindings for BLAS and LAPACK
12:45:17kokozedmanscidom: http://nimrod-lang.org/lib.html doesn't list any... might want to search on Github if any. But creating bindings in Nim isn't a hard thing to do like in other languages.
12:46:47*khmm joined #nimrod
12:46:49kokozedmanscidom: I'm a newbie myself, and I can assert it was not hard... may be it took me 2,5 hours to bind my Protobuf
12:47:56scidomThanks a lot kokozedman, this is helpful. I am a newbie too, was checking the link you sent me. Perhaps I could use libsvm or Protbuf as examples of how to write bindings?
12:49:43kokozedmanscidom: there doesn't seem to be any protobuf library yet at this time, I created a binding for my protobuf-c project
12:49:57EXetoCthere is a libsvm module, which might or might not be up-to-date etc
12:50:12EXetoCbut it's very small so it's probably easy to maintain it
12:50:41scidomYeap, I only wanted to use libsvm as an example-prototype of how to create a C binding in nimrod, not necessarily to use libsvm at the moment
12:52:09EXetoCthere is a c2nim guide on some blog I think. someone else might have the link to it
12:52:54*khmm quit (Ping timeout: 258 seconds)
12:54:48scidomMaybe this link is good? http://nimrod-lang.org/c2nim.html
12:55:06scidomThanks both for the useful info, it is a good start
12:55:47*khmm joined #nimrod
12:59:25*johnsoft joined #nimrod
13:00:15EXetoCyes, but I think the article complements it. haven't read it yet though
13:13:11kokozedmanscidom: gokr1 has a made several Nim articles ... one of them covers c2nim extensively
13:13:16kokozedmanscidom: goran.krampe.se/category/nim
13:13:43gokr1yeah
13:13:44kokozedmanI mean, most of the practical aspects of c2nim
13:14:19scidomThanks, that's a great blog!
13:14:29kokozedmanI agree! :)
13:14:37gokr1Thanks, I am cranking out articles as I go :)
13:15:15kokozedmangokr1: keep it up
13:15:20kokozedmanwe love it
13:15:20gokr1Which reminds me I should turn that beginning of a hyperdex wrapper into a project.
13:15:44gokr1I have ... an almost done article about "seq", then Exceptions.
13:17:13scidomThanks gokr1, your blog is now bookmarked :) Thanks for the link kokozedman!
13:18:07*gokr1 reminds self to setup a Nim planet...
13:19:02*kokozedman wonders, where is the "Like" button for IRC
13:24:17*kemet quit (Ping timeout: 240 seconds)
13:32:04*kemet joined #nimrod
13:32:12*kemet quit (Client Quit)
13:32:38*scidom quit (Quit: Page closed)
13:42:53*BitPuffin joined #nimrod
13:45:21*q66[lap] quit (Read error: Connection reset by peer)
13:47:25*q66[lap] joined #nimrod
13:51:18*flaviu__ joined #nimrod
13:51:54flaviu__I came across mandrillapp.com, perhaps it can be used to simplify mailing on the forum.
13:51:59*flaviu__ quit (Client Quit)
14:00:29*fowl quit (Ping timeout: 264 seconds)
14:00:42*ARCADIVS quit (Quit: ARCADIVS)
14:02:34*perturbation joined #nimrod
14:08:18*fowl joined #nimrod
14:16:21*q66[lap] quit (Read error: Connection reset by peer)
14:18:23*q66[lap] joined #nimrod
14:25:16*xyproto left #nimrod ("WeeChat 1.0.1")
14:30:09*MyMind joined #nimrod
14:31:49*Sembei quit (Ping timeout: 272 seconds)
14:48:23*darkf quit (Quit: Leaving)
14:55:12*brson joined #nimrod
15:00:12*AMorpork is now known as AFKMorpork
15:00:15*MyMind quit (Read error: Connection reset by peer)
15:00:23*Pisuke joined #nimrod
15:05:17*dom96_ quit (Ping timeout: 264 seconds)
15:09:32*brson quit (Quit: leaving)
15:13:11*BlaXpirit quit (Read error: Connection reset by peer)
15:13:19*BlaXpirit joined #nimrod
15:15:21*saml joined #nimrod
15:20:50gourwhat is the status in regard to wikipedia article?
15:31:46*khmm quit (Read error: Connection reset by peer)
15:35:29*q66[lap] quit (Read error: Connection reset by peer)
15:37:52*q66[lap] joined #nimrod
15:43:57*kemet joined #nimrod
15:53:40Araqgour: wikipedia doesn't like me and I don't like wikipedia :P
15:54:11AraqVarriount: what's the status of the builder? and how can I see which tests fail?
15:55:42gourAraq: you're not alone. i stopped contributing due to case like Nimrod...still many are checking there, so i wonder what can be done in regard
15:57:14gour*cases
16:11:15*Boscop_ joined #nimrod
16:15:16*Boscop quit (Ping timeout: 255 seconds)
16:16:54*q66[lap] quit (Read error: Connection reset by peer)
16:17:37*q66[lap] joined #nimrod
16:18:36*mko joined #nimrod
16:21:08*brson joined #nimrod
16:30:34*fowl quit (Ping timeout: 255 seconds)
16:33:40gokr1Araq: http://178.62.143.63:8010/waterfall
16:42:14Ethecogokr1, you done any more blog posts ? :)
16:42:23EXetoCneat
16:42:42*xcombelle joined #nimrod
16:45:38*irrequietus joined #nimrod
16:47:17*Matthias247 joined #nimrod
16:57:57*brson quit (Ping timeout: 240 seconds)
17:05:27*brson joined #nimrod
17:06:12gokr1Etheco: Not recently
17:06:30gokr1Etheco: Just check goran.krampe.se/category/nim and you see all I have.
17:06:55Ethecoyou only had 3-4 posts on it
17:07:01Ethecoawesome will have a read next week
17:07:12Ethecoholiday paused me learning nim so :)
17:09:23*gour is curious, what are the most popular linux distros used by nim users/devs...
17:09:52EXetoCI use Arch
17:10:38perturbationI use CrunchBang (Debian Wheezy-ish)
17:14:58gouri'm on debian (sid) and wonder if anyone used opensuse recently
17:27:00*flaviu__ joined #nimrod
17:28:11flaviu__gour: I used opensuse before arch, and it was nice. It was difficult to set up encryption the way I wanted, but that's about all the issues I had with it.
17:28:42gourflaviu__: i used arch before debian :-)
17:29:21flaviu__It has a public build service, so you still have stuff like PPAs and the AUR
17:31:42flaviu__Poorly phrased, but hopefully it's clear what I'm trying to say
17:33:03*q66 joined #nimrod
17:33:11gournp, i read about their build service
17:36:46*Boscop__ joined #nimrod
17:39:52*Boscop_ quit (Ping timeout: 250 seconds)
17:40:09irrequietusgour: I use opensuse for some years now, side to side with debian and nixos
17:40:44irrequietusirrequietus: it is a hassle-free, low-maintenance and quite uptodate distro
17:40:47irrequietuserr
17:40:51irrequietusgour: ^
17:41:14gourirrequietus: would you use it for server as well?
17:41:41gouri did start with suse back in '99, but changed few distros in between
17:41:42irrequietuswhenever I had that chance, things worked; yast2 is quite easy to use if you are tired of cli
17:42:39gourirrequietus: in the past i left suse due to rpm dep-hell, now i read that yast is more capable as well as zypp
17:42:56gourirrequietus: so, you do nim on opensuse?
17:42:59irrequietusit is the most point-n-click friendly distro I know to be honest, without bringing down the house.
17:43:05irrequietusgour: I nim everywhere
17:43:07irrequietus:P
17:43:13gour:-)
17:43:42gourwell, will try it under vbox
17:43:53irrequietusgour: zypper is a SAT solver
17:44:24irrequietusand, never had any rpm hell problem since they stopped fooling around
17:44:29irrequietuslike it must be years
17:44:32irrequietuseons
17:44:43irrequietuscosmic scale timescale
17:44:45irrequietus:P~
17:45:23gourwell, i used suse in 1999 ;)
17:45:48gourhowever, i want distro to do less admin work
17:45:55irrequietusI beat you, because I had it when they only had 3.5" floppies :P~
17:46:15irrequietusmy experience with it is that when I want zero-maintenance, I pick that.
17:46:35gourheh, i startdd with 4.x, iirc and cd box :-)
17:46:36irrequietushope we are not going too into off-topic ness, pm for anything you want in relation :)
17:46:58gourirrequietus: sure. i'll ask in #opensuse
17:48:04irrequietusor pm, I don't mind if I can help :)
17:54:13*brson quit (Quit: leaving)
17:54:28*brson joined #nimrod
17:56:14*q66[lap] quit (Read error: Connection reset by peer)
17:58:57*q66[lap] joined #nimrod
18:00:12kokozedmanwhat's the Nim way of doing memset() ? I want to zero-fill an array[0..5, char]
18:00:36*vendethiel joined #nimrod
18:06:34flaviu__arrays are 0 initialized by default, but http://nim-lang.org/system.html#zeroMem,pointer,int exists
18:06:53flaviu__It's unsafe though, it's probably easier to just use a loop
18:07:13kokozedmanflaviu__: thanks for pointing that out
18:15:13*flaviu__ quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
18:21:12*flaviu__ joined #nimrod
18:22:12*flaviu__ quit (Client Quit)
18:26:42*enurlyx joined #nimrod
18:27:45kokozedmankind of trivial, but is there a way to get only the first 2 chars of a string?
18:27:58kokozedmanI mean, Nim way of doing that
18:29:22enurlyxa[1..2] ?
18:33:21enurlyxit should be a[0..1]
18:33:36kokozedmanenurlyx: nice! thanks
18:39:30*perturbation quit (Quit: Leaving)
18:41:01Araqgokr1: thanks but meh. I now depend on nimbuild's nice output ...
18:49:23*gour quit (Disconnected by services)
18:49:25*gour_ joined #nimrod
18:49:45*kemet quit (Quit: Instantbird 1.5 -- http://www.instantbird.com)
18:53:24*flaviu__ joined #nimrod
18:55:06*flaviu__ quit (Client Quit)
18:55:37*brson quit (Ping timeout: 240 seconds)
18:58:30*brson joined #nimrod
18:58:35VarriountAraq: I'm working on things as fast as I can, however the semester is nearing its end, and I have exams to study for and projects to do.
18:59:29AraqVarriount: don't worry, I will manage to read log files to see what breaks
19:00:21Ethecoi love the windows installer :)
19:00:27Ethecodidnt realise it install Aporia too
19:00:55*dom96_ joined #nimrod
19:05:52*irrequietus quit ()
19:06:00gokr1Araq: Mmmm, not sure what you "declined". As an admin you can trigger builds, that's fairly useful. And the output is what Buildbot does, so... I have nothing to do with it :)
19:07:08Araqwell with the old nimbuild I get a nice "these tests now fail, these now work" feedback
19:07:58*Etheco quit (Read error: Connection reset by peer)
19:08:50gokr1gour_: Hehe, distros... I hardly think there is a pattern to that just because you use Nim. We use CentOS for deployment because its basically RHEL, and RHEL is what most corporate customers wants. And we use Ubuntu for "everything else" since its the most supported/uptodate one, especially in cloud hosting.
19:10:11gokr1I also like fringe distros, used Lunar Linux for a long time "personally". But when you start maintaining 20-30 machines, then you want to streamline. We are probably going to get rid of CentOS too.
19:11:10*gour_ is now known as gour
19:13:05*flaviu__ joined #nimrod
19:14:59gourgokr1: i'll try opensuse again, after many years...maybe it will get nim in sooner than debian :-)
19:15:37gokr1gour: Just git clone and build.
19:15:57gourgokr1: i know, just joking.
19:16:07*gour have trunk built
19:18:08*flaviu__ quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
19:22:01*enurlyx quit (Quit: Leaving.)
19:39:39dom96_def-: I may have asked this before but what did you use to create your slides for GPN14?
19:40:26def-dom96_: latex
19:40:37def-i can send you the sources
19:40:56dom96_def-: That would be awesome. What software did you use to display the slides?
19:41:11def-just a regular pdf viewer, evince
19:48:46*gour recommends atril - probably less deps
19:49:28def-i usually use zathura, but for showing slides i prefer evince
19:52:23dom96_I may need to display it in Adobe Reader :(
20:03:18NimBotAraq/Nimrod devel 8f89c30 Dominik Picheta [+0 ±1 -0]: Ensure Request.body is initialised.
20:06:12*enurlyx joined #nimrod
20:09:17*johnsoft quit (Ping timeout: 265 seconds)
20:09:37*johnsoft joined #nimrod
20:09:50*Joe_knock joined #nimrod
20:09:50*Joe_knock quit (Changing host)
20:09:50*Joe_knock joined #nimrod
20:10:25VarriountAraq: I find it interesting that the 64 bit builders run faster than the 32 bit builders.
20:13:37*bjz quit (Read error: Connection reset by peer)
20:13:56*bjz joined #nimrod
20:19:20*brson quit (Ping timeout: 250 seconds)
20:21:12enurlyxAraq: Just for the record. Seems gcc has a bug, so that 'packed' does not work if -mms-bitfields is specified. Seems be standard on windows. With -mno-ms-bitfields 'packed' works.
20:21:32enurlyxhttps://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991
20:22:07*bouliiii joined #nimrod
20:23:24bouliiiiAraq: I just fixed msvc build... I just realized that mmx is not supported in 64 bits with msvc. What a mess. Anyway, it works with vs2013 in 32 and 64 bits (well I was not able to run avx/avx2 since my machine does not support them)
20:24:05Araqbouliiii: great
20:26:18bouliiiiAraq: I will install a windows at home in a VM so I can test avx/avx2 on windows so it should be fine. I am still a bit confused about avx state in win7. They need to support it in the kernel and I am still not sure it works. Following Intel instructions using cpuid, last time I checked, Win7 SP1 was not supposed to run any avx. Fucking hell
20:30:42*iamsumesh joined #nimrod
20:31:08*iamsumesh left #nimrod ("Quit")
20:40:16*flaviu joined #nimrod
20:41:52*Mat3|coding joined #nimrod
20:41:57Mat3|codinghello
20:47:55Araqping Varriount
20:48:08VarriountAraq: Yes?
20:48:52Araqbootstrapping fails on our server, likely reason: out of memory
20:49:05Araqhow come the buildbot runs?
20:50:16VarriountAraq: Wait, you mean, you're trying to bootstrap nimrod on the VPS, the same machine running the build master?
20:50:42Araqyes
20:51:13VarriountAraq: Uhm, well, the buildbot process memory usage is relatively constant.
20:52:16VarriountI don't know too much about linux internals, but I would hazard the guess that the OS is still keeping some memory in reserve for the other processes.
20:53:00VarriountAfter all, if a single process runs out of memory, it wouldn't do for the entire system to crash.
20:54:29*gour quit (Quit: WeeChat 1.0.1)
20:56:35flaviuVarriount: Please don't say anything negative about linux or Araq will rant for hours
20:56:42Joe_knockIf the buildbot is constantly active, then it is probably eating most of the memory.
20:56:56flaviuVarriount: Run `free`
20:57:07flaviuor `top`
20:57:22VarriountJoe_knock: Uh, it isn't eating most of the memory.
20:57:41Joe_knockWhat size is the VPS?
20:58:43flaviuBuildslave is eating ~5MB for me, I can't imagine the master uses much more.
21:00:04Araqwell it has 512 MB of RAM
21:00:10Araqunless I'm reading the specs wrong
21:00:33VarriountThe build master is using about 11%
21:00:39Araqand Nim itself takes 300MB for bootstrapping
21:00:59flaviuIsn't gokr providing linux build slaves?
21:01:13Araqflaviu: he is.
21:01:51AraqVarriount: doesn't the build master bootstrap ?
21:01:54flaviuI'd say the best solution is to reserve the VPS to host stuff and not do any hard work on it.
21:03:31*gour joined #nimrod
21:04:22VarriountAraq: No, why should it?
21:04:47AraqVarriount: ok I see so that's why it works
21:04:58VarriountAraq: The build slaves do all the work. The build master just coordinates stuff.
21:05:39Araqwell this sucks
21:05:56flaviuJust curious, what distro does the VPS run?
21:06:00Araqwhy don't we have a swap
21:06:26*nande joined #nimrod
21:06:26Araqflaviu: ubuntu
21:07:30*bjz quit (Ping timeout: 256 seconds)
21:07:50Joe_knockHow many of you are running 0.10.0 ?
21:08:24Joe_knockHow much RAM is the server itself eating?
21:08:37Joe_knockI take it its an Apache server
21:09:11*Pisuke quit (Ping timeout: 255 seconds)
21:09:21VarriountJoe_knock: Uh, no.
21:09:43VarriountJoe_knock: buildbot.net
21:11:41AraqJoe_knock: pretty much everybody is using devel (0.10.1) afaict
21:11:59Joe_knockAlright, time to do the mighty upgrade.
21:16:14*Pisuke joined #nimrod
21:17:03*superfunc joined #nimrod
21:17:23flaviups aux | awk '{print $4, $11}' | sort -nr | head
21:19:48*Mat3|coding left #nimrod (#nimrod)
21:30:48*xcombelle quit (Quit: Quitte)
21:36:00*johnsoft quit (Read error: Connection reset by peer)
21:37:46*superfunc quit (Ping timeout: 250 seconds)
21:43:00*johnsoft joined #nimrod
21:55:21AraqVarriount: just fyi I added a swap and now it works
21:56:15VarriountAraq: Ok... but why are we using the VPS to boot Nim?
21:57:05Araqbecause we can
21:57:25Araqwell we like to run the forum on this machine
21:58:41Joe_knockDoes Nim eat up over 300MBs on a server? I'm unclear on this.
21:59:17*lyro joined #nimrod
22:00:19AraqJoe_knock: (81021 lines compiled; 4.401 sec total; 261.267MB)
22:01:08*bouliiii_ joined #nimrod
22:01:09gokr1Hey
22:01:09Araqit's a bit weird that this requires more than 500MB RAM but I dunno how much GCC takes
22:01:21gokr1The linux32 is a 512Mb machine, yes.
22:01:35gokr1Its an old laptop of mine actually :)
22:01:47gokr1The Linux64 is at Cloudsigma.
22:01:56Araqyeah but your laptop has a swap
22:02:11Araqour VPS didn't
22:02:20Joe_knockThe compiler can't be that bloated. or can it?
22:02:34gokr1oh :)
22:02:46flaviuAraq: Then add swap. Super-easy to do
22:02:59gokr1I am going to bed, I am dead tired
22:03:05gokr1cya tomorrow
22:03:33bouliiii_Araq: There is a problem with aligned elements and msvc. There is no way to pass anything aligned on >16 bytes by values with msvc. So, when encapsulating __m128 with a new type, there is an issue. I can use template instead of proc but I am not sure this is going to scale for a complete type declaration. In C++, the WA is to use const ref. I am not sure for nim
22:03:59bouliiii_>16 bytes -> >= 16 bytes
22:04:07Araqflaviu: already did, already said it fixes the problem
22:04:19flaviuOh, my bad then.
22:04:22flaviusorry
22:06:49bouliiii_Araq: I can use ptr types I guess if I need to. In case I do not want to inline (saying matrix inversion). A bit ugly syntax wise but well can be OK
22:07:10Araqbouliiii_: 16 byte stack alignment is part of the ABI for x86_64
22:07:35*clone1018_ quit (Quit: No Ping reply in 180 seconds.)
22:07:46*clone1018_ joined #nimrod
22:08:41AraqJoe_knock: well the Nim compiler definitely could be optimized when it comes to RAM usage, but it's workable
22:10:07*AFKMorpork is now known as AMorpork
22:12:16bouliiii_Araq: I have to recheck on x64. But it does not fix 32 bits builds and avx requires 32 bytes alignment anyway
22:12:58Araqbouliiii_: you can use .byref to make the compiler use ptr under the hood
22:13:10Araqno need to do it yourself
22:13:50Araqavx requires 32 bytes alignment? wtf
22:16:40*bouliiii_ quit (Ping timeout: 246 seconds)
22:16:49*bouliiii__ joined #nimrod
22:17:38bouliiii__Araq: not *exactly*. Here: https://software.intel.com/en-us/node/514150 Aligned loads / stores yes. But unaligned (_mm256_loadu_ps) nope
22:17:54bouliiii__but msvs is not happy anyway
22:17:57bouliiii__msvc
22:18:22bouliiii__Because __m256 is 32 bytes aligned and it does not want anything like this as function argument. Period.
22:18:58dom96_Varriount: Does buildbot create nightly releases for us?
22:19:50Araqbouliiii__: btw what's the point of avx? I'd rather run these things on a GPU
22:23:19*bouliiii___ joined #nimrod
22:23:30bouliiii___Araq: I am writing compilers for GPU and used to write drivers also. So, well, I'd rather not :-) CPU code is robust, GPU code, well... I guess it is debatable but beyond video games, I am still not convinced. But a GPU support for nim would be anyway cool for sure. I guess users have to decide what is best :-)
22:24:28flaviudom96_: I'd rather it not, while my upward network connection isn't bad, I'd still like to avoid using it.
22:24:43*bouliiii__ quit (Ping timeout: 246 seconds)
22:25:08dom96_flaviu: What architecture are you running a build bot on?
22:25:16flaviuARM v5
22:26:46flaviuIt takes 11 hours to build on ARM, :O
22:27:33Araqflaviu: ha ha that'll teach you about "who cares about compiler efficiency" ;-)
22:27:50Araq"let's have MOAR passes"
22:28:01flaviuI wouldn't mind if it took 24h if it meant there weren't bugs.
22:28:25Araqwelcome to reality where you get slower + bugs instead
22:28:55EXetoCAraq: must it not be a long-running task for it to pay off?
22:32:03EXetoCmore parallelizable in other words
22:32:30*Trustable quit (Quit: Leaving)
22:34:55*gour quit (Quit: WeeChat 1.0.1)
22:38:21*nande quit (Remote host closed the connection)
22:38:43*nande joined #nimrod
22:42:21*bouliiii_ joined #nimrod
22:42:34*bouliiii___ quit (Ping timeout: 246 seconds)
22:42:55*brson joined #nimrod
22:44:23*BitPuffin quit (Ping timeout: 258 seconds)
23:01:17*_bouliiii_ joined #nimrod
23:05:19*_bouliiii_ quit (Ping timeout: 246 seconds)
23:26:21Varriountdom96: Not yet, though that's trivial to add.
23:27:17Varriountdom96: Again, there's lots to do, I just haven't had the time. I want to try and update the buildmaster config tonight, to match what is in the repository.
23:33:29*brson quit (Quit: leaving)
23:33:43*brson joined #nimrod
23:40:04*nande quit (Remote host closed the connection)
23:40:08*brson quit (Quit: leaving)
23:40:30*nande joined #nimrod
23:41:29Joe_knockAnybody have a recommended method to update Nim to 0.10.0??
23:42:18*bouliiii_keeps_o joined #nimrod
23:42:46AraqJoe_knock: use the csources based installation
23:42:55AraqI don't think 0.9.6 can compile 0.10.0
23:43:03Araq(as usual)
23:43:07*bouliiii_ quit (Ping timeout: 246 seconds)
23:43:21Joe_knockI'm on the 0.9.4 build?
23:43:26AraqI think there has not been a single release where the old version was able to compile the newer
23:43:26Joe_knock*.
23:43:53*_bouliiii_ joined #nimrod
23:45:47*Matthias247 quit (Read error: Connection reset by peer)
23:46:37*bouliiii_keeps_o quit (Ping timeout: 246 seconds)
23:46:59Joe_knockAraq: So I should follow the instructions here: https://github.com/nim-lang/csources ??
23:48:56*enurlyx quit (Quit: Leaving.)
23:50:21AraqJoe_knock: http://nimrod-lang.org/download.html, but replace master with devel
23:52:24Joe_knockAraq: Do I just delete the old Nimrod folder?
23:53:39AraqJoe_knock: depends on how you installed it
23:53:59Joe_knockIt looks like I did the same github installation as before.
23:54:17Araqbut yeah, you can simply delete it or rename it
23:56:10Joe_knockGood idea. Let me keep the old one and re-do the install.