00:02:29 | * | JappleAck quit (Quit: Leaving) |
00:08:39 | tj_yoco | so I just updated nim and not the nimx test is giving me an error: `C:\Users\Tyler\.nimble\pkgs\ttf-0.2.3\ttf.nim(1439, 33) Error: type mismatch: got (None) but expected 'cint = int32'` |
00:08:52 | tj_yoco | was working just before I updated |
00:12:56 | * | nsf quit (Quit: WeeChat 1.9) |
00:15:12 | tj_yoco | oh I see ttf is part of yglukhov's package |
00:17:31 | FromGitter | <gogolxdong> !eval "echo 2- 1" |
00:17:32 | NimBot | Compile failed: in.nim(1, 1) Error: expression '"echo 2- 1"' is of type 'string' and has to be discarded |
00:29:01 | * | tj_yoco quit (Quit: Leaving) |
00:48:38 | * | def-pri-pub quit (Quit: Leaving.) |
01:06:16 | * | Jesin joined #nim |
01:12:32 | * | darkn0de quit (Quit: Leaving) |
01:25:15 | * | d10n-work quit (Quit: Connection closed for inactivity) |
01:28:52 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
01:34:44 | * | yglukhov joined #nim |
01:39:13 | * | yglukhov quit (Ping timeout: 255 seconds) |
01:44:05 | * | chemist69 quit (Ping timeout: 258 seconds) |
01:51:15 | * | ipjk quit (Read error: Connection reset by peer) |
01:57:48 | * | chemist69 joined #nim |
02:05:31 | shashlick | !eval echo (2-1) |
02:05:33 | NimBot | 1 |
02:18:06 | * | Serenitor quit (Quit: Leaving) |
02:51:24 | * | def-pri-pub joined #nim |
03:12:36 | * | vlad1777d quit (Remote host closed the connection) |
03:13:00 | FromGitter | <zacharycarter> hrmmm so if I use assets from the unity store I can't redistribute them, which means I can't open source the game |
03:16:57 | FromGitter | <zacharycarter> my buddy has a bunch of CC0 isometric assets here - http://tommyettinger.github.io/home/PixVoxel/ |
03:17:15 | FromGitter | <zacharycarter> lmk what you guys think I should do |
03:40:56 | * | def-pri-pub quit (Quit: Leaving.) |
03:45:24 | shashlick | cannot you open source the code but keep the assets closed? |
03:49:14 | FromGitter | <zacharycarter> I could but that makes it tough for anyone to contribute |
03:49:21 | FromGitter | <zacharycarter> that's the only thing :/ |
03:57:59 | * | def-pri-pub joined #nim |
04:07:58 | * | Nobabs27 quit (Quit: Leaving) |
04:10:46 | * | def-pri-pub quit (Quit: Leaving.) |
04:23:28 | FromGitter | <zacharycarter> I think I'm going to go with the humans & orcs and then supplement with my own art eventually |
04:24:29 | FromGitter | <Sud0nim> I'm trying (and failing) to wrap decNumber library from C - has anyone here successfully wrapped a decimal class/library (e.g for financial calculations) or does Nim have one hidden away in the standard library? If not, are there plans to add this at some point? From my own experience these last few weeks: I tried to convert the decNumber library in to dll's and wrap those with c2nim. After a bit of tinkering I can at |
04:24:29 | FromGitter | ... least use some of the functions from the library, but the results that I am getting do not fill me with confidence or differ from a pure C implementation. |
04:30:41 | FromGitter | <zacharycarter> maybe your bindings aren't correct? |
04:31:53 | FromGitter | <zacharycarter> @Sud0nim are they published somewhere? |
04:33:12 | FromGitter | <zacharycarter> also, can you be more specific about what is leading to you questioning the sanity of your bindings? |
04:33:47 | FromGitter | <zacharycarter> if you want to search for nimble packages, the best place is http://nimble.directory/ |
04:44:08 | * | jivank[m] quit (Ping timeout: 252 seconds) |
04:46:42 | * | jivank[m] joined #nim |
04:52:10 | * | miran joined #nim |
05:13:14 | * | vlad1777d joined #nim |
05:18:57 | FromGitter | <Sud0nim> Yes it could definitely be that the bindings are wrong - I found it a little tricky to work out (not being a C programmer). Also it could be that the DLL was not compiled correctly - I found most examples of nim C wrappers used a shared library rather than just a header file and c file, and I had more trouble trying to use just the header and c files so I gave up and went the DLL route. I did search for a decimal |
05:18:58 | FromGitter | ... library, but I couldn't find one in github or Nimble. I think I am probably not the best person to make one (being more a consumer of libraries than a creator skill wise), so I was hoping someone else had already done it. |
05:19:03 | * | dddddd quit (Remote host closed the connection) |
05:30:03 | * | tylerm joined #nim |
05:30:44 | * | tylerm left #nim (#nim) |
06:19:52 | * | huonw quit (Ping timeout: 260 seconds) |
06:23:53 | * | huonw joined #nim |
06:44:21 | * | miran quit (Ping timeout: 240 seconds) |
06:50:42 | * | gokr joined #nim |
06:56:32 | * | Arrrr joined #nim |
06:59:17 | * | Vladar joined #nim |
07:18:42 | * | nsf joined #nim |
07:54:41 | * | miran joined #nim |
07:55:07 | FromGitter | <mratsim> Is there a way to tell nim to change the file extension of .cpp files to .cu? I managed to mix C and C++ targets, but nvidia compiler either treat everything as Cuda code (C++) or only .cu files. The issue is that C++ prevents implicit casting of void pointers which are used when the stdlib is compiled to C (and fpermissive didn’t seem to help) |
07:56:01 | * | Trustable joined #nim |
07:59:14 | FromGitter | <mratsim> Other alternative would be to generate the .cu file from Nim templates and use {.compile.} at the proper place I think. I’m trying to find some examples of dynamic external language source generation (css, html …) if you have a good ressource that would be awesome |
08:02:36 | * | jjido joined #nim |
08:05:27 | * | libman quit (Quit: Connection closed for inactivity) |
08:22:50 | FromGitter | <mratsim> Ahah, is there a “staticWrite” https://nim-lang.org/docs/system.html#staticRead,string ? |
08:34:08 | Araq | mratsim requires a compiler patcn |
08:35:06 | * | jjido quit (Read error: Connection reset by peer) |
08:35:33 | * | yglukhov joined #nim |
08:36:09 | * | yglukhov quit (Remote host closed the connection) |
08:36:22 | * | yglukhov joined #nim |
08:36:28 | * | rauss quit (Read error: Connection reset by peer) |
08:38:50 | * | rauss joined #nim |
08:41:57 | FromGitter | <mratsim> Thanks, I’ll cheat with staticExec calling the nim compiler I guess (so much hacks) |
08:43:51 | * | jjido joined #nim |
09:52:14 | * | jjido quit (Read error: Connection reset by peer) |
09:55:18 | * | nsf quit (Quit: WeeChat 1.9) |
10:21:22 | * | Laon joined #nim |
10:21:59 | * | Trustable quit (Remote host closed the connection) |
10:35:35 | * | Laon quit (Ping timeout: 240 seconds) |
10:38:33 | * | JappleAck joined #nim |
10:45:57 | * | yglukhov quit (Remote host closed the connection) |
10:55:03 | * | azur_kind joined #nim |
10:56:51 | * | Snircle joined #nim |
11:04:41 | koppeh1 | I'm using vscode-nim on Arch. Anyone know if I'm going to install nimsuggest separately? I was of the impression that nim is bundled with nimsuggest now..? |
11:05:43 | koppeh1 | going to have to* |
11:11:45 | dom96 | koppeh1: yes, nimsuggest should be bundled. How did you install Nim? |
11:13:16 | koppeh1 | Using the official nim package on Arch. |
11:14:03 | * | aziz joined #nim |
11:14:40 | * | koppeh1 is now known as koppeh |
11:14:59 | * | aziz quit (Client Quit) |
11:21:05 | FromGitter | <zacharycarter> Araq: I think i'm going back to orcs vs humans |
11:29:43 | * | PMunch joined #nim |
11:45:10 | * | azur_kind quit (Remote host closed the connection) |
11:52:34 | * | sleepyqt joined #nim |
11:52:35 | Araq | zacharycarter: meh :P |
11:54:34 | FromGitter | <mvlootman> hello, does anyone know if there is a reformat document option in Visual Studio Code for Nim? I have installed vscode-nim |
11:58:13 | * | Yardanico joined #nim |
11:58:47 | FromGitter | <Yardanico> Koppeh1: afaik nim |
11:58:58 | Yardanico | koppeh1: AFAIK nim package in Arch doesn't have nimsuggest |
11:59:00 | Yardanico | koppeh, |
11:59:20 | Yardanico | yeah |
11:59:21 | Yardanico | https://www.archlinux.org/packages/community/x86_64/nim/files/ |
11:59:31 | Yardanico | it only installs "nim" and "nimgrep" binaries |
12:00:13 | Yardanico | well I just use devel nim |
12:05:34 | * | couven92 joined #nim |
12:07:01 | * | Arrrr quit (Ping timeout: 240 seconds) |
12:08:43 | * | PMunch quit (Quit: leaving) |
12:08:55 | * | Arrrr joined #nim |
12:08:55 | * | Arrrr quit (Changing host) |
12:08:55 | * | Arrrr joined #nim |
12:11:01 | dom96 | koppeh: packager's fault it seems :) |
12:11:31 | dom96 | mvlootman: there isn't AFAIK |
12:12:36 | koppeh | Maybe not fault but oversight. I guess they didn't realize the change from Nim including nimsuggest by default now or so. |
12:12:52 | dom96 | true |
12:13:21 | * | adam12 left #nim ("Leaving...") |
12:13:28 | koppeh | I guess "devel nim" would equal using the nim-git package? |
12:13:44 | koppeh | I should probably file a this as an issue. |
12:13:46 | FromGitter | <mvlootman> OK then its not me |
12:14:36 | Yardanico | koppeh, well I don't use AUR for Nim |
12:14:41 | Yardanico | it's easier to update it manually |
12:14:46 | FromGitter | <zacharycarter> Araq: Finding a second faction for the modern / futuristic RTS is hard |
12:15:19 | FromGitter | <zacharycarter> also the orc and human RTS asset packs have more diversity in terms of character moels |
12:15:21 | FromGitter | <zacharycarter> models* |
12:15:38 | koppeh | Yardanico: Mhm, agreed. |
12:16:22 | * | Trioxin joined #nim |
12:18:44 | Trioxin | There's something strange going on with my code: https://pastebin.com/S1bHnx31 if I run that from the CLI, it works fine and loops through all the tables. If I put it in the cron job, it only loops through the first table and the program exits with no errors. I don't understand what would it could be |
12:21:27 | FromGitter | <zacharycarter> I could use these - http://tommyettinger.github.io/home/PixVoxel/ - and then they could be distributed with the game |
12:22:38 | Yardanico | are you guys fine with that? https://github.com/nim-lang/Nim/pull/6504 |
12:22:52 | Yardanico | it was discussed yesterday at dom96's twitch stream |
12:22:58 | * | ShalokShalom_ joined #nim |
12:23:39 | dom96 | zacharycarter: this is what always keeps me from making games, assets are hard :\ |
12:24:14 | FromGitter | <zacharycarter> dom96: yeah they are :/ |
12:24:24 | dom96 | Yardanico: looks good to me |
12:24:29 | dom96 | But what about getNum? |
12:24:35 | Yardanico | yeah I also thought about it |
12:25:15 | Yardanico | but getNum returns BiggestInt |
12:25:22 | Yardanico | well, getFNum returns biggestfloat too |
12:25:32 | Yardanico | so change getNum -> getInt ? |
12:25:48 | * | ShalokShalom quit (Ping timeout: 240 seconds) |
12:26:20 | dom96 | yeah |
12:28:42 | Yardanico | dom96, well the reason I'm not sure it's good to rename it because getNum returns BiggestInt |
12:28:50 | Yardanico | int64 on almost all platforms |
12:29:03 | dom96 | I think that's fine |
12:29:06 | Yardanico | so even examples from your book would look a bit weird: |
12:29:07 | Yardanico | `cfgIdent`.`fieldNameIdent` = `objIdent`[`fieldName`].getInt().int |
12:29:13 | Yardanico | that's from configurator.nim |
12:29:21 | dom96 | hrm |
12:29:32 | Yardanico | now it's getNum().int |
12:30:40 | dom96 | In fact, I've got a better idea. |
12:30:48 | dom96 | make it getBiggestInt |
12:30:57 | Yardanico | yeah I wanted to do that too |
12:30:59 | dom96 | but also add getInt which returns int :) |
12:31:03 | Yardanico | ah, ok |
12:31:17 | Yardanico | let's also cc Araq :) |
12:31:49 | Araq | getNum reads better though |
12:31:59 | Araq | but alright |
12:32:04 | dom96 | float is a number too though |
12:32:13 | Yardanico | so getNum -> getBiggestInt, and also add getInt? |
12:33:24 | Yardanico | would return int(n.num) be sufficient to convert BiggestInt to int? |
12:33:56 | Araq | shouldn't it be asInt, asBool, asX instead? |
12:34:18 | Araq | object["field"].asInt reads better |
12:34:25 | Yardanico | let's change that! :P |
12:34:56 | Yardanico | and what about getFields and getElems? |
12:35:27 | dom96 | meh |
12:35:39 | dom96 | It reads better but the action is a "get" |
12:35:49 | dom96 | getInt describes what it does better |
12:36:18 | dom96 | Let's keep the change simple |
12:36:36 | Araq | ok |
12:36:44 | Yardanico | just merge https://github.com/nim-lang/Nim/pull/6504 then :) |
12:37:16 | dom96 | what about getInt/getBiggestInt? |
12:37:31 | dom96 | Also, please apply the changes to bountysource.nim in the website repo |
12:37:37 | Yardanico | I did |
12:37:43 | Yardanico | already |
12:37:48 | dom96 | That file needs to be removed from the Nim repo (you can do that in your PR) |
12:38:11 | dom96 | I don't see it |
12:38:35 | Yardanico | ehm? |
12:38:35 | Yardanico | https://github.com/nim-lang/Nim/pull/6504/files#diff-54fb9629816bc2f9f3f067170e8c5d82 |
12:38:56 | Yardanico | I'll change getNum when I push it |
12:39:09 | Yardanico | I mean I'll search for all occurencies of getNum in main nim repo |
12:39:38 | Yardanico | btw, should getBiggestInt have this doc: "Retrieves the BiggestInt value of a `JInt JsonNode`." ? |
12:46:32 | * | yglukhov joined #nim |
12:47:09 | * | Arrrr quit (Read error: Connection reset by peer) |
12:50:28 | * | yglukhov quit (Ping timeout: 240 seconds) |
12:50:45 | Yardanico | dom96, Araq, I've added getInt and getBiggestInt |
12:54:54 | * | nsf joined #nim |
12:56:01 | * | marcux quit (Ping timeout: 255 seconds) |
12:57:52 | * | ShalokShalom_ is now known as ShalokShalom |
13:01:38 | dom96 | Yardanico: made comments |
13:02:00 | Yardanico | dom96, ok, fine |
13:04:16 | Yardanico | dom96, done |
13:05:16 | dom96 | Thanks, merged |
13:07:01 | Yardanico | dom96, will make a small PR for nimble now |
13:07:40 | dom96 | thx |
13:08:50 | Yardanico | dom96, https://github.com/nim-lang/nimble/pull/415 |
13:09:21 | dom96 | I'll have to merge that later. |
13:10:04 | dom96 | Because Nimble must compile with the latest Nim version |
13:10:23 | Yardanico | ah |
13:12:14 | Yardanico | :D https://twitter.com/yardanic0/status/919189001776586754 |
13:12:27 | Yardanico | oh |
13:12:54 | Yardanico | https://twitter.com/yardanic0/status/919189247478976512 |
13:18:05 | dom96 | ? |
13:19:34 | Yardanico | https://twitter.com/yardanic0/status/919189366978772992 |
13:27:56 | dom96 | nice |
13:40:17 | * | miran quit (Ping timeout: 248 seconds) |
13:41:29 | * | azur_kind joined #nim |
14:03:15 | * | zolk3ri joined #nim |
14:14:46 | * | azur_kind quit (Quit: Leaving) |
14:20:30 | FromGitter | <mratsim> I’m making PR to my own repo >_> |
14:21:17 | Yardanico | ecksdee |
14:25:11 | * | smt` joined #nim |
14:25:41 | * | smt quit (Ping timeout: 240 seconds) |
14:45:02 | zolk3ri | ! |
14:46:22 | FromGitter | <krux02> do I get beer at Hacktoberfest? |
14:49:32 | * | Trustable joined #nim |
15:03:43 | * | dddddd joined #nim |
15:16:08 | * | TjYoco joined #nim |
15:31:40 | * | xet7 quit (Quit: Leaving) |
15:33:15 | Yardanico | is there a way to tell nim to not inline constants into my procs? |
15:33:22 | Yardanico | well, not constants |
15:33:29 | Yardanico | but "let" variables with constant value |
15:41:05 | * | Trioxin quit (Ping timeout: 240 seconds) |
15:42:29 | FromGitter | <mratsim> Is there a way to avoid Nim from creating a “NimMainModule”? I’m compiling part in C++ and part in C and trying to link them together but I have NimMain module conflicts ⏎ ⏎ ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=59e23065210ac26920e67e80] |
15:43:16 | Yardanico | yes |
15:43:19 | Yardanico | --noMain IIRC |
15:43:45 | FromGitter | <mratsim> doesn’t work, it doesn’t strip everything :/ |
15:44:00 | FromGitter | <mratsim> https://github.com/nim-lang/Nim/issues/3874 |
15:47:27 | * | Trioxin joined #nim |
15:49:24 | * | ryanhowe joined #nim |
15:53:57 | * | ryanhowe quit (Client Quit) |
15:54:13 | * | ryanhowe joined #nim |
15:54:32 | * | ryanhowe quit (Remote host closed the connection) |
15:56:28 | * | Yardanico quit (Ping timeout: 240 seconds) |
16:02:16 | * | Yardanico joined #nim |
16:08:43 | * | xet7 joined #nim |
16:13:11 | * | ryanhowe joined #nim |
16:19:35 | * | yay joined #nim |
16:20:28 | * | yay quit (Client Quit) |
16:20:35 | * | yay_ joined #nim |
16:26:14 | * | yay_ quit (Quit: Textual IRC Client: www.textualapp.com) |
16:27:08 | * | def-pri-pub joined #nim |
16:32:07 | * | miran joined #nim |
16:33:45 | * | yglukhov joined #nim |
16:39:56 | * | Yardanico_ joined #nim |
16:40:26 | * | Yardanico_ quit (Client Quit) |
16:42:22 | * | Yardanico quit (Ping timeout: 255 seconds) |
16:45:33 | * | Yardanico joined #nim |
16:47:24 | * | nsf quit (Quit: WeeChat 1.9) |
16:50:46 | * | ryanhowe quit (Quit: WeeChat 1.7) |
16:51:33 | * | ofelas joined #nim |
16:58:35 | * | TjYoco quit (Ping timeout: 240 seconds) |
17:05:48 | * | user0_ quit (Remote host closed the connection) |
17:06:20 | * | user0_ joined #nim |
17:23:52 | dom96 | https://www.youtube.com/watch?v=583BwZ7uSro |
17:24:31 | dom96 | oops, accidental mIRC italics there |
17:24:44 | dom96 | Yesterday's livestream -> https://www.youtube.com/watch?v=583BwZ7uSro |
17:26:11 | Yardanico | https://www.youtube.com/watch?v=c18JPQrFa6s |
17:26:13 | Yardanico | 10 years ago, dom! |
17:26:19 | Yardanico | windows xp! |
17:26:32 | Yardanico | unregistered hypercam 2 :) |
17:26:35 | * | couven92 quit (Ping timeout: 240 seconds) |
17:28:18 | Yardanico | dom96, for future - configure twitch chat plugin! |
17:28:29 | dom96 | I'd lose screen then though |
17:28:31 | Yardanico | dom96, https://nightdev.com/kapchat/ |
17:28:33 | Yardanico | why? |
17:28:35 | Yardanico | https://nightdev.com/kapchat/ |
17:28:40 | Yardanico | it would be only visible to us |
17:28:42 | Yardanico | not for you |
17:29:00 | dom96 | it would cover up the screen |
17:29:03 | dom96 | for you guys |
17:29:12 | Yardanico | dom96, well you can have some space for it |
17:29:35 | dom96 | well that's what I mean |
17:30:20 | * | TjYoco joined #nim |
17:35:17 | miran | hey guys, another beginner question incoming: |
17:36:28 | miran | how do you create an empty table of tables? (a table where values will be tables) |
17:36:52 | miran | and how do you populate such tables? |
17:37:18 | dom96 | if not table.hasKey("asdf"): table["asdf"] = initTable[string]() |
17:39:07 | miran | dom96: and the outer table is initialized with: `initTable[string, Table[string, int]]()`? |
17:39:15 | Yardanico | miran, https://gist.github.com/Yardanico/369b0ad221edc9ea4a20d78229659360 |
17:39:30 | dom96 | sure |
17:39:39 | Yardanico | miran, maybe you want to use Json instead? |
17:39:47 | Yardanico | well just maybe |
17:40:13 | miran | thanks Yardanico, i'll try this from the gist and see if i can make it work for my case |
17:40:21 | Yardanico | miran, what's your case? |
17:40:46 | miran | advent of code 2015, day 09 :D |
17:41:11 | miran | i need to store the distances between cities (traveling salesman problem) |
17:41:22 | Yardanico | are tables good for this? |
17:41:27 | Yardanico | maybe something like a graph is better? |
17:41:59 | FromGitter | <zacharycarter> trying to learn 3d modelling - first model |
17:42:13 | Yardanico | zacharycarter: post it! |
17:42:29 | miran | i thought something like {'a': {'b': 3, 'c': 7}, 'b': {'a': 3, 'c': 10}, 'c': {'a': 7, 'b': 10}} |
17:42:46 | Yardanico | well did you do the same in python? |
17:43:17 | FromGitter | <zacharycarter> (https://files.gitter.im/nim-lang/Nim/8y1y/SolarPanelRender.png) |
17:43:20 | miran | i didn't solve 2015's tasks in python, so this is all from the beginning |
17:43:49 | miran | i thought either using the table as shown above, or maybe some kind of matrix |
17:43:57 | Yardanico | well I don't think it would be good to solve it using tables |
17:44:22 | Yardanico | but yeah |
17:44:24 | miran | ok, what do you propose? |
17:44:26 | Yardanico | you can do it with tables too |
17:45:02 | Yardanico | yeah |
17:45:05 | Yardanico | do it with tables then |
17:45:34 | TjYoco | @zacharycarter nice! but all those details in the lights should rpobably just be normaltextures or whatever |
17:46:11 | * | ryanhowe joined #nim |
17:46:44 | FromGitter | <zacharycarter> thanks :D yeah I was following along w/ a pluralsight tutorial and I think they just want to convey the basics of modo / modeling to the user |
17:46:52 | FromGitter | <zacharycarter> so I'm guessing that's why they didn't do any normal mapping |
17:47:48 | * | ryanhowe left #nim ("WeeChat 1.7") |
17:51:15 | TjYoco | are you using blender? or you hooked up with something fancy like Maya? |
17:51:36 | FromGitter | <zacharycarter> even fancier |
17:51:37 | FromGitter | <zacharycarter> Modo |
17:51:58 | TjYoco | oh i see! didnt even know that was the actual application |
17:52:10 | FromGitter | <zacharycarter> yup! |
17:53:15 | Yardanico | how much does it cost? |
17:53:31 | Yardanico | $599 annually |
17:53:37 | Yardanico | but it has free 30-day trial |
17:53:47 | TjYoco | holy fudge |
17:53:51 | FromGitter | <zacharycarter> $1800 for a perpetual license |
17:53:54 | Yardanico | yeah |
17:53:58 | Yardanico | and 600 annually :) |
17:54:04 | Yardanico | did you buy a perpetual license? |
17:54:12 | FromGitter | <zacharycarter> not yet but I probably will end up doing that once I get better |
17:54:36 | FromGitter | <zacharycarter> I already own a full license to zbrush - I need to get cracking on that program too once I get a bit more comfortable with modo |
17:54:40 | Yardanico | why not blender really? |
17:54:46 | FromGitter | <zacharycarter> I can't stand blender |
17:54:49 | FromGitter | <zacharycarter> worst UI in existence |
17:54:53 | Yardanico | if you learn it, it would be more powerful than modo I think |
17:55:06 | FromGitter | <zacharycarter> I don't think so |
17:55:12 | TjYoco | the ui is horrible but i think they want you to use all the keyboard shortcuts instead anyway |
17:55:25 | FromGitter | <krux02> I use emacs, I will never complain about bad UI in my life anymore |
17:55:33 | FromGitter | <zacharycarter> I've used blender before and 3ds max and maya |
17:55:39 | FromGitter | <zacharycarter> Modo IMO has the best user experience |
17:55:59 | FromGitter | <krux02> then I hope your money is well spent |
17:56:00 | FromGitter | <zacharycarter> not just from a UI perspective but from a task accomplishing perspective |
17:56:33 | FromGitter | <zacharycarter> well if I actually get decent at modelling it might be :P no money spent yet though |
17:57:17 | FromGitter | <krux02> well if you actually get decent at modelling, it might be irrelevant what application you use |
17:57:37 | FromGitter | <krux02> I've seen very nice drawings in PS Paint (the old one) |
17:58:02 | FromGitter | <zacharycarter> sure but I bet if you ask the artists if they prefer working in Paint or Photoshop they're going to say photoshop |
17:58:21 | FromGitter | <krux02> I think most important is accuiring the skill to draw and model, and then the application is secondary |
17:58:36 | FromGitter | <zacharycarter> that'st rue |
17:58:38 | FromGitter | <zacharycarter> true |
17:58:45 | FromGitter | <krux02> well at least paint is simple |
17:59:00 | FromGitter | <krux02> honestly photoshop is ok to use |
17:59:07 | FromGitter | <krux02> I used it once and I could actually use it |
17:59:11 | FromGitter | <krux02> gimp is horrible |
17:59:47 | FromGitter | <zacharycarter> I equate blender to gimp :P |
18:00:10 | FromGitter | <krux02> well I used blender a bit, and it reall is nice to use, if you know the hotkeys |
18:00:35 | FromGitter | <krux02> the important stuff you use regularly is all bound to keys |
18:00:50 | FromGitter | <krux02> if you don't know the keys, yea it is bad |
18:01:02 | FromGitter | <krux02> so there is actual work you to learn all the keys |
18:01:10 | FromGitter | <krux02> but after that it really feels good |
18:01:23 | FromGitter | <krux02> not like something you have to fight |
18:04:04 | TjYoco | Personally I use mspaint to draw every conceivable angle of a 3d model in 2d then slerp between frames using a program |
18:06:47 | FromGitter | <zacharycarter> it's worse than bad, all the mode swlol |
18:06:51 | FromGitter | <zacharycarter> whoops |
18:07:08 | FromGitter | <zacharycarter> lol @ TjYoco |
18:14:13 | TjYoco | miran did the tables work out for you |
18:15:00 | miran | TjYoco: yeah, i've managed to create the tables as per Yardanico's and dom96's advice |
18:19:38 | Araq | hmmm |
18:20:01 | Araq | should I announce some live coding |
18:23:30 | dom96 | do it |
18:23:38 | dom96 | We might clash though :P |
18:23:44 | dom96 | or maybe i'll just watch you |
18:24:00 | TjYoco | you mean a stream? thatd be cool to watch |
18:24:20 | Araq | why clash? |
18:24:27 | Araq | what will you talk about? |
18:24:45 | dom96 | I mean we'll be doing one at the same time |
18:24:49 | dom96 | if you decide to do one now |
18:24:58 | Araq | 30 minutes left |
18:25:06 | Araq | you can vote about the topic |
18:25:25 | Araq | my proposals are: |
18:25:32 | dom96 | Are you doing it then or not? |
18:25:36 | Araq | - working on "nimpretty" |
18:25:45 | Araq | - making the tester run in parallel |
18:25:54 | * | Vladar quit (Quit: Leaving) |
18:25:55 | Araq | - random Nim bugfixing |
18:26:19 | Araq | - creating state machines for games |
18:26:42 | Araq | dom96: I'm doing it if enough people here show some excitement :P |
18:27:09 | dom96 | Just do it, people will show up to watch |
18:27:13 | dom96 | and if not you can save a recording |
18:27:23 | TjYoco | think of the vods! |
18:28:04 | Yardanico | Araq, random nim bugfixing :P |
18:28:13 | Yardanico | (my vote) |
18:28:22 | Yardanico | eh |
18:28:24 | Yardanico | just use http://www.strawpoll.me/ |
18:28:26 | Yardanico | Araq, ^ |
18:28:34 | miran | yeah, please save and make it possible to watch later |
18:28:34 | TjYoco | state machines or bugfixiing would be cool |
18:28:57 | miran | my vote goes to bugfixing too |
18:29:16 | * | def-pri-pub quit (Quit: Leaving.) |
18:30:15 | Yardanico | :D |
18:30:15 | Yardanico | http://www.strawpoll.me/14148233 |
18:30:25 | Araq | http://www.strawpoll.me/14148231 |
18:30:25 | Yardanico | go guys |
18:30:29 | Yardanico | ok araq's one |
18:30:45 | Araq | I even voted for my favourite :P |
18:31:16 | zolk3ri | how about optimization?! |
18:31:17 | zolk3ri | :P |
18:31:26 | Yardanico | zolk3ri, "make nim tester run in parallel" |
18:31:29 | Yardanico | tester optimization :) |
18:31:53 | zolk3ri | but but but... that part doesn't affect me.. :( |
18:32:05 | Araq | hmm I'd better get some beer then |
18:32:12 | zolk3ri | that wasn't on the list! |
18:32:53 | Yardanico | Araq, do you have a microphone? :) |
18:33:07 | TjYoco | is there a nim discord or any discussion for one? I think it could pull in more people than IRC |
18:33:18 | Yardanico | TjYoco, I don't think it would |
18:33:26 | Yardanico | gitter is sufficient |
18:33:29 | Yardanico | (IMO) |
18:33:47 | Yardanico | also we would need to create IRC-Discord or Gitter-Discord bridge |
18:34:07 | pydsigner | There's an IRC-Discord bridge already |
18:34:16 | Yardanico | well I mean it wouldn't look very good |
18:34:21 | pydsigner | Runs in Node though |
18:34:48 | Yardanico | yes, we can add slack, facebook, vk, telegram, etc |
18:34:54 | Araq | yay, 4 votes |
18:35:07 | Yardanico | Araq, 5 :) |
18:35:15 | Araq | mine doesn't count |
18:35:18 | TjYoco | Just saying I think discord is more accessible, I understand gitter is integrated into github but still |
18:35:20 | Araq | come on guys |
18:35:44 | Yardanico | TjYoco, well why it is more accesible really? |
18:35:57 | Yardanico | but yeah, you can volunteer :) |
18:36:12 | Yardanico | Araq, 7 votes |
18:36:26 | pydsigner | Apparently no-one cares about parallel testers at all |
18:36:27 | Yardanico | very controversal |
18:36:32 | Yardanico | pydsigner, xD |
18:36:44 | zolk3ri | lolol |
18:37:26 | zolk3ri | uh only 3 votes? |
18:37:38 | Yardanico | no |
18:37:42 | Yardanico | zolk3ri, http://www.strawpoll.me/14148231 |
18:37:49 | Yardanico | http://www.strawpoll.me/14148231/r - results |
18:37:54 | TjYoco | yardanico, not me lol but still, can't say more options is a bad thing. There could be dif channels for game-dev, language-dev, annoucements, etc. A little easier than running through irc-logs too |
18:37:56 | zolk3ri | ahh |
18:38:24 | Yardanico | TjYoco, well one bad thing about that: these channels would be dead almost all time |
18:38:42 | Yardanico | we don't have a big enough community to really split chat into topics |
18:38:55 | TjYoco | true enough, for now |
18:39:12 | TjYoco | if things go well for nim that is |
18:39:18 | Yardanico | and if you would add these rooms to discord - you would need to add them to the gitter too |
18:39:19 | Yardanico | and irc |
18:40:14 | pydsigner | This channel is still pretty manageable as far as throughput |
18:40:34 | Yardanico | lol |
18:40:45 | Yardanico | both 4 votes for nimpretty and bugfixing |
18:41:01 | Yardanico | Araq, will you talk with us? |
18:41:09 | Yardanico | on stream I mean |
18:41:41 | Araq | sure, isn't that the whole point? |
18:41:47 | Yardanico | Araq, yay! |
18:42:12 | Yardanico | I only heard your voice from a youtube recording of nim conference in ukraine |
18:42:33 | * | NimBot joined #nim |
18:43:04 | miran | Araq: will the video be available later on for us who can't watch it right now? pretty please :) |
18:43:18 | Yardanico | !eval import random; random(["random nim bugfixing", "work on nimpretty", "creating state machines for games", "make nim tester run in parallel"] |
18:43:19 | NimBot | Compile failed: in.nim(1, 140) Error: ')' expected |
18:43:21 | Yardanico | !eval import random; random(["random nim bugfixing", "work on nimpretty", "creating state machines for games", "make nim tester run in parallel"]) |
18:43:23 | NimBot | Compile failed: in.nim(1, 22) Error: expression 'random(["random nim bugfixing", "work on nimpretty", |
18:43:38 | Yardanico | !eval import random; random(@["random nim bugfixing", "work on nimpretty", "creating state machines for games", "make nim tester run in parallel"]) |
18:43:39 | NimBot | Compile failed: in.nim(1, 22) Error: expression 'random(@ ["random nim bugfixing", "work on nimpretty", |
18:43:44 | TjYoco | you broke it |
18:43:46 | Yardanico | ah |
18:43:46 | Yardanico | echo |
18:43:52 | Yardanico | !eval import random; echo random(["random nim bugfixing", "work on nimpretty", "creating state machines for games", "make nim tester run in parallel"]) |
18:43:54 | NimBot | make nim tester run in parallel |
18:44:05 | Yardanico | :D |
18:44:19 | Yardanico | ah |
18:44:21 | Yardanico | randomize |
18:44:27 | Yardanico | !eval import random; randomize(); echo random(["random nim bugfixing", "work on nimpretty", "creating state machines for games", "make nim tester run in parallel"]) |
18:44:30 | NimBot | creating state machines for games |
18:44:37 | TjYoco | thats the one i did! |
18:45:36 | Araq | miran: I'm tinkering with the twitch software |
18:45:44 | Araq | and will try my best |
18:45:58 | Yardanico | Araq, OBS can be configured fairly easy if you won't go into complicated topics |
18:46:36 | miran | thanks! |
18:46:58 | Yardanico | miran, twitch would save it too |
18:47:20 | Yardanico | Araq, enable this - https://help.twitch.tv/customer/portal/articles/1575302-videos-on-demand |
18:47:29 | Yardanico | "store past broadcasts" |
18:47:34 | miran | ok, i'll ask you guys for a link, now i must go to the real world.... :) |
18:47:43 | Araq | seriously "random bugfixing" ? |
18:47:51 | Yardanico | but it only stores your vid for 14 days |
18:49:02 | TjYoco | you were incharge of the topics lol |
18:50:24 | * | miran quit (Quit: Leaving) |
18:50:49 | Araq | I hope you know it's not about Nim's "random" module |
18:51:04 | Yardanico | xD |
18:53:12 | Yardanico | Araq, you can do some nim bugfixing and then start working on nimpretty :D |
18:53:57 | TjYoco | or just do the next voted topic and purposley introduce bugs to fix |
18:54:02 | Yardanico | lol |
18:54:11 | TjYoco | randomly on purpose of course |
18:54:33 | Yardanico | I would really like "random" |
18:54:38 | Yardanico | so random issues page |
18:55:09 | * | Trioxin quit (Remote host closed the connection) |
18:56:52 | * | SusWombat quit (Remote host closed the connection) |
18:57:02 | Yardanico | and it would be funny if someone votes for nimpretty now :) |
18:57:04 | Yardanico | http://www.strawpoll.me/14148231 go guys |
18:57:06 | Yardanico | xD |
19:02:26 | Araq | can't set it up lol |
19:02:48 | Yardanico | Araq, what error are you getting? |
19:05:05 | Araq | none, the UI is overwhelming me ... where is the 'record' button? |
19:05:42 | Yardanico | Araq, in main window, in the right lower corner, there's "start streaming" and "start recording" |
19:06:32 | FromGitter | <Varriount> Araq is doing a live stream?! |
19:06:47 | Yardanico | YES! |
19:06:51 | Yardanico | http://www.strawpoll.me/14148231 |
19:06:52 | Yardanico | vote! |
19:07:06 | Araq | what's the "main window" |
19:07:07 | * | nsf joined #nim |
19:07:27 | Yardanico | Araq, the thing where you have a preview of your "scene" |
19:07:40 | Yardanico | http://i.imgur.com/XdKaGel.jpg |
19:07:45 | Yardanico | not nime, but still |
19:07:48 | TjYoco | are you using OBS Studio or Classic OBS? |
19:07:52 | Yardanico | ah, yes |
19:08:07 | Yardanico | Araq, use OBS Studio instead of Classic OBS (if you've downloaded classic obs) |
19:09:30 | dom96 | when is this live stream starting? |
19:09:40 | Yardanico | dom96, at ~ 10 pm :) |
19:09:44 | Yardanico | oh |
19:09:45 | Yardanico | sorry |
19:09:48 | Yardanico | now |
19:09:57 | Yardanico | it's 10pm here, so 7PM UTC |
19:10:33 | Yardanico | araq wanted to start it already, but he has some issues with recording currently |
19:11:25 | Yardanico | Araq, livehack: you can enable the twitch feature to save past broadcasts |
19:11:27 | dom96 | I can host him on my Twitch |
19:11:32 | Yardanico | and then you can export that broadcast to youtube |
19:11:36 | dom96 | but currently chatting with my gf |
19:11:37 | Yardanico | without recording it yourself |
19:11:37 | Araq | no I'm figuring this out |
19:11:42 | TjYoco | The "scenes" tab is for switching up layouts and intro and outro screens and stuff. So just adding "Display Capture" to the "Sources" tab should be the easiest way to start streaming |
19:13:57 | Yardanico | yay |
19:13:59 | Yardanico | notification |
19:14:21 | Yardanico | Araq, your screen is black :) |
19:14:39 | Yardanico | add display capture as TjYoco suggested |
19:16:01 | Araq | can you see my screen now? |
19:16:03 | TjYoco | yep |
19:16:06 | Araq | and hear my voice? |
19:16:10 | dom96 | where is the link? |
19:16:11 | Yardanico | +++ |
19:16:14 | Yardanico | https://go.twitch.tv/araq4k |
19:16:14 | Yardanico | https://go.twitch.tv/araq4k |
19:19:29 | dom96 | Araq: Do you have the chat on another screen? |
19:19:37 | Araq | no |
19:19:59 | dom96 | lol |
19:20:08 | dom96 | love how you just went silent and answered me |
19:21:12 | TjYoco | I thought you could pop out twitch chat into a different window cant find the button now |
19:21:23 | Yardanico | TjYoco, you can |
19:21:27 | dom96 | Araq: You should rename the `input` in the code |
19:21:31 | dom96 | not the params |
19:21:44 | Yardanico | well it still works |
19:22:22 | dom96 | yeah, but params can be specified by name in Nim |
19:22:26 | dom96 | keeping them right makes sense :) |
19:24:22 | dom96 | omg, why is it so amazingly difficult to host people on Twitch |
19:25:11 | TjYoco | do you have to be streaming to host |
19:25:57 | planetis[m] | are y streaming rnow? |
19:26:18 | Yardanico | planetis[m], yes he is |
19:26:20 | Yardanico | https://go.twitch.tv/araq4k |
19:26:20 | dom96 | ahh, I literally type /host <username> into my chat |
19:26:27 | Yardanico | yes ! |
19:26:36 | dom96 | yeah, so I'm hosting him now |
19:26:47 | dom96 | Gonna tweet about it too |
19:27:41 | Yardanico | dom96, ehm |
19:27:45 | Yardanico | wrong description? :) https://twitter.com/nim_lang/status/919265093694746624 |
19:27:51 | Yardanico | ah, sorry |
19:30:07 | * | dom96 is lost |
19:30:12 | dom96 | No idea what he's fixing heh |
19:31:05 | Yardanico | dom96, he's fixing a bug when gcsafe warning isn't printed |
19:31:07 | Yardanico | but it should |
19:37:11 | dom96 | Araq: `gg`? |
19:37:46 | dom96 | yes, I can hear you clearly |
19:37:50 | dom96 | There is a delay |
19:42:47 | dom96 | Sadly I must go and make some food |
19:50:34 | Yardanico | Araq, maybe you can also use markGcUnsafe here? |
19:50:44 | Yardanico | so it would emit a warning |
19:51:58 | Yardanico | ah, thanks |
19:54:39 | dom96 | awww, not using isNil? :) |
19:55:26 | dom96 | whoa, my stream just skipped |
19:56:11 | dom96 | so many aliases :) |
19:56:23 | Yardanico | Araq, how do you remember all those names from the compiler src ? for example "inEnforcedGcsafe" ? |
19:57:51 | dom96 | oooh |
19:57:57 | dom96 | time to find bugs |
19:58:20 | dom96 | hrm, dunno if it's just me but my stream froze :\ |
19:58:34 | TjYoco | just you |
19:58:47 | dom96 | Araq: https://github.com/nim-lang/Nim/issues/6455 |
19:59:15 | FromGitter | <Bennyelg> Nice session |
19:59:25 | Yardanico | Araq, no, look down in this issue |
19:59:34 | Yardanico | there's a smaller snippet |
19:59:58 | dom96 | ^^ |
20:00:41 | dom96 | Araq: well... look up a bit more |
20:00:49 | dom96 | there is a small snippet in that issue |
20:00:56 | Yardanico | well he looked it already |
20:01:03 | dom96 | he didn't see the snippet |
20:01:05 | Yardanico | it's just a mitems which doesn't work with C++ |
20:01:07 | Yardanico | he saw |
20:01:09 | Yardanico | in other issue |
20:01:19 | dom96 | but maybe it's not related |
20:01:27 | dom96 | maybe it's a completely different issue |
20:02:04 | dom96 | oh and relating to the test spec: I documented that :P |
20:02:54 | dom96 | bah, fix the one I linked not some other random one :P |
20:03:39 | Yardanico | Araq, maybe you can change the localError call so proc body isn't displayed in that call? or that is not possible? |
20:03:51 | Yardanico | btw there's only a 3-4 second delay |
20:03:55 | TjYoco | but its *random* bug fix! |
20:04:22 | dom96 | Yardanico: I'm sure that depends, mine buffered a bit |
20:04:31 | Yardanico | dom96, yeah, probably depends on the location |
20:04:40 | Yardanico | but I live in Russia, so I should have higher delay :D |
20:09:46 | Yardanico | LOL |
20:10:38 | Yardanico | Araq, maybe check jester? |
20:10:48 | Yardanico | if it works with your changes |
20:11:16 | dom96 | what was funny? I misse dit |
20:11:19 | dom96 | *missed it |
20:12:32 | Yardanico | dom96, he has fixed a bug, but there still was an error in asyncdispatch (he fixed it already). so he just recompiled the nim compiler again and it all worked |
20:12:47 | Yardanico | but he recompiled it before too |
20:17:49 | * | TjYoco quit (Quit: Leaving) |
20:19:18 | Yardanico | oh |
20:19:21 | Yardanico | it started buffering for me |
20:21:13 | * | Yardanico_ joined #nim |
20:22:14 | * | Yardanico_ quit (Client Quit) |
20:22:39 | * | Yardanico_ joined #nim |
20:22:39 | * | couven92 joined #nim |
20:22:45 | * | Yardanico_ quit (Remote host closed the connection) |
20:24:01 | * | Yardanico quit (Ping timeout: 248 seconds) |
20:24:35 | * | Yardanico joined #nim |
20:26:27 | dom96 | Araq: Can you apply it to only one file? |
20:26:41 | dom96 | to see if it's breaking other places |
20:27:07 | * | Trustable quit (Remote host closed the connection) |
20:27:45 | dom96 | yes |
20:27:50 | dom96 | lol, this is going to be so delayed |
20:28:04 | dom96 | you should ask me in IRC |
20:28:08 | dom96 | and then that way it's faster |
20:28:11 | dom96 | Araq: |
20:29:23 | Yardanico | wtf is happening with araq's voice? |
20:29:27 | dom96 | lol |
20:29:29 | dom96 | sudden echo |
20:29:34 | Yardanico | ah, yes :) |
20:29:52 | jsn- | is there a way to create a unix domain socket with asyncnet? I think you need Protocol = 0 for that, and there's no 0 in Protocol enum in e.g. nativesockets.nim |
20:30:14 | dom96 | If that's what you need then add it and create a PR |
20:30:24 | dom96 | Araq: Yeah, your voice is all weird and echoing |
20:31:11 | dom96 | jsn-: but look in the currently open PRs, IIRC there is a PR to add support for this already |
20:31:37 | dom96 | Araq: huh, it stopped |
20:32:31 | dom96 | aww, don't go |
20:33:05 | Yardanico | or stream tomorrow please, and a bit eariler if you can :) |
20:33:10 | Araq | is my voice ok again? |
20:33:15 | Yardanico | Araq, yeah it is |
20:35:57 | dom96 | what is this mysterious dfa.nim? |
20:36:06 | Yardanico | dom96, "data write tracking" |
20:36:19 | Yardanico | https://github.com/nim-lang/Nim/blob/devel/compiler/dfa.nim |
20:36:53 | Araq | "dataflow analysis" |
20:36:58 | Yardanico | Araq, why you don't push your changes? |
20:37:17 | Araq | because I'm scared |
20:37:20 | Yardanico | ah, ok |
20:38:21 | dom96 | problem with async tests is that they have to be run twice :) |
20:38:32 | Yardanico | Araq, I think you should make tester run in parallel on a next stream :) BTW do you know when you'll be streaming next time? |
20:50:16 | FromGitter | <mratsim> I spent hours, and I’m left completely stuck. Someone has an alternative to suggest besides going nuclear and writing C++ by hand: |
20:50:29 | FromGitter | <mratsim> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=59e27895f7299e8f53e9ea29] |
20:51:13 | * | yay joined #nim |
20:51:23 | Yardanico | btw, Araq , sadly tests failed :( https://travis-ci.org/nim-lang/Nim/builds/288025985 lib/pure/httpclient gc safety again |
20:51:35 | Yardanico | lib/pure/httpclient.nim(867, 44) Error: client.contentProgress is not GC safe |
20:53:30 | Yardanico | so I see now that effects system is very hard |
20:54:33 | * | rauss quit (Read error: Connection reset by peer) |
20:55:01 | Yardanico | Araq, don't bother yourself fixing it now, anyway it's devel branch, so it can be broken sometimes. |
20:55:02 | dom96 | mratsim: seems like it might be a good idea to work a bit more on your second attempt |
20:55:17 | dom96 | mratsim: there probably is a (fairly easy) way to fix that NimMain conflict. |
20:55:27 | Yardanico | take a rest and fix it tomorrow :P |
20:56:19 | dom96 | so many edge cases :) |
20:56:26 | dom96 | Poor Araq |
20:56:59 | * | rauss joined #nim |
21:00:57 | FromGitter | <mratsim> —noMain still generates a NimMain so I don’t know where to start to solve this conflict. |
21:05:57 | Yardanico | Araq, yeah, that's fine, good night! bye :) Your stream was cool! |
21:08:57 | * | Jesin quit (Quit: Leaving) |
21:14:05 | Araq | mratsim: I fixed a C++ codegen problem |
21:14:17 | Araq | but you reported crashes, right? these are harder I bet |
21:20:44 | FromGitter | <mratsim> Crash due to rawAlloc trying to read from nil randomly, expected exceptions not thrown, and also the mitems not working (which is solvable but I have to “when not defined(cpp)" |
21:21:18 | Yardanico | araq fixed mitems |
21:21:30 | FromGitter | <mratsim> ohohoh, now you’re talking ! |
21:26:27 | * | sleepyqt quit (Quit: Leaving) |
21:35:21 | * | PMunch joined #nim |
21:42:43 | FromGitter | <mratsim> 122 lines of specific C++ handling deleted |
21:44:06 | Yardanico | does it work for you? |
21:44:46 | FromGitter | <zacharycarter> Was Araq's stream recorded? |
21:44:53 | FromGitter | <zacharycarter> Stupid me for taking a nap :/ |
21:45:00 | Yardanico | yes, he recorded it himself |
21:45:06 | Yardanico | prob he'll upload a recording soon |
21:45:13 | Araq | yeah, I have a 500MB file lying around here now |
21:49:48 | shashlick | Please upload so that we can check it out. |
21:50:11 | FromGitter | <mratsim> I didn't try since devel is broken but mitems is in the test suite so I guess it works |
21:50:38 | Araq | tomorrow, I need to cut the bad jokes and swear words :P |
21:51:49 | Yardanico | noo, whyyy :D |
21:51:57 | Yardanico | and your only sweard word was about maxsplit IIRC |
21:52:00 | Yardanico | :) |
21:52:05 | Yardanico | *swear |
21:53:09 | dom96 | I'll most definitely do a stream tomorrow afternoon-ish |
21:53:17 | dom96 | UK time |
21:53:41 | Yardanico | ok that's fine |
21:54:34 | Yardanico | BTW Araq is UTC+2, I'm UTC+3, but we are ~2700km away from each other |
21:54:40 | Yardanico | (assuming he lives somewhere in Germany) |
21:54:49 | PMunch | Haha, Araq you should leave the bad jokes and swear words in :P |
21:54:49 | * | def-pri-pub joined #nim |
21:55:12 | FromGitter | <zacharycarter> I took more screenshots of my first model - https://imgur.com/a/OiOkA |
21:55:19 | FromGitter | <zacharycarter> now you can see the back and the panel rotation |
21:55:44 | dom96 | zacharycarter: ever considered doing a livestream? :) |
21:57:25 | FromGitter | <zacharycarter> hrmmm maybe I should look into it |
22:08:59 | FromGitter | <zacharycarter> I need to learn to not request multiple things in a single ticket - people seem unable to process an entire e-mail these days :/ |
22:09:19 | FromGitter | <zacharycarter> Regardless I should have a copy of zbrush on my mac very soon |
22:09:22 | FromGitter | <zacharycarter> I'm excited :D |
22:10:27 | * | gokr quit (Ping timeout: 240 seconds) |
22:12:23 | * | gokr joined #nim |
22:25:29 | shashlick | quick help, is there a proc to get the full path to a file from a relative path? |
22:26:10 | Araq | expandFilename |
22:27:03 | shashlick | thanks! |
22:27:40 | shashlick | another question, related to above, I'm trying to build a nimble lib which downloads portions of OpenSSL as a dependency |
22:28:08 | shashlick | the C/H files will live within the nimble directory |
22:28:44 | shashlick | is it possible to include --passC include path directives as relative paths or do they need to be absolute |
22:28:50 | shashlick | relative doesn't work at least |
22:30:37 | shashlick | I don't mean on the command line as --passC, but rather as pragmas within the .nim wrappers so that consumers don't need to include that to compile |
22:32:48 | dom96 | what pragma are you planning to use? |
22:32:55 | dom96 | the {.compile.} pragma supports this at least: https://github.com/dom96/untar/blob/master/src/untar/gzip.nim#L4 |
22:33:46 | shashlick | {.passC.} |
22:34:10 | shashlick | {.compile.} does pick up the files from the nimble dir, instead of local dir of the app that depends on the nimble lib |
22:34:15 | dom96 | I don't think so |
22:34:27 | shashlick | passC does not, and if I want to put in absolute paths, I need to know where nimble is going to put the files |
22:35:02 | shashlick | if I use "after install:" in the nimble file, it doesn't run in the installed path |
22:36:00 | dom96 | You might need to fix that in Nimble or create an issue and be patient I'm afraid |
22:36:11 | dom96 | Unless passC pragma supports some magical $vars that I'm not aware of |
22:36:30 | dom96 | You might be able to use a hack, at least on Unix |
22:36:46 | shashlick | well, I'm doing [.passC:"-I"openssl\include"".} |
22:36:51 | dom96 | {.passC: "-I`nimble path mypkg`/blah"/} |
22:37:00 | shashlick | and passC can be any variety of things |
22:37:15 | shashlick | so if nimble can tell me where it is going to install the package, it might help |
22:37:34 | dom96 | Nimble can, using the `path` command |
22:37:34 | shashlick | basically I've written some code that automates the generation of wrappers from the H files |
22:37:43 | dom96 | question is whether you can run that |
22:39:18 | shashlick | how do you run that? I don't see it in the docs |
22:39:46 | shashlick | never mind, found it |
22:41:36 | shashlick | let me see if I can use it |
22:45:31 | * | vlad1777d quit (Ping timeout: 255 seconds) |
22:46:50 | * | Yardanico quit (Remote host closed the connection) |
22:48:16 | * | couven92 quit (Quit: Client Disconnecting) |
23:00:35 | * | zolk3ri quit (Quit: leaving) |
23:05:57 | * | gokr quit (Ping timeout: 240 seconds) |
23:18:54 | * | yglukhov quit (Remote host closed the connection) |
23:26:39 | * | def-pri-pub quit (Quit: Leaving.) |
23:28:05 | * | nsf quit (Quit: WeeChat 1.9) |
23:48:10 | * | PMunch quit (Quit: leaving) |
23:49:47 | * | Jesin joined #nim |