00:00:14 | dom96 | https://nim-lang.org/docs/manual.html#macros-macros-as-pragmas |
00:02:45 | FromGitter | <barcharcraz> A pragma? |
00:03:10 | dom96 | That's the equivalent of a python decorator |
00:03:39 | FromGitter | <Quelklef> almost perfect but |
00:04:02 | FromGitter | <Quelklef> can you do `{.returnsADecorator("val").}`? |
00:04:10 | FromGitter | <Quelklef> not working for me but im not on devel |
00:04:59 | FromGitter | <Quelklef> tells me it wants an identifier instead |
00:05:21 | dom96 | well, you can't have a macro that returns another macro |
00:05:29 | dom96 | Not sure why you would like to? |
00:05:47 | dom96 | You can pass parameters to the macro in a pragma: {.blah: "val".} IIRC |
00:06:01 | FromGitter | <Quelklef> oh for real |
00:06:04 | FromGitter | <Quelklef> is that partial application |
00:07:08 | dom96 | You can't partially apply macros |
00:07:32 | dom96 | well, maybe you can, I haven't tried |
00:07:43 | FromGitter | <Quelklef> what's `{.thing: val}` do? |
00:08:38 | dom96 | `proc () {.thing: val.} = echo 42` -> `thing(val): proc () = echo(42)` |
00:09:17 | FromGitter | <Quelklef> which is the same as `thing(val, proc () = echo(42))`, right? |
00:09:38 | FromGitter | <Quelklef> cause : is syntactic sugar for passing in a function or something |
00:09:42 | dom96 | no |
00:09:46 | FromGitter | <Quelklef> oh |
00:10:07 | dom96 | Your example is passing a function at runtime to another function |
00:10:17 | dom96 | My example is doing it at compile time |
00:10:20 | dom96 | That's the key difference really |
00:10:26 | FromGitter | <Quelklef> ah |
00:10:27 | FromGitter | <Quelklef> hmm |
00:11:12 | FromGitter | <Quelklef> so `thing` should be a template of `(valType, stmt) -> stmt`...? |
00:12:07 | dom96 | or a macro, yeah |
00:17:53 | FromGitter | <Quelklef> thanks |
01:05:55 | * | yglukhov joined #nim |
01:10:25 | * | yglukhov quit (Ping timeout: 256 seconds) |
01:19:27 | * | radagast quit (Ping timeout: 248 seconds) |
01:42:01 | * | vlad1777d quit (Ping timeout: 268 seconds) |
02:00:52 | * | user0 joined #nim |
02:12:54 | * | vivus quit (Quit: Leaving) |
02:22:58 | * | chemist69 quit (Ping timeout: 265 seconds) |
02:26:55 | * | endragor joined #nim |
02:36:34 | * | chemist69 joined #nim |
02:48:49 | * | S1tiSchu joined #nim |
02:52:27 | * | SitiSchu quit (Ping timeout: 265 seconds) |
02:57:40 | FromGitter | <gogolxdong> How to make the request string which is a nodejs result in ⏎ ⏎ ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5a430c2403838b2f2a3de48b] |
03:03:20 | FromGitter | <gogolxdong> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5a430d780163b0281080e045] |
03:11:03 | * | marenz__ joined #nim |
03:12:32 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
03:14:39 | * | marenz_ quit (Ping timeout: 248 seconds) |
03:52:25 | * | dddddd quit (Remote host closed the connection) |
04:00:46 | FromGitter | <gogolxdong> Can karax play with nodejs modules? |
04:11:02 | * | MJCaley quit (Quit: MJCaley) |
04:14:20 | * | arecacea1 quit (Remote host closed the connection) |
04:14:39 | * | arecacea1 joined #nim |
04:22:43 | * | MJCaley joined #nim |
04:31:54 | * | user0 quit (Quit: user0) |
04:33:19 | * | MJCaley quit (Quit: MJCaley) |
04:53:51 | * | marenz__ quit (Ping timeout: 248 seconds) |
05:16:24 | * | noonien quit (Quit: Connection closed for inactivity) |
05:28:15 | * | yglukhov joined #nim |
05:32:45 | * | yglukhov quit (Ping timeout: 264 seconds) |
05:59:22 | FromGitter | <gogolxdong> Can I make use of existing javascript or nodejs client in karax ? |
06:27:21 | * | yglukhov joined #nim |
06:36:58 | * | xkapastel quit (Quit: Connection closed for inactivity) |
06:41:28 | * | yglukhov quit (Remote host closed the connection) |
07:13:36 | * | vlad1777d joined #nim |
07:23:31 | * | xet7 quit (Quit: Leaving) |
07:23:48 | * | xet7 joined #nim |
07:33:49 | FromGitter | <alehander42> hey, you can define a require function with `importc` and use it instead of using `.emit` |
07:34:45 | FromGitter | <alehander42> otherwise you can use various js libs with the JS backend, not sure what you mean |
08:04:11 | * | nsf joined #nim |
08:05:32 | * | skrylar joined #nim |
08:22:18 | * | gokr joined #nim |
08:27:15 | * | yglukhov joined #nim |
08:29:02 | * | SenasOzys joined #nim |
08:43:50 | * | skrylar quit (Ping timeout: 252 seconds) |
08:44:59 | * | Vladar joined #nim |
08:52:34 | * | skrylar joined #nim |
09:04:11 | * | gmpreussner quit (Ping timeout: 252 seconds) |
09:05:32 | * | gmpreussner joined #nim |
09:06:13 | * | claudiuinberlin joined #nim |
09:13:51 | skrylar | did manage to sneak in a tiny bit of progress on flatbuffers |
09:23:55 | skrylar | https://facebook.github.io/yoga starting to ponder if this is more or less all you need in a ui :\ |
09:24:22 | skrylar | although the main difference between that and miglayout is technically mig has display units and size groups and flexboxes dont |
09:26:15 | * | pleiosaur quit (Remote host closed the connection) |
09:29:54 | FromGitter | <gogolxdong> @alehander42 I am integrating js or nodjs API with karax , I have no idea of defining a require function with importc |
09:34:54 | FromGitter | <gogolxdong> I got some budget from my boss for developing with karax , Is there any volunteers? About USD $10000 per month. |
09:36:01 | Araq | o.O I'm here |
09:36:42 | FromGitter | <gogolxdong> haha ,I know , you are the author. |
09:36:57 | FromGitter | <gogolxdong> Are you interested ? |
09:37:39 | Araq | certainly |
09:41:32 | * | user0_ joined #nim |
09:44:46 | FromGitter | <gogolxdong> I'm glad you are in. I will give you some instructions privately to evaluate this task. |
09:48:12 | FromGitter | <gogolxdong> Do you have email or IM account? |
09:59:43 | * | Trustable joined #nim |
10:03:32 | * | endragor quit (Remote host closed the connection) |
10:10:42 | * | endragor joined #nim |
10:24:41 | FromGitter | <mratsim> Awesome to see budget for Nim project! |
10:26:45 | * | user0_ quit (Quit: user0_) |
10:28:09 | * | radagast joined #nim |
10:32:41 | * | skrylar quit (Quit: Leaving) |
10:43:33 | GitDisc | <treeform> Using nim at work is cool. I try to sneak it in here and there. |
10:53:53 | * | vlad1777d quit (Ping timeout: 248 seconds) |
11:11:27 | * | SenasOzys quit (Ping timeout: 248 seconds) |
11:20:27 | * | SenasOzys joined #nim |
11:47:03 | * | dddddd joined #nim |
11:52:45 | * | Arrrr joined #nim |
11:52:45 | * | Arrrr quit (Changing host) |
11:52:45 | * | Arrrr joined #nim |
11:56:57 | * | gokr quit (Ping timeout: 240 seconds) |
12:20:55 | FromGitter | <loongw> @gogolxdong do you mean this: ⏎ ⏎ ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5a4390260163b0281082ee2e] |
12:27:34 | * | Snircle joined #nim |
12:30:05 | FromGitter | <gogolxdong> probably,but in karax |
12:31:55 | * | arecacea1 quit (Remote host closed the connection) |
12:32:15 | * | arecacea1 joined #nim |
12:33:40 | FromGitter | <gogolxdong> integration with karax ,like in the EventHandlers of img vnode |
12:34:56 | FromGitter | <loongw> There is nothing special in karax. The integration is just straightforward. |
12:40:44 | FromGitter | <gogolxdong> will check out later |
12:55:36 | FromGitter | <Yardanico> Hmm, recent threads are a bit broken: https://forum.nim-lang.org/ ⏎ I see "How could we make code readability better on third-party plateforms" as the second recent post, but last reply in it was 11 months ago |
12:55:52 | Araq | spamming issue |
12:56:56 | FromGitter | <Yardanico> ah, ok |
13:03:19 | * | gokr joined #nim |
13:05:36 | * | Vladar quit (Quit: Leaving) |
13:07:53 | FromGitter | <survivorm> What's general idea of lexbase? LR-parser? |
13:09:40 | FromGitter | <survivorm> And is there a way to get the idea of it's usage other than digging into modules which use it (e.g. parsesql?) |
13:10:08 | FromGitter | <survivorm> Because it's documentation is certanly lacking |
13:21:23 | * | SenasOzys quit (Remote host closed the connection) |
13:21:31 | * | SenasOzys joined #nim |
13:26:33 | * | Yardanico joined #nim |
13:28:25 | FromGitter | <gogolxdong> @loongw failed to integrate. |
13:30:06 | FromGitter | <gogolxdong> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5a43a05db48e8c35666f39aa] |
13:30:32 | FromGitter | <Yardanico> ehm, maybe you should remove your secret key/password? |
13:30:38 | FromGitter | <Yardanico> delete your message on gitter :) |
13:31:30 | FromGitter | <gogolxdong> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5a43a0b129ec6ac3118c2ba9] |
13:33:41 | * | Arrrr quit (Read error: Connection reset by peer) |
13:34:49 | FromGitter | <gogolxdong> it compiles but doesn't work. |
13:36:06 | FromGitter | <gogolxdong> @Araq Have you received email? |
13:36:20 | Araq | yes thanks |
13:37:35 | FromGitter | <gogolxdong> Are you still evaluating? |
13:38:29 | * | Yardanico quit (Quit: Quitting...) |
13:41:11 | GitDisc | <NopeDK> Gogolxdong, due to the way discord caches links the secret is still visible and you should therefore consider it fully compromised and regenerate them. |
13:42:55 | * | Yardanico joined #nim |
13:47:05 | Araq | gogolxdong: I'll reply tonight, ok? :-) |
13:49:47 | Araq | gogolxdong: compile with -d:release and inspect the produced JS code to see the problem in your FFI bindings |
13:55:53 | FromGitter | <gogolxdong> did so , didn't find anything abnormal |
14:10:05 | * | literal quit (Ping timeout: 240 seconds) |
14:11:43 | FromGitter | <gogolxdong> @Araq your night will be our early morning :). we will discuss in tomorrow morning about this task so it's kind of significant according to your reply. |
14:16:44 | * | MJCaley joined #nim |
14:27:53 | * | MJCaley quit (Quit: MJCaley) |
14:33:36 | * | noonien joined #nim |
14:41:43 | * | marenz__ joined #nim |
15:22:33 | Araq | survivorM, lexbase is only about a decent buffer management for lexers, nothing about LR, LL etc |
15:25:41 | * | SenasOzys quit (Ping timeout: 260 seconds) |
15:30:09 | * | lxdong quit (Ping timeout: 260 seconds) |
15:39:30 | * | SenasOzys joined #nim |
15:50:36 | * | endragor quit (Remote host closed the connection) |
16:08:14 | * | yglukhov_ joined #nim |
16:08:14 | * | yglukhov quit (Read error: Connection reset by peer) |
16:17:07 | * | yglukhov_ quit (Remote host closed the connection) |
16:24:28 | * | vivus joined #nim |
16:36:01 | * | yglukhov joined #nim |
16:38:27 | * | Jesin joined #nim |
16:40:56 | * | yglukhov quit (Ping timeout: 260 seconds) |
16:46:42 | FromGitter | <mratsim> I just received my HacktoberFest T-Shirt |
16:47:35 | Yardanico | yeah I received it yesterday too :) |
16:47:53 | FromGitter | <mratsim> the digital ocean sticker is too big |
16:48:26 | * | claudiuinberlin quit (Quit: Textual IRC Client: www.textualapp.com) |
16:50:13 | FromGitter | <mratsim> Hmmm, OpenCL kernels must be compiled Just-in-time :/ and only Nvidia caches the compilation. Intel, AMD, FPGAs don’t ... |
16:51:33 | flyx | mratsim: I did OpenCL once. iirc, you can query the compiled binary and cache it yourself |
16:52:02 | * | Vladar joined #nim |
16:55:34 | FromGitter | <mratsim> The only issue is that if I want generic kernels for (int32, int64, float32, float64) and atleast AMD, Intel GPU, Nvidia, I have to ship 12 compiled kernels ... |
17:01:15 | FromGitter | <Varriount> @mratsim What about dlls? |
17:13:56 | * | fvs joined #nim |
17:14:05 | FromGitter | <mratsim> @Varriount, OpenCL expects “clbin” binaries not dlls and I need Nvidia/AMD/Intel OpenCL SDK to provide the 3 versions |
17:14:49 | FromGitter | <mratsim> well if people want the absolute performance they’ll deal with OpenCL caching, code is open source |
17:16:10 | fvs | is it possible to change file property details (version, company, copyright, etc) of (Windows) nim compiled binaries using the compiler? |
17:32:56 | * | claudiuinberlin joined #nim |
17:37:29 | * | yglukhov joined #nim |
17:41:01 | * | yglukhov quit (Remote host closed the connection) |
17:41:17 | * | yglukhov joined #nim |
17:42:49 | * | yglukhov quit (Remote host closed the connection) |
17:45:24 | * | chamar joined #nim |
17:47:38 | * | ofelas joined #nim |
17:57:10 | * | yglukhov joined #nim |
18:02:01 | * | yglukhov quit (Ping timeout: 260 seconds) |
18:02:15 | FromGitter | <tekjar> Hi. I'm writing wrapper to a function which is defined like this ⏎ ⏎ ```N_CDECL(void, HAL_Delay)(NU32 millis);``` ⏎ ⏎ When I replace NU32 with uint32_t, this is working [https://gitter.im/nim-lang/Nim?at=5a43e02703838b2f2a417eb4] |
18:02:23 | FromGitter | <tekjar> What might be the problem? |
18:02:52 | FromGitter | <Yardanico> what's the error? |
18:02:54 | FromGitter | <Yardanico> can you post error log? |
18:03:42 | FromGitter | <tekjar> Full error |
18:03:52 | FromGitter | <tekjar> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5a43e087b48e8c3566707dad] |
18:04:40 | FromGitter | <Yardanico> and also can you show your nim code for this wrapper? |
18:04:48 | FromGitter | <Yardanico> I mean for this wrapper procedure |
18:04:59 | FromGitter | <tekjar> Sure. 1 sec |
18:05:19 | FromGitter | <tekjar> ```proc delay*(millis : uint32) {.importc: "HAL_Delay", dynlib: libName.} ⏎ ``` [https://gitter.im/nim-lang/Nim?at=5a43e0df0163b02810847999] |
18:06:28 | FromGitter | <Yardanico> hmmm |
18:12:14 | FromGitter | <tekjar> Is this supposed to work? |
18:14:30 | FromGitter | <Yardanico> probably yes |
18:18:50 | * | endragor joined #nim |
18:23:27 | * | endragor quit (Ping timeout: 256 seconds) |
18:27:03 | * | iAmSlow joined #nim |
18:27:10 | iAmSlow | am using nim insted bash |
18:27:18 | iAmSlow | to learn :) , |
18:27:23 | iAmSlow | so am little confused |
18:28:01 | iAmSlow | https://nim-lang.org/docs/osproc.html |
18:28:14 | iAmSlow | so do i need to type first import osproc ? |
18:28:24 | Yardanico | What do you mean |
18:28:25 | Yardanico | ? |
18:28:36 | Yardanico | If you need osproc - you need to import it, yes |
18:29:22 | iAmSlow | yep i am still figuring stuff out |
18:29:28 | iAmSlow | soory for dumb question |
18:32:03 | iAmSlow | https://pastebin.com/agrvYhf3 |
18:32:21 | iAmSlow | am getting error on startProcess( |
18:32:43 | iAmSlow | it says i shoud close ) but i need to pass those as arugiments |
18:32:48 | iAmSlow | https://nim-lang.org/docs/osproc.html |
18:32:53 | iAmSlow | like here |
18:33:35 | Yardanico | sorry, but WTF is this? :) |
18:34:13 | iAmSlow | i am trying to run external process |
18:34:23 | iAmSlow | am trying to run ffmpeg |
18:34:34 | iAmSlow | i fallowed https://nim-lang.org/docs/osproc.html |
18:34:46 | Yardanico | iAmSlow can you please learn the language a bit before trying to get help or write something? |
18:34:50 | iAmSlow | sorry i am learning so if am doing something dumb pls dont kill me |
18:34:56 | Yardanico | it should be written like this- https://gist.github.com/Yardanico/c8574960c83e7ff9633378c12f3acfc8 |
18:36:20 | iAmSlow | oh |
18:36:31 | iAmSlow | so i dont have to use evry option aveable |
18:36:55 | Yardanico | if you see "someOption = value" it means that this option has a default value |
18:37:04 | Yardanico | so you don't need to specify it if you're fine with it being default |
18:37:12 | Yardanico | *set to default |
18:37:17 | Yardanico | also you don't need ";" in Nim |
18:37:27 | Yardanico | (with a few exceptions) |
18:39:14 | Yardanico | iAmSlow: did you read https://nim-lang.org/docs/tut1.html and https://nim-lang.org/docs/tut2.html |
18:39:55 | iAmSlow | ty i read tut 1 like 2 days before but i frogot :) |
18:40:15 | iAmSlow | even played little in vs code |
18:40:54 | FromGitter | <tim-st> Does someone knows whether OrderedTable has the same lookup time as Table and if memory size differs? |
18:46:12 | * | yglukhov joined #nim |
18:48:29 | FromGitter | <tim-st> Ok, lookup seems to use the same proc for OrderedTable like for Table |
18:50:54 | * | yglukhov quit (Ping timeout: 272 seconds) |
18:52:16 | * | yglukhov joined #nim |
18:56:03 | FromGitter | <tekjar> @Yardanico I think `nimbase.h` is expanding `NU32` to `unsigned int` instead of `uint32_t`. I'm including `nimbase.h` from my system while cross compiling |
19:12:50 | * | yglukhov quit (Read error: Connection reset by peer) |
19:13:25 | * | yglukhov joined #nim |
19:13:26 | * | zielmicha_ quit (Ping timeout: 252 seconds) |
19:13:31 | * | noonien quit (Ping timeout: 240 seconds) |
19:13:33 | * | Syneh_ quit (Read error: Connection reset by peer) |
19:13:34 | * | msmorgan quit (Ping timeout: 264 seconds) |
19:13:39 | * | r4vi quit (Read error: Connection reset by peer) |
19:13:59 | * | dashed quit (Ping timeout: 252 seconds) |
19:13:59 | * | euantor quit (Ping timeout: 252 seconds) |
19:14:10 | * | odc quit (Ping timeout: 264 seconds) |
19:14:27 | * | enigmeta quit (Ping timeout: 250 seconds) |
19:14:41 | * | surma quit (Ping timeout: 252 seconds) |
19:14:52 | * | subsetpark quit (Ping timeout: 240 seconds) |
19:15:47 | * | SenasOzys quit (Ping timeout: 252 seconds) |
19:17:27 | * | kunev quit (Ping timeout: 240 seconds) |
19:18:56 | * | kunev joined #nim |
19:21:11 | Yardanico | tekjar: uint32_t is unsigned int |
19:21:18 | Yardanico | check what uint32_t is in your compiler |
19:21:43 | Yardanico | for example: https://github.com/travisg/stm32/blob/master/include/stdint.h#L28 |
19:39:54 | * | enigmeta joined #nim |
19:44:02 | * | Syneh_ joined #nim |
19:45:13 | * | noonien joined #nim |
19:45:18 | * | subsetpark joined #nim |
19:46:46 | * | msmorgan joined #nim |
19:47:23 | * | r4vi joined #nim |
19:47:25 | * | dashed joined #nim |
19:47:42 | * | Vladar quit (Quit: Leaving) |
19:51:57 | * | zielmicha_ joined #nim |
19:55:01 | * | yglukhov quit (Remote host closed the connection) |
19:56:46 | iAmSlow | hmm, about process can somone explan to me do i have to delay closing of application or what, have wierd issue |
19:56:57 | Yardanico | ? |
19:58:43 | iAmSlow | sec |
20:00:21 | iAmSlow | https://pastebin.com/k1eNmLbG |
20:00:45 | iAmSlow | so only let errC = execCmd works |
20:00:47 | iAmSlow | other dont |
20:01:12 | iAmSlow | do i have to start process manulay or soemthing |
20:01:28 | iAmSlow | terminal otupts comands |
20:01:43 | iAmSlow | it gives me /usr/bin/ffmpeg -f video4linux2 -s 640x480 -i /dev/video0 -ss 0:0:2 -frames 1 ~/cam1.jpg |
20:01:59 | iAmSlow | cuz poEchoCmd |
20:02:39 | iAmSlow | but nothing heppends only when i use execCmd |
20:03:48 | * | literal joined #nim |
20:04:43 | Araq | you need to close the processes |
20:04:58 | iAmSlow | but how i know if process is finished |
20:05:07 | iAmSlow | i can put just under it process.close |
20:05:16 | iAmSlow | but it will probbaly close it before it ends |
20:05:38 | iAmSlow | should i check vs running |
20:05:48 | Araq | you call waitFor() on it or running() |
20:06:01 | Araq | but I think you just want to use runProcesses() instead |
20:06:57 | iAmSlow | you mean execProcesses cuz there is no run |
20:06:59 | iAmSlow | https://nim-lang.org/docs/osproc.html |
20:07:38 | Araq | yes |
20:08:27 | iAmSlow | anyway i dont want to complicate it until i fix first 1 process |
20:08:43 | * | yglukhov joined #nim |
20:08:43 | Araq | what's there to fix? |
20:09:01 | iAmSlow | it dosent output img , only if i use execCmd |
20:09:39 | Araq | expand your tilde then |
20:10:09 | iAmSlow | tilde? |
20:10:14 | Araq | ~ |
20:10:33 | iAmSlow | what you mean by that ~/cam.jpg ? |
20:10:39 | Yardanico | ~ is "tilde" |
20:10:41 | Yardanico | your home directory |
20:10:53 | Araq | getHomeDir() / "cam.jpg" |
20:11:02 | iAmSlow | let errC = execCmd("/usr/bin/ffmpeg -f video4linux2 -s 640x480 -i /dev/video0 -ss 0:0:2 -frames 1 ~/cam1.jpg") |
20:11:02 | Araq | the tilde is a shell feature, not an OS feature |
20:11:05 | iAmSlow | this works |
20:11:19 | iAmSlow | oh |
20:11:28 | Araq | yeah but it's a hack because you don't understand your OS |
20:11:29 | iAmSlow | ok will try |
20:11:35 | iAmSlow | getHomeDir() |
20:12:48 | iAmSlow | Error: undeclared identifier: 'getHomeDir' |
20:12:56 | Yardanico | import ospaths |
20:12:57 | Araq | import os |
20:13:13 | iAmSlow | just wanted to ask that |
20:13:14 | iAmSlow | :) |
20:13:20 | Yardanico | or os |
20:13:28 | Yardanico | iAmSlow you can use documentation search |
20:13:59 | Araq | too bad dom96 wasn't around when Unix was invented, he would have demanded that ~ would be a builtin, not a shell feature and the world might have become a better place. |
20:16:28 | FromGitter | <alehander42> people would have a true `home`, not just a house of cards |
20:18:47 | iAmSlow | hmm, still it wont work but have to go now, meybe will come cry leater more :) , cya guys and sorry for spoonfeding me |
20:19:01 | * | iAmSlow quit (Quit: Leaving) |
20:20:36 | FromGitter | <tim-st> How can I easily create a Table C from Tables A,B? For Sets there is C = A + B |
20:29:47 | Araq | I don't think we have tables.merge |
20:29:59 | Araq | you need to write the 2 lines of code it takes on your own, sorry |
20:30:14 | FromGitter | <tim-st> Ok, thanks for the answer! |
20:38:11 | FromGitter | <tekjar> @Yardanico Thanks. It's weird that only `NU32` is creating compilation error |
20:47:27 | * | yglukhov quit (Remote host closed the connection) |
21:11:27 | * | marenz__ quit (Read error: No route to host) |
21:12:07 | * | marenz__ joined #nim |
21:13:11 | * | fvs left #nim ("ERC (IRC client for Emacs 25.3.1)") |
21:23:07 | * | euantor joined #nim |
21:25:38 | * | surma joined #nim |
21:27:54 | * | xkapastel joined #nim |
21:32:48 | * | odc joined #nim |
21:33:27 | * | gokr quit (Ping timeout: 240 seconds) |
21:52:05 | Araq | ugh, VS Code is making me mad |
21:52:06 | * | yglukhov joined #nim |
21:52:11 | Yardanico | indentation again? |
21:52:24 | Araq | no, control+P misses tons of files |
21:52:33 | Araq | but hey, its "startup" is faster. |
21:52:33 | Yardanico | oh |
21:52:48 | Araq | I can imagine it's "faster" when it ignores files... |
21:53:20 | dom96 | lol |
21:53:23 | Araq | heck it doesn't even need to search for it, it's in the same directory as the currently opened file ffs |
21:53:52 | dom96 | I can't find my indentation issue anymore :\ |
21:54:07 | * | radagast quit (Ping timeout: 248 seconds) |
21:54:09 | dom96 | I could have sworn I created one or commented on one in the vscode-nim repo |
21:54:16 | Yardanico | there's also an issue related to ctrl+p + sftp - https://github.com/Microsoft/vscode/issues/39493 |
21:54:27 | * | iAmSlow joined #nim |
21:54:28 | Yardanico | Araq, maybe you can try the config key mentioned in this issue? |
21:54:31 | iAmSlow | yey am back :) |
21:55:01 | dom96 | Yardanico: haha, that's hilarious |
21:55:06 | dom96 | Ripgrep is the Rust grep tool |
21:55:15 | Araq | Yardanico, I am not using an SFTP drive |
21:55:22 | Yardanico | Also this may be related - https://github.com/Microsoft/vscode/issues/40076 |
21:55:28 | dom96 | It would sure be funny if that was causing Araq's issues |
21:56:06 | Yardanico | and again in this issue |
21:56:12 | Yardanico | it was solved by disabling ripgrep |
21:56:21 | Yardanico | What made it work was to set the property "search.useRipgrep" to false. Or more accurately, what made the bug was the use of Ripgrep on Windows 10. |
21:56:37 | FromGitter | <GULPF> I'm having the same issue since last update, very annoying |
21:56:43 | dom96 | although why would ripgrep be used for filename search? |
21:56:58 | Yardanico | GULPF can you try to set "search.useRipgrep" to false? |
21:57:04 | Yardanico | just for lolz |
21:57:51 | Araq | :O |
21:57:54 | Araq | that works |
21:57:56 | Yardanico | LMAO |
21:58:02 | Araq | it's ripgrep |
21:58:12 | * | iAmSlow quit (Quit: Leaving) |
21:58:13 | Araq | I didn't know I have that one installed |
21:58:13 | FromGitter | <GULPF> worked for me to :D |
21:58:34 | Yardanico | Araq it's probably bundled with vscode |
21:58:51 | Araq | hipsters |
22:00:02 | Yardanico | quite a lot of issues about ripgrep - https://github.com/Microsoft/vscode/issues?q=is%3Aissue+ripgrep+ |
22:00:02 | dom96 | Beautiful |
22:00:09 | dom96 | You can truly blame a Rust tool for your problems :P |
22:04:43 | * | Trustable quit (Remote host closed the connection) |
22:04:59 | * | Yardanico quit (Quit: Quitting...) |
22:12:08 | * | Yardanico joined #nim |
22:19:43 | * | vlad1777d joined #nim |
22:27:00 | * | claudiuinberlin quit (Quit: Textual IRC Client: www.textualapp.com) |
22:31:58 | * | yay joined #nim |
22:32:42 | * | yay quit (Client Quit) |
22:34:39 | * | radagast joined #nim |
22:43:47 | FromGitter | <RedBeard0531> It's probably https://github.com/BurntSushi/ripgrep/issues/649 |
22:45:27 | Araq | you guys are amazing :-) |
22:47:16 | * | nsf quit (Quit: WeeChat 2.0.1) |
22:48:37 | * | Jesin quit (Quit: Leaving) |
22:49:11 | Yardanico | RedBeard0531: Araq was having the issue that files are ignored in quick file search (Ctrl+P), this one is a little different |
22:58:30 | FromGitter | <RedBeard0531> @yadanico Based on related issues it seems like file search uses rg to get the list of files. And the currently released version of ripgrep is a bit ... overagressive at matching patterns in nim gitignore files. |
23:19:44 | * | themagician quit () |
23:30:55 | * | radagast quit (Quit: radagast) |
23:30:55 | * | rauss quit (Read error: Connection reset by peer) |
23:31:29 | * | rauss joined #nim |
23:34:40 | FromGitter | <Quelklef> Is newline a character? `'\n'` is a syntax error and `"\n"[0]` behaves weirdly. But it's a character in many other languages and I know it's got an ascii code. |
23:34:58 | * | radagast joined #nim |
23:37:01 | FromGitter | <jaccarmac> https://nim-lang.org/docs/manual.html#lexical-analysis-character-literals |
23:37:19 | FromGitter | <jaccarmac> There's an exception on '\n' because it's two characters wide on Windows. |
23:38:01 | * | Dodgy-Debaser joined #nim |
23:50:20 | * | ofelas quit (Quit: shutdown -h now) |
23:54:39 | FromGitter | <Quelklef> Ah, damnit, Windows. |
23:54:41 | FromGitter | <Quelklef> Thanks |