<< 08-06-2015 >>

00:08:06*banister joined #nim
00:26:18*vikaton quit ()
00:28:01*TynoX joined #nim
00:28:31*TynoX left #nim (#nim)
00:32:53*pregressive quit (Remote host closed the connection)
00:33:23*dddddd quit (Ping timeout: 250 seconds)
00:38:34*BitPuffin quit (Ping timeout: 245 seconds)
00:39:12*vikaton joined #nim
00:40:11*fioco joined #nim
00:44:28*ddl_smurf quit (Quit: ddl_smurf)
00:48:14*fioco quit (Ping timeout: 256 seconds)
00:51:32*datanoise quit (Ping timeout: 272 seconds)
00:53:22*dom96_ quit (Quit: Page closed)
00:59:15*Quikli quit (Quit: Page closed)
01:00:07*boop is now known as boopisaway
01:31:16*datanoise joined #nim
01:33:51*fioco joined #nim
01:33:51*fioco quit (Changing host)
01:33:51*fioco joined #nim
01:48:21*wan quit (Ping timeout: 250 seconds)
01:53:16*fioco quit (Remote host closed the connection)
02:01:07*ozra quit (Ping timeout: 246 seconds)
02:01:50*wan joined #nim
02:04:29*fioco joined #nim
02:07:47*pregressive joined #nim
02:16:59*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
02:20:56*BitPuffin|osx quit (Ping timeout: 276 seconds)
02:26:18*fioco left #nim ("See my work at lukethetechman.wordpress.com")
02:27:52Varriountonionhammer: I swear, before the year is out I'm going to end up redoing the settings mechanisms in NimLime more times than is healthy.
02:29:28*HOLYCOWBATMAN quit (Ping timeout: 246 seconds)
02:29:49*buttplug quit (Ping timeout: 246 seconds)
02:30:08*bjz joined #nim
02:32:23*bjz quit (Read error: Connection reset by peer)
02:53:08cmk_zzzAny plans to implement the full rst specification? Lots of directives are missing
02:53:55*pregressive quit (Remote host closed the connection)
02:53:58Varriountcmk_zzz: We wouldn't be averse to pull requests :D
02:54:58Varriountcmk_zzz: The main focus right now is the compiler. The standard library is largely supported by non-core developers.
02:56:37Varriountcmk_zzz: You can add an issue if you want - dom96 and I usually try to do some improvement to the stdlib when we can, however I'm tied up with fixing NimLime, and dom96 is busy with Nimble.
02:56:38cmk_zzzVarriount: Understood and that makes sense.
02:57:21cmk_zzzVarriount: I'll play around with it a little bit to see if I can make some changes. It is mostly the image and admonition directives I need at this stage
02:57:51Varriountcmk_zzz: Neat! If you any help understanding anything, I can help.
02:58:23cmk_zzzVarriount: thanks
03:12:10*dddddd joined #nim
03:13:05*TEttinger joined #nim
03:16:10*strcmp1 quit (Quit: Leaving)
03:19:02*darkf joined #nim
03:27:41*dtscode quit (*.net *.split)
03:27:42*jj2baile quit (*.net *.split)
03:27:43*mahlon quit (*.net *.split)
03:27:48*jj2baile joined #nim
03:27:52*thotypous quit (*.net *.split)
03:27:53*max1 quit (*.net *.split)
03:27:53*wedowmaker quit (*.net *.split)
03:27:54*Gordin quit (*.net *.split)
03:27:54*so quit (*.net *.split)
03:28:07*max1 joined #nim
03:28:19*Gordin joined #nim
03:28:20*dtscode joined #nim
03:28:23*thotypous joined #nim
03:29:21*mahlon joined #nim
03:55:47*askatasuna joined #nim
03:56:26*johnsoft quit (Ping timeout: 246 seconds)
03:57:47*askatasuna quit (Client Quit)
03:58:18*fioco joined #nim
03:58:55fiocoWhat should I use for a nim GUI program?
03:59:35fiocoI'm currently using sdl
04:05:43*datanoise quit (Ping timeout: 250 seconds)
04:09:28*datanoise joined #nim
04:16:48*strcmp1 joined #nim
04:23:28*fioco_ joined #nim
04:23:52*fioco_ left #nim (#nim)
04:24:55*fioco__ joined #nim
04:26:50*fioco quit (Ping timeout: 265 seconds)
04:36:38*dtscode quit (Quit: ZNC - 1.6.0 - http://znc.in)
04:36:48*dtscode joined #nim
04:54:05*fioco__ left #nim ("See my work at lukethetechman.wordpress.com")
05:16:58*fioco__ joined #nim
05:17:08fioco__Is there a nim interpreter?
05:17:28Xeyes
05:17:34Xebut you probably don't need one
05:17:44fioco__Yes I do
05:17:48fioco__Link?
05:20:36fioco__Xe? And thanks for the info
05:20:49Xenimble install nrpl
05:22:52fioco__That's not an interpreter
05:23:37fioco__It uses the nim compiler in a tmp dir
05:24:14fioco__Cool, but not my need
05:39:28*fioco__ left #nim ("See my work at lukethetechman.wordpress.com")
05:59:48*ddl_smurf joined #nim
06:04:31*darkf_ joined #nim
06:04:58*darkf quit (Disconnected by services)
06:05:00*darkf_ is now known as darkf
06:12:55*gokr_ joined #nim
06:16:57*yglukhov________ joined #nim
06:16:57*yglukhov________ quit (Remote host closed the connection)
06:17:29*yglukhov________ joined #nim
06:24:13*nande quit (Remote host closed the connection)
06:34:54*jibal quit ()
06:35:45*datanoise quit (Ping timeout: 256 seconds)
06:59:34*bjz joined #nim
07:03:04*gokr joined #nim
07:17:03*Trustable joined #nim
07:32:31*datanoise joined #nim
07:42:39*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
07:45:48*Ven joined #nim
08:02:02*ddl_smurf quit (Quit: ddl_smurf)
08:07:54*coffeepot joined #nim
08:13:28*Arrrr joined #nim
08:19:40*Kingsquee quit (Quit: Konversation terminated!)
08:37:56*datanoise quit (Ping timeout: 258 seconds)
08:51:39*milosn quit (Quit: leaving)
09:24:22*Varriount_ joined #nim
09:27:23*Varriount quit (Ping timeout: 258 seconds)
09:27:35*johnsoft joined #nim
09:32:57*drewsrem joined #nim
09:48:23*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
09:59:12*banister quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:06:07*meldron joined #nim
10:08:41*Varriount_ is now known as Varriount
10:10:17*OnO joined #nim
10:11:25*gokr quit (Quit: Leaving.)
10:12:13*TEttinger quit (Ping timeout: 256 seconds)
10:22:59r-kunimsuggest nimble package updated few days ago. so.. is nimsuggest supposed to be compiled from compiler tree or installed via package now?
10:23:32pigmejr-ku: afair still from compiler
10:24:13r-kuhmm.. i wonder what package is for then. maybe know what they are doing with that package there?
10:25:24*boopisaway is now known as boop
10:25:25pigmejr-ku: afair it will be separate 'soon'
10:25:41pigmejdom96: what's the status of nimsuggest as nimble package ?
10:25:43r-kuokie good to know, thanks
10:27:06*Ven joined #nim
10:27:47dtscodedom96 is long asleep
10:28:17*ddl_smurf joined #nim
10:28:45*akiradeveloper joined #nim
10:28:57*akiradeveloper quit (Client Quit)
10:35:12*OnO quit (Quit: Textual IRC Client: www.textualapp.com)
10:36:17*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:36:37*ddl_smurf quit (Quit: ddl_smurf)
10:36:57*OnO_ joined #nim
10:37:09*OnO_ is now known as OnO
10:39:38*gokr joined #nim
10:42:31*dddddd_ joined #nim
10:42:44*ddl_smurf joined #nim
10:43:03*ddl_smurf quit (Client Quit)
10:44:28*ddl_smurf joined #nim
10:44:33*OnO quit (Quit: ZNC - 1.6.0 - http://znc.in)
10:45:17*ddl_smurf quit (Client Quit)
10:45:29*datanoise joined #nim
10:45:30*OnO joined #nim
10:56:27*banister joined #nim
10:58:44*ddl_smurf joined #nim
11:03:59*Arrrr quit (Ping timeout: 245 seconds)
11:05:04*Arrrr joined #nim
11:05:24*ddl_smurf quit (Quit: ddl_smurf)
11:12:38*gokr quit (Ping timeout: 276 seconds)
11:13:55*Ven joined #nim
11:34:52*bjz joined #nim
11:36:25*woadwarrior joined #nim
11:36:49*banister quit (Quit: Textual IRC Client: www.textualapp.com)
11:36:56*woadwarrior quit (Client Quit)
11:37:09*woadwarrior joined #nim
11:37:39*bjz quit (Client Quit)
12:09:25*johnsoft quit (Ping timeout: 264 seconds)
12:10:10*johnsoft joined #nim
12:24:00*gokr_ quit (Read error: Connection reset by peer)
12:24:40*BitPuffin joined #nim
12:25:28*ddl_smurf joined #nim
12:35:02*dddddd quit (Disconnected by services)
12:35:25*dddddd_ is now known as dddddd
12:39:02ddddddIn the backlog, someone said """[...]"getting rid" of methods""". Is a feature of the lang to be removed or am I missing context?
12:39:52*gokr_ joined #nim
12:40:11*davidhq joined #nim
12:40:42ddddddIf it's something to be removed... is there a link to the rationale?
12:42:32vikatonwhat is """[...]"getting rid" of methods""".
12:43:57r-kuanyone care to review? https://github.com/Araq/Nim/compare/devel...r-ku:I64-magics-gone?expand=1
12:45:14ddddddvikaton, a quote of the log of the channel.
12:45:54*fioco joined #nim
12:49:13*fioco quit (Remote host closed the connection)
12:49:47*fioco joined #nim
12:52:00*BitPuffin quit (Ping timeout: 265 seconds)
12:52:58*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:53:47*fioco quit (Remote host closed the connection)
12:56:04ddddddReading back a little more at http://irclogs.nim-lang.org/07-06-2015.html
12:56:43*fioco joined #nim
12:56:44*fioco left #nim (#nim)
13:01:34*JinShil joined #nim
13:03:29*milosn joined #nim
13:04:36*fioco joined #nim
13:04:49*fioco left #nim (#nim)
13:05:38*MyMind joined #nim
13:07:02*Sembei quit (Ping timeout: 258 seconds)
13:24:51*postulance is now known as cocasmanur
13:26:33*Siecje joined #nim
13:28:11*milosn quit (Ping timeout: 250 seconds)
13:30:44*milosn joined #nim
13:30:45*gokr_ quit (Read error: Connection reset by peer)
13:33:39*Ven joined #nim
13:50:01*JinShil quit (Quit: Konversation terminated!)
14:03:48*jm116__ joined #nim
14:04:33*jm116__ quit (Changing host)
14:04:33*jm116__ joined #nim
14:08:07*saml joined #nim
14:15:52*woadwarrior quit (Ping timeout: 272 seconds)
14:19:53*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:31:35*pregressive joined #nim
14:38:52*dddddddd joined #nim
14:39:24*coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
14:39:29*coffeepot- joined #nim
14:45:20*Ven joined #nim
14:45:23reactormonkr-ku, open a PR if you want a review
14:46:08r-kui figured maybe its too big of a mess not worthy PR maybe i can avoid all that shame heh
14:48:15*BitPuffin joined #nim
14:58:20r-kuwell be nice if i could run tests on my modifications. but so far running "./koch tests" results in "tests/testament/tester.nim(15, 22) Error: cannot open 'compiler/nodejs'". however i do run it from checked out repo root. and it even happens with devel branch (no custom modifications). is it broken or something changed? P.S. that file exists and permissions are fine.
15:08:51*kumul joined #nim
15:09:17*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
15:09:38*vikaton quit (Quit: Connection closed for inactivity)
15:10:01*woadwarrior joined #nim
15:14:55*darkf quit (Quit: Leaving)
15:25:56*woadwarrior quit (Quit: My Mac has gone to sleep. ZZZzzz…)
15:31:27reactormonkr-ku, gotta jump into cold water from time to time
15:45:05*Ven joined #nim
15:46:02*brson joined #nim
15:50:45*kutunluu joined #nim
15:51:17*kutunluu left #nim (#nim)
15:51:22*kutunluu joined #nim
15:51:23*woadwarrior joined #nim
15:52:04*kutunluu left #nim (#nim)
15:52:14*vikaton joined #nim
15:56:16*woadwarrior quit (Client Quit)
15:57:16*coffeepot- quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
16:01:21*ingsoc quit (Read error: Connection reset by peer)
16:03:15*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:10:45*Ven joined #nim
16:23:34*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:24:54*kumul quit (Ping timeout: 244 seconds)
16:28:19*jefus_ joined #nim
16:29:05*jefus_ quit (Client Quit)
16:32:14*banister joined #nim
16:32:16*banister quit (Max SendQ exceeded)
16:34:37*kumul joined #nim
16:35:53*woadwarrior joined #nim
16:41:44*banister joined #nim
16:42:09*woadwarrior quit (Quit: My Mac has gone to sleep. ZZZzzz…)
16:51:47*vikaton quit ()
16:59:25*Ven joined #nim
17:00:08*ingsoc joined #nim
17:00:18*Siecje quit (Read error: Connection reset by peer)
17:03:32*notfowl quit (Excess Flood)
17:04:20*notfowl joined #nim
17:07:00*drewsrem quit (Quit: Leaving)
17:07:31*BitPuffin quit (Ping timeout: 264 seconds)
17:15:01*xcombelle joined #nim
17:23:08*yglukhov________ quit (Ping timeout: 276 seconds)
17:33:38*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
17:41:56*Ven joined #nim
17:53:16*Matthias247 joined #nim
17:55:12*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
17:58:09*yglukhov________ joined #nim
18:02:03*Siecje joined #nim
18:08:59reactormonkHow would you implement math with units, e.g. 20km/s*1h?
18:10:19*skyfex_ quit (Quit: (null))
18:11:04*skyfex_ joined #nim
18:16:10dddddddddistinct type aliases
18:17:28ddddddddtype Km = distinct int or float whatever
18:20:23*Kelet joined #nim
18:22:50reactormonkdddddddd, hm. and the conversions?
18:25:18ddddddddits all about what you want imo, proc `*`(x: km_per_sec, y: hour): km = etc
18:25:33ddddddddand you can set converters from hours to seconds etc if you feel like it
18:26:19reactormonkdoesn't really scale though
18:26:48ddddddddyou can make it more general
18:27:21ddddddddmake it time * speed
18:27:27ddddddddinstead of specific
18:27:48ddddddddthen set up converter for km -> miles m -> km
18:27:58ddddddddmacro it if you want to
18:28:40ddddddddtime * speed = distance etc
18:28:55ddddddddat least thats how i would do it to catch everything at compile time
18:29:12ddddddddotherwise just dont make it distinct and hope you dont scew up
18:29:37ddddddddthats how the nasa destroyed some satellite
18:30:42ddddddddhttp://en.wikipedia.org/wiki/Mars_Climate_Orbiter#Cause_of_failure
18:32:07reactormonkdddddddd, exactly why ;-)
18:32:37reactormonkbut I'll have to think of something...
18:32:39ddddddddyou could setup your speed as object = distance: x, time: x
18:32:54ddddddddthat way you can keep your distance per time separate
18:33:09ddddddddand not have all the specif convertion between speeds etc
18:34:17ddddddddim pretty sure with something like that and macros it would not be that hard to do, and just scrape some wikipedia for all the type convertion or something
18:38:04*fioco joined #nim
18:38:18fiocoDoes anyone want to help me build a nim interpreter?
18:39:17*gokr_ joined #nim
18:39:31*banister quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
18:42:21Arrrrfioco i think gokr_ was doing that
18:42:57fiocoI found a c interpreter
18:43:02reactormonkfioco, so you want to run nim code in the nimvm?
18:43:14fiocoArrrr thanks
18:43:29fiocoReactor monk: not exactly
18:43:30reactormonkfioco, I mean nim i gives you something similar, but it's kinda unsupported
18:43:36reactormonkfioco, usecase?
18:43:52reactormonkfioco, oh, and tab should auto-complete my nick in almost any irc client
18:43:53fiocoI want to run nim in another program
18:44:02fiocoI'll handle the input output redirect
18:44:16fiocoBut i at least need a nim to c source
18:44:27fiocoI'm looking at the official compiler now
18:44:47gokr_doing what?
18:45:06fiocoBuilding a nim interpreter
18:45:42reactormonkfioco, if you want the C source, that's easy
18:45:48gokr_No, i am building another lang, but in Nim
18:45:57fiocoOk
18:46:05reactormonk -c, --compileOnly compile only; do not assemble or link
18:46:15gokr_Nim does have a VM though
18:46:20reactormonkgokr_, not interested apparently
18:46:22fiocoReactormonk I found cling which runs stdc++11
18:46:38fiocoI need to embed it in another window
18:46:56reactormonkso just run the nim compiler without invoking the gcc
18:47:15fiocoI could port the VM i guess if it doesn't require compilation
18:47:21fiocoReactormonk can't
18:47:25gokr_reactormonk: ?
18:47:40reactormonkgokr_, read backlog
18:47:46fiocoI need independency
18:47:52fioco*independence
18:47:56reactormonkdescribe your use case a bit more
18:48:09fiocoI'm building something called nimlet
18:48:13*gokr_ on phone
18:48:15fiocoIt's a browser
18:48:29fiocoBut it supports nim code
18:48:47fioco<nim> echo "Hi" </nim>
18:48:53fiocoThat outputs hi
18:49:04fiocoOn screen,with the other html
18:49:14*Kelet quit (Quit: Page closed)
18:49:17pigmejreactormonk: ohey
18:49:20pigmejhey*
18:49:32pigmejdo we know something more than yesterday about sug/con ?
18:49:35fiocoBut I'm not going to make a newbie user run a compiler instalation And browser
18:49:39fiocoTo complex
18:50:07*banister joined #nim
18:50:18reactormonkpigmej, nope, tried to get nginx running instead
18:50:23reactormonkand now it's time to cook :-)
18:50:28pigmejnginx with nim ?
18:50:49reactormonknah, contract work
18:51:17*fioco quit (Remote host closed the connection)
18:51:35*fioco joined #nim
18:51:52fiocoSorry. Client crashed
18:51:55reactormonkfioco, so you basically want a nim editor in the browser with running code?
18:52:03fiocoNo
18:52:24fiocoI'm building a browser that executes server served nim code
18:52:33reactormonkpigmej, I would really just go with checking for parens or comma beforehand.
18:52:35fiocoSo I'll take say x.com
18:52:45reactormonkso like flash?
18:52:50fiocoIt has a <nim> tag
18:52:58fiocoIt executes all code there
18:53:04fiocoReactormonk but better
18:53:22fiocoIt will support a modified stdlib
18:53:27fiocoI'll sandbox it
18:53:32reactormonk<script language="nim" src="url"> ?
18:53:42fiocoTry <nim>
18:53:47fioco(For now)
18:53:56fiocoI plan on adding to that later
18:54:00reactormonkYou could also compiler it to js, there's nim js
18:54:09reactormonk... the compiler compiles to JS natively
18:54:22fiocoDoes nim js support sockets?
18:54:27*vendethiel joined #nim
18:54:27reactormonkyou can make it
18:54:29fiocoFile ops?
18:54:38fiocoTo much work :p
18:54:40reactormonkFFI works just like with C.
18:54:47reactormonkYour stuff sounds like a lot of work.
18:54:58fiocoMore work to hack js
18:55:08reactormonkNo need to hack js, it's all nim code
18:55:55fiocoI would need to add libs
18:56:00fiocoHack is the wrong word
18:56:25reactormonknot a problem either
18:56:42fiocoI'm better with nim then js
18:56:51*filcuc joined #nim
18:56:58fiocoAlso That ^^
18:57:57reactormonktry the nim js part first and see how well it works for you.
18:58:09fiocoAnd I'm trying to do something new
18:58:19fiocoAdding a js lib has been some
18:58:22fioco*done
18:58:31fiocoI want to do something big
18:58:38fiocoBut i might
18:58:43fiocoThanks for the tip
19:00:04reactormonkeverything big starts with small steps :-)
19:01:57fiocoYep
19:04:27*kumul quit (Ping timeout: 250 seconds)
19:06:41*fioco_ joined #nim
19:06:49*fioco quit (Remote host closed the connection)
19:06:52*synthmeat joined #nim
19:10:53*xificurC quit (Remote host closed the connection)
19:11:20*xificurC joined #nim
19:15:33*BitPuffin|osx joined #nim
19:17:12*fioco_ quit (Ping timeout: 256 seconds)
19:19:52*datanois1 joined #nim
19:20:34*datanoise quit (Ping timeout: 244 seconds)
19:26:36*anthgur joined #nim
19:29:23*fioco joined #nim
19:30:15fiocoIs there an option to specify the output in the nim compiler?
19:37:22fiocoNvm found it
19:44:44*anthgur quit (Quit: My Mac has gone to sleep. ZZZzzz…)
19:45:55*Arrrr quit (Ping timeout: 264 seconds)
19:47:04*anthgur joined #nim
19:47:30*bakeymemnet joined #nim
19:48:29*bakeymemnet left #nim (#nim)
19:54:49*Etheco joined #nim
19:58:19*kumul joined #nim
19:59:28*Jehan` joined #nim
20:03:10*gokr_ quit (Read error: Connection reset by peer)
20:05:27*anthgur quit (Quit: My Mac has gone to sleep. ZZZzzz…)
20:05:40*anthgur joined #nim
20:05:40*anthgur quit (Client Quit)
20:08:06*jaco60 quit (Remote host closed the connection)
20:13:09ddddddddwow swift is being opensourced
20:13:24dtscodeIt is? yay
20:14:41Jehan`dtscode: Yup. :)
20:14:54Jehan`That said, initially they'll only support OS X, iOS, and Linux.
20:15:00*fioco quit (Ping timeout: 256 seconds)
20:15:30Jehan`Which is not surprising; Apple is in the business of selling hardware.
20:16:28Jehan`So, they're giving you a language that allows you to write code for their hardware and also for any server-side Linux code that you may need.
20:17:09dtscodeIf they open source it I can just port it to any arch I want :D
20:17:11Jehan`I do expect that someone will eventually write a Windows adaptation and get things to compile on *BSD, too.
20:17:24*dalarmmst joined #nim
20:17:28Jehan`dtscode: Which may be not as trivial as you think, especially once you talk about the libraries.
20:17:43dtscodeof course its not trivial :p
20:21:43dom96The new cool programming language space is getting rather tight...
20:22:02Jehan`dom96: Heh. :)
20:22:43Jehan`The thing is, all of them have their up- and downsides.
20:22:53*xcombelle quit (Ping timeout: 258 seconds)
20:23:22Jehan`Also don't forget old languages that just haven't seen much adaptation yet but have matured nicely (e.g. OCaml).
20:23:40*shodan45 joined #nim
20:23:51Jehan`I'm honestly baffled by how much OCaml has been ignored for the past couple of decades.
20:23:53*shodan45 quit (Client Quit)
20:24:33dom96Guess I should give it a try.
20:24:34Jehan`Back in the late 90s/early aughts it was one of the very few options you had if you wanted to write high-level code with good performance.
20:25:59*Siecje quit (Quit: Leaving.)
20:26:10Jehan`dom96: It doesn't stand out as much anymore; back then, they had some stuff going that other languages just didn't have; these days, most of them have caught up.
20:26:41*Kingsquee joined #nim
20:27:10Jehan`For example, fast performance AND fast compilation.
20:27:24Jehan`A GC with a really, really good performance profile.
20:27:40Jehan`A time-traveling debugger (this one is still something that's rare).
20:28:17Jehan`It's difficult to describe how much better all this was compared to the alternatives back in, say, 2000.
20:29:14dom96Makes you wonder how people would feel about Rust, Go or Nim if they were at the stage they are now at in the year 2000.
20:29:34Jehan`dom96: I honestly don't know.
20:29:39dom96Maybe OCaml was just ahead of its time.
20:30:31Jehan`dom96: I also think that the internet just wasn't as "connected" back then.
20:30:56Jehan`People were still scattered across several communities.
20:31:11Jehan`And it was more difficult to get mindshare.
20:31:31Jehan`It still took ages for Python and Ruby to become popular.
20:31:46dom96True
20:32:55Jehan`Popularity is also a bit of a random thing. Merit does matter, but often "good enough" plus some random other factor can matter more.
20:33:59Jehan`Ruby took off because of Rails; Python became popular because over time it became sort of the standard scripting language for science and much of academia (because it was easy to learn for non-computer scientists).
20:35:16Jehan`I think smart language design these days is not to try and do it all, but figure out what target audience you want to appeal to and make life good for them.
20:35:36Jehan`There are lots of different audiences and no single language will be the right one for all of them.
20:36:40Jehan`E.g. why I see no problem with Rust, Go, and Nim co-existing peacefully. :) They do have some overlap, but they also have their unique features that sets them apart.
20:39:40Jehan`For example: One feature that Nim has that is really good for me is that source-only distributions are practical.
20:39:43dtscode<Jehan`> I'm honestly baffled by how much OCaml has been ignored for the past couple of decades.
20:39:52dtscodeBecause its a collection of old artifacts like ;;
20:40:21Jehan`I can bundle the compiler with my source code, the compiler will build in half a minute or so, then build my program in even less time.
20:40:52*pregressive quit (Read error: Connection reset by peer)
20:41:18*pregressive joined #nim
20:41:27*shodan45 joined #nim
20:41:39Jehan`dtscode: Double semicolon is a Caml Light leftover. It's only needed in the REPL these days.
20:41:51Jehan`Well, and has not been needed since the mid-90s or so.
20:42:09dtscodeThe fact that its needed anywhere is my point
20:42:40*filcuc quit (Quit: Konversation terminated!)
20:43:15Jehan`dtscode: It's used in the REPL to denote the end of input. Not sure what's so problematic about it.
20:43:40dtscodeI never said its problematic. I said my issue with it
20:43:52*gmpreussner|work joined #nim
20:44:00*Siecje joined #nim
20:45:39*xificurC quit (Remote host closed the connection)
20:45:53*xificurC_ joined #nim
20:50:33*fold quit (Ping timeout: 256 seconds)
20:50:50*bakeymemnet joined #nim
20:50:52*bakeymemnet quit (Client Quit)
20:51:57*bakeymemnet joined #nim
20:55:02*dddddd quit (Ping timeout: 276 seconds)
20:56:09*bakeymemnet left #nim (#nim)
21:01:33*shodan45 quit (Quit: Konversation terminated!)
21:07:20*dddddd joined #nim
21:07:39*filcuc joined #nim
21:12:03Xedoes nim allow unicode identifiers?
21:19:52*Trustable quit (Remote host closed the connection)
21:23:46*ozra joined #nim
21:24:12ozraXe: indeed it does :)
21:24:41Xehow does that interact with the case-insensitivity?
21:27:07*ingsoc quit (Ping timeout: 256 seconds)
21:28:26ozraXe: Al unicodes are verbatim except U+2013 (en-dash) which works magically like _ and hump (for lisp/dash-style identifier style)
21:28:40ozraThat is, you can name a proc `λ`
21:29:10Xeand it is the same as `Λ`?
21:29:15ozraAnd this is ok: `let a–var–name = another–var - yet–a–var`
21:29:45ozraSame as: `let aVarName = anotherVar - yetAVar`
21:30:12ozraXe: No, λ != Λ
21:30:44ozraUnicode points are not capital translated - only the old-school latin programming chars.. (traditional hump)
21:30:57ozra*case translated*
21:33:55*kumul quit (Ping timeout: 265 seconds)
21:34:56Xeumlated letters would also not count?
21:40:41*dalarmmst quit (Remote host closed the connection)
21:44:26*pregressive quit (Ping timeout: 276 seconds)
21:46:37ozraXe: Exactly, åÅäÄöÖ etc. are considered different. It's only the 'traditional programming letters' a-zA-Z that are.
21:47:17ozraThis is mainly to let users choose their preferred style while still maintaining compatibility with existing libs, C etc.
21:48:02ozraAnd the first letter is always case sensitive. `var myType: MyType` is ok.
21:49:35dom96Xe: Case insensitivity does not apply to Unicode characters
21:49:38*pregressive joined #nim
21:49:52Xedom96: what is defined as "unicode"?
21:50:20ozraXe all codepoints above 127
21:50:21dom96non-ascii
21:50:27Xeokay
21:53:16ozraAraq: Are you around? Found some more bugs while working on #1179. No bounds checks was done what so ever. Q: Should 0b10000000'i8 (and same for other bases) be allowed? Or should use be adviced to use -0b00000001'i8?
21:53:40ozra(bounds, regarding non base-10)
21:54:00ozra*user be adviced*
21:56:04Xeozra: how does that interact with a certain kind of case-sensitive hell in C code bound to nim?
21:56:14Xewhere foo_bar, FooBar and FOO_BAR are all defined
21:56:25Xe(function, macro, constant)
21:56:42VarriountXe: We have yet to encounter that problem.
21:56:54Jehan`Xe: Case insensitivity exists to facilitate interoperability with foreign and third-party libraries without having to copy their style; but it's difficult to even define case-insensitivity properly for Unicode, so there the downsides outweigh any benefits.
21:57:14*kumul joined #nim
21:57:29Jehan`Varriount: Actually, this has been a problem on occasion (very rarely, though); the solution is to give them different names in Nim.
21:58:34Jehan`Example: in posix.nim, struct stat vs. the stat() call.
21:59:15Jehan`The actual problem here is, of course, that struct identifiers use a different namespace.
22:01:58Jehan`An actual problem with case insensitivity is FD_SET() (the macro) vs fd_set (the type).
22:03:24notfowlOpengl hit this too
22:04:46Jehan`The thing is, though, making things case-sensitive would not make the problem go away, just lower the likelihood you encounter it.
22:04:52*mahlon quit (Ping timeout: 244 seconds)
22:05:11Jehan`As I noted above, there are already multiple namespaces in C, and things get even more complicated when you interface with C++.
22:08:28Varriountonionhammer: Found a workaround for the settings bug. I think.
22:10:34ozraJehan`: FD_SET and fd_set should not clash. Initial is sensitive.
22:10:57Jehan`ozra: Oops, I forgot. That used to be the case, though.
22:11:08ozraBefore my time I guess ;)
22:11:13*shodan45 joined #nim
22:11:34onionhammerVarriount which settings bug?
22:12:03onionhammersorry i havent read up, had no times yesterday/today
22:15:00Varriountonionhammer: Sublime Text 3 is giving an invalid settings object.
22:15:22VarriountProbably because the new settings file is rather large.
22:16:50*xcombelle joined #nim
22:16:55*filcuc quit (Quit: Konversation terminated!)
22:19:33ozraRight, Varriount, I've been fixing some syntax bugs in NimLime I encountered while working on #1179, added some more distinctions to, but I'll hold it for now, might fix some more...
22:20:20Varriountozra: Thanks! This settings bug is rather nasty.
22:20:43*mahlon joined #nim
22:20:48VarriountHello mahlon
22:35:39Varriountozra: You programmed in Python at all?
22:36:11*TEttinger joined #nim
22:45:21*pregressive quit (Remote host closed the connection)
22:45:36*pregressive joined #nim
22:46:06*pregressive quit (Remote host closed the connection)
22:46:15*fold joined #nim
22:46:56ozraVarriount: never really. I just fix regexp's in the YAML, never fiddled with sublime before this either..
22:47:18ozraVarriount: what's buggin?
22:48:01dtscodeI should start using sublime...
22:48:30Varriountozra: Nothing. I just did some really... weird things in Python today when trying to fix this bug.
22:50:55ozraAnywhere to quickly post a pic to make a link here, anyone got a hint?
22:51:17Varriountozra: imgur.com?
22:51:45*johnsoft quit (Ping timeout: 265 seconds)
22:52:00*johnsoft joined #nim
22:53:30Varriountonionhammer: I pushed a few commits to the repo. Can you test out doc-comment continuation?
22:54:10*bjz joined #nim
22:55:25ozraVarriount: needed login, terrorized your repo instead ;) - https://github.com/Varriount/NimLime/issues/31
22:56:52Varriountozra: Thank you for that lovely picture. I now cherish Window's font enhancements even more not.
22:56:54Varriount*now
22:57:22ozraVarriount: one possible way of twisted coloring (I've opted for redalert on assigns, obvious shout out on branch beginnings, etc. don't opt for beauty when editing ;-)
22:57:46ozraVarriount: Windows? Eh, not following X)
22:58:01*shodan45 quit (Quit: Konversation terminated!)
23:00:12ozraVarriount: (think I got what you meant now.. hehe. I've worked hard to actually remove antialias, if that's what you mean ;-)
23:00:15Varriountozra: http://en.wikipedia.org/wiki/ClearType
23:01:46*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
23:02:08ozraVarriount: You can set antialias mode (subpixel [=cleartype = default], full, off, etc.), hinting etc. per font, per size, per anything you want for specific applications or all in linux, haven't found anything come close to that in windows...
23:02:43ozraI've turned it off for everything below 11px.
23:03:02ozraMuch more readable to me :)
23:05:43*vendethiel quit (Ping timeout: 264 seconds)
23:06:15*brson quit (Quit: leaving)
23:06:50*brson joined #nim
23:07:20Varriountozra: I notice that multi-line if statements aren't coloured correctly.
23:07:50ozraVarriount: Ok. I'll make a todo..
23:08:19*yglukhov________ quit (Quit: Be back later ...)
23:12:19*wan quit (Ping timeout: 258 seconds)
23:12:45*wan joined #nim
23:13:26ozraVarriount: Oh, right, maybe you're full time win user? Otherwise this is definitely for you: http://www.webupd8.org/2013/06/better-font-rendering-in-linux-with.html
23:13:37ozra(Infinality)
23:14:13Varriountozra: I'm a full time Windows user. Someone has to write code to support it.
23:14:35VarriountThough, I'll keep the link, in case I need to work with any Linux systems long-term.
23:15:21ozraVarriount: Right, I think we might have discussed before. I don't mind anyone using any OS, as long as I can keep my precious linux setup :)
23:21:31*kumul quit (Ping timeout: 258 seconds)
23:23:44*Matthias247 quit (Read error: Connection reset by peer)
23:34:01*datanois1 quit (Ping timeout: 255 seconds)
23:37:16*pregressive joined #nim
23:47:05onionhammer@Varriount still not working
23:47:51*pregressive quit (Remote host closed the connection)
23:47:59Varriount-_-
23:49:21Varriountonionhammer: You sure you downloaded the latest commit? And that the doccomment file with the print lines was overwritten?
23:49:31onionhammeryep
23:49:42Varriountonionhammer: It works on my ST3. :/
23:49:48onionhammer:\
23:50:06Varriountonionhammer: Note that the line has to have text on it...
23:50:51onionhammer "nim.executable": "C:\\64\\Nimrod\\bin\\nim.exe",?
23:51:04VarriountThat... should probably be changed.
23:53:02onionhammershould just be "nim" probably
23:53:54onionhammerI tried it both in a proc and alone
23:54:34onionhammerit worked better before when i tested it last time
23:54:43onionhammerlast time u had me test on saturday i think
23:54:49Varriountonionhammer: Here, replace the code with this and tell me what the debug output is - https://gist.github.com/Varriount/4b5d6479216b6ab59622
23:59:58*datanois1 joined #nim