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:52 | Varriount | onionhammer: 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:08 | cmk_zzz | Any plans to implement the full rst specification? Lots of directives are missing |
02:53:55 | * | pregressive quit (Remote host closed the connection) |
02:53:58 | Varriount | cmk_zzz: We wouldn't be averse to pull requests :D |
02:54:58 | Varriount | cmk_zzz: The main focus right now is the compiler. The standard library is largely supported by non-core developers. |
02:56:37 | Varriount | cmk_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:38 | cmk_zzz | Varriount: Understood and that makes sense. |
02:57:21 | cmk_zzz | Varriount: 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:51 | Varriount | cmk_zzz: Neat! If you any help understanding anything, I can help. |
02:58:23 | cmk_zzz | Varriount: 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:55 | fioco | What should I use for a nim GUI program? |
03:59:35 | fioco | I'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:08 | fioco__ | Is there a nim interpreter? |
05:17:28 | Xe | yes |
05:17:34 | Xe | but you probably don't need one |
05:17:44 | fioco__ | Yes I do |
05:17:48 | fioco__ | Link? |
05:20:36 | fioco__ | Xe? And thanks for the info |
05:20:49 | Xe | nimble install nrpl |
05:22:52 | fioco__ | That's not an interpreter |
05:23:37 | fioco__ | It uses the nim compiler in a tmp dir |
05:24:14 | fioco__ | 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:59 | r-ku | nimsuggest nimble package updated few days ago. so.. is nimsuggest supposed to be compiled from compiler tree or installed via package now? |
10:23:32 | pigmej | r-ku: afair still from compiler |
10:24:13 | r-ku | hmm.. 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:25 | pigmej | r-ku: afair it will be separate 'soon' |
10:25:41 | pigmej | dom96: what's the status of nimsuggest as nimble package ? |
10:25:43 | r-ku | okie good to know, thanks |
10:27:06 | * | Ven joined #nim |
10:27:47 | dtscode | dom96 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:02 | dddddd | In 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:42 | dddddd | If it's something to be removed... is there a link to the rationale? |
12:42:32 | vikaton | what is """[...]"getting rid" of methods""". |
12:43:57 | r-ku | anyone care to review? https://github.com/Araq/Nim/compare/devel...r-ku:I64-magics-gone?expand=1 |
12:45:14 | dddddd | vikaton, 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:04 | dddddd | Reading 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:23 | reactormonk | r-ku, open a PR if you want a review |
14:46:08 | r-ku | i 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:20 | r-ku | well 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:27 | reactormonk | r-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:59 | reactormonk | How 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:10 | dddddddd | distinct type aliases |
18:17:28 | dddddddd | type Km = distinct int or float whatever |
18:20:23 | * | Kelet joined #nim |
18:22:50 | reactormonk | dddddddd, hm. and the conversions? |
18:25:18 | dddddddd | its all about what you want imo, proc `*`(x: km_per_sec, y: hour): km = etc |
18:25:33 | dddddddd | and you can set converters from hours to seconds etc if you feel like it |
18:26:19 | reactormonk | doesn't really scale though |
18:26:48 | dddddddd | you can make it more general |
18:27:21 | dddddddd | make it time * speed |
18:27:27 | dddddddd | instead of specific |
18:27:48 | dddddddd | then set up converter for km -> miles m -> km |
18:27:58 | dddddddd | macro it if you want to |
18:28:40 | dddddddd | time * speed = distance etc |
18:28:55 | dddddddd | at least thats how i would do it to catch everything at compile time |
18:29:12 | dddddddd | otherwise just dont make it distinct and hope you dont scew up |
18:29:37 | dddddddd | thats how the nasa destroyed some satellite |
18:30:42 | dddddddd | http://en.wikipedia.org/wiki/Mars_Climate_Orbiter#Cause_of_failure |
18:32:07 | reactormonk | dddddddd, exactly why ;-) |
18:32:37 | reactormonk | but I'll have to think of something... |
18:32:39 | dddddddd | you could setup your speed as object = distance: x, time: x |
18:32:54 | dddddddd | that way you can keep your distance per time separate |
18:33:09 | dddddddd | and not have all the specif convertion between speeds etc |
18:34:17 | dddddddd | im 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:18 | fioco | Does 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:21 | Arrrr | fioco i think gokr_ was doing that |
18:42:57 | fioco | I found a c interpreter |
18:43:02 | reactormonk | fioco, so you want to run nim code in the nimvm? |
18:43:14 | fioco | Arrrr thanks |
18:43:29 | fioco | Reactor monk: not exactly |
18:43:30 | reactormonk | fioco, I mean nim i gives you something similar, but it's kinda unsupported |
18:43:36 | reactormonk | fioco, usecase? |
18:43:52 | reactormonk | fioco, oh, and tab should auto-complete my nick in almost any irc client |
18:43:53 | fioco | I want to run nim in another program |
18:44:02 | fioco | I'll handle the input output redirect |
18:44:16 | fioco | But i at least need a nim to c source |
18:44:27 | fioco | I'm looking at the official compiler now |
18:44:47 | gokr_ | doing what? |
18:45:06 | fioco | Building a nim interpreter |
18:45:42 | reactormonk | fioco, if you want the C source, that's easy |
18:45:48 | gokr_ | No, i am building another lang, but in Nim |
18:45:57 | fioco | Ok |
18:46:05 | reactormonk | -c, --compileOnly compile only; do not assemble or link |
18:46:15 | gokr_ | Nim does have a VM though |
18:46:20 | reactormonk | gokr_, not interested apparently |
18:46:22 | fioco | Reactormonk I found cling which runs stdc++11 |
18:46:38 | fioco | I need to embed it in another window |
18:46:56 | reactormonk | so just run the nim compiler without invoking the gcc |
18:47:15 | fioco | I could port the VM i guess if it doesn't require compilation |
18:47:21 | fioco | Reactormonk can't |
18:47:25 | gokr_ | reactormonk: ? |
18:47:40 | reactormonk | gokr_, read backlog |
18:47:46 | fioco | I need independency |
18:47:52 | fioco | *independence |
18:47:56 | reactormonk | describe your use case a bit more |
18:48:09 | fioco | I'm building something called nimlet |
18:48:13 | * | gokr_ on phone |
18:48:15 | fioco | It's a browser |
18:48:29 | fioco | But it supports nim code |
18:48:47 | fioco | <nim> echo "Hi" </nim> |
18:48:53 | fioco | That outputs hi |
18:49:04 | fioco | On screen,with the other html |
18:49:14 | * | Kelet quit (Quit: Page closed) |
18:49:17 | pigmej | reactormonk: ohey |
18:49:20 | pigmej | hey* |
18:49:32 | pigmej | do we know something more than yesterday about sug/con ? |
18:49:35 | fioco | But I'm not going to make a newbie user run a compiler instalation And browser |
18:49:39 | fioco | To complex |
18:50:07 | * | banister joined #nim |
18:50:18 | reactormonk | pigmej, nope, tried to get nginx running instead |
18:50:23 | reactormonk | and now it's time to cook :-) |
18:50:28 | pigmej | nginx with nim ? |
18:50:49 | reactormonk | nah, contract work |
18:51:17 | * | fioco quit (Remote host closed the connection) |
18:51:35 | * | fioco joined #nim |
18:51:52 | fioco | Sorry. Client crashed |
18:51:55 | reactormonk | fioco, so you basically want a nim editor in the browser with running code? |
18:52:03 | fioco | No |
18:52:24 | fioco | I'm building a browser that executes server served nim code |
18:52:33 | reactormonk | pigmej, I would really just go with checking for parens or comma beforehand. |
18:52:35 | fioco | So I'll take say x.com |
18:52:45 | reactormonk | so like flash? |
18:52:50 | fioco | It has a <nim> tag |
18:52:58 | fioco | It executes all code there |
18:53:04 | fioco | Reactormonk but better |
18:53:22 | fioco | It will support a modified stdlib |
18:53:27 | fioco | I'll sandbox it |
18:53:32 | reactormonk | <script language="nim" src="url"> ? |
18:53:42 | fioco | Try <nim> |
18:53:47 | fioco | (For now) |
18:53:56 | fioco | I plan on adding to that later |
18:54:00 | reactormonk | You could also compiler it to js, there's nim js |
18:54:09 | reactormonk | ... the compiler compiles to JS natively |
18:54:22 | fioco | Does nim js support sockets? |
18:54:27 | * | vendethiel joined #nim |
18:54:27 | reactormonk | you can make it |
18:54:29 | fioco | File ops? |
18:54:38 | fioco | To much work :p |
18:54:40 | reactormonk | FFI works just like with C. |
18:54:47 | reactormonk | Your stuff sounds like a lot of work. |
18:54:58 | fioco | More work to hack js |
18:55:08 | reactormonk | No need to hack js, it's all nim code |
18:55:55 | fioco | I would need to add libs |
18:56:00 | fioco | Hack is the wrong word |
18:56:25 | reactormonk | not a problem either |
18:56:42 | fioco | I'm better with nim then js |
18:56:51 | * | filcuc joined #nim |
18:56:58 | fioco | Also That ^^ |
18:57:57 | reactormonk | try the nim js part first and see how well it works for you. |
18:58:09 | fioco | And I'm trying to do something new |
18:58:19 | fioco | Adding a js lib has been some |
18:58:22 | fioco | *done |
18:58:31 | fioco | I want to do something big |
18:58:38 | fioco | But i might |
18:58:43 | fioco | Thanks for the tip |
19:00:04 | reactormonk | everything big starts with small steps :-) |
19:01:57 | fioco | Yep |
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:15 | fioco | Is there an option to specify the output in the nim compiler? |
19:37:22 | fioco | Nvm 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:09 | dddddddd | wow swift is being opensourced |
20:13:24 | dtscode | It is? yay |
20:14:41 | Jehan` | dtscode: Yup. :) |
20:14:54 | Jehan` | That said, initially they'll only support OS X, iOS, and Linux. |
20:15:00 | * | fioco quit (Ping timeout: 256 seconds) |
20:15:30 | Jehan` | Which is not surprising; Apple is in the business of selling hardware. |
20:16:28 | Jehan` | 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:09 | dtscode | If they open source it I can just port it to any arch I want :D |
20:17:11 | Jehan` | 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:28 | Jehan` | dtscode: Which may be not as trivial as you think, especially once you talk about the libraries. |
20:17:43 | dtscode | of course its not trivial :p |
20:21:43 | dom96 | The new cool programming language space is getting rather tight... |
20:22:02 | Jehan` | dom96: Heh. :) |
20:22:43 | Jehan` | The thing is, all of them have their up- and downsides. |
20:22:53 | * | xcombelle quit (Ping timeout: 258 seconds) |
20:23:22 | Jehan` | 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:51 | Jehan` | 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:33 | dom96 | Guess I should give it a try. |
20:24:34 | Jehan` | 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:10 | Jehan` | 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:10 | Jehan` | For example, fast performance AND fast compilation. |
20:27:24 | Jehan` | A GC with a really, really good performance profile. |
20:27:40 | Jehan` | A time-traveling debugger (this one is still something that's rare). |
20:28:17 | Jehan` | It's difficult to describe how much better all this was compared to the alternatives back in, say, 2000. |
20:29:14 | dom96 | Makes 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:34 | Jehan` | dom96: I honestly don't know. |
20:29:39 | dom96 | Maybe OCaml was just ahead of its time. |
20:30:31 | Jehan` | dom96: I also think that the internet just wasn't as "connected" back then. |
20:30:56 | Jehan` | People were still scattered across several communities. |
20:31:11 | Jehan` | And it was more difficult to get mindshare. |
20:31:31 | Jehan` | It still took ages for Python and Ruby to become popular. |
20:31:46 | dom96 | True |
20:32:55 | Jehan` | 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:59 | Jehan` | 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:16 | Jehan` | 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:36 | Jehan` | There are lots of different audiences and no single language will be the right one for all of them. |
20:36:40 | Jehan` | 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:40 | Jehan` | For example: One feature that Nim has that is really good for me is that source-only distributions are practical. |
20:39:43 | dtscode | <Jehan`> I'm honestly baffled by how much OCaml has been ignored for the past couple of decades. |
20:39:52 | dtscode | Because its a collection of old artifacts like ;; |
20:40:21 | Jehan` | 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:39 | Jehan` | dtscode: Double semicolon is a Caml Light leftover. It's only needed in the REPL these days. |
20:41:51 | Jehan` | Well, and has not been needed since the mid-90s or so. |
20:42:09 | dtscode | The fact that its needed anywhere is my point |
20:42:40 | * | filcuc quit (Quit: Konversation terminated!) |
20:43:15 | Jehan` | dtscode: It's used in the REPL to denote the end of input. Not sure what's so problematic about it. |
20:43:40 | dtscode | I 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:03 | Xe | does nim allow unicode identifiers? |
21:19:52 | * | Trustable quit (Remote host closed the connection) |
21:23:46 | * | ozra joined #nim |
21:24:12 | ozra | Xe: indeed it does :) |
21:24:41 | Xe | how does that interact with the case-insensitivity? |
21:27:07 | * | ingsoc quit (Ping timeout: 256 seconds) |
21:28:26 | ozra | Xe: Al unicodes are verbatim except U+2013 (en-dash) which works magically like _ and hump (for lisp/dash-style identifier style) |
21:28:40 | ozra | That is, you can name a proc `λ` |
21:29:10 | Xe | and it is the same as `Λ`? |
21:29:15 | ozra | And this is ok: `let a–var–name = another–var - yet–a–var` |
21:29:45 | ozra | Same as: `let aVarName = anotherVar - yetAVar` |
21:30:12 | ozra | Xe: No, λ != Λ |
21:30:44 | ozra | Unicode points are not capital translated - only the old-school latin programming chars.. (traditional hump) |
21:30:57 | ozra | *case translated* |
21:33:55 | * | kumul quit (Ping timeout: 265 seconds) |
21:34:56 | Xe | umlated 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:37 | ozra | Xe: Exactly, åÅäÄöÖ etc. are considered different. It's only the 'traditional programming letters' a-zA-Z that are. |
21:47:17 | ozra | This is mainly to let users choose their preferred style while still maintaining compatibility with existing libs, C etc. |
21:48:02 | ozra | And the first letter is always case sensitive. `var myType: MyType` is ok. |
21:49:35 | dom96 | Xe: Case insensitivity does not apply to Unicode characters |
21:49:38 | * | pregressive joined #nim |
21:49:52 | Xe | dom96: what is defined as "unicode"? |
21:50:20 | ozra | Xe all codepoints above 127 |
21:50:21 | dom96 | non-ascii |
21:50:27 | Xe | okay |
21:53:16 | ozra | Araq: 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:40 | ozra | (bounds, regarding non base-10) |
21:54:00 | ozra | *user be adviced* |
21:56:04 | Xe | ozra: how does that interact with a certain kind of case-sensitive hell in C code bound to nim? |
21:56:14 | Xe | where foo_bar, FooBar and FOO_BAR are all defined |
21:56:25 | Xe | (function, macro, constant) |
21:56:42 | Varriount | Xe: We have yet to encounter that problem. |
21:56:54 | Jehan` | 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:29 | Jehan` | Varriount: Actually, this has been a problem on occasion (very rarely, though); the solution is to give them different names in Nim. |
21:58:34 | Jehan` | Example: in posix.nim, struct stat vs. the stat() call. |
21:59:15 | Jehan` | The actual problem here is, of course, that struct identifiers use a different namespace. |
22:01:58 | Jehan` | An actual problem with case insensitivity is FD_SET() (the macro) vs fd_set (the type). |
22:03:24 | notfowl | Opengl hit this too |
22:04:46 | Jehan` | 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:11 | Jehan` | As I noted above, there are already multiple namespaces in C, and things get even more complicated when you interface with C++. |
22:08:28 | Varriount | onionhammer: Found a workaround for the settings bug. I think. |
22:10:34 | ozra | Jehan`: FD_SET and fd_set should not clash. Initial is sensitive. |
22:10:57 | Jehan` | ozra: Oops, I forgot. That used to be the case, though. |
22:11:08 | ozra | Before my time I guess ;) |
22:11:13 | * | shodan45 joined #nim |
22:11:34 | onionhammer | Varriount which settings bug? |
22:12:03 | onionhammer | sorry i havent read up, had no times yesterday/today |
22:15:00 | Varriount | onionhammer: Sublime Text 3 is giving an invalid settings object. |
22:15:22 | Varriount | Probably because the new settings file is rather large. |
22:16:50 | * | xcombelle joined #nim |
22:16:55 | * | filcuc quit (Quit: Konversation terminated!) |
22:19:33 | ozra | Right, 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:20 | Varriount | ozra: Thanks! This settings bug is rather nasty. |
22:20:43 | * | mahlon joined #nim |
22:20:48 | Varriount | Hello mahlon |
22:35:39 | Varriount | ozra: 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:56 | ozra | Varriount: never really. I just fix regexp's in the YAML, never fiddled with sublime before this either.. |
22:47:18 | ozra | Varriount: what's buggin? |
22:48:01 | dtscode | I should start using sublime... |
22:48:30 | Varriount | ozra: Nothing. I just did some really... weird things in Python today when trying to fix this bug. |
22:50:55 | ozra | Anywhere to quickly post a pic to make a link here, anyone got a hint? |
22:51:17 | Varriount | ozra: imgur.com? |
22:51:45 | * | johnsoft quit (Ping timeout: 265 seconds) |
22:52:00 | * | johnsoft joined #nim |
22:53:30 | Varriount | onionhammer: I pushed a few commits to the repo. Can you test out doc-comment continuation? |
22:54:10 | * | bjz joined #nim |
22:55:25 | ozra | Varriount: needed login, terrorized your repo instead ;) - https://github.com/Varriount/NimLime/issues/31 |
22:56:52 | Varriount | ozra: Thank you for that lovely picture. I now cherish Window's font enhancements even more not. |
22:56:54 | Varriount | *now |
22:57:22 | ozra | Varriount: 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:46 | ozra | Varriount: Windows? Eh, not following X) |
22:58:01 | * | shodan45 quit (Quit: Konversation terminated!) |
23:00:12 | ozra | Varriount: (think I got what you meant now.. hehe. I've worked hard to actually remove antialias, if that's what you mean ;-) |
23:00:15 | Varriount | ozra: http://en.wikipedia.org/wiki/ClearType |
23:01:46 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
23:02:08 | ozra | Varriount: 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:43 | ozra | I've turned it off for everything below 11px. |
23:03:02 | ozra | Much 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:20 | Varriount | ozra: I notice that multi-line if statements aren't coloured correctly. |
23:07:50 | ozra | Varriount: 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:26 | ozra | Varriount: 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:37 | ozra | (Infinality) |
23:14:13 | Varriount | ozra: I'm a full time Windows user. Someone has to write code to support it. |
23:14:35 | Varriount | Though, I'll keep the link, in case I need to work with any Linux systems long-term. |
23:15:21 | ozra | Varriount: 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:05 | onionhammer | @Varriount still not working |
23:47:51 | * | pregressive quit (Remote host closed the connection) |
23:47:59 | Varriount | -_- |
23:49:21 | Varriount | onionhammer: You sure you downloaded the latest commit? And that the doccomment file with the print lines was overwritten? |
23:49:31 | onionhammer | yep |
23:49:42 | Varriount | onionhammer: It works on my ST3. :/ |
23:49:48 | onionhammer | :\ |
23:50:06 | Varriount | onionhammer: Note that the line has to have text on it... |
23:50:51 | onionhammer | "nim.executable": "C:\\64\\Nimrod\\bin\\nim.exe",? |
23:51:04 | Varriount | That... should probably be changed. |
23:53:02 | onionhammer | should just be "nim" probably |
23:53:54 | onionhammer | I tried it both in a proc and alone |
23:54:34 | onionhammer | it worked better before when i tested it last time |
23:54:43 | onionhammer | last time u had me test on saturday i think |
23:54:49 | Varriount | onionhammer: 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 |