| 00:40:36 | * | DAddYE joined #nimrod |
| 00:44:03 | * | EXetoC quit (Ping timeout: 260 seconds) |
| 00:45:09 | * | DAddYE quit (Ping timeout: 252 seconds) |
| 00:58:13 | * | q66 quit (Quit: Leaving) |
| 01:04:34 | * | ltbarcly joined #nimrod |
| 01:16:16 | * | MFlamer_ joined #nimrod |
| 01:19:34 | * | DAddYE joined #nimrod |
| 01:40:03 | * | MFlamer_ quit (Ping timeout: 250 seconds) |
| 01:49:24 | * | DAddYE quit (Remote host closed the connection) |
| 01:49:51 | * | DAddYE joined #nimrod |
| 01:54:27 | * | DAddYE quit (Ping timeout: 260 seconds) |
| 02:46:35 | * | DAddYE joined #nimrod |
| 03:13:43 | * | OrionPK quit (Read error: Connection reset by peer) |
| 03:27:24 | * | MFlamer_ joined #nimrod |
| 03:33:08 | * | DAddYE quit (Remote host closed the connection) |
| 03:46:53 | reactormonk | Araq, fix which echo? |
| 04:08:11 | MFlamer_ | How come for i in 0..numThreads-1: never loops? If numThreads = 1 I would expect it to run once |
| 04:08:25 | * | xilo joined #nimrod |
| 04:19:48 | reactormonk | MFlamer_, you loop from 0 to 0 |
| 04:19:54 | reactormonk | hm... |
| 04:19:58 | reactormonk | try ... |
| 04:20:19 | MFlamer_ | ok, makes sense I guess |
| 04:20:40 | MFlamer_ | I just used a while loop, little uglyier |
| 04:25:09 | * | MFlamer_ quit (Ping timeout: 250 seconds) |
| 04:34:16 | * | DAddYE joined #nimrod |
| 04:40:23 | * | Boscop quit (Disconnected by services) |
| 04:40:26 | * | Boscop joined #nimrod |
| 04:40:37 | * | DAddYE quit (Ping timeout: 248 seconds) |
| 04:42:44 | * | silven_ joined #nimrod |
| 04:44:15 | * | xilo_ joined #nimrod |
| 04:44:32 | * | orbitz_ joined #nimrod |
| 04:49:35 | * | xilo quit (*.net *.split) |
| 04:49:39 | * | orbitz quit (*.net *.split) |
| 04:49:39 | * | silven quit (*.net *.split) |
| 05:24:58 | * | ltbarcly quit (Quit: Computer has gone to sleep.) |
| 05:30:31 | * | DAddYE joined #nimrod |
| 05:32:18 | * | dyu joined #nimrod |
| 05:59:10 | * | ltbarcly joined #nimrod |
| 06:00:59 | * | zahary_ quit (Ping timeout: 248 seconds) |
| 06:04:21 | * | ltbarcly quit (Quit: Computer has gone to sleep.) |
| 06:12:07 | * | ltbarcly joined #nimrod |
| 06:16:33 | * | ltbarcly_ joined #nimrod |
| 06:16:37 | * | ltbarcly quit (Ping timeout: 248 seconds) |
| 06:27:37 | * | orbitz_ quit (Quit: Reconnecting) |
| 06:27:43 | * | orbitz joined #nimrod |
| 07:13:20 | * | ltbarcly_ quit (Ping timeout: 256 seconds) |
| 07:18:41 | * | ltbarcly joined #nimrod |
| 07:20:07 | * | dyu quit (Disconnected by services) |
| 07:20:34 | * | dyu_ joined #nimrod |
| 07:31:29 | * | XAMPP quit (Read error: Connection reset by peer) |
| 07:34:56 | * | DAddYE quit (Remote host closed the connection) |
| 07:54:47 | * | ltbarcly quit (Quit: Computer has gone to sleep.) |
| 07:58:03 | * | shevy left #nimrod ("I'll be back ... maybe") |
| 08:42:36 | * | q66 joined #nimrod |
| 08:55:15 | * | q66 quit (Quit: Leaving) |
| 08:59:17 | * | dyu_ quit (Quit: Leaving) |
| 08:59:31 | * | Araq_ joined #nimrod |
| 09:00:23 | * | q66 joined #nimrod |
| 09:02:02 | Araq_ | MFlamer: for i in 0..numThreads-1 loops once iff numThread == 1 |
| 09:02:53 | Araq_ | surely we have hundred thousands of lines written in a language with a broken 'for' loop... or the problem is perhaps something else? ;-) |
| 09:38:49 | * | Araq_ quit (Quit: ChatZilla 0.9.90.1 [Firefox 23.0.1/20130814063812]) |
| 09:41:16 | * | Associat0r joined #nimrod |
| 09:41:16 | * | Associat0r quit (Changing host) |
| 09:41:16 | * | Associat0r joined #nimrod |
| 11:15:51 | * | Araq_ joined #nimrod |
| 11:45:21 | * | Araq_ quit (Quit: ChatZilla 0.9.90.1 [Firefox 23.0.1/20130814063812]) |
| 11:47:07 | * | dyu joined #nimrod |
| 12:04:34 | * | dyu quit (Disconnected by services) |
| 12:05:05 | * | dyu joined #nimrod |
| 12:12:13 | * | dyu quit (Disconnected by services) |
| 12:12:52 | * | dyu_ joined #nimrod |
| 13:01:45 | * | faassen joined #nimrod |
| 13:09:13 | * | io2 joined #nimrod |
| 13:10:32 | * | OrionPK joined #nimrod |
| 13:28:17 | * | wlhlm joined #nimrod |
| 13:43:32 | * | q66_ joined #nimrod |
| 13:44:09 | * | q66 quit (Disconnected by services) |
| 13:44:13 | * | q66_ is now known as q66 |
| 13:47:15 | * | xilo_ quit (Ping timeout: 252 seconds) |
| 13:54:48 | * | Araq_ joined #nimrod |
| 13:55:45 | * | Araq_ quit (Client Quit) |
| 13:59:04 | * | EXetoC joined #nimrod |
| 14:27:19 | * | EXetoC quit (Quit: WeeChat 0.4.1) |
| 14:28:01 | * | OrionPK quit (Read error: Connection reset by peer) |
| 14:44:27 | * | faassen quit (Quit: Leaving.) |
| 14:57:18 | wlhlm | Hi, I'm doing the nimrod tutorial I. When compiling the first programm (with `nimrod compile --run greetings.nim`), the compiler created the `~/nimcache` directory - Is there a way to change the cache directory in `/etc/nimrod.cfg` other then --nimcache? |
| 15:07:36 | reactormonk | wlhlm, so you want to set nimcache in nimrod.cfg? |
| 15:12:41 | wlhlm | reactormonk, yes if it's possible - I don't like when software creates directories/files in my user home and I don't want to set it all the time one the command line/alias. I think for cache files `/tmp` would be a better option… |
| 15:16:30 | dom96 | The nimcache directory is created wherever you are compiling your files. |
| 15:16:35 | * | shodan45 quit (Quit: Konversation terminated!) |
| 15:16:36 | dom96 | It's not always in ~ |
| 15:17:32 | wlhlm | dom96: ahh, ok… |
| 15:17:37 | dom96 | And haven't you answered your own question? You use --nimcache to change the dir. |
| 15:19:35 | wlhlm | dom96: I don't want to specify it all the time or alias it. |
| 15:20:11 | dom96 | You can put it in your cfg file. |
| 15:20:16 | wlhlm | Is there a description of the syntax of `/etc/nimrod.cfg`? |
| 15:20:43 | dom96 | it's the same as on the cmd line, or 'nimcache = "..."' |
| 15:22:08 | wlhlm | dom96: thanks! (now I see the line "# additional options always passed to the compiler") |
| 16:28:48 | * | ltbarcly joined #nimrod |
| 16:38:40 | * | seeker joined #nimrod |
| 16:38:53 | seeker | hi there |
| 16:39:16 | seeker | just wanted to now if the forum has a search function |
| 16:40:06 | seeker | I mean this forum: http://forum.nimrod-code.org/ |
| 16:42:36 | MFlamer | No, but I asked the same question on the form and someone responded with a way to use google to search |
| 16:45:03 | seeker | thx MFlamer |
| 16:45:22 | seeker | indeed i did use site:forum.nimrod-code.org |
| 16:45:25 | seeker | ;) |
| 16:46:01 | seeker | MFlamer: by any chance do you know who implemented the win32 ole library? |
| 16:47:31 | * | DAddYE joined #nimrod |
| 16:48:57 | seeker | MFlamer: in fact i was looking for a COM library to complete the OLE one |
| 16:50:42 | seeker | any examples on using http://nimrod-code.org/ole2.html somewhere? |
| 16:52:44 | dom96 | Looks like that module is really old: https://github.com/Araq/Nimrod/blob/master/lib/windows/ole2.nim |
| 16:53:06 | dom96 | And I have no idea what OLE is, so i can't really help you. |
| 16:53:15 | seeker | thx dom96 |
| 16:53:39 | seeker | i think you're the author of jester, isn't it? |
| 16:53:44 | dom96 | yeah |
| 16:53:47 | seeker | nice job |
| 16:53:55 | dom96 | thanks :) |
| 16:54:18 | seeker | dom96: can jester be used in some async mode? |
| 16:54:34 | seeker | like libuv would allow to... |
| 16:56:05 | dom96 | yes, it can. |
| 16:56:31 | dom96 | https://github.com/dom96/jester/blob/master/tests/asynctest.nim |
| 16:57:30 | seeker | dom96: very nice! any benchmark? |
| 16:58:14 | dom96 | http://www.techempower.com/benchmarks/#section=data-r6http://www.techempower.com/benchmarks/#section=data-r6http://www.techempower.com/benchmarks/#section=data-r6 |
| 16:59:01 | dom96 | bbl |
| 17:10:05 | * | brson joined #nimrod |
| 17:13:24 | seeker | i am looking for more examples on using nimrod with win32 than what i can find with the distribution, if anyone can help? |
| 17:18:51 | MFlamer | I can't offer much help here, unfortunatly |
| 17:19:02 | Araq | hi seeker, welcome |
| 17:19:11 | seeker | hi Araq |
| 17:19:14 | Araq | I translated the ole2 stuff from FPC once |
| 17:19:31 | seeker | is it used somewhere? |
| 17:19:40 | Araq | no idea ;-) |
| 17:19:44 | Araq | I don't think so |
| 17:19:49 | seeker | no problem ;) |
| 17:20:14 | Araq | also I had the beginning of a COM interface but people told me there are easier/better ways |
| 17:20:17 | seeker | in fact i read a nice article about nimrod today |
| 17:20:23 | Araq | and now we have nothing instead. great, hu? |
| 17:20:23 | * | ltbarcly quit (Ping timeout: 260 seconds) |
| 17:20:52 | seeker | Araq: i usually use either python or luacom for this |
| 17:21:14 | Araq | I never touch these anymore :P |
| 17:21:41 | seeker | but with nimrod i could compile the whole thing to a single executable if i understood correctly |
| 17:22:29 | Araq | yes and the executable is very small |
| 17:22:40 | seeker | i was really impressed |
| 17:23:07 | seeker | and would love to rebuild my OLE COM stuff with nimrod |
| 17:23:27 | seeker | no clue where to start with win32 and nimrod |
| 17:23:37 | Araq | install it? |
| 17:23:50 | seeker | yes it's so easy and fast |
| 17:24:04 | seeker | talking about nimrod... |
| 17:24:36 | * | ltbarcly joined #nimrod |
| 17:24:42 | * | ltbarcly quit (Client Quit) |
| 17:24:54 | seeker | Araq: is your COM interface still available somewhere? |
| 17:25:09 | seeker | the one you started |
| 17:25:40 | Araq | I'm looking for it right now |
| 17:25:47 | * | ltbarcly joined #nimrod |
| 17:26:00 | seeker | thx Araq |
| 17:26:00 | * | ltbarcly quit (Client Quit) |
| 17:29:11 | * | ltbarcly joined #nimrod |
| 17:29:49 | wlhlm | tg |
| 17:30:20 | wlhlm | sorry, wrong window… |
| 17:30:24 | * | ltbarcly quit (Client Quit) |
| 17:31:37 | Araq | seeker: found it; I wanted to wrap http://disphelper.sourceforge.net/ with c2nim |
| 17:31:47 | Araq | should be quite easy |
| 17:31:57 | seeker | thx Araq i'll keep you posted |
| 17:34:15 | Araq | if you manage, please put it on github and add it to Babel |
| 17:34:47 | seeker | Araq: sure |
| 17:36:00 | seeker | btw i was looking for such an easy library to wrap with luajit ffi for some time now ;) |
| 17:36:19 | seeker | but I'd rather do it in nimrod now... |
| 17:36:42 | Araq | wow you're a quick believer ;-) |
| 17:38:47 | seeker | Araq: lua and luajit is tiny but nimrod also has the huge advantage of compiling to a standalone single executable |
| 17:39:10 | Araq | I know ;-) |
| 17:40:01 | seeker | it's funny that I'm selling you nimrod now :) |
| 17:42:21 | Araq | it's funnier people always assume I don't know any other programming languages |
| 17:43:04 | seeker | What's your background Araq if i may ask? |
| 17:43:36 | seeker | programming language wise... |
| 17:47:16 | Araq | I wrote lots of Delphi, Ada, C, Java, C#, Lua and Python code. I've used other languages, but these are the ones in which I wrote "real word"/production code. |
| 17:54:17 | seeker | nice language compilation... |
| 17:55:08 | seeker | i think it sheds some light on nimrod's origins |
| 17:55:39 | seeker | i have Ada missing on my own list but i used and still use a lot of Ruby |
| 17:56:32 | Araq | it does but perhaps not as much as you think; for instance modula 3 is has been a big influence even though I never really used the language as the compiler wouldn't build on my machine ;-) |
| 17:56:51 | seeker | interesting... |
| 17:57:19 | Araq | also C++ and Lisp are quite obvious influences |
| 17:57:28 | seeker | indeed |
| 17:58:24 | seeker | you're doing a great job with nimrod |
| 17:58:54 | Araq | oh and I copied the module system from Oberon :P |
| 17:59:19 | seeker | oh, i have no clue here ;) |
| 18:01:57 | seeker | Araq: i must leave now; again my compliments on nimrod and keep up the good work |
| 18:02:12 | Araq | thank you |
| 18:02:18 | * | seeker quit () |
| 18:07:08 | * | ltbarcly joined #nimrod |
| 18:15:25 | * | MFlamer quit (Ping timeout: 250 seconds) |
| 18:42:39 | * | MFlamer joined #nimrod |
| 18:50:46 | * | EXetoC joined #nimrod |
| 18:57:38 | * | silven_ is now known as silven |
| 20:20:11 | * | wlhlm quit (Ping timeout: 245 seconds) |
| 21:06:16 | * | io2 quit () |
| 21:14:23 | * | fowl joined #nimrod |
| 21:23:01 | Araq | hi fowl wb |
| 21:38:28 | fowl | hi |
| 21:43:24 | * | shevy joined #nimrod |
| 21:43:36 | Araq | hey shevy |
| 21:43:44 | shevy | got a question - but let me look at my notes first |
| 21:44:01 | Araq | I'm doing my best, but can't help it, you're constantly downvoted on reddit :P |
| 21:44:22 | shevy | that's ok |
| 21:44:26 | shevy | 80% idiots on reddit |
| 21:44:36 | shevy | anyway, to read in input one can do something like: var user_input = readline(stdin) |
| 21:44:43 | Araq | yes |
| 21:44:58 | shevy | that will read in until the \n character? |
| 21:45:21 | Araq | yeah but it's not part of user_input |
| 21:45:32 | shevy | wait... lost me there |
| 21:45:56 | shevy | let's say I type: "abc" then hit enter, the variable will have "abc" |
| 21:46:11 | shevy | but if I would type "abc\ndef" enter, the variable would also have only "abc" right? |
| 21:46:21 | shevy | the real question I have is actually how to do multiline input |
| 21:46:50 | Araq | I think this works: |
| 21:46:58 | Araq | while not eof(stdin): |
| 21:47:07 | Araq | var line = stdin.readline |
| 21:47:19 | shevy | lemme test slowly :D |
| 21:47:22 | Araq | and then terminate your input via CRTL+Z |
| 21:47:38 | Araq | or maybe it was CTRL+D |
| 21:48:26 | shevy | ah ok |
| 21:59:10 | * | dyu_ quit (Quit: Leaving) |
| 22:00:51 | Araq | shevy: check out the 'rdstdin' module to get GNU readline support |
| 22:07:45 | * | OrionPK joined #nimrod |
| 22:56:49 | reactormonk | Araq, should break break out of the inner or outermost construct? https://github.com/Araq/Nimrod/issues/611 |
| 22:57:20 | Araq | the guy is right, it should break the 'block' |
| 22:57:29 | Araq | that's what the spec says |
| 23:10:18 | OrionPK | should blocks make 'unused' compiler warnings? |
| 23:11:47 | Araq | like "label is not used"? |
| 23:11:51 | OrionPK | yeah |
| 23:11:53 | Araq | yeah I guess |
| 23:12:02 | OrionPK | I mean.. you are using it though, presumably |
| 23:12:17 | OrionPK | the block's name isnt being used, but the code contained within is being called |
| 23:12:21 | OrionPK | seems like extra noise |
| 23:12:45 | OrionPK | no one will ever benefit from that warning, I dont think |
| 23:13:11 | * | ltbarcly quit (Ping timeout: 260 seconds) |
| 23:14:03 | Araq | the name can be descriptive though |
| 23:14:13 | Araq | block deleteAllFiles: ... |
| 23:14:15 | OrionPK | yeah |
| 23:14:19 | OrionPK | names are good |
| 23:14:21 | Araq | even if the label ain't used |
| 23:14:22 | OrionPK | the warning is bad |
| 23:14:31 | OrionPK | imo |
| 23:15:02 | OrionPK | I have no problem with the name being there |
| 23:16:03 | Araq | yeah ok |
| 23:16:08 | Araq | so no warning then |
| 23:28:26 | Araq | good night |
| 23:32:05 | * | shevy quit (Read error: Operation timed out) |
| 23:32:24 | * | shevy joined #nimrod |