<< 07-10-2015 >>

00:00:33*xorbit quit (Quit: xorbit)
00:01:55*tmm1 quit (Read error: Connection reset by peer)
00:03:29*irrequietus quit ()
00:05:58*Sahnvour quit (Read error: Connection reset by peer)
00:08:55*Jehan_ quit (Quit: Leaving)
00:17:55*elrood quit (Quit: Leaving)
00:22:22*shodan45 quit (Quit: Konversation terminated!)
00:29:57*strcmp1 quit (Remote host closed the connection)
00:35:39*enamex quit (Ping timeout: 255 seconds)
00:40:42*saml_ joined #nim
00:42:17*saml quit (Ping timeout: 252 seconds)
00:53:25*saml joined #nim
01:07:39*jaco60 quit (Ping timeout: 246 seconds)
01:08:39*enamex joined #nim
01:15:46*chemist69 joined #nim
01:19:29*chemist69_ quit (Ping timeout: 268 seconds)
01:27:40*kulelu88 quit (Quit: Leaving)
01:58:45*nande joined #nim
02:06:26*xorbit joined #nim
02:30:17*rollo quit (Quit: Leaving)
02:35:16*enamex quit (Ping timeout: 244 seconds)
02:52:09*pregressive joined #nim
03:07:05*darkf joined #nim
03:18:04*Jehan_ joined #nim
03:20:32*Jehan_ quit (Client Quit)
03:22:10*pregress_ joined #nim
03:22:17*pregressive quit (Ping timeout: 244 seconds)
03:26:33*pregress_ quit (Ping timeout: 252 seconds)
03:33:56*pregressive joined #nim
03:47:48*saml_ quit (Quit: Leaving)
03:52:30*nande quit (Remote host closed the connection)
03:59:39*gokr joined #nim
04:01:30*nande joined #nim
04:13:29*Demos quit (Read error: Connection reset by peer)
04:14:19*xorbit left #nim (#nim)
04:15:26*pregress_ joined #nim
04:16:02*pregressive quit (Ping timeout: 272 seconds)
04:42:51*pregress_ quit (Remote host closed the connection)
04:43:27*pregressive joined #nim
04:48:32*pregressive quit (Ping timeout: 268 seconds)
05:28:48*PyHedgehog quit (Ping timeout: 246 seconds)
05:43:06*FedeOmoto quit (Ping timeout: 246 seconds)
05:43:23sigipaHello All, Is anyone using nim on FreeBSD amd64?
05:47:06*Amrykid2 is now known as Amrykid
05:47:10*Amrykid quit (Changing host)
05:47:10*Amrykid joined #nim
06:04:58*FedeOmoto joined #nim
06:18:43*Demon_Fox quit (Quit: Leaving)
06:26:35*FedeOmoto quit (Ping timeout: 268 seconds)
06:28:32*enamex joined #nim
06:34:09*Ven joined #nim
07:01:38*ryu0 quit (Quit: WeeChat 1.0.1)
07:06:18*xificurC quit (Read error: Connection reset by peer)
07:06:42*xificurC joined #nim
07:08:57Araqsigipa: quite sure people use it, yes
07:09:37Araqcncl: setLen never shrinks a seq. but I don't know if it will at some point.
07:13:15*xificurC_ joined #nim
07:14:14*xificurC quit (Ping timeout: 260 seconds)
07:26:05NimBotnim-lang/Nim devel 64737c8 sergey.anufriev [+0 ±1 -0]: added proc to change an element tag and proc to insert xmlnode child
07:26:05NimBotnim-lang/Nim devel 52342a1 Andreas Rumpf [+0 ±1 -0]: Merge pull request #3380 from greyanubis/devel... 2 more lines
07:31:30*Jehan_ joined #nim
07:31:54NimBotnim-lang/Nim devel 6b645c5 Andrey Sobolev [+0 ±1 -0]: mmap non PageSize aligned support... 2 more lines
07:31:54NimBotnim-lang/Nim devel 9cdfdde Andrey Sobolev [+0 ±1 -0]: Support for GC working in Emscripten environment... 2 more lines
07:31:54NimBotnim-lang/Nim devel c16c1b4 Andrey Sobolev [+2 ±24 -0]: Merge remote-tracking branch 'nim-lang/devel' into emscripten-support
07:31:54NimBotnim-lang/Nim devel a1aa7da Andrey Sobolev [+0 ±3 -0]: Merge remote-tracking branch 'nim-lang/devel' into emscripten-support
07:31:54NimBot19 more commits.
07:32:52*enamex quit (Ping timeout: 244 seconds)
07:33:31*xificurC joined #nim
07:37:21*xificurC_ quit (Ping timeout: 252 seconds)
07:40:25*xificurC_ joined #nim
07:40:30*xificurC quit (Ping timeout: 240 seconds)
07:41:20*darkf_ joined #nim
07:43:39*darkf quit (Ping timeout: 240 seconds)
07:45:30*Arrrr joined #nim
07:54:22*bjz joined #nim
08:01:44*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
08:04:26*ryu0 joined #nim
08:05:54NimBotnim-lang/Nim devel 0a4d9aa Araq [+0 ±1 -0]: fixes regression
08:05:54NimBotnim-lang/Nim devel dfaa63e Araq [+0 ±1 -0]: osproc: fixes a long standing buffering bug on Windows
08:05:54NimBotnim-lang/Nim devel 48036fa Araq [+0 ±1 -0]: fixes #635
08:12:08*coffeepot joined #nim
08:12:48*darkf_ is now known as darkf
08:15:32*Skyforce77 joined #nim
08:15:57*Skyforce77 quit (Client Quit)
08:16:31*Jehan_ quit (Quit: Leaving)
08:21:42*bjz joined #nim
08:22:25*coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
08:22:44*coffeepot joined #nim
08:24:47*coffeepot quit (Client Quit)
08:26:01*coffeepot joined #nim
08:31:26*coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
08:32:14*coffeepot joined #nim
08:53:15*jaco60 joined #nim
08:58:34*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:58:51*Ven joined #nim
09:10:23*PyHedgehog-work quit (Quit: Page closed)
09:16:36*aziz joined #nim
09:21:30*nande quit (Remote host closed the connection)
09:40:57*Trustable joined #nim
09:47:43*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:08:42*Ven joined #nim
10:29:05*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:36:55*darkf_ joined #nim
10:40:15*darkf quit (Ping timeout: 246 seconds)
10:41:58*darkf_ is now known as darkf
10:45:26*elrood joined #nim
10:52:19*Demon_Fox joined #nim
10:59:15*Ven joined #nim
11:00:13*razaaa joined #nim
11:07:28*Ven quit (Disconnected by services)
11:08:10*BitPuffin joined #nim
11:08:22*Sahnvour joined #nim
11:08:42*Ven_ joined #nim
11:32:21*Ven_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:16:31*strcmp1 joined #nim
12:24:47*Jehan_ joined #nim
12:31:07*Ven_ joined #nim
13:09:12*Kingsquee quit (Quit: http://i.imgur.com/EsXzoum.png)
13:31:19*ozra joined #nim
13:43:49softiniodoes sequences have a helper method to convert them to a string? or will I have to write my own using a for loop etc
13:44:12Araqstrutils.join
13:45:54softinioAraq: ty
13:54:25*strcmp2 joined #nim
13:56:50*strcmp1 quit (Ping timeout: 240 seconds)
13:57:40*FedeOmoto joined #nim
13:59:27*FedeOmoto quit (Client Quit)
14:04:56*smodo joined #nim
14:06:04*pregressive joined #nim
14:14:50*pregressive quit ()
14:16:12*pregressive joined #nim
14:25:24*Ven_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:44:56*Ven_ joined #nim
14:47:25*Sahnvour_ joined #nim
14:47:49*reactormonk_ joined #nim
14:49:56*reactormonk quit (Quit: WeeChat 1.1.1)
14:50:37*Sahnvour quit (Ping timeout: 265 seconds)
14:56:25*reactormonk_ is now known as reactormonk
14:57:20*strcmp2 quit (Remote host closed the connection)
14:58:31*Ven_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
15:01:27*smodo quit (Remote host closed the connection)
15:16:30*Pisuke quit (Quit: WeeChat 1.4-dev)
15:22:59*enamex joined #nim
15:43:27*Jehan_ quit (Quit: Leaving)
15:52:43*boopsiesisaway is now known as boopsies
15:56:19*razaaa quit (Ping timeout: 240 seconds)
15:56:53*PyHedgehog-work joined #nim
16:00:42*enamex quit (Ping timeout: 265 seconds)
16:01:18*enamex joined #nim
16:03:45cnclAraq: great thanks
16:10:31*razaaa joined #nim
16:14:53*coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
16:18:50*enamex quit (Ping timeout: 244 seconds)
16:21:32*pregressive quit (Remote host closed the connection)
16:22:12*PyHedgehog-work_ joined #nim
16:24:21*PyHedgehog-work quit (Ping timeout: 246 seconds)
16:31:10OnOAraq: regarding your question, there are no downsides AFAIK
16:31:31OnOFYI on UNIX stderr is usually flushed on stderr new line, but not on stdout
16:31:47OnOit would be nice to ensure all Nim diagnostics are actually heading stderr
16:31:57OnOthen by design this will be flushed on each line
16:32:12OnOthis IMHO could be better than forcing flush on stdout
16:32:45*PyHedgehog-work_ quit (Ping timeout: 246 seconds)
16:34:13*pregressive joined #nim
16:35:05*irrequietus joined #nim
16:37:26*brson joined #nim
16:55:17*razaaa quit (Ping timeout: 250 seconds)
16:58:31*razaaa joined #nim
17:00:48*aziz quit (Remote host closed the connection)
17:02:12*enamex joined #nim
17:18:09*Jehan_ joined #nim
17:27:59*razaaa quit (Ping timeout: 240 seconds)
17:31:31*darkf quit (Quit: Leaving)
17:32:45*Matthias247 joined #nim
17:32:50*razaaa joined #nim
17:36:57*aziz joined #nim
17:39:57*enamex quit (Ping timeout: 244 seconds)
18:04:29*pregressive quit (Remote host closed the connection)
18:07:46ArrrrIs this still true for this week? http://forum.nim-lang.org/t/1674
18:26:33*enamex joined #nim
18:31:29*lyro quit (Ping timeout: 252 seconds)
18:31:46*lyro joined #nim
18:41:30*enamex quit (Ping timeout: 246 seconds)
19:12:42*Arrrr quit (Quit: WeeChat 1.2)
19:13:50*BitPuffin quit (Ping timeout: 250 seconds)
19:21:32*strcmp1 joined #nim
19:25:04*xificurC joined #nim
19:25:16*Matthias247_ joined #nim
19:25:16*sdw_ joined #nim
19:26:39*cryzed quit (Ping timeout: 240 seconds)
19:27:19*xificurC_ quit (Ping timeout: 240 seconds)
19:27:39*sdw quit (Ping timeout: 240 seconds)
19:27:51*Sahnvour_ quit (Quit: Leaving)
19:28:10*Sahnvour joined #nim
19:28:19*Matthias247 quit (Ping timeout: 259 seconds)
19:28:49*cryzed joined #nim
19:29:12*strcmp2 joined #nim
19:30:17*strcmp1 quit (Ping timeout: 256 seconds)
19:43:22*X67r joined #nim
19:46:31*mahlon_ joined #nim
19:47:09*mahlon quit (Ping timeout: 240 seconds)
19:52:26*Xe quit (Quit: *.yolo *.swag)
19:54:07*Xe joined #nim
19:54:57*tmm1 joined #nim
19:54:59tmm1good afternoon
19:55:50*Jehan_ quit (Quit: Leaving)
19:56:16*thotypous joined #nim
19:57:15Araqservus
19:57:58Araqso tmm1, how does travis work? does it run the tests only on a linux server or is there some cluster?
19:58:17tmm1they have a build farm of linux machines
19:58:24tmm1running docker containers
19:58:36Araqbut no macs or wins?
19:58:40tmm1so every build picks a random container and runs there.. they're all the same ubuntu precise images
19:58:44tmm1they have macs too
19:58:56tmm1i had a mac build before but i disabled it, we could add it back
19:59:04tmm1now that tests are green
19:59:08Araqyeah please.
19:59:21Araqand every PR is checked with travis? or only the new PRs?
19:59:43tmm1it triggers on push
19:59:49tmm1so any open PR that receives a new push after it was setup
19:59:52tmm1but also they must merge devel
19:59:58tmm1so it gets the latest .travis.yml
20:00:10tmm1i think there are some similar services that do win32 builds, would be worth setting up one of those as well
20:00:13tmm1most are free for OSS projects
20:01:29tmm1looks like http://www.appveyor.com/ is the most popular
20:01:56*razaaa quit (Quit: Leaving)
20:02:55tmm1looks pretty straightforward, similar to travis configuration http://www.appveyor.com/docs/build-configuration#appveyor-yml
20:03:36*strcmp1 joined #nim
20:06:11*strcmp2 quit (Ping timeout: 264 seconds)
20:07:37tmm1Araq: can you signup here with the free OSS plan and i'll make a PR to test it out https://ci.appveyor.com/signup
20:07:48tmm1alternatively you can add me to the nim-lang org and i'll do it myself
20:08:48Araqoh. damn.
20:08:53Araqalready did it.
20:09:02Araqand now? "new project"?
20:09:19Araq(will add you anyway, of course)
20:11:08tmm1i haven't used it before but yea presumably you can create a project for the nim-lang/nim repo and then it will start watching for pushes
20:14:02Araqok, added it. somehow.
20:14:46Araqno idea how it can "build" Nim already without config
20:15:07Araq"Specify a project or solution file. The directory does not contain a project or solution file."
20:15:20Araqah urgh. don't tell me it thinks I use visual studio
20:16:26Araqanyway, I invited you to nim-lang.
20:24:22tmm1thanks!
20:24:45tmm1kicked off a build https://ci.appveyor.com/project/Araq/nim/build/1.0.2/job/ty5969220v4jqerp
20:25:15Araqcygwin?
20:25:25Araqwe don't support cygwin officially.
20:25:26tmm1just using it for bash
20:25:32tmm1so i can run bootstrap.sh
20:25:48AraqError: unknown operating system: mingw32_nt-6.2
20:26:08Araqwe use .bat scripts for windows.
20:26:51tmm1okay, so i should clone csources myself and run build.bat
20:27:17Araqyeah, shouldn't be hard.
20:27:32Araqwe support essentially the same build.
20:37:21tmm1and i want to use mingw32 and mingw64 right?
20:37:55Araqright.
20:40:18*Jesin quit (Quit: Leaving)
20:40:52tmm1looks like they have msys and msys2 available
20:41:31Araqwho cares? the build should do what we tell windows users to do. which is running the .bat files.
20:41:52Araqit's all generated anyway, no burden for us.
20:42:51tmm1i ran build.bat but it couldn't find gcc
20:43:04*Jesin joined #nim
20:43:06tmm1so i need to set path to where they have mingw available first
20:43:29Araqthat's an issue with their server setup though
20:44:02ryu0tmm1: ugh. i gave up using mingw on windows. i prefer to use it from a Linux host.
20:44:19ryu0just seems easier to cross-compile instead.
20:44:32tmm1yea i've used it to cross compile exes on my mac
20:45:24tmm1for CI it seems worth building on the target platform directly
20:51:43*pregressive joined #nim
21:01:31*enamex joined #nim
21:04:43*nchambers quit (Disconnected by services)
21:05:04*nchambers joined #nim
21:06:48cnclmingw is working ok for me, nim is the first time i've really used it (been using nim for a few days now)
21:07:06cncli was using msvc at the beginning but the toy i'm working on now doesn't have that as a requirement so i'm using mingw right now
21:25:40tmm1cool nim is building
21:25:43tmm1now to run the test suite
21:26:08Araqbeware. I recently had problems with a wrong sqlite3_32.dll
21:26:10tmm1looks like appveyor has an "artifacts" system too, so you can upload the generated nim.exe
21:26:39Araqthat would be useful for nightly builds.
21:30:56*Kingsquee joined #nim
21:35:04*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
21:44:12*aziz quit (Remote host closed the connection)
21:45:12*irrequietus quit ()
21:52:36*boopsies is now known as boopsiesisaway
21:55:38*bjz joined #nim
21:58:19tmm1could not load: (ssleay64|libssl64).dll
21:59:26tmm1is there an ENV var used for lib path lookups?
22:00:51*vendethiel quit (Ping timeout: 268 seconds)
22:03:19*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
22:05:41*Mat4 joined #nim
22:05:48Mat4hi all
22:06:48Araqtmm1: on windows it's the %PATH% that is used for DLLs
22:06:51Araqhi Mat4
22:07:23tmm1ah intersting
22:08:13Araqhttp://nim-lang/downloads/dlls.zip
22:09:05Araqhttp://nim-lang.org/download/dlls.zip
22:09:32Araqsomehow these need to be made available for the tester
22:10:13Araqoh wait, that actually contains the broken sqlite3_32.dll
22:10:22Araqnow where is varriount when I need him ...
22:10:23tmm1hmm i think i can install these from msys2 pacman
22:10:40Araqyou need to rename them.
22:11:01Araqwe now use _32 and 64 suffixes because too many complained about strange error messages
22:11:16Araqwhich are of course not under our control, but windows' fault.
22:19:44tmm1what an annoying platform
22:19:50tmm1so i should just unzip those dlls into bin/ ?
22:20:41tmm1how do regular users deal with this? they have to manually rename the dlls or know to download these?
22:23:33Araqthe installer will ship with them and for distribution windows' programmer know how to do it. put them next to the exe that needs it.
22:23:44tmm1looks like there' s a msys-ssl-1.0.0.dll, can i change openss wrapper to look for that?
22:24:11Araqnot if we can avoid it. msys stuff is bad.
22:24:37*polde quit (Ping timeout: 250 seconds)
22:30:14tmm1if i put those dlls on the path then other exes break
22:30:18tmm1git cannot clone over ssl
22:30:53Araqwell you can just put them next to the exe that needs it
22:31:06Araqtester.exe in this case.
22:31:20Araqkoch and nim have no DLL dependencies.
22:31:40Araqalso we use non-standard DLL names exactly to prevent the conflicts you're talking about.
22:32:30tmm1its not just tester though right, any of the tests could be using it
22:32:35tmm1and in this case i need ssl for nimble update
22:32:46tmm1i'll try to delete libcurl since that's the one without ssl support
22:38:23*Mat4 quit (Quit: Leaving)
22:38:56*polde joined #nim
22:39:06*enamex quit (Ping timeout: 255 seconds)
22:43:48tmm1tests are running! https://ci.appveyor.com/project/Araq/nim/build/1.0.21#L1912
22:44:07*polde quit (Ping timeout: 250 seconds)
22:46:07*polde joined #nim
23:03:50Araqexcellent! :-)
23:03:53tmm1can an if expression span multiple lines?
23:04:18Araqsure
23:04:55*Trustable quit (Remote host closed the connection)
23:06:12tmm1ah had an indentation issue
23:07:22tmm1Araq: artifacts uploading as well https://ci.appveyor.com/project/Araq/nim/build/1.0.21/artifacts
23:07:51tmm1"Uploading artifact bin\nim.exe (2.5 MB)...OK"
23:08:22tmm1weird the build got marked as success even though i did --pedantic
23:08:52Araqcheck the tester's code please.
23:09:26Araqmaybe --pedantic is buggy
23:09:58tmm1it works on linux/travis
23:10:03Araqalso ... the thing with windows is that 32bits are still everywhere. we need both win32 and win64 machines/setups
23:10:59tmm1oh it must be koch
23:11:17tmm1Araq: yea appveyor will run both builds in parallel, one for x86 and one x64
23:11:24tmm1i'm only doing x64 right now
23:12:15tmm1hmm koch exec() is supposed to check exit code
23:12:18tmm1wonder why its not working
23:13:20Araqthe exit code needs to be shr 8'ed depending on the phase of the moon.
23:15:07Araqbut this shouldn't make a difference when we only test for != 0 in practice. hm.
23:15:11*Matthias247_ quit (Read error: Connection reset by peer)
23:18:43tmm1Araq: https://ci.appveyor.com/project/Araq/nim/build/1.0.22/tests
23:18:53tmm1i integrated with their test ui
23:21:07Araqsuperb.
23:21:26Araqbut why does tunsafeaddr produce 11 and not 12?
23:22:20tmm1right? i was wondering the same thing
23:22:57Araqwell 'long' is poorly specified on win64.
23:23:15Araqthe C snippet should use NI (nim int) instead
23:23:56Araqyup
23:24:25Araqthat would explain it. mingw64's 'long' is 32 bits.
23:24:37tmm1ah
23:24:46tmm1so s/long/NI/ in the emit section?
23:24:54Araqyes
23:25:38*jaco60 quit (Quit: Leaving)
23:31:50*elrood quit (Quit: Leaving)
23:31:52*pregressive quit (Read error: Connection reset by peer)
23:32:15*Sahnvour quit (Read error: Connection reset by peer)
23:32:17*pregressive joined #nim
23:32:55*pregressive quit (Read error: Connection reset by peer)
23:33:23*pregressive joined #nim
23:37:33*strcmp1 quit (Remote host closed the connection)
23:40:34*pregressive quit (Read error: No route to host)
23:41:05*pregressive joined #nim
23:44:04*pregressive quit (Read error: Connection reset by peer)
23:44:20*pregressive joined #nim
23:46:16*pregressive quit (Read error: Connection reset by peer)
23:46:18*pregress_ joined #nim
23:46:33tmm1does it let you cancel builds?
23:46:37tmm1there are a bunch queued now https://ci.appveyor.com/project/Araq/nim/history
23:46:42tmm1i only need the most recent to run
23:59:05*Wolfgang375177 joined #nim