Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
medstrom
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
91.
▲
by
medstrom
2y ago
If it turns out to be too complex, Codeberg and SourceHut are some actually nice alternatives that exist now. Not like GitLab which brought its own complexity.
92.
▲
by
medstrom
2y ago
~~"buy what you need"~~ "do not go shopping until after something has a hole in it, then when you are there, replace only that"
93.
▲
by
medstrom
2y ago
I got one too: https://edstrom.dev
94.
▲
by
medstrom
2y ago
I do not think branches merge, except maybe after intervention by a creative gardener.
95.
▲
by
medstrom
2y ago
As someone with knowledge of JS, my favored static site generator is SvelteKit. I feel like for me, Jekyll and such things no longer offer a simplification.
96.
▲
by
medstrom
2y ago
I've only met one person who spoke of HHGG (or "H2G2"), and it's surely a fandom like Star Trek, Star Wars or something, but I feel confused at your characterization. Is it especially common in HHGG to not branch out?
97.
▲
by
medstrom
2y ago
Example of such a language?
98.
▲
by
medstrom
2y ago
For the React components? I prefer the flat, curiously. For the JSON keys, I agree somewhat, although it would be easy to compensate by vertically aligning the values.
99.
▲
by
medstrom
2y ago
Bit like a codebase where different parts slowly accrete extra features that presume the presence of the other parts, so that you eventually have to read the whole to follow anything.
100.
▲
by
medstrom
2y ago
What about groping ? Groping around for text.
101.
▲
by
medstrom
2y ago
FYI, many people use thin wrappers like this, it's still a primitive tool that doesn't parse the language, but it can handle that problem: https://jumpshare.com/s/zMENBSr2LwwauJVjo1wS (GIF)
102.
▲
by
medstrom
2y ago
Mmh, I type "func\ lart(" when I need the literal string. But it's less often, so it's fair that it's slightly more to type.
103.
▲
by
medstrom
2y ago
That's fair, I see many examples in this thread where people pass an exact string directly to grep, as you do. I'm an avid grepper, but my grep tool [1] translates spaces to ".*?", so I would just type "func lart(&
104.
▲
by
medstrom
2y ago
Which of the examples are harder to read for humans?
105.
▲
by
medstrom
2y ago
There is no conflict between improving tools and learning how to express your code in such a way that as many tools as possible work better OOTB.
106.
▲
by
medstrom
2y ago
I like it, but it may be painful in languages where long variable names are common.
107.
▲
by
medstrom
2y ago
I feel there are a few ways to invoke .map() in a readable way and many ways that make the code flow needlessly indirect. Should be a judgment call, and the author needs to be used to doing both looping and mapping constructs, so that they
108.
▲
by
medstrom
2y ago
Oh, you're right.
109.
▲
by
medstrom
2y ago
Norwegian still translates grep as "grip"/"grab". I always thought of grepping as reaching in with a hand into the text and grabbing lines. That association is close at hand (insert lame chuckle) for German and En
110.
▲
by
medstrom
2y ago
So Dutch/German make "begreif" a verb, for Swedish it is just a noun (that means "concept"). But "begrijpelijk" has a clone: "begriplig". An adverb based on a verb in a foreign dictionary. Ther
111.
▲
by
medstrom
2y ago
const foo = () => {} This function is not anonymous, it's called foo.
112.
▲
by
medstrom
2y ago
Is it just hard to get used to, or does it fundamentally make something more difficult?
113.
▲
by
medstrom
2y ago
Grok is right! I'd translate Swedish "greppbar" directly as "grokkable"; "att greppa" as "to grok".
114.
▲
by
medstrom
2y ago
What does it stand for?
115.
▲
by
medstrom
2y ago
That'd be better as (defvar foo-i 0) (defun foo () (while-no-input (while (< foo-i 10000) (print (cl-incf foo-i)))) (when (< foo-i 10000) (run-with-idle-timer 1 nil #'foo)))
116.
▲
by
medstrom
2y ago
What you describe sounds like the data on both of you gets stored due to your choice of messaging app, and you just don't get shown ads due to your choice of OS. Data may still be there.
117.
▲
by
medstrom
2y ago
But why does that matter? Help me understand. To be fair I haven't used an elisp REPL, unless it counts that I use commands. Any command used in Emacs is an eval step in a REPL. But you mean a REPL as in a console-style interaction, r
118.
▲
by
medstrom
2y ago
The first question is why. Can you not use CL repls instead of elisp repls?
119.
▲
by
medstrom
2y ago
Even more simply, `while-no-input` has existed since 2007. And start-process since 1985. It has always been possible to make a mail "thread". If the developer didn't use the old tricks, it doesn't seem likely they will
120.
▲
by
medstrom
2y ago
This seems a bug in the design of that REPL. Unless there's some reason the process has to be the same as the editor process.
More ›