Nimforum custom theme

2023-12-09 Thread dlesnoff
Stylus already enables that. I do not think that we should over-engineered the forum.

Forum dark theme

2023-12-09 Thread jasonfi
It would also be nice not to have to refresh after clicking the Login button (of the Login dialog). I'm using Brave browser.

Nimforum custom theme

2023-12-09 Thread nasl
Is there a Stylus equivalent for WebKit based browsers?

Nimforum custom theme

2023-12-09 Thread morturo
Too much freedom is a curse. The outcome it would achieve can be attained by using a client-side extension like Stylus. This dark theme is awesome, by the way.

How do I find the ideal Dose for Smart Hemp Gummies Australia?

2023-12-09 Thread lynnnovic
Smart Hemp Gummies Australia:- With this remarkable formula, you will be able to naturally fight the root causes of disease which can lead to lasting effects and a feeling of well-being. Facebook @

run another program, then kill/quit self on windows?

2023-12-09 Thread oyster
I have a GUI program, let's call it as `App-A.exe`, which reads configure file on starting. The configure file is a pure text file, but I hate to edit it in text editor, hence I made an editor application `configEditor.exe` with GUI in nim. There is a button in `configEditor.exe` who should exec

Is it possible to encode constraints directly into a type, and enforce them at runtime?

2023-12-09 Thread Charles
@shirleyquick That's great, I didn't know about the `requiresInit` pragma, thanks! I looked for something like a private constructor on google but those were the wrong keywords. It's too bad about the casting, I wish there were a way to forbid it. @Arak I'm thinking of data science workflows I'

run another program, then kill/quit self on windows?

2023-12-09 Thread LilKeet
When your binary executes, it will start a shell process via `execCmd` that runs the command specified (`App-A.exe`). This shell process starts the App-A process. The configEditor process owns the shell process which owns the App-A process. Child processes do not (or at least, should not) outliv

Is it possible to encode constraints directly into a type, and enforce them at runtime?

2023-12-09 Thread termer
As @shirleyquirk suggested, you could use an object with a string field. That would be very helpful if you need to be treating the value like a string often. This would be what a full string-compatible example would look like, complete with implicit conversion: type HandLike* {.req

Is it possible to encode constraints directly into a type, and enforce them at runtime?

2023-12-09 Thread shirleyquirk
[requiresInit](https://nim-lang.org/docs/manual.html#statements-and-expressions-var-statement) is kinda like the deleted default constructor from c++, but cleverer. it prevents the situation where you can var h: Hand echo h #oh no, it's an empty string that invalidates our preco

run another program, then kill/quit self on windows?

2023-12-09 Thread treeform
It looks like you are on windows. Its probably best not to rely on Nim's crossplatform API and reach for win32 method directly: See You can supply the proper parameters to make it look lik

run another program, then kill/quit self on windows?

2023-12-09 Thread Araq
Use `osproc.terminate`.