00:33:49 | * | PMunch__ joined #nim |
00:37:02 | * | PMunch_ quit (Ping timeout: 265 seconds) |
01:10:19 | * | PMunch_ joined #nim |
01:13:24 | * | PMunch__ quit (Ping timeout: 260 seconds) |
01:34:14 | FromDiscord | <nitely_> In reply to @user2m "I'm deploying to a": try compiling with --threads:off to make sure prolog is running single threaded, if you are using globals like that |
01:55:07 | * | disso-peach quit (Quit: Leaving) |
01:57:37 | * | SchweinDeBurg quit (Quit: WeeChat 4.6.0-dev) |
01:58:04 | * | SchweinDeBurg joined #nim |
03:04:22 | FromDiscord | <stoneface86> anyone know how well `--header` works? I'd like to avoid writing a header myself for my nim library to be called from a C++ application |
03:04:41 | FromDiscord | <Elegantbeef> It's not a supported feature |
03:06:31 | FromDiscord | <stoneface86> right, just wondering if it's worth using |
03:13:17 | FromDiscord | <Elegantbeef> If it works for you |
03:13:22 | FromDiscord | <Elegantbeef> It might randomly disappear though |
03:15:46 | FromDiscord | <Elegantbeef> Not that it's production ready or likely even usable but I did toy with making a macro generate header files a while back |
03:15:46 | FromDiscord | <Elegantbeef> https://github.com/beef331/seeya |
03:18:47 | FromDiscord | <stoneface86> oh nice I'll take a look at it |
03:19:08 | FromDiscord | <stoneface86> was considering making something like that myself |
03:19:19 | FromDiscord | <Elegantbeef> https://github.com/beef331/libnimib/blob/master/include/nimib.h the thing is that it is actually aimed at making a C header so you get a nice output |
03:20:09 | FromDiscord | <Elegantbeef> Automatic comments, no complicated names, it's just readable 😄 |
03:25:28 | * | PMunch__ joined #nim |
03:28:08 | * | PMunch_ quit (Ping timeout: 265 seconds) |
04:37:17 | * | beholders_eye quit (Ping timeout: 244 seconds) |
05:16:04 | * | tiorock joined #nim |
05:16:04 | * | rockcavera is now known as Guest2717 |
05:16:04 | * | Guest2717 quit (Killed (erbium.libera.chat (Nickname regained by services))) |
05:16:04 | * | tiorock is now known as rockcavera |
05:52:10 | * | coldfeet joined #nim |
06:28:38 | * | tiorock joined #nim |
06:28:38 | * | rockcavera is now known as Guest2440 |
06:28:38 | * | tiorock is now known as rockcavera |
06:30:43 | * | tiorock joined #nim |
06:30:43 | * | tiorock quit (Changing host) |
06:30:43 | * | tiorock joined #nim |
06:30:43 | * | rockcavera is now known as Guest5935 |
06:30:43 | * | tiorock is now known as rockcavera |
06:32:40 | * | Guest2440 quit (Ping timeout: 260 seconds) |
06:33:34 | * | PMunch_ joined #nim |
06:33:50 | * | Guest5935 quit (Ping timeout: 260 seconds) |
06:36:08 | * | PMunch__ quit (Ping timeout: 252 seconds) |
07:19:00 | * | ntat joined #nim |
07:19:04 | * | GnuYawk673 quit (Quit: The Lounge - https://thelounge.chat) |
07:19:26 | * | GnuYawk673 joined #nim |
08:08:58 | * | tiorock joined #nim |
08:08:58 | * | rockcavera quit (Killed (lithium.libera.chat (Nickname regained by services))) |
08:08:58 | * | tiorock is now known as rockcavera |
08:11:05 | * | tiorock joined #nim |
08:11:05 | * | rockcavera is now known as Guest5632 |
08:11:05 | * | Guest5632 quit (Killed (tungsten.libera.chat (Nickname regained by services))) |
08:11:05 | * | tiorock is now known as rockcavera |
08:36:08 | * | PMunch__ joined #nim |
08:38:30 | * | PMunch_ quit (Ping timeout: 246 seconds) |
09:30:47 | * | PMunch_ joined #nim |
09:32:06 | * | tiorock joined #nim |
09:32:06 | * | rockcavera quit (Killed (platinum.libera.chat (Nickname regained by services))) |
09:32:06 | * | tiorock is now known as rockcavera |
09:33:06 | * | PMunch__ quit (Ping timeout: 276 seconds) |
09:34:12 | * | tiorock joined #nim |
09:34:12 | * | rockcavera is now known as Guest8995 |
09:34:12 | * | tiorock is now known as rockcavera |
09:37:29 | * | Guest8995 quit (Ping timeout: 272 seconds) |
10:26:47 | FromDiscord | <TFed> what library is the best for running shell commands inside the nim? |
10:28:11 | FromDiscord | <TFed> i used procs from the osproc, like execCommand and overloaded startProcess |
10:28:11 | FromDiscord | <TFed> i used procs from the osproc, like execCmd and overloaded startProcess |
10:28:12 | FromDiscord | <TFed> i used procs from the osproc, like execCmd and my own overloaded startProcess |
10:28:41 | FromDiscord | <TFed> i think i can make my own cuz i want to support exit code, pipe-lines and input/output and stderr streams |
10:28:54 | FromDiscord | <TFed> i think i can make my own cuz i want to support exit code, pipe-lines and input/output/stderr streams |
10:29:04 | FromDiscord | <TFed> i think i can make my own cuz i want to support exit code, pipe-lines and input, output with stderr streams |
10:30:21 | FromDiscord | <TFed> but nim has some shell, nishell packages, where i can use them? |
10:30:30 | FromDiscord | <TFed> but nimble has some shell, nishell packages, where i can use them? |
10:30:48 | FromDiscord | <TFed> but nimble has some shell, nishell packages, but where i can use them? |
10:31:51 | FromDiscord | <TFed> [Edit](https://discord.com/channels/371759389889003530/371759389889003532/1340268411753598997): i used procs from the osproc, like execCmd and my own overloaded startProcess-based funcs |
10:32:31 | FromDiscord | <TFed> [Edit](https://discord.com/channels/371759389889003530/371759389889003532/1340269074315350027): but nimble has some shell, nishell packages, but i'm how to use them... |
10:32:39 | FromDiscord | <TFed> [Edit](https://discord.com/channels/371759389889003530/371759389889003532/1340269074315350027): but nimble has some shell, nishell packages, but i'm not sure how to use them... |
10:35:51 | FromDiscord | <TFed> so i can use that shell support for different purposes🤔 |
10:39:39 | FromDiscord | <TFed> i found https://github.com/Vindaar/shell, it's very interesting |
10:40:07 | FromDiscord | <TFed> btw, guix behold nim version on guix\: |
10:40:13 | FromDiscord | <TFed> sent a code paste, see https://play.nim-lang.org/#pasty=tgwthRbS |
10:40:30 | FromDiscord | <TFed> [Edit](https://discord.com/channels/371759389889003530/371759389889003532/1340271417404424253): behold the nim version on guix\: |
10:42:04 | FromDiscord | <TFed> [Edit](https://discord.com/channels/371759389889003530/371759389889003532/1340271417404424253): behold the nim version on guix\: (so i compiled my own .nimble packages to use nim 2.2.2) |
11:50:35 | FromDiscord | <enthus1ast.> In reply to @TFed "what library is the": there also is https://nim-lang.org/docs/osproc.html#execCmdEx%2Cstring%2Cset%5BProcessOption%5D%2CStringTableRef%2Cstring%2Cstring |
11:50:45 | FromDiscord | <enthus1ast.> that one i use most of the time |
13:03:52 | * | kasimir_ quit (Remote host closed the connection) |
13:04:27 | * | kasimir_ joined #nim |
13:04:40 | * | alexdaguy joined #nim |
13:08:38 | * | alexdaguy quit (Client Quit) |
13:15:40 | * | kasimir_ quit (Remote host closed the connection) |
13:16:14 | * | kasimir_ joined #nim |
13:38:44 | FromDiscord | <general_rishkin> I hope some one can help me with the `unchained` library as I am not sure if @vindaar is here right now. How do I define my own unit, for example, intensity, which is W/m^2? |
13:56:22 | FromDiscord | <enthus1ast.> In the readme is a link to this: https://github.com/SciNim/Unchained/blob/master/examples/custom_unit_system.nim |
14:26:10 | FromDiscord | <vindaar> sent a long message, see https://pasty.ee/CWwBWhNV |
14:46:06 | * | coldfeet quit (Quit: Lost terminal) |
15:09:23 | * | beholders_eye joined #nim |
16:56:04 | FromDiscord | <arkanoid> been adding weird imperial units since the dawn of `unchained`. It works great! Thanks again vindaar |
16:57:03 | * | beholders_eye quit (Quit: WeeChat 4.1.2) |
16:58:43 | * | beholders_eye joined #nim |
17:20:08 | Amun-Ra | you said 'weird' twice ;> |
18:53:49 | * | tiorock joined #nim |
18:53:49 | * | tiorock quit (Changing host) |
18:53:49 | * | tiorock joined #nim |
18:53:49 | * | rockcavera is now known as Guest8302 |
18:53:49 | * | tiorock is now known as rockcavera |
18:55:56 | * | tiorock joined #nim |
18:55:56 | * | rockcavera is now known as Guest148 |
18:55:56 | * | tiorock is now known as rockcavera |
18:58:36 | * | Guest8302 quit (Ping timeout: 272 seconds) |
18:59:14 | * | Guest148 quit (Ping timeout: 272 seconds) |
19:33:02 | * | tiorock joined #nim |
19:33:02 | * | rockcavera is now known as Guest1891 |
19:33:02 | * | tiorock is now known as rockcavera |
19:34:45 | FromDiscord | <amadaluzia> yo! |
19:35:08 | * | tiorock joined #nim |
19:35:08 | * | rockcavera is now known as Guest832 |
19:35:08 | * | Guest832 quit (Killed (copper.libera.chat (Nickname regained by services))) |
19:35:08 | * | tiorock is now known as rockcavera |
19:37:14 | * | Guest1891 quit (Ping timeout: 272 seconds) |
19:40:06 | FromDiscord | <System64 ~ Flandre Scarlet> Hi↵I'm on Linux but I want to compile my app for Windows↵Any ideas how I can put an icon please? |
19:58:54 | FromDiscord | <Elegantbeef> That's the thing, you dont! You might be able to use https://github.com/mxre/winres |
19:59:12 | FromDiscord | <Elegantbeef> Though that requires the windows sdk |
20:03:46 | FromDiscord | <System64 ~ Flandre Scarlet> sent a code paste, see https://play.nim-lang.org/#pasty=FFsHdWmN |
20:11:42 | * | tankf33der joined #nim |
20:13:24 | * | tankf33der left #nim (the lounge - https://webirc.envs.net) |
21:40:32 | * | PMunch__ joined #nim |
21:43:16 | * | PMunch_ quit (Ping timeout: 272 seconds) |
22:28:18 | FromDiscord | <explosiveend> using `argparse`, how do you display the help / options for a command? e.g. `[command] --help` showing the available flags on that specific `command` instead of showing the overall cli `help()` |
22:31:51 | FromDiscord | <explosiveend> sent a code paste, see https://play.nim-lang.org/#pasty=YEJvBugO |
22:45:01 | * | ntat quit (Quit: Leaving) |
22:53:35 | FromDiscord | <emanresu3> @explosiveend for me, `nimble run -- --help` doesn't show anything, but after `nimble build`, both global `./tmp --help` and subcommand help `./tmp matrix --help` show their respective help texts |
22:56:00 | FromDiscord | <explosiveend> oh wait you're right, i've gotten `nimble run` to run `--help` before but the code was a bit different, thought it used `nimble run -- --help` |
22:56:39 | FromDiscord | <explosiveend> In reply to @emanresu3 "<@233754003605946368> for me, `nimble": okay, i'll just run the executable separately, thanks! |