<< 09-07-2014 >>

00:01:07*reactormonk quit (Quit: WeeChat 0.3.8)
00:01:42*reactormonk joined #nimrod
00:20:27*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
00:45:03*brson quit (Ping timeout: 240 seconds)
00:52:45*ARCADIVS joined #nimrod
01:02:29*error424 joined #nimrod
01:24:50*superfunc joined #nimrod
01:29:37*bjz joined #nimrod
01:36:23*q66 quit (Quit: Leaving)
01:40:59*superfunc quit (Quit: leaving)
01:41:28*superfunc joined #nimrod
02:01:52*superfunc quit (Ping timeout: 245 seconds)
02:41:05*error424 quit (Quit: Page closed)
02:43:54*BitPuffin quit (Read error: Connection reset by peer)
02:44:37*BitPuffin joined #nimrod
02:49:59*lorxu joined #nimrod
03:23:41*saml_ joined #nimrod
03:24:28*kemet joined #nimrod
03:38:51*ARCADIVS quit (Quit: WeeChat 0.4.3)
03:39:33*gsingh93_ quit (Quit: Connection closed for inactivity)
03:47:59*nequitans quit (Read error: Connection reset by peer)
03:49:21*nequitans joined #nimrod
03:53:40*saml_ quit (Quit: Leaving)
03:59:03*bjz quit (Ping timeout: 240 seconds)
04:01:47*bjz joined #nimrod
04:09:48*kemet quit (Remote host closed the connection)
04:13:21*superfunc joined #nimrod
04:29:12*superfunc quit (Quit: leaving)
04:29:49*lorxu quit (Remote host closed the connection)
05:00:55*Demos quit (Read error: Connection reset by peer)
05:08:45*nande quit (Read error: Connection reset by peer)
05:23:43*drs joined #nimrod
05:24:03drshi guys.. in master I see this
05:24:11drslib/system.nim(2721, 33) Warning: unknown magic 'Rand' might crash the compiler [UnknownMagic]
05:24:14drslib/system.nim(2721, 5) Error: implementation of 'system.rand(max: int): int' expected
05:28:42fowldrs, use devel branch
05:29:55drsyeah nevermind, i found an issue that seems you're supposed to comment that out
05:30:18reactormonkdrs, use the devel branch anyway ;-)
05:30:25drsok
05:32:55drsls
05:44:43*bjz quit (Ping timeout: 240 seconds)
05:45:54drsthat worked, thanks.
05:46:56*bjz joined #nimrod
05:49:11*kshlm joined #nimrod
05:55:48*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
06:02:11*drs quit (Quit: leaving)
06:17:06*atlithorn quit (Quit: atlithorn)
06:30:33*Jesin quit (Quit: Leaving)
06:48:23*gsingh93_ joined #nimrod
07:22:10*bjz joined #nimrod
07:36:46*kunev joined #nimrod
07:37:12*Trustable joined #nimrod
07:49:10NimBotAraq/Nimrod devel 27fdc5f Clay Sweetser [+0 ±1 -0]: Fixes #542
07:49:10NimBotAraq/Nimrod devel ec12922 Andreas Rumpf [+0 ±1 -0]: Merge pull request #1336 from Varriount/fix-542... 2 more lines
07:49:20*bjz quit (Quit: Textual IRC Client: www.textualapp.com)
07:53:08*X-Scale quit (Ping timeout: 240 seconds)
07:55:42*bjz joined #nimrod
07:57:33*X-Scale joined #nimrod
07:57:36*kshlm quit (Remote host closed the connection)
08:02:33*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
08:37:36*bjz joined #nimrod
09:08:35*Fr4n quit (Ping timeout: 272 seconds)
09:11:10*Fr4n joined #nimrod
09:19:08*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
09:27:42*atlithorn joined #nimrod
09:32:49*ics_ quit (Ping timeout: 256 seconds)
09:35:14*ics joined #nimrod
09:48:31*atlithorn left #nimrod (#nimrod)
09:59:33*gsingh93_ quit (Quit: Connection closed for inactivity)
10:05:00*kshlm joined #nimrod
10:14:40*bjz joined #nimrod
10:15:49*kshlm quit (Quit: Konversation terminated!)
10:16:16*kshlm joined #nimrod
10:16:50*bjz quit (Client Quit)
11:05:53*saml_ joined #nimrod
11:42:35*saml_ quit (Ping timeout: 264 seconds)
12:27:54*untitaker quit (Ping timeout: 255 seconds)
12:32:59*utkan joined #nimrod
12:33:25*untitaker joined #nimrod
12:57:36*utkan quit (Quit: Computer has gone to sleep.)
13:05:35*utkan joined #nimrod
13:14:32def-Does anyone know if SSL works?
13:17:08*eigenlicht_ quit (Ping timeout: 252 seconds)
13:18:43*eigenlicht_ joined #nimrod
13:18:52def-ah, my bad, seems to work now
13:29:46*pafmaf joined #nimrod
13:40:45*darkf quit (Quit: Leaving)
13:47:31*alphawaffle joined #nimrod
13:48:13*reactormonk quit (*.net *.split)
13:48:15*tumak quit (*.net *.split)
13:48:15*Roin quit (*.net *.split)
13:48:15*reloc0 quit (*.net *.split)
13:48:21*mmatalka quit (*.net *.split)
13:48:22*phI||Ip quit (*.net *.split)
13:48:22*betawaffle quit (*.net *.split)
13:48:22*btiffin quit (*.net *.split)
13:49:49*alphawaffle is now known as betawaffle
13:49:49*betawaffle quit (Excess Flood)
13:50:33*kshlm quit (Ping timeout: 240 seconds)
13:52:14*betawaffle joined #nimrod
13:54:13*reloc0 joined #nimrod
13:54:34*Roin joined #nimrod
13:55:06*reactormonk joined #nimrod
13:57:57*mmatalka joined #nimrod
13:58:15*tumak joined #nimrod
14:00:23*phI||Ip joined #nimrod
14:06:11*Demos joined #nimrod
14:06:26Demosforums are doooooown
14:09:33Demoswhat do we think of this mars lang, is it compiled?
14:09:57*btiffin joined #nimrod
14:21:05utkanit says "download the compiler" :P
14:23:34*lorxu joined #nimrod
14:30:27BitPuffinAraq: how does nimrod determine when to pass a parameter by copying the value or by passing as reference. Behind the scenes. Since proc (a: int), the int is immutable, but if it's a huuuuuge datatype then it might be faster to pass it by reference but still not being able to mutate
14:34:15*pafmaf quit (Quit: This computer has gone to sleep)
14:35:57*utkan_ joined #nimrod
14:38:05*utkan_ quit (Read error: Connection reset by peer)
14:38:36*utkan_ joined #nimrod
14:38:44*utkan quit (Ping timeout: 240 seconds)
14:39:58*Fr4n quit (Ping timeout: 240 seconds)
14:45:56*bjz joined #nimrod
14:46:58*Fr4n joined #nimrod
14:48:24*pafmaf joined #nimrod
14:49:26*bjz quit (Client Quit)
14:51:10*utkan_ quit (Read error: Connection reset by peer)
14:58:20*utkan joined #nimrod
15:02:08*utkan quit (Client Quit)
15:11:34*bjz joined #nimrod
15:17:14*AndChat|226100 joined #nimrod
15:17:14*lorxu quit (Read error: Connection reset by peer)
15:17:44*kunev quit (Ping timeout: 240 seconds)
15:36:58*pafmaf quit (Quit: This computer has gone to sleep)
15:48:32*AndChat|226100 quit (Read error: Connection reset by peer)
15:50:30*pafmaf joined #nimrod
15:50:50*lorxu joined #nimrod
15:58:47*flaviu joined #nimrod
15:59:08flaviuIs there a library like Requests for nimrod? http://docs.python-requests.org/en/latest/
16:01:43EXetoChttpclient in the standard distribution
16:02:10EXetoCwhich doesn't have all of those features, but it works
16:04:36flaviuLooks uglier, but it'll work for me
16:04:37flaviuThanks
16:05:36*kunev joined #nimrod
16:17:01*brson joined #nimrod
16:17:50*AndChat|226100 joined #nimrod
16:17:50*lorxu quit (Read error: Connection reset by peer)
16:33:07*Jesin joined #nimrod
16:48:05*lorxu joined #nimrod
16:48:06*AndChat|226100 quit (Read error: Connection reset by peer)
17:02:53*q66 joined #nimrod
17:08:49*utkan joined #nimrod
17:08:53*utkan quit (Read error: Connection reset by peer)
17:09:01*utkan joined #nimrod
17:17:11*utkan_ joined #nimrod
17:18:04*lorxu quit (Read error: Connection reset by peer)
17:18:18*lorxu joined #nimrod
17:18:58*utkan quit (Ping timeout: 240 seconds)
17:23:03*Matthias247 joined #nimrod
17:49:51Amrykidwas someone talking about making a nimrod plugin for VS?
17:56:14Demosyeah
17:56:19DemosI am actually working on it again
18:03:22Demosit is good to see there is intrest again
18:12:41*AndChat|226100 joined #nimrod
18:12:41*lorxu quit (Read error: Connection reset by peer)
18:13:22NimBotnimrod-code/babel master 66e45df papplampe [+0 ±1 -0]: fix problems with temp dir
18:13:22NimBotnimrod-code/babel master 0bf1faa Dominik Picheta [+0 ±1 -0]: Merge pull request #50 from papplampe/master... 2 more lines
18:17:57*utkan_ quit (Quit: Computer has gone to sleep.)
18:18:26*utkan_ joined #nimrod
18:25:12*ics quit (Ping timeout: 245 seconds)
18:26:59*utkan_ quit (Quit: Computer has gone to sleep.)
18:27:59*utkan_ joined #nimrod
18:28:26*ics joined #nimrod
18:34:41*utkan_ quit (Quit: Computer has gone to sleep.)
18:36:30Demosas much as I don't like javascript I /loved/ being able to just change up code on the fly and eaisly poke my functions with different inputs
18:40:20AraqDemos: I think we can simply wait.
18:40:40Araqclang will get a REPL, one way or the other
18:41:11Araqwe need to change the codegen slightly to take advantage of this when it's ready
18:41:18Araqbut it's not hard
18:42:11Demosyeah, but few compiled languages have a rpel, and even in those that do sometimes it is hard to break in a debugger and poke code
18:43:36flaviuIt seems that httpclient doesn't do RequestLength
18:44:08dom96request length?
18:44:38*AndChat|226100 quit (Ping timeout: 240 seconds)
18:44:58flaviuErr, Content-Length
18:45:15flaviuI'm hitting across "<hr><p>HTTP Error 411. The request must be chunked or have a content length.</p>"
18:46:22dom96it does support that
18:46:50dom96it supports content-length, connection: close and chunked
18:47:26flaviuDoes me setting Content-Type manually maybe break that?
18:47:47*Matthias247 quit (Read error: Connection reset by peer)
18:48:58*Matthias247 joined #nimrod
18:49:04dom96flaviu: it shouldn't
18:49:13dom96flaviu: what website are you requesting?
18:49:55flaviuPM'd you it, it has secret auth tokens
18:50:25dom96flaviu: are you using the blocking version or the new async version?
18:50:56flaviuBlocking, should I be using async? I'm just doing post(...)
18:51:00dom96flaviu: better yet, can you PM me your code?
18:51:39dom96blocking should be fine
18:54:27*pafmaf quit (Quit: Verlassend)
18:55:34dom96argh, I need hg to get strfmt
18:55:58flaviuNo, you don't
18:56:06flaviuhttps://bitbucket.org/lyro/strfmt/raw/76664ccd9422e42e112d6139c18bde2aecf6d3cb/strfmt.nim
18:56:11flaviuSorry, forgot about that
18:57:23dom96hrm, I need to login to live ...
18:57:31dom96it seems?
18:57:42dom96Actually I need to leave for a while anyway
18:57:47dom96try using curl and see if it works
18:57:50dom96in the cmd line
18:58:06dom96actually
18:58:15dom96maybe you should specify the content-length yourself?
18:58:25dom96bbl
18:58:55flaviuOk, thanks for the help
19:00:12DemosYAY! Go To Definition works
19:01:45AmrykidDemos, do you have a repo where this project is store?
19:02:11Demosyeah
19:02:18Demoslet me fix a bug before I share it
19:06:41DemosOK it is at https://github.com/barcharcraz/VisualNimrod
19:06:53Demosyou need the visual studio extensibility sdk to build it
19:07:14Demosand it only works on versions of VS that support extensions (that means pro or above)
19:07:53AmrykidVS 2013?
19:08:17Demosyeah
19:11:10NimBotAraq/Nimrod devel eb99c27 Araq [+2 ±1 -0]: fixes #1011
19:11:10NimBotAraq/Nimrod devel 47fb8d8 Araq [+0 ±1 -0]: Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
19:17:39Matthias247there's now an official Windows release for Atom. Would be at least a little reason to to a nimrod plugin for that ;)
19:18:47Matthias247but Demos plugin seeems higher advanced. Even an own lexer :)
19:19:24Demosheheheeheheheeheheheeeeeee well "my own lexer" is just soemthing I hacked together in the past 2 days
19:20:01Demosdoing plugins in JS actually sounds really good after reloading VS around 250 times
19:20:03Matthias247I used the Irony library for C# to build a DSL with good success. Apparently you can also build VS language services on top of that
19:20:54DemosI don't ever plan to parse nimrod myself
19:21:06Demosfor more advanced features I hand off to idetools
19:22:38flaviudom96: Found the issue: 1. The documentation was wrong, I can use get instead of post, and 2. "Content-Type: ..." doesn't have a trailing semicolon, so it gets turned into "Content-Type: ...Content-Length:0"
19:33:28dom96flaviu: you should separate the headers with \c\L
19:33:56dom96it should really just be a PStringTable
19:35:52flaviuThanks, but it seems that if I use get, I don't need any headers
19:37:07dom96alright, as long as it works.
20:06:23*Trustable quit (Quit: Leaving)
20:06:37*nande joined #nimrod
20:33:12*bjz quit (Read error: Connection reset by peer)
20:33:25*bjz joined #nimrod
20:44:37*kunev quit (Ping timeout: 272 seconds)
21:02:58*Demos quit (Ping timeout: 240 seconds)
21:03:58*Demos joined #nimrod
21:04:22*Demos is now known as Guest33912
21:05:05*Guest33912 is now known as Demos
21:18:44*q66_ joined #nimrod
21:22:14*q66 quit (Ping timeout: 252 seconds)
21:36:01*q66_ is now known as q66
21:41:32*Boscop quit (Ping timeout: 260 seconds)
21:43:09*utkan joined #nimrod
21:53:35*utkan_ joined #nimrod
21:53:35*utkan quit (Read error: Connection reset by peer)
21:59:22*Boscop joined #nimrod
22:18:31*utkan_ quit (Quit: Computer has gone to sleep.)
22:19:41NimBotnimrod-code/nimforum master 42e74d2 Araq [+0 ±1 -0]: compiles with the latest compiler version
22:24:03*Jesin quit (Ping timeout: 256 seconds)
22:24:53*Jesin joined #nimrod
22:31:06fowlis it known that compile-time assert is broken
22:31:49Araqno. is it?
22:32:10fowlstatic: assert false is causing segfault for me
22:32:11Araqbroken in what way?
22:32:38fowlhowever, assert(true) works
22:34:57fowlwtf, i have a quit() inside a macro, it gets called but doesnt abort compilation
22:41:48fowland i cant reproduce it
22:41:51fowl>:(
22:49:49Araqyay, we play Argentinia
22:52:00Araqfowl: I fixed the 'raise' bug, thanks for reporting
22:53:38dom96could not import: cairo_surface_create_for_rectangle
22:53:43dom96Why isn't dead code elim default yet?
22:53:46*Varriount joined #nimrod
22:54:05*Matthias247 quit (Read error: Connection reset by peer)
22:55:17VarriountMeep
22:55:18Araqwhy wasn't that a problem before?
22:55:47dom96because this https://github.com/nimrod-code/cairo/pull/2
22:56:36Araqaha, I see
22:57:18dom96Let me reiterate: Why isn't dead code elim default yet?
23:00:03Araqit's an optimization
23:00:28Araqoptimizations are turned off in debug mode
23:01:45dom96oh
23:02:10dom96Perhaps it should be enabled for debug builds too?
23:03:54Araqit should be enabled for every wrapper
23:04:18Araqin fact, I'm surprised how often it is still missing
23:05:02flaviuI don't understand what 'illegal capture' means?
23:05:05AraqVarriount: fix os.nim for windows XP please
23:05:22Araqflaviu: it means the compiler doesn't like your closure
23:05:27VarriountHow do you want it fixed?
23:05:57flaviuI noticed :P. I guess its because I'm closing over a var?
23:07:06Varriountflaviu: It means that, due to your illegitimate use of closures, the Java police are going to bring you in to get you re-conditioned.
23:08:04flaviudom96: Might want to add a robot.txt to the build farm, the test values popped up in google.
23:08:09Araqflaviu: yes indeed. closing over a var breaks memory safety
23:08:21Araqyou can use 'ptr' instead, which isn't safe to begin with :P
23:08:54flaviuHmm, I can't pass a ref to something expecting a var
23:09:07Araqderef it
23:09:24Araqjeezzz it's like you never programmed in nimrod before
23:09:59reactormonkcould you compile the vm to JS?
23:10:14Varriountreactormonk: O_o
23:10:25flaviuI haven't programmed real code yet, I'm been just working on making it doing it do insane stuff :D
23:10:42flaviuI've typed "ref" maybe 10 times
23:12:13flaviureactormonk: I don't like the idea of depending on node.js
23:12:38AraqVarriount: I think it should go into its own module
23:12:47dom96flaviu: Is that really a problem though?
23:12:58dom96if google wants to index it then let it.
23:13:16dom96Araq: why is it a problem to enable for everything?
23:13:27fowlreactormonk, lol
23:14:23Araqdom96: it is no problem but it causes side effects
23:14:30VarriountAraq: Creating a symlink should go into its own module...?
23:14:31flaviuok, I guess it isn't really a big deal. SEO stuff says not to duplicate content IIRC, but I doubt subdomains have any impact on the main domain.
23:14:52fowlit would be nice if deadcodeelim also didnt require functions to be implemented until they're called
23:15:12AraqdeadCodeElim is a weird optimization that changes semantics slightly, as you've seen
23:15:37Araqfowl: are you mad?
23:15:50Araqthat's what .NET does with DLLs and it SUCKS
23:16:16*darkf joined #nimrod
23:16:21flaviuHopefully the last question about references, how do I copy the value of one reference into another?
23:16:21fowlAraq, im thinking about gradha's genios, where it has a lot of useful functions but only a couple of them are implemented for linux/windows
23:16:35AraqVarriount: why not? symlinks suck
23:16:42flaviufowl: Just stub them out with throwing exceptions
23:16:47fowlflaviu, x[] = y[]
23:16:59flaviuthanks
23:17:23Araqproc box[T](x: T): ref T = new(result); result[] = x
23:17:40Araqwe have been there before ...
23:17:50fowlflaviu, runtime "not implemented on your platform" error is the pits
23:18:21flaviuAraq: You're right, I forgot
23:18:39VarriountAraq: I think dead code optimization for os.nim is better.
23:19:04VarriountJust because *you* dislike Symlinks doesn't mean that the rest of us do.
23:19:13flaviufowl: Annotate the method with `{.error.}`
23:22:33AraqVarriount: if *you* like symlinks and *I* do not, that only means you still need a few years until you agree with me :P
23:22:42dom96Araq: Why does it suck?
23:22:57dom96Araq: I can't think of any significant drawbacks.
23:23:04fowlflaviu, dont tell me about nimrod features
23:23:10fowli'll tell you about nimrod features
23:23:24fowlAraq, push that raise fix plz, its bugging me
23:23:55NimBotAraq/Nimrod devel 44353c5 Araq [+0 ±1 -0]: VM: fixes 'raise'
23:23:55NimBotAraq/Nimrod devel e4e32bd Araq [+0 ±1 -0]: better error messages for macro instantiations
23:24:52Araqdom96: what do you mean? the DLL loading in .NET?
23:25:47dom96Araq: yes
23:27:09Araqdom96: it means you can never really test your dependencies
23:27:23Araqwithout running it and executing every path
23:27:40dom96Araq: You simply need to switch off dead code elimination then :P
23:28:02dom96Come on, you always want things to just work.
23:28:22dom96It's annoying when my app can't start because it's trying to load some proc which it doesn't even use!
23:28:57dom96Good night.
23:29:07Araqbye
23:35:37VarriountI wonder how python manages to have a symlink procedure that doesn't crash when run on WinXP...
23:35:59VarriountI mean, the procedure throws an error, but it doesn't crash the interpreter.
23:38:35flaviuVarriount: Why would it crash?
23:39:18Varriountflaviu: Referencing a bad symbol? I dunno. Whatever happens when a program loads a dll that doesn't contain an expected procedure.
23:46:18flaviuOh, the function isn't there at all
23:49:51*ARCADIVS joined #nimrod
23:50:35Araqgood night
23:56:50flaviuVarriount: Seems to be autoconf
23:57:03flaviuhttps://github.com/python/cpython/search?q=HAVE_SYMLINKAT&ref=cmdform
23:57:32flaviuIf that function doesn't exist, they don't use it on that platform