00:04:55 | * | yglukhov quit (Remote host closed the connection) |
00:14:04 | * | nohusuro left #nim (#nim) |
00:18:51 | * | libman joined #nim |
00:22:54 | FromGitter | <zacharycarter> anyone have experience linking static libs for emscripten builds? |
00:25:51 | FromGitter | <zacharycarter> nm got it working I believe |
01:05:28 | * | yglukhov joined #nim |
01:09:53 | * | yglukhov quit (Ping timeout: 248 seconds) |
01:24:55 | libman | Hoping for replies to my comment on https://redd.it/6ku81h - considering what would be the leading candidate for a lean copyfree GUI library as an alternative to GTK+ on Unix. |
01:34:50 | PMunch | Uhm, did you delete it? |
01:35:05 | PMunch | At the top it says "all 2 comments" but I can only see my comment :P |
01:37:26 | PMunch | libman ^ |
01:37:41 | libman | Yeah, I'm baffled by this as well. |
01:38:40 | PMunch | Are you shadowbanned on Reddit? :P |
01:38:56 | libman | I see my comment, but nobody else does (ex. https://archive.is/NVx0b ) |
01:39:17 | libman | That would be the first evidence of this I've ever come across... |
01:39:37 | PMunch | This is really strange |
01:39:45 | PMunch | It could be a slow cache thing |
01:40:06 | PMunch | Reddit servers aren't known for their superb stability :P |
01:40:51 | libman | Pasted my buffer to https://gist.github.com/lbmn/becd973939f6eb397743dd1c590ad898 |
01:46:53 | * | chemist69 quit (Ping timeout: 246 seconds) |
01:48:34 | libman | justache in #reddit said "your account isn't shadowbanned ,but that comment got removed". |
01:49:38 | PMunch | Any reason why? |
01:49:43 | PMunch | It's a legitimate question.. |
01:51:37 | libman | Guess dom96 / mkartic finally got tired of my philosophizings and nearly zero public code... |
01:52:54 | PMunch | But to answer your question |
01:53:15 | PMunch | I feel like the best approach would be to have one core, and then modular targets |
01:54:11 | PMunch | So I could do "nimble install nigui-gtk" which would grab the version of nigui it depended on and install both |
01:54:26 | PMunch | wxWidgets for example has an X target |
01:55:08 | PMunch | Which isn't very well maintained and makes it confusing as you download a release version and the X target simply doesn't work. |
01:55:42 | PMunch | That way the original creator can focus on the targets that he wanted to have, and others could create new, and maintain optional versions. |
01:57:35 | PMunch | As for which GUI toolkit to go for as a copyfree alternative I would say that the wxWidgets X target does a pretty good job, so maybe that could be replicated? Tk is also an interesting option as I've seen it around a bit. Nuklear also has it's merits, mainly since it's already cross-platform in itself and has gained a bit of traction within Nim. So it would work nicely as an "optional" target. |
02:00:51 | * | chemist69 joined #nim |
02:02:21 | libman | Wouldn't targeting X directly involve more work for than using something like Nuklear? |
02:02:35 | libman | (BTW, FYI: wxWindows License is just slightly tweaked LGPL - http://copyfree.org/standard/rejected ) |
02:07:13 | * | Amrykid2 quit (Quit: Leaving) |
02:11:26 | FromGitter | <zacharycarter> Nuklear requires drawing backends to be implemented |
02:11:39 | FromGitter | <zacharycarter> just FYI |
02:17:16 | PMunch | libman, of course it would be more work. But you could possibly "borrow" something from wxWidgets |
02:20:22 | libman | Sorry, I'm less interested in this research topic if the discussion isn't taking place on some place like Reddit... |
02:23:42 | libman | Shadow-bans are most disturbing. I guess this isn't a good day / month / year / lifetime for my clawing my way out of programming schizophrenia. All I ask is that people be honest with me... |
02:31:15 | PMunch | Yeah that was weird.. |
02:37:01 | libman | I should just code C. I might have accomplished something by now... |
02:38:44 | PMunch | Haha, Nim is so much easier than C though :P |
02:40:20 | libman | Not when you start discussing things with other humans. |
02:40:53 | PMunch | Well, nothing is.. |
02:41:41 | FromGitter | <zacharycarter> discuss less, code more :P |
02:42:58 | * | pilne quit (Quit: Quitting!) |
02:58:34 | libman | Well, I can't code Nim if I'm shadow-banned from r/Nim... |
02:59:40 | * | rauss joined #nim |
02:59:56 | FromGitter | <zacharycarter> why not? |
03:00:05 | FromGitter | <zacharycarter> also shadowbans are common in reddit, they're nothing personal and easy to get fixed |
03:07:25 | * | yglukhov joined #nim |
03:12:04 | * | yglukhov quit (Ping timeout: 260 seconds) |
03:13:56 | * | smt quit (Ping timeout: 260 seconds) |
03:24:43 | libman | It's most likely a reddit issue based on one of the URLs. My "test post" went through, but it disappeared when I edited it and pasted the lost buffer into it. Told ya Reddit was evil... |
03:27:56 | * | aerx quit (Ping timeout: 260 seconds) |
03:33:08 | PMunch | I see your link post though libman |
03:33:39 | libman | Yup. Most likely Reddit doesn't like links to Tck.Tk :P |
03:34:24 | libman | *Tcl |
03:34:48 | PMunch | Well, lot's of weird stuff on .tk domains :P |
03:36:11 | libman | Reddit's AI decided that I was calling for "nuklear" terrorism against Tokelau. |
03:47:50 | * | chemist69 quit (Ping timeout: 240 seconds) |
03:54:52 | * | chrisheller quit () |
03:56:49 | * | sz0 joined #nim |
04:05:47 | * | ftsf joined #nim |
04:15:04 | * | chemist69 joined #nim |
04:44:26 | FromGitter | <Varriount> Anyone still up? |
04:45:32 | FromGitter | <zacharycarter> o/ |
04:48:41 | * | PMunch quit (Quit: leaving) |
04:49:14 | FromGitter | <Varriount> @zacharycarter Hows Zengine going? Anything I can help with? |
04:49:47 | FromGitter | <zacharycarter> @Varriount I haven't been working on it much. I've kind of been fumbling not really sure what steps to take on it |
04:50:03 | * | aerx joined #nim |
04:50:13 | FromGitter | <zacharycarter> I keep coming back to whether or not I really want to use bgfx / whether I still want to make a game engine or not |
04:50:37 | FromGitter | <Varriount> Hm. |
04:50:42 | FromGitter | <zacharycarter> I'm wondering if my time might be better spent trying to get Nim and Godot playing nicely |
04:51:23 | FromGitter | <Varriount> "GUI programming is one of the leading causes of programmer burnout. " <- Godot documentation |
04:51:35 | FromGitter | <zacharycarter> heh |
04:52:24 | FromGitter | <Varriount> What's it written in? |
04:52:34 | FromGitter | <zacharycarter> C++ I believe |
04:52:45 | FromGitter | <Varriount> Hrm. |
04:52:45 | FromGitter | <zacharycarter> but they have this new feature called Godot Native |
04:53:01 | FromGitter | <zacharycarter> https://godotengine.org/article/dlscript-here |
04:54:21 | FromGitter | <Varriount> Hm. Sounds like you would still have to write the game in C++ though |
04:55:04 | FromGitter | <zacharycarter> I think GDNative allows you to write the game in whatever language you want |
04:55:09 | FromGitter | <zacharycarter> as long as bindings exist for it |
04:59:29 | FromGitter | <zacharycarter> I've been playing around with my old Dengine project trying to get skeletal animation working properly |
04:59:38 | * | Senketsu joined #nim |
05:00:01 | FromGitter | <zacharycarter> I think what I may do is prototype some stuff out in Kotlin and then re-write it in Nim |
05:07:19 | FromGitter | <Varriount> @zacharycarter You could help go through all these pull requests. |
05:07:24 | FromGitter | <Varriount> We have 3 pages of them |
05:07:37 | FromGitter | <Varriount> One was made in 2015! |
05:07:50 | FromGitter | <zacharycarter> jesus |
05:08:49 | FromGitter | <Varriount> A good project would be to take the ones that are waiting on submitter changes, and just make them ourselves |
05:09:00 | FromGitter | <zacharycarter> yeah |
05:09:20 | * | yglukhov joined #nim |
05:15:03 | * | yglukhov quit (Ping timeout: 260 seconds) |
05:36:17 | * | Senketsu quit (Quit: Leaving) |
05:37:01 | * | Trioxin joined #nim |
05:37:27 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
05:37:30 | Trioxin | how to convert value type int to string? |
05:38:21 | Trioxin | use parseInt for the other way around but just realized I didn't know how to go the other way |
05:40:37 | FromGitter | <zacharycarter> $int |
05:42:14 | Trioxin | oh, also just found intToString |
05:42:25 | Trioxin | intToStr rather |
05:47:16 | * | rauss quit (Quit: WeeChat 1.8) |
05:54:53 | * | nsf joined #nim |
06:08:01 | * | tankfeeder joined #nim |
06:08:11 | tankfeeder | morning |
06:19:07 | FromGitter | <zacharycarter> o/ |
06:21:34 | * | notbarton joined #nim |
06:27:36 | * | aerx quit (Quit: WeeChat 1.9) |
06:31:18 | * | chemist69 quit (Ping timeout: 255 seconds) |
06:49:49 | * | chemist69 joined #nim |
06:57:32 | * | skrylar joined #nim |
07:10:24 | * | v17d joined #nim |
07:12:31 | * | yglukhov joined #nim |
07:16:57 | * | yglukhov quit (Ping timeout: 240 seconds) |
07:22:13 | * | xet7_ quit (Quit: Leaving) |
07:22:33 | * | xet7 joined #nim |
07:22:35 | * | Arrrr joined #nim |
07:22:35 | * | Arrrr quit (Changing host) |
07:22:35 | * | Arrrr joined #nim |
07:28:53 | * | libman quit (Quit: Connection closed for inactivity) |
07:34:03 | tankfeeder | let m = "abc" |
07:34:14 | tankfeeder | how to convert m[1] to cstring ? |
07:34:51 | FromGitter | <zacharycarter> echo m[1].cstring ? |
07:35:27 | * | nattefrost joined #nim |
07:35:30 | * | notbarton quit (Quit: Leaving) |
07:38:41 | Arrrr | Maybe you have to cast that char to string before |
07:48:45 | tankfeeder | echo m[1].cstring - doesnt work |
07:49:27 | FromGitter | <ephja> convert it to a string first |
07:49:37 | tankfeeder | trying |
07:49:52 | FromGitter | <ephja> $m[1].cstring |
07:49:58 | FromGitter | <ephja> but you might need parentheses somewhere |
07:50:29 | tankfeeder | echo $m[1].cstring - doesnt work |
07:50:34 | tankfeeder | prog.nim(2, 8) Error: type mismatch: got (char) but expected 'cstring = CString' |
07:50:47 | tankfeeder | playground - http://ideone.com/j9kTOO |
07:52:18 | def- | echo(($m[1]).cstring) |
07:53:08 | tankfeeder | o |
07:53:53 | tankfeeder | thanks |
07:56:21 | * | nightmared quit (Ping timeout: 255 seconds) |
08:03:46 | * | yglukhov joined #nim |
08:04:23 | * | yglukhov quit (Remote host closed the connection) |
08:05:14 | * | nattefrost quit (Ping timeout: 246 seconds) |
08:05:38 | * | nattefrost joined #nim |
08:31:30 | * | nightmared joined #nim |
08:31:49 | skrylar | good old string conversion woes |
08:31:56 | skrylar | wasting CPU cycles throughout the ages |
08:33:25 | tankfeeder | only need to tests |
08:33:49 | tankfeeder | i've implement blake2 library and trying to pull request now |
08:38:32 | skrylar | oh you got that working? neat. did you reimplement in nim or write a wrapper |
08:41:15 | tankfeeder | in nim |
08:41:23 | skrylar | neat. |
08:41:51 | tankfeeder | what to see? i've post announce to forum, but i dont see the post if logout |
08:42:02 | tankfeeder | what -> want |
08:47:24 | euantor | Your account/post needs approving by somebody with access such as dom96 |
08:47:42 | skrylar | i wasn't aware we did that kind of thing now |
08:48:05 | tankfeeder | ok |
08:54:50 | * | nightmared quit (Ping timeout: 240 seconds) |
08:56:28 | * | yglukhov joined #nim |
08:56:41 | tankfeeder | what i need to do if my new thread post on forum doesnt listed ? |
08:58:01 | euantor | It should be approved at some point whenever somebody with access gets a chance :) skrylar: Pretty sure we do, I think it was added due to some spam |
09:15:49 | * | nightmared joined #nim |
09:16:24 | * | arnetheduck joined #nim |
09:22:09 | * | nattefrost quit (Ping timeout: 248 seconds) |
09:22:14 | * | nattefrost_ joined #nim |
09:22:35 | * | nightmared quit (Ping timeout: 240 seconds) |
09:46:05 | * | arnetheduck quit (Ping timeout: 240 seconds) |
10:16:29 | * | sz0 quit (Quit: Connection closed for inactivity) |
10:19:34 | * | krux02 joined #nim |
10:44:17 | * | v17d quit (Ping timeout: 248 seconds) |
10:59:43 | * | smt joined #nim |
11:00:47 | FromGitter | <TiberiumN> Araq, hi, how to use your library in another folder? https://github.com/nim-lang/ui |
11:00:54 | FromGitter | <TiberiumN> Is it possible currently? |
11:02:17 | skrylar | TiberiumN if you are using something from a git checkout you just put it somewhere else and then use the relative path in your import statement. or add it as a search directory. |
11:02:23 | skrylar | also i didn't know libui existed and that we had bindings to it |
11:03:40 | FromGitter | <TiberiumN> also trustable is doing this - https://github.com/trustable-code/NiGui |
11:03:50 | FromGitter | <TiberiumN> this looks very cool (it doesn't have libui dependency) |
11:04:04 | FromGitter | <TiberiumN> but it doesn't work currently for me, because winapi differs on 32bit and 64bit |
11:05:04 | skrylar | i had part of this neat thing written in Go, but it only worked with winapis. |
11:05:24 | FromGitter | <TiberiumN> trustable has already done win32 and gtk3 bindings |
11:05:47 | skrylar | i just took the basic idea of a scene graph and applied it to UIs. so you created menus by attaching buttons underneath buttons and then attaching that whole thing to a menu bar |
11:06:10 | skrylar | it was kind of neat because it all just worked by intent, but meh |
11:08:24 | skrylar | should see if i still have some of that miglayout code around. i think i tried implementing that in nim |
11:08:48 | skrylar | its nice because its completely agnostic of your UI framework so you can take any old widget bag and have this really powerful thing, but it's annoying to code. |
11:09:18 | skrylar | might make good resume fodder. dunno if nim code makes a dent in a resume tho |
11:21:50 | * | SunDwarf quit (Ping timeout: 240 seconds) |
11:24:38 | euantor | Has anybody recently used `asyncdispatch.recvLine` with an unbuffered `AsyncSocket`? I'm getting the error `Error: unhandled exception: Future still in progress.` for this line: https://github.com/nim-lang/Nim/blob/master/lib/pure/asyncnet.nim#L537 |
11:25:46 | * | Kingsquee quit (Quit: https://i.imgur.com/qicT3GK.gif) |
11:26:32 | * | SunDwarf joined #nim |
11:37:47 | euantor | Changing lines 537 and 544 to `c = await recvFut` seems to fix the problem for me, but not sure if this is the correct approach... |
11:40:24 | * | v17d joined #nim |
11:43:35 | FromGitter | <ephja> otherwise it might not have finished, right? |
11:45:04 | FromGitter | <ephja> I wonder if it has only been tested in low latency environments (locally) |
11:45:14 | euantor | Yeah, that's what I think |
11:45:18 | ftsf | hmm in parsecfg setSectionKey("foo","bar","-1") makes the file have [foo]\nbar=-1 |
11:45:26 | euantor | I'm guessing it's maybe only been tested with buffered sockets |
11:46:00 | FromGitter | <ephja> or with buffered sockets |
11:46:27 | skrylar | unbuffered sockets might not be set up to notify futures that they were fulfilled |
11:46:46 | ftsf | however then getSectionValue("foo", "bar") returns "" |
11:46:51 | ftsf | seems -1 needs to be quoted |
11:46:58 | skrylar | you wouldn't normally use futures for unbuffered streams 'cause you would just get possibly incomplete results. |
11:47:03 | skrylar | so it might not be tested for it? |
11:48:23 | euantor | I'd guess it's not tested, but the documentation for the `recvLine` and `recvLineInto` functions both mention unbuffered sockets in a way that makes you think they should work |
11:48:42 | skrylar | so much for reasonable doubt ._. |
11:50:08 | * | krux02 quit (Remote host closed the connection) |
11:52:45 | * | krux02 joined #nim |
11:56:47 | ftsf | https://github.com/nim-lang/Nim/issues/6046 |
12:02:53 | * | Snircle joined #nim |
12:10:03 | * | krux02 quit (Remote host closed the connection) |
12:11:56 | * | Vladar joined #nim |
12:12:21 | * | krux02 joined #nim |
12:15:23 | * | krux02 quit (Remote host closed the connection) |
12:18:01 | * | krux02 joined #nim |
12:19:36 | * | bjz joined #nim |
12:47:02 | * | krux02 quit (Remote host closed the connection) |
13:08:16 | * | bjz_ joined #nim |
13:08:44 | * | Arrrr quit (Read error: Connection reset by peer) |
13:09:53 | * | bjz quit (Ping timeout: 248 seconds) |
13:31:10 | * | bjz joined #nim |
13:32:49 | * | bjz_ quit (Ping timeout: 248 seconds) |
13:33:48 | skrylar | hrmm.. very basic javascript compile from nim makes a 56kb monster file :( |
13:34:09 | * | libman joined #nim |
13:34:36 | skrylar | it does get down to 30kb or so through uglifyjs and then ~8kb through gzip, so that's not unlivable. would be curious to see how that stacks up when doing real site work |
13:35:27 | FromGitter | <andreaferretti> are you using `-d:release`? |
13:35:44 | skrylar | i didn't in the test i just did |
13:36:10 | libman | dom96: can you please put the Reddit shadow-censorship ambiguity to rest? https://www.reddit.com/r/bugs/comments/6kxn6p/comment_shadowcensored_presumably_automatically/ |
13:36:26 | FromGitter | <andreaferretti> well, then try again :-) |
13:36:51 | skrylar | saves about 6k before compression |
13:37:18 | FromGitter | <andreaferretti> I have a basic react application which boils down to 26kb |
13:37:35 | FromGitter | <andreaferretti> I guess that's more or less the baseline |
13:37:56 | FromGitter | <andreaferretti> not much these days anyway |
13:38:00 | skrylar | that includes a lot of javascript doing silly things tho. the nim app just does nothing |
13:38:22 | skrylar | it might be fine when doing a lot of work, i don't know. delphi used to have a large initial size and tiny growth over time. |
13:41:05 | FromGitter | <andreaferretti> well, I don't think that's a lot anyway |
13:41:20 | FromGitter | <andreaferretti> afaik, scala.js should be in the same ballpark |
13:43:30 | * | couven92 joined #nim |
13:45:29 | * | nsf quit (Quit: WeeChat 1.7.1) |
13:48:26 | * | skrylar quit (Quit: My iMac has gone to sleep. ZZZzzz…) |
13:48:31 | * | madmalik joined #nim |
13:54:46 | * | AckZ joined #nim |
14:04:34 | * | cspar_ joined #nim |
14:07:35 | * | cspar quit (Ping timeout: 240 seconds) |
14:16:34 | * | krux02 joined #nim |
14:17:55 | * | tankfeeder quit (Quit: Leaving) |
14:36:38 | * | nattefrost_ quit (Remote host closed the connection) |
14:40:26 | * | v17d quit (Remote host closed the connection) |
14:40:33 | * | couven92 quit (Ping timeout: 248 seconds) |
14:42:13 | * | v17d joined #nim |
14:48:11 | * | skrylar joined #nim |
14:51:13 | Sentreen | dom96: is there any way to use `config.nims` for both the build configuration and nimble? It seems kind of silly (to me) that there is both a name.nimble and name.nims file, when some logic (e.g. version numbers) needs to be present in both. |
14:52:13 | Sentreen | I know it's possible to create a `build.nim` file where you put the shared functionality, but that's pretty unwieldy in practice IMO. |
14:54:06 | * | couven92 joined #nim |
15:01:33 | FromGitter | <andreaferretti> you can use .nimble for the build configuration |
15:01:40 | FromGitter | <andreaferretti> and just do without .nims |
15:05:20 | Sentreen | ... I'm feeling really stupid for never considering that. |
15:05:50 | Sentreen | Thanks for the pointer :) |
15:07:19 | * | v17d quit (Remote host closed the connection) |
15:08:03 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
15:09:05 | * | shashlick joined #nim |
15:09:07 | * | v17d joined #nim |
15:09:59 | * | shashlick quit (Remote host closed the connection) |
15:11:09 | * | shashlick joined #nim |
15:17:51 | * | skrylar quit (Quit: Textual IRC Client: www.textualapp.com) |
15:23:40 | * | Arrrr joined #nim |
15:23:40 | * | Arrrr quit (Changing host) |
15:23:40 | * | Arrrr joined #nim |
15:27:14 | FromGitter | <andreaferretti> https://docs.travis-ci.com/user/languages/community-supported-languages/#How-do-I-add-a-new-community-supported-language%3F |
15:29:36 | * | v17d quit (Remote host closed the connection) |
15:31:28 | * | v17d joined #nim |
15:38:23 | * | nsf joined #nim |
15:42:34 | euantor | Would be nice to get Nim added there. I'm using Circle CI at the minute for my builds as their new container based approach is pretty nice: https://github.com/nim-lang/Nim/wiki/BuildServices#building-nim-projects-on-circle-ci-v20-currently-in-beta |
15:45:48 | * | v17d quit (Remote host closed the connection) |
15:48:50 | * | v17d joined #nim |
15:56:39 | * | krux02 quit (Remote host closed the connection) |
15:59:51 | * | yglukhov quit (Remote host closed the connection) |
16:00:35 | * | Arrrr quit (Ping timeout: 240 seconds) |
16:04:24 | * | yglukhov_ joined #nim |
16:08:35 | * | yglukhov_ quit (Ping timeout: 240 seconds) |
16:09:32 | * | v17d quit (Remote host closed the connection) |
16:19:29 | * | MrAxilus[m] quit (Ping timeout: 240 seconds) |
16:19:48 | * | mindB quit (Ping timeout: 246 seconds) |
16:19:49 | * | Jipok[m] quit (Ping timeout: 240 seconds) |
16:19:52 | * | ehmry quit (Ping timeout: 255 seconds) |
16:20:01 | * | dyce[m] quit (Read error: Connection reset by peer) |
16:20:02 | * | stisa quit (Read error: Connection reset by peer) |
16:20:02 | * | jivank[m] quit (Read error: Connection reset by peer) |
16:20:02 | * | federico3p quit (Read error: Connection reset by peer) |
16:20:02 | * | hohlerde quit (Read error: Connection reset by peer) |
16:20:03 | * | TheManiac quit (Read error: Connection reset by peer) |
16:23:54 | * | libman quit (Quit: Connection closed for inactivity) |
16:25:21 | * | nightmared joined #nim |
16:25:31 | * | stisa joined #nim |
16:32:03 | * | MrAxilus[m] joined #nim |
16:32:04 | * | dyce[m] joined #nim |
16:32:04 | * | ehmry joined #nim |
16:32:10 | * | federico3p joined #nim |
16:32:11 | * | hohlerde joined #nim |
16:32:11 | * | Jipok[m] joined #nim |
16:32:11 | * | mindB joined #nim |
16:32:11 | * | TheManiac joined #nim |
16:32:11 | * | jivank[m] joined #nim |
16:48:51 | * | yglukhov joined #nim |
16:48:56 | * | yglukhov quit (Remote host closed the connection) |
16:49:11 | * | yglukhov joined #nim |
16:50:56 | * | arnetheduck joined #nim |
16:54:04 | * | nightmared quit (Ping timeout: 276 seconds) |
16:54:41 | * | nightmared joined #nim |
17:00:49 | * | svara quit (Remote host closed the connection) |
17:01:07 | * | svara joined #nim |
17:04:17 | * | aerx joined #nim |
17:14:07 | * | Arrrr joined #nim |
17:14:07 | * | Arrrr quit (Changing host) |
17:14:07 | * | Arrrr joined #nim |
17:17:39 | * | yglukhov quit (Remote host closed the connection) |
17:25:28 | * | couven92 quit (Ping timeout: 240 seconds) |
17:38:43 | * | Matthias247 joined #nim |
17:38:51 | * | yglukhov joined #nim |
17:40:59 | * | yglukhov quit (Remote host closed the connection) |
17:48:22 | * | bjz joined #nim |
17:49:07 | arecacea1 | hey, someone aware of an easy compiler flag to compile on a linux system for windows using mingw? - I've seen someone generating C files and compiling them separately, doesn't the nim compiler itself support anything in that direction? |
17:50:45 | dom96 | libman: I reinstated your comment, no idea how it was removed. I PM'd the other mod to see if they removed it. |
17:53:12 | Arrrr | Is it possible to 'restart' closures? |
17:54:32 | Arrrr | I guess no |
17:55:19 | Arrrr | *iterator closures |
17:57:45 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
17:57:50 | * | aerx quit (Remote host closed the connection) |
17:59:39 | * | aerx joined #nim |
18:04:20 | FromGitter | <Varriount> arecacea: Try the "os" flag, `--os:windows` should tell the Nim compiler to generate backend code for windows |
18:06:32 | dom96 | You'll need to tell Nim what C compiler to use as well, see the nim.cfg for some examples of how to configure that. |
18:08:48 | arecacea1 | Thanks, I've found something to put in the cmdline but when I put it in the nim.cfg it doesn't work: http://ix.io/yey claiming -- nim.cfg(3, 18) Error: invalid command line option: '--w64' |
18:10:19 | arecacea1 | It works on the commandline tho :) |
18:11:17 | arecacea1 | How do I ping FromGitter's? Just FromGitter ? |
18:12:43 | shmup | kinda neat https://github.com/fiatjaf/module-linker (browse modules by clicking directly on "import" statements on GitHub), works for nim |
18:13:19 | dom96 | arecacea1: Just type in the nick names of the person you want to highlight. |
18:13:29 | arecacea1 | dom96: thanks Varriount: thanks |
18:14:59 | shashlick | general question - what areas of Nim dev/test/doc can do with some newbie help? How do you usually get new volunteers started up? |
18:15:45 | dom96 | We have issues that are labelled as "Easy" |
18:15:59 | dom96 | Those are usually good for newbies to fix. |
18:18:25 | shashlick | I took a look at those |
18:18:31 | dom96 | Have you guys seen this error before? https://github.com/dom96/choosenim/issues/24 |
18:31:15 | * | ofelas joined #nim |
18:32:38 | shmup | getting this error when trying to build nimble with `koch nimble` https://gist.github.com/shmup/1c711511b178f7e7c670686c94578d38 |
18:32:54 | shmup | i've done everything else, to build from source: mingw used to build nim, then built koch |
18:34:34 | dom96 | shmup: Maybe you could give choosenim a try instead? |
18:35:03 | shmup | well I kind of backed out for now re: https://github.com/dom96/choosenim/issues/20 |
18:35:11 | dom96 | shashlick: Didn't find them interesting? |
18:35:23 | shmup | oh wait sorry dom96, yeah that was me but it wasn't the reason I backed out. was it.. the problem with x64? hm. |
18:35:51 | * | arecacea1 quit (Remote host closed the connection) |
18:35:56 | shmup | dom96: I wanna tackle some issues on Github, so I figured building manually would make sense. does choosenim let me target a local repo? |
18:36:23 | dom96 | shmup: ahh ok. Choosenim does but it expects it to be built already |
18:36:26 | * | arecacea1 joined #nim |
18:37:03 | shashlick | dom96: where do you prefer questions on how to fix? on IRC, Github comments, private messages, etc? |
18:37:17 | shmup | comments would be best for the community I think |
18:37:40 | dom96 | shashlick: You can ask here, but ask the channel not me personally. I will answer them as best I can, but just don't highlight me too much :) |
18:37:50 | dom96 | and if nobody gets back to you then ask on GitHub |
18:38:18 | shashlick | sounds fair |
18:38:30 | dom96 | This IRC channel is logged so it can be used as a reference for others too. |
18:38:35 | shashlick | as an aside, happy to help with documentation and build/installer issues |
18:38:37 | shmup | fair again |
18:38:48 | dom96 | But shmup is right, GitHub may be easier to find for newbies. |
18:39:28 | dom96 | Currently every module needs better documentation :) |
18:39:37 | dom96 | In particular easy to grok examples |
18:40:42 | dom96 | That means: simple, to the point and short. |
18:41:35 | shashlick | for issues, what do you prefer - oldest to newest or do you have priority on the easies :D |
18:42:25 | dom96 | I don't really mind. Whatever catches your eye. |
18:42:41 | dom96 | You can also help by going through issues and verifying whether it is still an issue. |
18:43:02 | dom96 | andreaferretti found many old issues that way that we were able to close :) |
18:43:20 | shashlick | nice, sounds good, will take a look |
18:45:20 | shmup | does this still seem like the good plan you think? https://github.com/nim-lang/Nim/issues/1498#issuecomment-305149188 |
18:45:28 | shmup | deprecating not for integers |
18:48:22 | Arrrr | replacing it with `~` ? |
18:48:32 | Arrrr | Seems like a good idea |
18:52:59 | * | ludocode_ quit (Quit: No Ping reply in 180 seconds.) |
18:53:27 | * | onionhammer1 quit (Ping timeout: 260 seconds) |
18:55:52 | * | ludocode joined #nim |
18:55:56 | * | onionhammer1 joined #nim |
18:56:33 | dom96 | shmup: I think so, and yes, go for the `~` not for Araq's suggestion of "bnot". |
18:59:51 | * | ShalokShalom joined #nim |
19:02:02 | * | ludocode quit (Disconnected by services) |
19:02:03 | * | ludocode_ joined #nim |
19:02:17 | * | onionhammer1 quit (Ping timeout: 240 seconds) |
19:04:17 | * | ofelas quit (Ping timeout: 246 seconds) |
19:04:56 | shmup | dom96: what confused me about this issue is, on one hand I thought we were wanting to make a patch to have that output true |
19:05:12 | shmup | but is the real solution using a ~ and deprecating not so that at least the output of false "makes more sense" |
19:05:24 | shmup | and letting it evaluate as it does |
19:05:26 | dom96 | I think eventually we will remove the 'not' for ints |
19:05:35 | dom96 | and then the example will output true |
19:05:41 | * | shmup nods |
19:10:42 | * | ofelas joined #nim |
19:12:52 | * | notbarton joined #nim |
19:13:06 | * | notbarton quit (Client Quit) |
19:17:43 | * | Sentreen quit (Ping timeout: 276 seconds) |
19:18:46 | * | Arrrr quit (Ping timeout: 258 seconds) |
19:21:20 | shmup | when building on windows, https://github.com/nim-lang/Nim, following along with the git clone csources and whatnot, wanted to point out that when done building, nim.exe is actually in csources/bin, not ../bin |
19:24:09 | shmup | ignore me. user error :) |
19:26:06 | * | nsf quit (Quit: WeeChat 1.7.1) |
19:30:08 | * | Sentreen joined #nim |
19:51:56 | * | pilne joined #nim |
19:55:49 | * | couven92 joined #nim |
20:00:11 | * | yglukhov joined #nim |
20:04:19 | * | Trustable joined #nim |
20:05:49 | * | adeohluwa joined #nim |
20:12:45 | shmup | hm, can I get some insight? My PR failed travis because: https://travis-ci.org/nim-lang/Nim/jobs/249754090#L2560 |
20:12:53 | shmup | FAIL: |
20:13:00 | shmup | s/FAIL:// |
20:17:34 | shmup | so I see the test is supposed to fail. Maybe someone can help me understand more about what I should be doing before I PR: https://github.com/nim-lang/Nim/blob/d7eb146d28515e9aea5ae0f98e01b09bd96b5919/tests/concepts/t3330.nim#L40 |
20:38:56 | * | nsf joined #nim |
21:05:50 | * | onionhammer1 joined #nim |
21:06:16 | * | bjz joined #nim |
21:19:44 | * | ofelas quit (Quit: shutdown -h now) |
21:22:18 | * | madmalik quit (Quit: Connection closed for inactivity) |
21:27:25 | * | rauss joined #nim |
21:28:59 | * | Trustable quit (Remote host closed the connection) |
21:30:52 | FromGitter | <Varriount> shmup: Is that a new test> |
21:33:31 | * | Jesin quit (Quit: Leaving) |
21:44:36 | * | Vladar quit (Quit: Leaving) |
21:49:24 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
21:51:15 | * | nsf quit (Quit: WeeChat 1.7.1) |
21:58:10 | * | couven92 quit (Quit: Client Disconnecting) |
22:15:34 | * | Jesin joined #nim |
22:17:23 | * | Matthias247 quit (Read error: Connection reset by peer) |
22:25:06 | * | arecacea1 quit (Remote host closed the connection) |
22:25:43 | * | arecacea1 joined #nim |
22:30:55 | * | SusWombat joined #nim |
22:30:55 | * | SusWombat quit (Client Quit) |
22:45:30 | * | adeohluwa quit (Quit: Connection closed for inactivity) |
22:53:37 | * | libman joined #nim |
22:56:53 | * | yglukhov quit (Remote host closed the connection) |
23:14:02 | FromGitter | <indy9000_twitter> I'm trying to use `parallel` statement as shown in https://nim-lang.org/docs/manual.html#parallel-spawn-parallel-statement |
23:15:02 | FromGitter | <indy9000_twitter> But I get the: `Error: use the {.experimental.} pragma to enable 'parallel'` ⏎ Where should this pragma be placed? |
23:35:16 | FromGitter | <zacharycarter> anywhere above where you're trying to use an experimental feature @indy9000_twitter |
23:37:04 | * | Trioxin quit (Ping timeout: 260 seconds) |
23:37:17 | * | arnetheduck quit (Ping timeout: 246 seconds) |