Viewing profile — firesloth
firesloth
HN member- Joined
- Thu, Aug 11, 2022, 4:55 PM UTC
- HN karma
- 31
- Public activity
- 19 items
- HN profile
- View on Hacker News ↗
About firesloth
No profile information was provided.
Recent public activity
-
comment
Comment #40545545
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 argume…
-
comment
Comment #40545216
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)`. Bu…
-
comment
Comment #36572924
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 pe…
-
comment
Comment #36572355
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…
-
comment
Comment #36566852
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 …
-
comment
Comment #36566743
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.
-
comment
Comment #33749322
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?
-
comment
Comment #33749257
Has anyone tried prologue? https://github.com/planety/prologue
-
comment
Comment #33577583
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.
-
comment
Comment #33540863
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 quickl…
-
comment
Comment #33540541
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.
-
comment
Comment #33540511
I've been recommending making a git tag before rebasing. eg: git tag -f pre-rebase
-
comment
Comment #33540494
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).
-
comment
Comment #33540423
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 ma…
-
comment
Comment #33080864
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 cas…
-
comment
Comment #32472649
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 br…
-
comment
Comment #32470527
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 "@") …
-
comment
Comment #32453540
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…
-
comment
Comment #32428695
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. e…