Maybe. First, you need the module name primarily for disambiguation for compiler or possibly for readability. I wouldn't recommend requiring it for everything, eg one of the arguments against requiring naming all…
It could be preserved if specifying the namespace used a different syntax. Right now, if I have the `foo` module and `bar` function, I can call `arg1.bar()`, or `foo.bar(arg1)`. But if the namespace didn't also use `.`,…
Typing that out is making me re-evaluate my position. I made my judgement a few years ago, when the technical bus factor might have legitimately been 1, but there are a lot more people involved now, and some of them may…
I believe it, but I'd be happy to be wrong. Here is my reasoning: My concern is leadership, not technical ability per se. There are a number of people capable of maintaining Nim or advancing it (off the top of my head I…
Charitably reading his comment, I think he sees questions about a "foundation", "organization", etc as the thin edge of a wedge for people with political agendas. As a response to "Is there a Nim foundation?" it can be…
I was under the impression that using "nimrod" as an insult was an American thing (reference https://en.wikipedia.org/wiki/Nimrod#Idiom ). The creator of Nim is European.
It doesn't? https://nim-lang.org/docs/re.html and https://nim-lang.org/docs/net.html are part of nim's standard library. Are they missing something you expect?
Has anyone tried prologue? https://github.com/planety/prologue
Without knowing too much about the original poster's particular circumstances, I expect this is probably the answer. If you can endure until early next year, things may improve.
I mentioned elsewhere, but I made a simple bash function that does something like that but matches a string in a previous commit message (because I found that easier to type quickly than a commit hash): function…
Haha, true! On the other hand, is that better or worse than running into a string of "wip" commits that had the code in a broken state.
I've been recommending making a git tag before rebasing. eg: git tag -f pre-rebase
Me too. I made an alias that was _shorter_ than --force to make it easier to type (and hence more likely for me to use by default).
I did something very similar with a bash function: function git-commit-fixup() { git commit --fixup ":/$*" } alias gcf="git-commit-fixup" # Looks for the most recent commit that matches its arg # eg: we have three…
My understanding is that nim's arc memory management strategy inserts frees where it can automatically without being a GC, and that rust actually does something similar in many cases. Nim's arc doesn't handle cycles,…
I have a bash function I use to checkout a git branch based on a search string: function git-checkout-branch-by-search-string() { local maybe_branch_name maybe_branch_name=$(git branch --sort=-committerdate | grep $1 |…
I did something similar in bash using cd instead of jump. export CDPATH=.:~/.marks/ function mark { ln -sv "$(pwd)" ~/.marks/"$1" } I prefix all the "marks" with a symbol (eg "@") then if I do $ cd @ then press tab it…
Actually another way to do nimscript is to make a config.nims file with tasks in it. eg: In config.nims: switch("hints", "off") task hello, "say hello world": echo "hello world" In bash: $ nim hello hello world
For nim, you could use something like nimcr (https://nimble.directory/pkg/nimcr). You put a shebang in your script `#!/usr/bin/env nimcr` and then call it like a normal script. eg: $ code script.nim #!/usr/bin/env nimcr…
Maybe. First, you need the module name primarily for disambiguation for compiler or possibly for readability. I wouldn't recommend requiring it for everything, eg one of the arguments against requiring naming all…
It could be preserved if specifying the namespace used a different syntax. Right now, if I have the `foo` module and `bar` function, I can call `arg1.bar()`, or `foo.bar(arg1)`. But if the namespace didn't also use `.`,…
Typing that out is making me re-evaluate my position. I made my judgement a few years ago, when the technical bus factor might have legitimately been 1, but there are a lot more people involved now, and some of them may…
I believe it, but I'd be happy to be wrong. Here is my reasoning: My concern is leadership, not technical ability per se. There are a number of people capable of maintaining Nim or advancing it (off the top of my head I…
Charitably reading his comment, I think he sees questions about a "foundation", "organization", etc as the thin edge of a wedge for people with political agendas. As a response to "Is there a Nim foundation?" it can be…
I was under the impression that using "nimrod" as an insult was an American thing (reference https://en.wikipedia.org/wiki/Nimrod#Idiom ). The creator of Nim is European.
It doesn't? https://nim-lang.org/docs/re.html and https://nim-lang.org/docs/net.html are part of nim's standard library. Are they missing something you expect?
Has anyone tried prologue? https://github.com/planety/prologue
Without knowing too much about the original poster's particular circumstances, I expect this is probably the answer. If you can endure until early next year, things may improve.
I mentioned elsewhere, but I made a simple bash function that does something like that but matches a string in a previous commit message (because I found that easier to type quickly than a commit hash): function…
Haha, true! On the other hand, is that better or worse than running into a string of "wip" commits that had the code in a broken state.
I've been recommending making a git tag before rebasing. eg: git tag -f pre-rebase
Me too. I made an alias that was _shorter_ than --force to make it easier to type (and hence more likely for me to use by default).
I did something very similar with a bash function: function git-commit-fixup() { git commit --fixup ":/$*" } alias gcf="git-commit-fixup" # Looks for the most recent commit that matches its arg # eg: we have three…
My understanding is that nim's arc memory management strategy inserts frees where it can automatically without being a GC, and that rust actually does something similar in many cases. Nim's arc doesn't handle cycles,…
I have a bash function I use to checkout a git branch based on a search string: function git-checkout-branch-by-search-string() { local maybe_branch_name maybe_branch_name=$(git branch --sort=-committerdate | grep $1 |…
I did something similar in bash using cd instead of jump. export CDPATH=.:~/.marks/ function mark { ln -sv "$(pwd)" ~/.marks/"$1" } I prefix all the "marks" with a symbol (eg "@") then if I do $ cd @ then press tab it…
Actually another way to do nimscript is to make a config.nims file with tasks in it. eg: In config.nims: switch("hints", "off") task hello, "say hello world": echo "hello world" In bash: $ nim hello hello world
For nim, you could use something like nimcr (https://nimble.directory/pkg/nimcr). You put a shebang in your script `#!/usr/bin/env nimcr` and then call it like a normal script. eg: $ code script.nim #!/usr/bin/env nimcr…