<< 27-04-2015 >>

00:01:10filwitnot sure exactly what the implications of that are with Nim's backend
00:01:35def-I guess for correctness we would have to emulate 32/64 bit numbers
00:02:24filwitbut I'm just passing an array of bytes to JS.. which with the Emscriptend method is actually correct (it uses a type-safe uint8 heap, so data should be 1-to-), but I'm not sure about the Nim JS backend
00:03:39Araqthe Nim JS backend doesn't know about anything
00:04:06filwityeah I figured as much.
00:04:30Araqit's been designed before emscripten or asm.js existed
00:04:50Araqor typed arrays in JS
00:04:58filwitwell it's funny that it actually runs faster than Emscripten's asm.js backend
00:05:03Araqor source maps for debugging
00:05:48*NimBot joined #nim
00:05:52Araqwhy did I write it?
00:06:06def-Araq: so, what's the future for the JS backend? Make it use emscripten, asm.js, just improve/fix it?
00:06:22Araqno idea
00:06:38Araqemscripten doesn't work with Nim's GC I think
00:06:59filwitwell the Emscripten stuff doesn't work.. but honestly I think that may be the best solution at the end of the day (since it's fully type-safe, binary compat, and supports pointers, etc)
00:07:23Araqit's not compatible with JavaScript though ...
00:07:43Araqhow can I access the DOM from a C app that I compiled with emscripten?
00:07:46filwitAraq: even --gc:none my raytracer still doesn't output correct values (with emscripten)
00:08:04Araqfilwit: even --gc:none requires mmap though
00:08:18filwitahh... i see
00:08:39filwit(sorta, not entire sure what mmap does besides some low-level memory stuff)
00:09:52filwitanyways, at for DOM with emscripten, it's pretty easy.. they have a C-level equivalent for all the getElementBy() commands that just maps over, they even have one for SDL already, so anything that targets that can pretty much just work with WebGL transparently
00:10:09filwitmaybe "transparently" wasn't the right word, but you get my idea
00:10:40def-running Nim SDL programs in JS would be great
00:11:12filwityeah, but Like Araq says, the GC messes things up..
00:12:24Araqfilwit: aha ok
00:12:42Araqfyi: http://msr-waypoint.com/pubs/230708/conservative-gc-oopsla-2014.pdf
00:12:56filwitthe Nim JS backend works pretty well too.. and it's much lighter weight.. so there are some trade offs.. Nim JS backend would be much better for web ui frameworks written in Nim.. but I'm guess that, if Nim supported it correctly, emscriptent would outperform it and be more correct.. which is better for online games, ect
00:13:49Araq"We are unaware of any reference counting collectors which use conservatively identified roots."
00:13:57filwitAraq: why are you showing me this? All I was saying is that, right now, Nim's GC make Nim->EMCC not work
00:14:01Araqso ... they are unaware of Nim :-/
00:14:34Araqstupid GC researchers
00:14:48Araqfilwit: I'm showing this to #nim, not you
00:14:49filwiti don't know enough about GC mechanism to understand what "conservatively identified roots" means :\
00:15:01filwitAraq: oh, my bad :|
00:15:05Araqthe paper is excellent btw
00:26:33Araqgood night
00:34:12filwitmaybe it's just my lack of understanding correct float notation, but a Nim value of '0.8' should show up in the JS output as '8.0000000000000004e-01' right?
00:34:47filwitsimilarly.. '1280' is showing up as '1.2800000000000000e+03'
00:35:06filwiti'm guessing this is the source of the incorrect output
00:35:43onionhammerimo the js backend was a nifty experiment, but it should be sunsetted
00:35:58onionhammernot worth the level of maintenance
00:47:13*HakanD_ joined #nim
00:48:13*MagusOTB quit (Ping timeout: 250 seconds)
00:51:33*HakanD_ quit (Ping timeout: 248 seconds)
00:59:52*MagusOTB joined #nim
01:20:13*CARAM__ quit (Ping timeout: 256 seconds)
01:20:13*endou_________ quit (Ping timeout: 256 seconds)
01:20:14*mikolalysenko quit (Ping timeout: 256 seconds)
01:20:14*eventualbuddha quit (Ping timeout: 256 seconds)
01:20:14*clone1018 quit (Ping timeout: 256 seconds)
01:20:46*Shoozza quit (Ping timeout: 256 seconds)
01:22:03*endou_________ joined #nim
01:22:19*brson joined #nim
01:22:30*mikolalysenko joined #nim
01:22:46*eventualbuddha joined #nim
01:22:54*Shoozza joined #nim
01:22:58*CARAM__ joined #nim
01:22:59*clone1018 joined #nim
01:27:39*johnsoft quit (Ping timeout: 250 seconds)
01:28:22*johnsoft joined #nim
01:38:20*federico3 quit (Ping timeout: 256 seconds)
01:43:13Varriountonionhammer: I'm planning a release of NimLime for the second/third week of next month
01:43:58ldleworkHmm I liked the idea of writing server/client web applications with nim
01:44:26ldleworkI guess someone can by later and revitalize if it becomes important enough to their use-case
01:51:41*federico3 joined #nim
01:57:41*gsingh93 quit (Ping timeout: 248 seconds)
02:00:15*darkf joined #nim
02:00:46*pregressive joined #nim
02:07:13*Demos_ joined #nim
02:08:49onionhammerVarriount sweet sounds good
02:10:37*Demos quit (Ping timeout: 255 seconds)
02:29:20*pipeep quit (Ping timeout: 256 seconds)
02:30:30*pipeep joined #nim
02:32:59*brson quit (Quit: leaving)
02:34:28*BitPuffin quit (Ping timeout: 255 seconds)
02:36:25*jefus quit (Ping timeout: 264 seconds)
02:49:35*jefus joined #nim
03:24:05*johnsoft quit (Ping timeout: 248 seconds)
03:25:09*johnsoft joined #nim
03:30:48*saml_ quit (Ping timeout: 265 seconds)
03:53:12*pregressive quit (Remote host closed the connection)
04:06:42*pregressive joined #nim
04:08:57*endragor joined #nim
04:19:01*ChrisMAN quit (Ping timeout: 244 seconds)
04:27:34reactormonkHow exactly do I use sockets? https://github.com/reactormonk/nim/blob/epc/compiler/nimsuggest/nimsuggest.nim#L204 but the emacs end just goes "connection closed"
04:27:39reactormonk!! Process Sentinel [epc con 11] : #<process epc con 11> : "connection broken by remote peer
04:27:43reactormonkto be correct
04:29:15*pregressive quit (Remote host closed the connection)
04:29:41reactormonkoh, I shouojld use net
04:29:49*pregressive joined #nim
04:32:08*pregress_ joined #nim
04:34:09*pregressive quit (Ping timeout: 256 seconds)
04:34:43*pregress_ quit (Remote host closed the connection)
04:42:51reactormonkok, said code doesn't actually listen according to netstat -l
04:45:53*Demos_ quit (Read error: Connection reset by peer)
05:06:17reactormonkyargh... some silent downcast into wierd results :-/
05:08:55reactormonkhm, doesn't seem to matter too much
05:09:41reactormonkok, nimsuggest --epc starts up nicely on the command line but not via epc :-/
05:11:42reactormonktcp 0 0 localhost.localdo:55822 localhost.localdo:41641 TIME_WAIT <- stuck :-(
05:14:50*clynamen quit (Ping timeout: 246 seconds)
05:21:28*clynamen joined #nim
05:21:36*wb quit (Ping timeout: 256 seconds)
05:23:21*vikaton quit (Quit: Connection closed for inactivity)
05:26:24*clynamen quit (Ping timeout: 246 seconds)
05:31:29*clynamen joined #nim
05:32:56reactormonkno idea what's stuck there. If anyone wants to test: nim c compiler/nimsuggest/nimsuggest.nim && cp compiler/nimsuggest/nimsuggest bin
05:33:32reactormonkand then (epc:start-epc "/home/tass/dev/nim/nim/bin/nimsuggest" '("--epc" "/home/tass/dev/nim/nim/compiler/nim.nim")) where you replace the path to your nimsuggest etc.
05:35:36Kingsqueehttps://github.com/flaviut/nim-by-example/blob/master/content/case.md
05:35:56Kingsqueewhats the "case (x and 3) + 7:" part mean?
05:36:28Kingsquee'and 3' doesn't really make any sense there, to me
05:47:45*clynamen quit (Ping timeout: 246 seconds)
05:53:13*yglukhov________ joined #nim
05:53:30*clynamen joined #nim
05:55:12*endragor quit ()
05:57:37*yglukhov________ quit (Ping timeout: 250 seconds)
05:58:14reactormonkKingsquee, looks like a remainder statement to me
06:12:11VarriountKingsquee: 'x and 3' can only produce integers 3 and below
06:12:36Varriount'and' with integers does a binary 'and' operation
06:16:53VarriountKingsquee: Though I'll admit, it took me a minute to understand what was going on.
06:46:12Kingsquee<Varriount> 'and' with integers does a binary 'and' operation
06:46:20Kingsqueethat's kind of unnerving / :D
06:46:57Kingsqueea programming language trying to do what I mean, not what I say?
06:49:17Kingsqueei.e. 'and' could mean & or && based on its context?
06:57:24*clynamen quit (Ping timeout: 246 seconds)
07:04:46*yglukhov________ joined #nim
07:09:42*yglukhov________ quit (Remote host closed the connection)
07:09:42*Demon_Fox quit (Quit: Leaving)
07:12:03*yglukhov________ joined #nim
07:22:46*notostraca joined #nim
07:25:25*clynamen joined #nim
07:25:25*TEttinger quit (Ping timeout: 245 seconds)
07:26:47*clynamen quit (Ping timeout: 246 seconds)
07:29:42*HakanD_ joined #nim
07:30:22*HakanD__ joined #nim
07:32:09*clynamen joined #nim
07:34:10*HakanD_ quit (Ping timeout: 255 seconds)
07:34:57*bjz joined #nim
07:39:25*elbow_jason quit (Ping timeout: 264 seconds)
07:50:41*OnwardEuler joined #nim
07:53:31*OnwardEuler quit (Client Quit)
07:57:07*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
07:58:39*bjz joined #nim
07:59:23*BlaXpirit joined #nim
08:00:16*fowl quit (Ping timeout: 256 seconds)
08:00:44*notfowl joined #nim
08:01:25*MagusOTB quit (Quit: bed)
08:03:51repaxKingsquee: Not based on context but based on the types. It's typesafe. A lot better than C where 0 is false and anything else is true.
08:05:19Kingsqueestrange, but interesting
08:05:22Kingsqueethanks
08:09:27repaxAnyhow, the example is uninformative because 3 and 7 are just magic numbers. How would you know what the case expression is supposed to match? In a real-world example you would name those values so that the meaning of the case is clear. I suppose that the example is just meant to show that you can perform operation in a case statement.
08:11:43*OnwardEuler joined #nim
08:12:50*coffeepot joined #nim
08:21:14*johnsoft quit (Ping timeout: 256 seconds)
08:22:09*johnsoft joined #nim
08:22:25*Pisuke joined #nim
08:35:58*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
08:37:27Kingsquee>forward declarations
08:37:35Kingsqueenoooooo
08:44:19*Pisuke quit (Excess Flood)
08:45:32LoneTechthe manual is lying to me and the compiler is not exactly assistive. "msp430usb.nim(42, 2) Error: invalid type: 'Table[system.int, system.string]'" and " you are using simple standard types like int or string for the keys of the table you won't have any problems"
08:47:24LoneTechmaybe tables just can't be const (which would be rather bad). making it var got it to bark about newSeq instead.
08:47:59*Pisuke joined #nim
08:50:50*bjz joined #nim
08:54:49*Pisuke quit (Ping timeout: 256 seconds)
08:55:47repaxLoneTech: Tables can be const if you use the devel branch of Nim.
09:00:09*darkf quit (Ping timeout: 276 seconds)
09:01:36*Sembei joined #nim
09:01:37*yglukhov________ quit (Read error: Connection reset by peer)
09:01:49*yglukhov________ joined #nim
09:01:55*wb joined #nim
09:04:36*bjz quit (Ping timeout: 240 seconds)
09:05:18LoneTechthat would be more confidence inspiring if it didn't break in new fun ways each time I try an updated version
09:06:16LoneTech(this time it wouldn't compile the compiler)
09:06:49repaxOh? It does for everyone else
09:07:22xificurC_why is the compiler bootstrapped from C, why not from a previous Nim version?
09:07:33LoneTechoh, apparently in trying to isolate or work around a previous issue I got to a compiler that can't compile the current one. checking out newer csources and working from that could compile it
09:07:44LoneTechxificurC_: and that would be why
09:08:09repaxxificurC_: Nim is used to build Nim. But in order to build an eary Nim compiler C is used
09:08:19repaxearly
09:08:33LoneTechafaict there's no nim compiler I wouldn't call early
09:08:52xificurC_what do you mean by early
09:09:36repaxWell, "older"
09:09:42*milosn quit (Ping timeout: 264 seconds)
09:10:14xificurC_still not clear to me, must be dumb :)
09:10:59repaxI'm not very knowledgeable about the Nim bootstrapping. I just followed the build instructions and got it working
09:11:01LoneTechI call it early because it's not stable enough that I can avoid bootstrapping reliably
09:11:26xificurC_so once the compiler matures it will build itself
09:11:44LoneTechtoday the error "cannot prove a[i] is disjoint from a[i+1]" is apparently "(i)..(i) not disjoint from (i)..(i)". not exactly working towards clarity
09:13:10repaxIt already builds itself
09:14:18Kingsqueesoon it will write itself?
09:14:45xificurC_but it builds itself from a c source, not a nim source
09:15:02repaxKingsquee: Are you by chance talking about the experimental AI-module?
09:15:18*clynamen quit (Ping timeout: 246 seconds)
09:15:35Kingsqueerepax: no, I was making a joke that I hoped would someday make me a futurist
09:15:41Kingsqueeis that day today?
09:16:19repaxxificurC_: ultimately yes. But if you already have a Nim compiler you can build the nim sources with that. Of course, C code is generated
09:16:46repaxKingsquee: the future is already here, it's just not evenly distributed.
09:17:25Kingsquee:3c
09:17:35Kingsqueewhat is this AI-module?
09:17:46repaxThat was a joke too
09:17:55Kingsqueenoooooo
09:18:11*Kingsquee does like his AI
09:18:16*Kingsquee also modules
09:21:17*clynamen joined #nim
09:25:19*Sembei quit (Ping timeout: 255 seconds)
09:33:15*Sembei joined #nim
09:35:47*bjz joined #nim
09:38:58xificurC_a very stupid question, but after bin/nim c koch and ./koch boot -d:release, where is the compiler? I see bin/nim.exe and compiler/nim.exe
09:39:37LoneTechthe one I use is in bin
09:39:48xificurC_they seem to be the same
09:40:08*clynamen quit (Ping timeout: 246 seconds)
09:40:09LoneTechyes, it looks like compiler/ holds the ones that were built including the double check that it compiles stably
09:41:02LoneTechnow I'm wondering how to get a UTF16LE string.
09:42:11LoneTechlooks a whole lot like that's another thing that can't be done in the compilation itself. I don't want to resort to preprocessors when I have metaprogramming :(
09:43:17*darkf joined #nim
09:46:19*clynamen joined #nim
09:53:48AraqLoneTech: I have no idea what you're talking about
09:54:01LoneTechsorry. just getting ahead of myself
09:54:35AraqNim does build Nim but for those of you who have no working Nim, we distribute the C sources.
09:54:55LoneTechI found encode, and thought since it referred to external libraries (iconv) it might be an FFI thing, which doesn't work compile time. but it looks built in. it broke on Time instead
09:55:29AraqLoneTech: what do you want to do at compile-time?
09:55:40LoneTechbuild USB descriptors and lookup tables
09:56:06LoneTechincluding strings, which are utf8 in source but utf16 in usb
09:56:18LoneTechslowly poking my way around it
09:57:31Araquse an external process, staticExec and the new marshal.$$ and 'to' which work at compile-time on devel
09:57:59Araqyou can look at my 'lexim' project to see how that works
09:58:23Araqthis way you can also do caching for fast rebuilds
09:58:48LoneTechthe project is tiny (per definition, it's for a microcontroller), fast rebuilds are not an issue
10:00:19Araqok but the full power of Nim available at compile-time is still better than workarounds
10:01:17LoneTechyes. I thought that full power might let me write const serial = convert("MSP430 Joystick", "utf-16", "utf-8")
10:03:15LoneTechah. encodings imports os which imports times which breaks for standalone.
10:04:12*HakanD__ quit (Quit: Be back later ...)
10:05:27LoneTechand encodings itself relies on C imports. so this does require a separate execution of a natively compiled program
10:09:57LoneTechwhich in turn means the build process requires multiple targets
10:10:45*darkf quit (Ping timeout: 256 seconds)
10:13:44*clynamen quit (Ping timeout: 246 seconds)
10:14:28*ingsoc joined #nim
10:19:07*HakanD__ joined #nim
10:19:21*clynamen joined #nim
10:23:58*milosn joined #nim
10:25:12AraqLoneTech: what do you do with 'parallel' to get that error msg?
10:25:25Araqand btw the error message did get clearer:
10:25:27LoneTechsame old demo program
10:25:37Araqbefore it was "cannot prove"
10:25:47Araqnow it's "can prove what you're doing is wrong"
10:26:00Araq:P
10:27:24*Sembei quit (Ping timeout: 250 seconds)
10:27:41LoneTecherm.. looking at it again, the program wasn't even wrong.
10:28:01LoneTechthe line that should have been a conflict was commented out
10:28:28Araqreport it please
10:33:16LoneTecherm, reading my comments in it this is the same problem it had before. which likely means there's a report somewhere.
10:33:19*Sharcho joined #nim
10:34:15*EulersBackup joined #nim
10:35:18LoneTechwill https://github.com/Araq/Nim/issues/2612 do?
10:35:40*OnwardEuler quit (Ping timeout: 244 seconds)
10:35:44*Sembei joined #nim
10:36:49AraqLoneTech: excellent, thanks
10:37:40AraqLoneTech: put it in a 'main' proc. 'i' is a global variable, cannot prove anything about it
10:37:57LoneTechoh. forgot that
10:38:11AraqI'm not saying that fixes things
10:38:18Araqbut it might
10:39:13LoneTechwell, it does change that. the program errors out with an overflow because of the range though
10:39:30*JinShil joined #nim
10:39:47LoneTechbut the same change allows omitting the range so the while loop can end
10:40:09*bw___ is now known as bw_
10:42:33*yglukhov________ quit (Read error: Connection reset by peer)
10:42:39*yglukhov________ joined #nim
10:44:53*milosn_ joined #nim
10:46:52*milosn quit (Ping timeout: 256 seconds)
10:48:00*milosn_ is now known as milosn
10:53:17*clynamen quit (Ping timeout: 246 seconds)
10:55:22*Sembei quit (Ping timeout: 256 seconds)
10:59:54*yglukhov________ quit (Read error: Connection reset by peer)
11:00:00*clynamen joined #nim
11:00:01*yglukhov________ joined #nim
11:00:25*BitPuffin joined #nim
11:05:19*Kingsquee quit (Quit: Konversation terminated!)
11:06:47*Sembei joined #nim
11:13:20*jefus quit (Ping timeout: 250 seconds)
11:13:37*banister quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
11:17:06*clynamen quit (Ping timeout: 246 seconds)
11:22:08gokrxificurC_: http://goran.krampe.se/2014/10/15/bootstrapping-nim/
11:22:26*johnsoft quit (Ping timeout: 250 seconds)
11:22:28*clynamen joined #nim
11:23:26*johnsoft joined #nim
11:25:14*Sharcho quit (Ping timeout: 245 seconds)
11:26:32*Sharcho joined #nim
11:30:20xificurC_gokr: thanks, interesting read. So if I already have a compiled nim on my machine what simplified process can I use?
11:30:27xificurC_(for an update)
11:30:29*darkf joined #nim
11:30:43gokr./koch boot -d:relase
11:30:47gokrrelease
11:31:23gokrOk, so sorry if that came out... as a two liner, what I mean is: ./koch boot -d:release
11:31:25xificurC_so I just pull in the changes from github and run koch? Cool, that's much simpler :)
11:31:40gokrYeah, it often works fine for me on "-b devel"
11:32:03gokrGonna do it right now in fact
11:33:06xificurC_the picture I had in my mind was quite different - csources - nim written in C, current nim - written in nim
11:33:12*clynamen quit (Ping timeout: 246 seconds)
11:33:47gokrNo, the csources are just the generated C sources. I don't think there has ever been a handwritten Nim compiler in C. First was in... Pascal? Not sure.
11:34:08LoneTechturns out marshal can't be imported for standalone target
11:34:09xificurC_gokr: yeah I got that from your blog post, thanks! Pascal, really?
11:34:29gokrNot sure, I thought I read that somewhere. Araq knows :)
11:34:52xificurC_thought it was in C and when you said no I expected something fancier, like OCaml
11:35:11*darkf quit (Ping timeout: 256 seconds)
11:35:39gokrWirth is strong in Araq, though I am now putting some Kay in there.
11:35:51gokr(cryptic I know)
11:36:16Araqpascal was picked because I always had compiler-related stuff written in it and because I knew it was easy to translate to Nim. automatically.
11:36:31Araqwhich I then did.
11:36:43xificurC_nice
11:36:43Araqas pascal is easy to parse
11:36:45*jefus joined #nim
11:37:36xificurC_is there an article/paper that explains the GC in layman's terms?
11:37:44gokrYeah, Ian Piumarta (a sharp VM guy) wrote a language called idst - and the first compiler he wrote in C++ by hand, just to get bootstrapped. He noted "I hope this is the last C++ code I will ever write..."
11:37:50Araqthe tool pas2nim which did the translation was then also used to generate the first wrappers
11:38:18xificurC_I'm not very well educated in compilers but always like to get a bit more
11:38:42Araqbtw the first version of pas2nim was written in Lua ;-)
11:38:59gokrHehe
11:39:44gokrLua is a language that I long thought was... well, uninteresting. Until I learned more a year ago or so - and realized its mainly like js but without lots of its warts.
11:39:57*clynamen joined #nim
11:40:07gokrSo a fairly decent language.
11:42:33EXetoCthe table interface is very flexible
11:43:02gokrA bit too much though IMHO.
11:44:49Araqit's meh, simplicity gone wrong
11:45:02*JinShil quit (Quit: Konversation terminated!)
11:45:26Araq"we kept the language simple and as a result list is the same as table and you get nice 'nil' bugs everywhere"
11:48:04EXetoCthe behavior of nil is a big drawback
11:48:40*JinShil joined #nim
11:48:54xificurC_how would you compare nim's verbosity to an ML language like Haskell or OCaml, or to Rust
11:50:57AraqxificurC_: it's on par with them, I guess? Rust is much more verbose with the stupid error handling and brace syntax
11:51:34*JinShil quit (Client Quit)
11:51:49Araqand it's "optimized for notepad users" attitude where you type::where::things::came::from::like::IDEs::havent::been::invented
11:52:17xificurC_Araq: thanks. I'm using OCaml for a small project right now but thinking of later giving nim a try as well
11:52:45xificurC_I try way too many languages and never become proficient enough in either of them. Should be an academic
11:53:06*milosn quit (Read error: Connection reset by peer)
11:53:08*vikaton joined #nim
11:53:41xificurC_reading the word IDE - what do most of you use? Emacs? Vim? Aporia?
11:53:56*JinShil joined #nim
11:57:09Araqaporia
12:02:17def-xificurC_: http://forum.nim-lang.org/t/844/2
12:02:52def-Should've linked to page 1 oops
12:07:50xificurC_def-: thanks
12:09:20*JinShil quit (Quit: Konversation terminated!)
12:10:59*BlaXpirit_ joined #nim
12:14:00*BlaXpirit quit (Ping timeout: 252 seconds)
12:15:46*bogen left #nim (#nim)
12:23:35*HakanD__ quit (Quit: Be back later ...)
12:24:02*HakanD__ joined #nim
12:28:16*HakanD__ quit (Ping timeout: 240 seconds)
12:28:55*notostraca quit (Ping timeout: 255 seconds)
12:29:12*HakanD__ joined #nim
12:30:12*Sembei quit (Read error: Connection reset by peer)
12:32:00*clynamen quit (Ping timeout: 246 seconds)
12:32:06*Sembei joined #nim
12:34:37*darkf joined #nim
12:36:05*itPuffinB joined #nim
12:37:32*clynamen joined #nim
12:40:42*itPuffinB quit (Ping timeout: 272 seconds)
12:48:18*iamd3vil joined #nim
12:49:39*Sembei quit (Read error: Connection reset by peer)
12:51:36*iamd3vil quit (Quit: Leaving)
12:52:09*Sembei joined #nim
12:52:32*mpthrapp joined #nim
12:52:37*Sembei quit (Read error: Connection reset by peer)
12:54:12*Sembei joined #nim
12:54:38*Sembei quit (Read error: Connection reset by peer)
12:56:10*Sembei joined #nim
12:56:38*Sembei quit (Read error: Connection reset by peer)
12:58:22*Sembei joined #nim
12:59:18*Sembei quit (Read error: Connection reset by peer)
13:02:49*Sembei joined #nim
13:15:50*EulersNoodle joined #nim
13:16:08*ingsoc quit (Read error: Connection reset by peer)
13:17:53*ingsoc joined #nim
13:19:27*EulersBackup quit (Ping timeout: 256 seconds)
13:22:17*itPuffinB joined #nim
13:24:07*qfire quit (Quit: Changing server)
13:37:17xificurC_what's up with this wikipedia deletion crap? I'm stunned by the amount of bureaucracy present. The language exists and is used, what more is needed to create a page about it?
13:37:52xificurC_I read about nim at least a dozen times on reddit.
13:41:39*clynamen quit (Ping timeout: 246 seconds)
13:44:05*woadwarrior joined #nim
13:47:37*clynamen joined #nim
13:48:26AraqxificurC_: wikipedia has an inferiority complex and sometimes randomly demands peer reviewed scientific standards
13:50:13coffeepotFor a programming language, I would think that github projects done by anyone who didn't write the language should count as proof that it exists. I wonder what other languages did that made them wikiworthy
13:51:01Araqwell my drdobb's article made the cover story, was reviewing by them and people tried out the examples
13:51:07Araq*reviewed
13:51:56Araqit's not about "proof that it exists" not even wikipedia doubts that
13:52:29Araqit's about an illdefined term "notability" that doesn't mean anything
13:52:41*pregressive joined #nim
13:53:25Araqand it's especially funny given that many people do want to read about Nim on wikipedia and complained about the lack of an article.
13:53:50Araqwikipedia is trying hard to piss off its own users
13:54:10AraqI guess its users are not "notable" or something
13:54:14coffeepothow does a language like rust get on there then? Has some academic written about it thereby making it somehow 'notable'?
13:54:28coffeepotit's very strange
13:55:54*askatasuna joined #nim
13:56:45xificurC_the first strange point is - why need any proof? Go to nim-lang.org and github and see that it exists, that should suffice to open an article
13:57:19xificurC_the second is discarding stuff by labeling them PRIMARY and other crap
13:57:39xificurC_if I open a blog and write about nim will it make it notable?
13:57:54dv-no
13:58:25AraqxificurC_: no, you have to publish it an journal
13:58:28xificurC_dv-: I wasn't suggesting that just to be clear, was just a rhetorical question
13:59:05xificurC_Araq: so unless a journal writes about nim, it's not worth wikipedia? Interesting
14:00:04dv-forbes or NYT would also be acceptable i guess
14:00:28xificurC_I remember once adding an anime series to a list of animes on wikipedia, linking to imdb.com and getting it deleted with 24h stating imdb doesn't count.
14:00:55xificurC_(even though 1/4th of the others in the list were linking to imdb)
14:01:17coffeepotwow
14:01:36dv-no one has ever deleted anything i've added to wikipedia
14:01:48Araqdv-: add Nim then please :-)
14:02:35dv-there's probably a cloud of deletionists around nim now
14:02:45dv-just waiting to strike
14:02:46xificurC_bureaucracy at its best if you ask me. It's as if since academics say 'a wikipedia article is not a good resource' the guys there are trying to make the pages and references count
14:07:18*saml joined #nim
14:08:36*clynamen quit (Ping timeout: 246 seconds)
14:13:39*clynamen joined #nim
14:14:36*notfowl quit (Changing host)
14:14:37*notfowl joined #nim
14:14:37*notfowl quit (Changing host)
14:14:37*notfowl joined #nim
14:15:44*milosn joined #nim
14:21:15HakanD__I'm pretty much sure if they applied the rules they applied to nim, to other software articles in wikipedia, half of them would need to be deleted
14:21:33HakanD__i'm hopeful the article will survive this round of debate tho
14:24:26*aboisvert quit (Quit: aboisvert)
14:36:12*aboisvert joined #nim
14:36:36*clynamen quit (Ping timeout: 246 seconds)
14:36:39SharchoI've developed the Colemak keyboard layout almost 10 years ago, it now comes by default on almost all operating systems (except Windows), and it's still not notable enough to have its own article.
14:37:26EXetoCoh. cool
14:39:44EXetoCgonna try it some time
14:39:47*gokr quit (Quit: Leaving.)
14:42:11*clynamen joined #nim
14:43:13notfowlHakanD__, someone listed a bunch of programming language articles without refs, most of them are gone now
14:43:47HakanD__notfowl: yea, i'm following the whole parody for weeks now, quite entertaining (:
14:49:03*clynamen left #nim ("WeeChat 1.1.1")
14:49:39HakanD__Sharcho: that's funny, it should be in the same bucket as dvorak
14:49:47HakanD__which has it's own page
14:52:36*Jesin quit (Ping timeout: 250 seconds)
14:56:47reactormonkHakanD__, probably because someone wrote a paper about it
15:09:24*aboisvert_ joined #nim
15:12:04*aboisvert quit (Ping timeout: 272 seconds)
15:12:04*aboisvert_ is now known as aboisvert
15:18:06*HakanD__ quit (Quit: Be back later ...)
15:21:28EXetoCnotfowl: where's fowl?
15:29:21*aboisvert quit (Ping timeout: 264 seconds)
15:30:33*clarior joined #nim
15:33:28*ChrisMAN joined #nim
15:53:06*gokr joined #nim
15:54:10*aboisvert joined #nim
15:59:44*aboisvert quit (Quit: aboisvert)
16:06:32*aboisvert joined #nim
16:11:00*coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
16:21:26*darkf quit (Quit: Leaving)
16:26:16*yglukhov________ quit (Quit: Be back later ...)
16:30:50*aboisvert quit (Read error: Connection reset by peer)
16:38:15*banister joined #nim
16:38:21*banister quit (Max SendQ exceeded)
16:38:50*that_new_guy joined #nim
16:39:55*itPuffinB quit (Ping timeout: 244 seconds)
16:41:37that_new_guyHi! Somehow I can't compile anything anymore. A simple 'print("asd")' ends up with an error message. (File not found) I'm on Windows 7. How can that be? I compile with the following command line: "nim c $file"
16:47:04*banister joined #nim
16:55:38*cyraxjoe quit (Quit: No Ping reply in 180 seconds.)
16:55:59*MightyJoe joined #nim
16:59:47dom96that_new_guy: did you update Nim?
17:02:10that_new_guydom96: No, I just reinstalled my Windows and so Nim.
17:02:33dom96which version of Nim are you using?
17:02:43*brson joined #nim
17:02:55*OnwardEuler joined #nim
17:03:23that_new_guy0,10,2
17:04:17that_new_guydom96: I tried both, 32 and 64bit.
17:04:25*EulersNoodle quit (Ping timeout: 256 seconds)
17:04:58dom96well, first of all it's "echo("asd")" in Nim
17:05:04dom96have you added Nim to your PATH?
17:05:31*clarior left #nim (#nim)
17:07:04that_new_guydom96: yes. it actually compiles one file to c. oh. wait.
17:07:33*Sembei quit (Ping timeout: 250 seconds)
17:10:25*filcuc joined #nim
17:10:31that_new_guydom96: okay. i forgot to add gcc to path. but now i get errors bacause my of one folder is calles "coding and stuff". it can't handel the spaces. do you know how to fix that?
17:20:14*that_new_guy_ joined #nim
17:21:16*that_new_guy quit (Ping timeout: 246 seconds)
17:24:16*pregressive quit ()
17:24:43*MightyJoe is now known as cyraxjoe
17:29:15*banister quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
17:29:49*filcuc quit (Ping timeout: 245 seconds)
17:31:48*woadwarrior quit (Quit: quit)
17:32:16*filcuc joined #nim
17:33:36*gsingh93 joined #nim
17:42:53Araqdef-: so what type should 'raise foo' have in your opinion?
17:43:46Araqthat_new_guy_: don't use spaces. the bug is gone in devel
17:45:24*banister joined #nim
17:46:10*Matthias247 joined #nim
17:47:02def-Araq: any?
17:47:36*pregressive joined #nim
17:47:38Araqdef-: I might try that
17:48:43def-Araq: nice. Also, I have something to release, will 0.10.4 be out soon?
17:49:08BlaXpirit_(0.11.0 pls)
17:49:33Araqdef-: dom96 is blocking the release
17:50:24*gokr quit (Quit: Leaving.)
17:50:43BlaXpirit_sounds way more evil than it probably is
17:53:51AraqBlaXpirit_: also no, it'll be 0.10.4
17:54:10that_new_guy_Araq: Okay. Thank you. You're the initiator of this project, aren't you? If yes: Thank you for this great project!
17:54:21Araqthanks
17:54:34BlaXpirit_that's wrong, whatever
17:55:11AraqBlaXpirit_: it's not wrong according to the semantic versioning vision manifesto declaration of independence constitution
17:55:17BlaXpirit_wut
17:55:18BlaXpirit_it breaks like half of code
17:55:37Araqit doesn't matter because *0*.xx.xx
17:55:51*mpthrapp quit (Read error: Connection reset by peer)
17:55:54dom96BlaXpirit_: http://semver.org/ no. 4
17:56:21BlaXpirit_so?
17:56:57BlaXpirit_Patch version Z (x.y.Z | x > 0) MUST be incremented if only backwards compatible bug fixes are introduced. A bug fix is defined as an internal change that fixes incorrect behavior.
17:57:02BlaXpirit_that still stands
17:57:14BlaXpirit_no 4 doesn't say anything to override it
17:57:30Araqall the breaking changes were bugfixes :P
17:57:41dom96doesn't that only apply to 'x > 0' ?
17:57:47BlaXpirit_no
17:58:07dom96then what does '... (x.y.Z | x > 0) ...' mean?
17:58:18BlaXpirit_means the same thing
17:58:26dom96as?
17:58:40Araq"the versions x.y.Z for which x > 0 holds"
17:58:45*mpthrapp joined #nim
17:58:48*ingsoc quit (Quit: Leaving.)
17:58:53Araqso ... dom96 is right
17:58:53BlaXpirit_x.y.Z x > 0 and x < 0 is the same
17:59:07Araqwe're allowed to do what we want
17:59:10BlaXpirit_woops by < 0 i mean == 0
17:59:17BlaXpirit_sure, do what you want, but it's definitely wrong
18:00:35Araqx > 0 is not x == 0
18:00:37BlaXpirit_umm yes, i was wrong actually
18:00:56BlaXpirit_yeah, pretty sure it doesn't strictly violate that document
18:01:01BlaXpirit_but it's still ridiculous
18:02:15*mal`` quit (Ping timeout: 276 seconds)
18:02:18dom96Araq: I'll make you a deal. I'll agree to go with def-'s unsafe version for the release as long as you *promise* me that you will restore my patch immediately after release and do everything you can to fix the M&S crash.
18:02:59Araqok. deal.
18:03:56dom96Good
18:04:10*mal`` joined #nim
18:11:44*Arrrrrrr joined #nim
18:13:37*filcuc quit (Ping timeout: 264 seconds)
18:14:45Araqanybody else with an opinion on what the version number should look like?
18:15:49BlaXpirit_semver also says "The simplest thing to do is start your initial development release at 0.1.0 and then increment the minor version for each subsequent release."
18:16:29AraqNim predates semver
18:17:24BlaXpirit_does it predate common sense?
18:17:24*xcombelle joined #nim
18:19:05Arrrrrrr0.10.4
18:20:06BlaXpirit_no idea what could've prompted 9->10 then
18:20:15BlaXpirit_pretty sure it broke much less code
18:21:07BlaXpirit_same could be said if it is judged by how "big" the release is
18:22:33*Trustable joined #nim
18:24:00notfowlAraq, can i use the plugin thing to forward procs from os?
18:24:50Araqnotfowl: "to forward" procs?
18:25:32notfowlto make them available at compile time
18:26:16AraqBlaXpirit_: 9 -> 10 was the language name change plus the partial case sensitivity thing. that broke every project out there, I think. don't overestimate the foo[0.. -1] breakage
18:26:39BlaXpirit_oh of course, sorry
18:27:20Araqnotfowl: that's done differently, via vmops.nim
18:28:00Araqnotfowl: that already provides getEnv, fileExists, writeFile etc. have a look
18:29:16ArrrrrrrNim should use its own semantic versioning based off the bible, like MajorChar,MajorEvent,MinorEvent. Por example: KingDavid.Deluge.SnakeTemps
18:29:29BlaXpirit_k
18:30:14AraqArrrrrrr: we should name the releases after silly animals instead.
18:30:37Araqor maybe we should add +100 and call it a browser
18:31:42VarriountLoneTech: If you're willing to do bit-twiddling, you might be able to write a compile-time proc that munges the string literal into an array literal
18:31:47*yglukhov________ joined #nim
18:32:07VarriountAlthough, the VM still can't cast (or has that been fixed?)
18:32:42AraqVarriount: that doesn't require 'cast' at all.
18:36:56*HakanD_m joined #nim
18:39:23AraqVarriount: 0.11.0 or 0.10.4 ?
18:40:38*HakanD_m quit (Client Quit)
18:40:57ArrrrrrrWill stuff from future be included in the next release?
18:41:08VarriountHm. With the negative indice change, I'd prefer 0.11.4
18:41:25Araq0.11.4 ?
18:41:33Araqcause breaking changes + bugfixes?
18:41:36VarriountOh, I mean, 0.11.0
18:41:45Araqok
18:41:46VarriountDo we have a versioning scheme in place?
18:41:56Araqwe use semver
18:42:53*HakanD_m joined #nim
18:45:24HakanD_mRC1 :p
18:46:26VarriountHakanD_m: I don't think Nim's so widely used as to warrent release candidates
18:47:04Araqlook at my todo to see what's missing for RC1.
18:47:14AraqVarriount: we'll have release candidates before 1.0.
18:47:22HakanD_mYea saw them
18:48:03HakanD_mFWIW, 10.4 makes more sense to me, not so much new features?
18:48:40ArrrrrrrYou could argue the negative indices thing was a fix in fact.
18:48:52Araqweb/news.txt disagrees with you, HakanD_m
18:49:43HakanD_mHrm
18:54:20dom960.11.0
18:54:27dom96we haven't had a release in a while
18:55:28*OnwardEuler quit (Ping timeout: 255 seconds)
18:56:32*shodan45 joined #nim
18:58:52*HakanD_m quit (Quit: HakanD_m)
18:59:45Araqmeh fine. 0.11.0 then
19:01:25*gokr joined #nim
19:02:03*gokr quit (Remote host closed the connection)
19:03:11*banister quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
19:03:15*notostraca joined #nim
19:03:37Araqhi notostraca welcome
19:04:16notostracaoh this is TEttinger, not sure why my nick didn't change
19:04:20*notostraca is now known as TEttinger
19:05:00TEttingerthanks though!
19:15:11*gokr joined #nim
19:18:32*filcuc joined #nim
19:19:49*notfowl is now known as fowl
19:29:40*pafmaf joined #nim
19:37:25*HakanD__ joined #nim
19:37:37*xcombelle quit (Quit: Leaving)
19:39:21*Arrrrrrr quit (Quit: Page closed)
19:48:18*that_new_guy_ is now known as Leru
19:48:45*banister joined #nim
19:48:49*banister quit (Max SendQ exceeded)
19:49:50*leru_ joined #nim
19:49:56*Leru quit (Quit: Page closed)
19:50:07*leru_ is now known as Leru
19:53:06*flaviu joined #nim
19:53:06flavium
19:53:17flaviusorry, focus randomly jumped.
19:57:04Araqflaviu: 0.10.4 or 0.11.0?
19:58:46flaviu0.11.0, but I use devel so it doesn't matter too much.
19:59:07*pregressive quit (Remote host closed the connection)
19:59:24*pregressive joined #nim
19:59:45*OnwardEuler joined #nim
20:01:01flaviuKingsquee: Hopefully I've fixed that confusion, thanks for pointing it out.
20:08:01*brson quit (Ping timeout: 256 seconds)
20:13:37*OnwardEuler quit (Ping timeout: 264 seconds)
20:16:25*vendethiel quit (Quit: q+)
20:20:31*pafmaf quit (Quit: Verlassend)
20:29:57*brson joined #nim
20:40:02*ehaliewicz joined #nim
20:43:44*banister joined #nim
21:03:56*gsingh93 quit (Ping timeout: 244 seconds)
21:11:45*vendethiel joined #nim
21:12:11*mpthrapp quit (Remote host closed the connection)
21:27:20*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
21:32:15*yglukhov________ quit (Quit: Be back later ...)
21:34:38*HakanD__ quit (Quit: Be back later ...)
21:35:04*Kingsquee joined #nim
21:35:13*HakanD__ joined #nim
21:36:50*TEttinger quit (Ping timeout: 256 seconds)
21:39:30*HakanD__ quit (Ping timeout: 250 seconds)
21:49:01*filcuc quit (Quit: Konversation terminated!)
21:53:19*pregressive quit (Remote host closed the connection)
21:59:23*askatasuna quit (Quit: WeeChat 1.1.1)
22:01:22*Jesin joined #nim
22:08:00*Trustable quit (Ping timeout: 256 seconds)
22:09:28*Trustable joined #nim
22:14:47*vendethiel quit (Ping timeout: 250 seconds)
22:16:11AraqTrustable: any progress on your UI stuff?
22:19:28*Leru quit (Ping timeout: 246 seconds)
22:19:35Trustableoh, hi Araq, I looked at claro, I plan to take over the basic structure of it
22:19:49Araqnice
22:20:13Trustablemaybe name the repo "nim-claro"
22:20:49Araqnui # nim UI or 'new UI'
22:20:57Araqmaybe too short
22:21:20Trustablethe old claro is dead and I think it's a fine name, so we could reuse the name
22:21:41Araqyeah but people start to dislike the nim- prefix
22:22:12Trustablewhy?
22:22:23*vendethiel joined #nim
22:22:32Araqnot creative enough
22:23:50ldleworklol
22:24:05Araq"claron"
22:24:39ldleworkI like nui
22:24:47ldlework'new eye'
22:24:52Araqor "clarone" cause it's a clone in Nim
22:26:07TrustableI think "clarone" would be fine too. actually I don't care about the name so much :D
22:26:17Araqoh but you should
22:26:46Araqit's most important that it doesn't happen to mean "idiot" in some language
22:27:02Trustabletrue
22:27:02flaviuLooks like I forgot to get around to making https://github.com/flaviut/nimrun public.
22:27:04*mahlon quit (Quit: nine foot long outhouse ladle)
22:27:08flaviuWell, it's public now.
22:28:20*BlaXpirit_ quit (Quit: Quit Konversation)
22:29:30TrustableAraq, why did you decide to make all module names lower case and without underscores? (e.g. why not async_http_server )
22:29:54ldleworkAraq: thanks for making all module names lowercase
22:29:57AraqTrustable: dom96 named it this way
22:30:05Araqldlework: he he he
22:31:10Trustableoh, it's not fully consistent: sdl_gfx, joyent_http_parser, argument_parser
22:32:04ldleworkI do like lower_case...
22:32:47TrustableXPLM-Nim :D
22:35:46Trustablebut it's only the name of the repo, the module name "xplm"
22:37:37AraqTrustable: well you know my stance on this subject: it shouldn't matter and it's foolish that it does
22:38:32Trustablewhat about "claroui" as ui lib name?
22:40:58Araqpick nui or clarone please. don't come up with your own name for your own project.
22:45:17TrustableAraq, I'm with you, an "own project" is not my plan, but please give a reason pro/con a name
22:45:47AraqI'm kidding. use claroui if you like it
22:46:01*vendethiel quit (Ping timeout: 264 seconds)
22:46:05Araqthough that's missing an 'e'
22:46:07*wb quit (Ping timeout: 256 seconds)
22:47:03*wb joined #nim
22:51:00*vendethiel joined #nim
22:53:32Trustablebye, have a good night
22:53:50*Trustable quit (Quit: Leaving)
22:57:01*pregressive joined #nim
23:04:50*adu joined #nim
23:05:16*Matthias247 quit (Read error: Connection reset by peer)
23:05:32*Senketsu joined #nim
23:27:23*phira left #nim ("aarrgh")
23:36:34*vendethiel quit (Ping timeout: 264 seconds)
23:51:01*flaviu quit (Remote host closed the connection)
23:57:53*jholland joined #nim