00:00:53 | * | zepolen_ quit (Ping timeout: 276 seconds) |
00:09:34 | * | Varriount-Laptop quit (Ping timeout: 240 seconds) |
00:19:45 | def- | julian37: GC doesn't work well with emscripten, at least last time i checked |
00:20:18 | def- | the GC tests of the compiler failed at least |
00:24:14 | * | RobNewb quit (Quit: Page closed) |
00:30:35 | * | Varriount-Laptop joined #nim |
00:35:17 | julian37 | def-: do you mean https://github.com/nim-lang/Nim/pull/3314#issuecomment-142563072 ? |
00:35:44 | julian37 | sorry I mean https://github.com/nim-lang/Nim/pull/3314#issuecomment-140993562 |
00:35:54 | julian37 | > Emscripten passess values and recieve result of function call not by using stack but with javascript function argumetns and results. |
00:36:27 | julian37 | that I've worked around by disabling GC |
00:36:34 | def- | oh, didn't see that PR yet, that's much more detailled than what I found out |
00:37:01 | julian37 | but halodo suggest to run GC at controlled points in time |
00:37:11 | julian37 | which makes sense to me -- when you know nothing's on the JS "stack" |
00:37:22 | julian37 | so that's what I'm trying to do... only it doesn't seem to collect much :-/ |
00:37:41 | julian37 | I suspect the issue is less GC not working and more stale references somewhere |
00:42:39 | * | jakesyl quit (Ping timeout: 240 seconds) |
00:49:49 | * | strcmp1 quit (Remote host closed the connection) |
00:50:25 | * | strcmp1 joined #nim |
00:50:56 | * | desophos_ is now known as desophos |
01:20:56 | * | barosl_ quit (Quit: Leaving) |
01:23:03 | * | desophos quit () |
01:26:13 | * | Varriount-Laptop quit (Read error: Connection reset by peer) |
01:26:44 | * | BitPuffin|osx joined #nim |
01:34:33 | * | brson quit (Quit: leaving) |
01:35:45 | * | julian37 left #nim ("ERC (IRC client for Emacs 24.5.1)") |
01:56:27 | * | pregressive quit (Remote host closed the connection) |
01:57:17 | * | desophos joined #nim |
01:59:08 | * | Varriount_ joined #nim |
02:01:48 | * | Varriount quit (Ping timeout: 244 seconds) |
02:02:24 | * | Kingsquee joined #nim |
02:03:28 | * | nchambers is now known as nchambers\dead |
02:08:19 | * | jaco60 quit (Ping timeout: 240 seconds) |
02:29:19 | * | Sembei quit (Ping timeout: 240 seconds) |
02:30:23 | * | jakesyl joined #nim |
02:31:37 | * | strcmp1 quit (Quit: bbs) |
02:39:37 | * | vqrs quit (Ping timeout: 250 seconds) |
02:40:57 | * | vqrs joined #nim |
02:50:41 | * | Sembei joined #nim |
03:44:04 | * | ephja quit (Ping timeout: 250 seconds) |
03:44:42 | * | solidsnack quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
03:50:55 | * | barosl joined #nim |
04:17:53 | * | desophos quit (Read error: Connection reset by peer) |
04:18:22 | * | desophos joined #nim |
04:42:20 | * | anthgur joined #nim |
04:48:17 | * | desophos quit (Read error: Connection reset by peer) |
04:48:46 | * | desophos joined #nim |
04:56:28 | * | vendethiel joined #nim |
04:57:31 | * | darkf joined #nim |
05:18:56 | * | anthgur quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
05:19:10 | * | vendethiel quit (Ping timeout: 240 seconds) |
05:25:15 | * | BitPuffin|osx quit (Ping timeout: 252 seconds) |
06:39:25 | * | desophos quit (Read error: Connection reset by peer) |
06:44:27 | * | nchambers\dead is now known as nchambers |
06:46:26 | * | gour joined #nim |
06:51:47 | * | johnsoft quit (Ping timeout: 264 seconds) |
07:33:36 | * | gokr_ joined #nim |
07:36:43 | * | darkf quit (Quit: Leaving) |
07:44:38 | * | yglukhov joined #nim |
07:46:14 | * | darkf joined #nim |
08:11:51 | * | Demon_Fox joined #nim |
08:18:06 | * | Demos quit (Read error: Connection reset by peer) |
08:33:26 | * | gokr joined #nim |
08:37:09 | * | Trustable joined #nim |
08:44:57 | * | makoLine quit (Ping timeout: 265 seconds) |
08:46:58 | * | yglukhov_ joined #nim |
08:50:03 | * | yglukhov quit (Ping timeout: 246 seconds) |
08:57:06 | * | gokr_ quit (Quit: IRC for Sailfish 0.9) |
08:58:03 | * | yglukhov_ quit (Remote host closed the connection) |
08:58:35 | * | yglukhov joined #nim |
09:08:23 | * | coffeepot joined #nim |
09:22:15 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
09:25:31 | * | Arrrr joined #nim |
09:33:40 | * | joelmo joined #nim |
09:41:17 | * | julian37 joined #nim |
09:43:50 | * | mindriot101 joined #nim |
09:46:30 | * | Trustable quit (Remote host closed the connection) |
09:47:35 | * | Trustable joined #nim |
09:52:50 | * | Demon_Fox quit (Quit: Leaving) |
09:52:53 | * | Trustable quit (Read error: Connection reset by peer) |
09:53:15 | * | Trustable joined #nim |
09:58:27 | * | Trustable quit (Remote host closed the connection) |
10:11:27 | * | jaco60 joined #nim |
10:17:51 | * | yglukhov_ joined #nim |
10:18:36 | NimBot | nim-lang/Nim devel 696b89c wt [+0 ±1 -0]: Fix osproc.close |
10:18:36 | NimBot | nim-lang/Nim devel 92f2fd9 Dominik Picheta [+0 ±1 -0]: Merge pull request #3527 from tulayang/devel... 2 more lines |
10:20:04 | * | yglukhov_ quit (Remote host closed the connection) |
10:20:11 | * | yglukhov quit (Read error: Connection reset by peer) |
10:21:01 | * | yglukhov joined #nim |
10:54:48 | * | theduke joined #nim |
10:55:15 | theduke | Is there a proc/statement for getting the type of a variable at runtime? |
10:58:22 | * | mindriot101 quit (Remote host closed the connection) |
11:00:03 | theduke | echo(type(myVar)) does not work |
11:03:57 | Arrrr | http://ideone.com/xn9LD8 |
11:08:22 | * | julian37 quit (Ping timeout: 260 seconds) |
11:17:34 | theduke | @Arrrr: thanks |
11:17:51 | theduke | taking my first steps with nim, but very impressed so far |
11:18:49 | Arrrr | Yep, everybody says the same thing, so it must be true |
11:20:05 | * | Varriount joined #nim |
11:21:11 | * | Varriount_ quit (Ping timeout: 240 seconds) |
11:40:08 | * | Varriount_ joined #nim |
11:41:44 | * | ephja joined #nim |
11:42:01 | * | Varriount quit (Ping timeout: 244 seconds) |
11:46:38 | * | BitPuffin joined #nim |
11:53:33 | * | Kingsquee quit (Quit: https://i.imgur.com/qicT3GK.gif) |
11:53:48 | * | jaco60 quit (Ping timeout: 246 seconds) |
11:59:28 | * | zepolen_ joined #nim |
11:59:49 | * | elrood joined #nim |
12:02:21 | * | zepolen quit (Ping timeout: 255 seconds) |
12:03:58 | * | johnsoft joined #nim |
12:12:15 | * | BitPuffin quit (Ping timeout: 255 seconds) |
12:19:41 | * | BitPuffin joined #nim |
12:31:15 | * | BitPuffin quit (Ping timeout: 246 seconds) |
12:34:28 | * | julian37 joined #nim |
12:34:54 | * | heinrich5991 quit (Ping timeout: 250 seconds) |
12:35:15 | * | mnemonikk quit (Ping timeout: 240 seconds) |
12:36:09 | * | rinukkusu quit (Ping timeout: 246 seconds) |
12:37:41 | * | heinrich5991 joined #nim |
12:38:48 | * | julian37 quit (Ping timeout: 255 seconds) |
12:39:00 | * | rinukkusu joined #nim |
12:41:51 | * | mnemonikk joined #nim |
12:41:51 | * | mnemonikk quit (Changing host) |
12:41:51 | * | mnemonikk joined #nim |
12:46:19 | * | Trustable joined #nim |
12:46:30 | * | Trustable quit (Remote host closed the connection) |
13:03:17 | * | Roin joined #nim |
13:03:39 | * | Roin quit (Client Quit) |
13:04:03 | * | Roin joined #nim |
13:04:04 | * | Roin quit (Changing host) |
13:04:04 | * | Roin joined #nim |
13:09:08 | * | julian37 joined #nim |
13:22:17 | * | joelmo quit (Quit: Connection closed for inactivity) |
13:35:40 | NimBot | nim-lang/Nim devel 209a5fc Araq [+0 ±1 -0]: updated old links on the website |
13:35:40 | NimBot | nim-lang/Nim devel e9313dd Araq [+0 ±1 -0]: added prefix matching to critbits.nim |
13:35:40 | NimBot | nim-lang/Nim devel 81f8760 Araq [+0 ±1 -0]: added newTree to ast.nim |
13:35:40 | NimBot | nim-lang/Nim devel 2aff716 Araq [+0 ±4 -0]: os.walkDir is available at compile time |
13:35:40 | NimBot | 1 more commits. |
13:35:57 | * | anthgur joined #nim |
13:36:30 | Araq | uh oh... did I break booting? |
13:36:42 | * | anthgur quit (Client Quit) |
13:39:05 | julian37 | hi Araq |
13:41:12 | Arrrr | What's the difference between when nimvm: and static: ? |
13:41:21 | Arrrr | if any |
13:42:34 | Arrrr | ah, ok, the else part |
13:43:08 | * | rinukkusu quit (Ping timeout: 276 seconds) |
13:43:15 | Araq | static is for you, when nimvm is for us |
13:43:24 | Araq | cause it |
13:43:30 | Araq | is confusing even for us ... |
13:43:36 | * | rinukkusu joined #nim |
13:48:15 | julian37 | Araq: did you see my questions yesterday about recompilation and stale references? any ideas? |
13:49:42 | Araq | we need the pure RC |
13:49:46 | Araq | 'ing GC |
13:49:56 | Araq | and then these problems magically go away |
13:50:36 | julian37 | what do you mean by pure GC, you mean fixing the issues around stack with emscripten? |
13:52:55 | Araq | yeah |
13:53:59 | julian37 | but shouldn't the full GC after each compilation collect any leftovers regardless? |
13:56:57 | NimBot | nim-lang/Nim devel b6374f1 Araq [+0 ±1 -0]: fixes newly introduced oswalkdir module |
13:57:28 | Araq | julian37: no, the GC cannot make guarantees like that |
13:58:25 | julian37 | I see |
13:58:33 | Araq | also the compiler uses .acyclic in a wrong fashion to improve performance. you should compile with --gc:markAndSweep |
13:58:46 | Araq | if you don |
13:58:52 | Araq | 't do it already |
14:03:15 | julian37 | thanks Araq, I'll try that |
14:07:13 | * | coopernurse quit (Quit: WeeChat 1.1.1) |
14:18:25 | * | mindriot101 joined #nim |
14:38:47 | * | BitPuffin joined #nim |
14:44:46 | * | gokr quit (Quit: Leaving.) |
14:45:01 | * | gokr joined #nim |
14:47:11 | * | julian37 left #nim ("ERC (IRC client for Emacs 24.5.1)") |
14:51:52 | Araq | anybody with Windows 10 around? |
14:51:58 | Araq | http://forum.nim-lang.org/t/1786 |
15:03:27 | * | strcmp1 joined #nim |
15:06:09 | * | gokr quit (Quit: Leaving.) |
15:15:27 | * | Sornaensis quit (Excess Flood) |
15:15:49 | * | Sornaensis joined #nim |
15:25:48 | ephja | unsafeAddr, great |
15:27:34 | * | pregressive joined #nim |
15:46:19 | elrood | Araq, could try in a vm. kind of hard to replicate his environment without more info though. do you have any idea where that "Nim Compiler [..] binary including MingW" would come from or what version of MinGW that's supposed to be? |
15:49:04 | * | mindriot101 left #nim (#nim) |
15:51:56 | * | jaco60 joined #nim |
16:00:15 | * | mnemonikk quit (Ping timeout: 240 seconds) |
16:01:01 | * | Learath2 quit (Excess Flood) |
16:01:12 | * | Learath2 joined #nim |
16:02:48 | Varriount_ | Araq: *raises hand* |
16:03:34 | Varriount_ | Araq: I don't have that problem. |
16:03:45 | * | Varriount_ is now known as Varriount |
16:04:19 | Varriount | Araq: Actually, we should have a big banner on the Nim website saying "Windows 10 Tested", since that's what the Windows Buildbots are running on. |
16:07:23 | Araq | ah alright |
16:09:05 | * | mnemonikk joined #nim |
16:09:05 | * | mnemonikk quit (Changing host) |
16:09:05 | * | mnemonikk joined #nim |
16:09:11 | elrood | wouldn't hurt to state somewhere which versions of c compilers have been tested successfully, especially when they're such an important dependency as they are for nim |
16:09:22 | Araq | btw any chance we get the new win API wrapper anytime soon? |
16:09:48 | Araq | elrood: well the windows installer which is what people have problems with comes with its own version of mingw |
16:10:16 | Varriount | gcc (x86_64-win32-seh-rev2, Built by MinGW-W64 project) 4.9.2 |
16:10:38 | Araq | Varriount: I know your laptop was stolen, but maybe you want to do it all again? *cough* |
16:10:46 | Varriount | That's what the Win64 buildbot uses. |
16:11:08 | Varriount | Araq: First I need to finish nimsuggest support for NimLime. |
16:11:35 | Varriount | Which requires a refactoring of Nimsuggest. |
16:15:59 | * | jakesyl quit (Ping timeout: 240 seconds) |
16:18:51 | elrood | Araq, that's why i asked which installer that could be. haven't seen anything hinting to an included mingw in the files available on nim's download site |
16:19:38 | Araq | well you need to run the windows installer and see for yourself |
16:19:52 | Araq | it |
16:20:37 | Araq | is so sexy that I often play with it rather than doing some programming. (nah, just kidding) |
16:22:03 | elrood | anyways, a disclaimer stating cc which versions have been successfully tested and which are known to be buggy would only help, but it's your project and decision of course |
16:22:16 | elrood | *which cc versions |
16:25:13 | Araq | bbs |
16:25:17 | Varriount | elrood: Can't we just say "The latest stable Mingw-w64"? |
16:33:33 | * | zepolen_ quit (Remote host closed the connection) |
16:33:42 | * | jakesyl joined #nim |
16:34:11 | elrood | sure, but what if for some reason somebody doesn't use that? you'll likely run into more of those "i've tried foo with mingw and it crashed, help me" bug reports if nim gets more widespread use |
16:34:52 | Varriount | elrood: Mainly due to the fact that the Mingw projects don't have self-updating compilers. |
16:35:12 | * | LibreWulf joined #nim |
16:35:25 | Varriount | I one of them has ported pacman to Windows, but it's still in beta |
16:35:36 | elrood | good luck and fun making sense of those, only to find out that the c compiler you depend on was the culprit. just saying, because llvm ran into a number of those, and it was neither a joy nor easy to get to the root of the problem |
16:35:36 | Varriount | *I think |
16:35:54 | Varriount | elrood: Again, much of this is mitigated by bundling our own version of Mingw. |
16:36:45 | Varriount | There are some plans to have a setup verification step in the installer, for those that want to use an existing Mingw installation. |
16:38:13 | elrood | then again, have fun telling your users they have to live on the bleeding edge and use git head or the most recent and unnecessarily extensive bundled build tool environment when they could just use what they already have |
16:39:01 | elrood | not saying it is a problem now, or even that it'd have to become one later on, just that it would be smart to rule out when you can with not a lot of effort |
16:39:18 | Varriount | elrood: Um, I did just say that there were plans to include a verification step, testing the compiler the user wants to use. |
16:40:01 | elrood | if you believe that'd be the more convenient way to go, sure. personally i'd doubt it |
16:40:49 | Varriount | elrood: Unfortunately, we don't have the resources to test more than a couple versions of Mingw at a time. |
16:41:34 | Varriount | What would you propose, given the fact that Mingw support can change as new features (threading, mainly) are updated/introduced? |
16:43:24 | elrood | the limited resources are exactly my point. that's why i say it'd make sense to state somewhere near the download site: "we've tested those versions, they are supposed to work, if you use something else please explicitly state so in your bug report" |
16:45:06 | * | theduke quit (Ping timeout: 240 seconds) |
16:45:21 | elrood | and if someone uses those and still runs into a problem that a buildbot or any CI testing would have caught, you can easily tell them their environment isn't set up correctly, without puzzling about something like the one Araq referred to on the forum |
16:47:10 | elrood | ah well, just my two cents, it's not really important |
16:53:35 | Arrrr | maybe Hallo.nim has an infinite loop for some reason, you could ask what he wrote |
16:53:59 | Varriount | elrood: Don't sell yourself short. It's a reasonable view of the situation, and something we should probably do. |
16:54:36 | Varriount | Although, I feel compelled to point out that users don't always read the requirements. |
16:54:58 | Varriount | Perhaps that Nim compiler itself could test for the version... |
16:55:02 | Varriount | *the |
16:57:09 | * | Jesin quit (Quit: Leaving) |
17:00:17 | * | Jesin joined #nim |
17:01:10 | * | yglukhov_ joined #nim |
17:04:10 | * | yglukhov quit (Ping timeout: 240 seconds) |
17:05:41 | * | yglukhov_ quit (Ping timeout: 265 seconds) |
17:11:17 | Varriount | Araq: How finished is the 'not nil' analysis? |
17:14:32 | * | Jesin quit (Quit: Leaving) |
17:19:49 | * | strcmp1 quit (Read error: Connection reset by peer) |
17:21:11 | * | Jesin joined #nim |
17:25:41 | * | zepolen joined #nim |
17:25:46 | Araq | Varriount: the bug tracker reflects reality |
17:25:56 | Araq | but |
17:25:58 | Araq | not nil in general is a though nut |
17:26:14 | * | strcmp1 joined #nim |
17:26:34 | Araq | I'm in favour of weaking its requirements and give up 100% correctness to make it useful in practice |
17:27:06 | Araq | but some people disagree |
17:35:06 | * | Matthias247 joined #nim |
17:36:20 | Varriount | Araq: What would you name an alias for "string not nil"? |
17:37:12 | Varriount | Araq: Problems occur when, say, the checker can't infer that a slice of a not nil string will itself not be nil. |
17:41:43 | Araq | FilledString? |
17:41:54 | Araq | ProperString? |
17:42:01 | Araq | NotNilString? |
17:42:40 | Araq | WhatStringShouldHaveBeenInTheFirstPlace? |
17:42:40 | Varriount | Araq: I ask because there are parts of the standard library that could use it, if only to ensure users of the 'not nil' feature aren't driven insance. |
17:42:45 | Varriount | *insane |
17:43:00 | Araq | well the standard library doesn |
17:43:00 | Varriount | Araq: What strings should have been in the first place is immutable. :P |
17:43:18 | Araq | t use the feature to ensure users aren |
17:43:30 | Araq | 't driven insane by the nil checker |
17:43:59 | Araq | and now it's time for me to reclaim my homeworld. see you later |
17:44:19 | Varriount | Bye. Expect a PR from me soon in one repository or another. |
17:46:57 | * | zepolen_ joined #nim |
17:50:18 | * | zepolen quit (Ping timeout: 260 seconds) |
17:51:59 | * | jaco60 quit (Ping timeout: 240 seconds) |
17:53:09 | * | jaco60 joined #nim |
18:01:42 | * | zepolen_ quit (Remote host closed the connection) |
18:03:13 | * | yglukhov joined #nim |
18:07:36 | * | yglukhov quit (Ping timeout: 246 seconds) |
18:08:11 | * | brson joined #nim |
18:20:17 | * | zepolen joined #nim |
18:23:41 | * | boydgreenfield joined #nim |
18:24:01 | * | boydgreenfield quit (Client Quit) |
18:24:30 | * | zepolen quit (Ping timeout: 240 seconds) |
18:34:38 | * | drs joined #nim |
18:36:55 | Varriount | Araq: In nimsuggest, is protocol v2 somehow different than protocol v1? |
18:37:41 | Varriount | I mean, is the format of the protocol any different, or just the compiler internals? |
18:40:25 | * | BitPuffin quit (Ping timeout: 265 seconds) |
18:41:15 | * | theduke joined #nim |
18:42:53 | LibreWulf | Hey all, I'm having a problem with parallel and bounds checking that I don't really understand, and I've managed to boil it down to the following code snippet: http://paste.debian.net/330839/ |
18:43:25 | LibreWulf | I can't compile this, I get "foo.nim(14, 21) Error: cannot prove: t <= 499 (bounds check) |
18:43:45 | LibreWulf | Moving the assignment into the parallel statement doesn't help either |
18:43:51 | LibreWulf | er, parallel block* |
18:44:10 | theduke | In go there is a special interface{} variable type that let's you pass around variables of any type, and then cast them, do a switch, aka case/of on it's type, etc. Is there an equivalent in nim? |
18:46:06 | theduke | Also, considering a ducktyping approach: is there an operator or proc to check if a proc/method is available for a certain type or variable? |
18:49:52 | Arrrr | Maybe concepts http://nim-lang.org/docs/manual.html#generics-concepts |
18:54:19 | * | darkf quit (Quit: Leaving) |
18:55:03 | drs | is there some documentation on how Future / await (async?) is implemented in Nim? |
18:55:27 | * | mindriot_ joined #nim |
18:55:36 | * | mindriot_ quit (Remote host closed the connection) |
18:56:03 | ephja | it's a macro |
18:57:34 | ephja | drs: here's one example http://nim-lang.org/docs/asyncnet.html |
18:58:11 | drs | thanks |
18:58:27 | Varriount | theduke: Sorta. What are you trying to do? |
19:01:06 | * | yglukhov joined #nim |
19:05:21 | * | yglukhov quit (Ping timeout: 246 seconds) |
19:11:47 | * | desophos joined #nim |
19:12:34 | * | askatasuna joined #nim |
19:16:00 | theduke | Arrrr: thanks again |
19:16:28 | theduke | Varriount: i'm evaluating nim right now. One specific example: I would like to write a bdd style test framework |
19:16:45 | theduke | think Expect(x).To(Equal(y)) |
19:17:10 | theduke | both expect and equal() would have to accept any type, and then compare them |
19:19:08 | theduke | I guess it could be done with macros , and/or overloading |
19:19:32 | * | Jesin quit (Read error: Connection reset by peer) |
19:19:43 | desophos | templating |
19:19:52 | desophos | er...... generics i mean |
19:19:58 | desophos | i always get those mixed up |
19:20:43 | desophos | nvm |
19:20:47 | desophos | i see what you want |
19:21:09 | * | euantor joined #nim |
19:24:09 | desophos | you might be able to template `to` |
19:25:03 | desophos | so `expect x to equal y` would become `expect equal(x, y)` |
19:25:15 | * | euantor quit (Remote host closed the connection) |
19:26:23 | Varriount | theduke: Generics and multimethods should help. Also the typeinfo module for run-time time inspection. |
19:27:00 | * | Gonzih quit (Ping timeout: 250 seconds) |
19:27:37 | * | euantor joined #nim |
19:28:26 | theduke | Varriount: just discovered it 30 seconds ago. I guess I could template functions like equals() to use typeinfo.toAny(). Or figure it out with generics |
19:28:42 | theduke | Anyway, thanks for the pointers @Varriount, desophos |
19:28:45 | theduke | I'll do some digging |
19:29:18 | desophos | BDD should be very possible with the power of templates theduke |
19:29:57 | desophos | just rewording |
19:30:50 | Varriount | LibreWulf: Still having trouble? |
19:31:11 | LibreWulf | Yeah, I'm not sure why |
19:31:37 | LibreWulf | my actual use case for this is having parallel inside a loop, which also doesn't compile due to bounds checking |
19:31:57 | LibreWulf | interesting, in neither examples does --boundChecks: off allow it to compile |
19:32:50 | Varriount | Araq: You here? |
19:33:19 | Varriount | LibreWulf: Unfortunately, the parallel feature hasn't gotten enough real-world testing. |
19:33:46 | LibreWulf | I understand, I expect as much from anything requiring an experimental pragma |
19:34:18 | theduke | Side question: is anyone using nim in production for clients? |
19:34:40 | theduke | would be eager to hear about experiences / stability , etc |
19:35:21 | Varriount | theduke: What kind of clients? |
19:36:09 | * | askatasuna quit (Ping timeout: 246 seconds) |
19:36:32 | Varriount | Araq and gokr both work at 3DICC, which is using Nim as a replacement for C++ for their 3d VR sofware. |
19:37:19 | Varriount | There's the forum and NimBot, both written in Nim. |
19:37:42 | Arrrr | desophos: how is your game going on |
19:38:01 | desophos | it's pretty good Arrrr, need to figure out what to do next |
19:38:18 | desophos | i haven't really planned it out very well :x |
19:39:05 | theduke | Varriount: I just mean proffessionally, not just for hobby projects |
19:40:28 | Varriount | theduke: Again, there's gokr, Araq, and 3DICC |
19:41:11 | * | yglukhov joined #nim |
19:42:29 | desophos | Arrrr: i created a trello board and a hacknplan project for it but haven't really touched either |
19:42:51 | Arrrr | what is hacknplan |
19:43:22 | desophos | it's a new indie game project planner in beta |
19:43:27 | desophos | but free |
19:43:39 | desophos | hacknplan.com |
19:43:59 | Araq | LibreWulf: hi |
19:44:05 | LibreWulf | Hello |
19:44:05 | Arrrr | the classic todo but more complicated you mean |
19:44:18 | desophos | sure |
19:44:28 | Araq | Varriount: --v2 adds some features |
19:44:34 | Araq | and extended the protocol |
19:47:31 | Araq | theduke: using interface{} and runtime dynamism for testing is pretty ridiculous if you ask me. have you looked at unittest.nim? |
19:48:41 | * | nande joined #nim |
19:51:47 | Araq | LibreWulf: not sure, |
19:51:59 | desophos | Arrrr: more complicated in good ways, hopefully |
19:53:08 | Araq | report it properly please, at the very least I can disable the bounds checker for you and make it only produce warnings |
19:53:21 | * | Araq is away again |
19:57:21 | theduke | Araq: did so now. It's all done with macros there, I see. I really have to wrap my head around the whole template/macro metaprogramming concept. |
20:00:08 | * | askatasuna joined #nim |
20:09:07 | * | Gonzih joined #nim |
20:16:52 | * | gokr joined #nim |
20:34:10 | * | Gonzih quit (Ping timeout: 250 seconds) |
20:36:21 | Arrrr | desophos you could program a noob friendly game engine, flash has flashpunk which used to be quite popular http://useflashpunk.net/ |
20:37:37 | desophos | Arrrr: there's nimgame which hasn't been updated in years, but i haven't seen anything else like a game engine or framework for Nim |
20:37:53 | desophos | but idk if i'm competent enough to write an engine haha |
20:38:59 | Arrrr | you know what a newcomer in nim would like to see, that's important |
20:39:37 | ephja | flash, oh god :p |
20:40:50 | Arrrr | it is a good tool as long as you dont use it for web dev |
20:41:34 | * | askatasuna quit (Quit: WeeChat 1.3) |
20:42:23 | * | Arrrr quit (Quit: WeeChat 1.2) |
20:43:41 | * | makoLine joined #nim |
20:46:19 | * | mat4 joined #nim |
20:46:22 | * | euantor quit (Remote host closed the connection) |
20:46:25 | mat4 | hello |
20:51:58 | NimBot | nim-lang/Nim devel f9ad735 Araq [+0 ±2 -0]: documented untyped/typed meta-types |
20:54:54 | * | makoLine quit (Ping timeout: 246 seconds) |
20:55:04 | * | Gonzih joined #nim |
20:59:36 | * | nchambers is now known as nchambers\dead |
21:06:47 | * | Gonzih quit (Ping timeout: 264 seconds) |
21:12:15 | * | makoLine joined #nim |
21:14:53 | * | gour quit (Quit: WeeChat 1.3) |
21:17:34 | * | mindriot101 joined #nim |
21:17:46 | * | mindriot101 quit (Remote host closed the connection) |
21:18:56 | * | nchambers\dead is now known as nchambers\undead |
21:20:14 | * | nchambers\undead is now known as nchambers\fsckin |
21:23:26 | * | nchambers\fsckin is now known as nchambers |
21:36:13 | desophos | what's Nim's bitwise xor operator? |
21:36:49 | desophos | is it just "xor"? |
21:37:20 | desophos | similarly, are `and`/`&` and `or`/`|` equivalent? |
21:37:30 | desophos | (bitwise) |
21:38:42 | * | solidsnack joined #nim |
21:40:45 | * | solidsnack quit (Client Quit) |
21:41:04 | * | solidsnack joined #nim |
21:41:28 | mat4 | desophos: its 'xor' |
21:42:44 | mat4 | if you search for a function name or expression, simply refer to the index: http://nim-lang.org/docs/theindex.html |
21:43:19 | desophos | i did find xor but i didn't know if it works bitwise |
21:44:14 | mat4 | proc `xor`(x, y: int64): int64 {.magic: "BitxorI", noSideEffect.} |
21:44:43 | desophos | ah i see |
21:44:45 | mat4 | as you see, it is the bitwise xor operation |
21:44:59 | * | Kingsquee joined #nim |
21:45:02 | desophos | that index seems quite useful, thanks |
21:45:57 | mat4 | it is (however your browser should include a content wise search function) |
21:46:20 | desophos | i found xor in the manual but it says nothing about bitwise |
21:46:27 | desophos | i was not aware of the index |
21:46:54 | * | euantor joined #nim |
21:50:55 | * | nchambers is now known as {0xc6} |
21:51:08 | * | {0xc6} is now known as nchambers |
21:51:47 | * | euantor quit (Ping timeout: 264 seconds) |
21:52:36 | * | solidsna_ joined #nim |
21:53:51 | * | Jesin joined #nim |
21:55:49 | * | solidsnack quit (Ping timeout: 244 seconds) |
21:57:07 | * | Demon_Fox joined #nim |
21:59:53 | * | Varriount_ joined #nim |
22:01:30 | * | Varriount quit (Ping timeout: 244 seconds) |
22:04:22 | * | mat4 quit (Quit: leaving) |
22:08:40 | * | barosl_ joined #nim |
22:10:25 | * | euantor joined #nim |
22:10:42 | * | euantor quit (Client Quit) |
22:12:05 | * | barosl quit (Ping timeout: 276 seconds) |
22:19:05 | * | distortedsignal joined #nim |
22:29:52 | * | distortedsignal left #nim (#nim) |
22:29:56 | Varriount_ | Araq: I notice that the compiler doesn't notice the difference between "--run" and "--r" |
22:31:02 | Araq | is there any? |
22:57:23 | * | nande quit (Read error: Connection reset by peer) |
23:06:13 | * | coopernurse joined #nim |
23:19:14 | nchambers | Araq: --run has two extra letters |
23:25:01 | * | pregressive quit (Remote host closed the connection) |
23:26:32 | * | pregressive joined #nim |
23:30:53 | * | Matthias247 quit (Read error: Connection reset by peer) |
23:35:50 | * | yglukhov quit (Remote host closed the connection) |
23:38:23 | * | desophos_ joined #nim |
23:40:34 | * | desopho__ joined #nim |
23:40:43 | * | desopho__ quit (Remote host closed the connection) |
23:40:44 | * | desophos_ quit (Read error: Connection reset by peer) |
23:41:00 | * | desophos_ joined #nim |
23:41:59 | * | desophos quit (Ping timeout: 240 seconds) |
23:43:37 | Varriount_ | Well, since the solution to fix it would either require a macro, or doubling the argument parsing code, I don't think I'll push to get the... feature fixed. |
23:45:59 | * | gokr quit (Quit: Leaving.) |
23:50:54 | * | Soak joined #nim |
23:54:55 | Soak | hello, say I want to read a binary file byte by byte, is there a way to do that simply with a sort of buffer? Actually I readFile() then I loop with a for on each index of the string from readFile() (say in the var varstringfile), say I use "i" as the counter in the for loop, then I work with varstringfile[i] so I saw the streams library with a readChar() var, but with that, I need to manually increase the position of the stream with a secondary var as a counter, |
23:54:55 | Soak | it's not elegant, is anyone having an idea please? |
23:55:27 | Soak | readChar() proc* sorry |
23:58:27 | ephja | and with streams http://nim-lang.org/docs/streams.html#newFileStream,File |
23:59:58 | Soak | yes I used that with the readChar() proc from this library |