Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hambes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
hambes
1y ago
I would argue that if the pre-commit hooks come in the way of rebasing, either the commit hooks are doing way too much (which is one of the points of the article) or you are creating broken commits during rebasing. If any of the commits you
32.
▲
by
hambes
1y ago
This is the first time I ever got ruby. Reading it always felt like magic to me and I think it's still too much, if I really want to understand the abstractions, which unfortunately I do. But the understanding of blocks and especially
33.
▲
Discussion of the Benefits and Drawbacks of the Git Pre-Commit Hook
(yeldirium.de)
40 points
by
hambes
1y ago
|
42 comments
34.
▲
by
hambes
1y ago
you're telling me my depth perception is not creating a 3D model of the world in my brain?
35.
▲
by
hambes
1y ago
then why did my keyword-based approach work better than the natural language approach?
36.
▲
by
hambes
1y ago
OP specifically said they were looking for luks commands.
37.
▲
by
hambes
1y ago
even ddg has integrated AI now and while it can be disabled, the privacy aspect seems to mean that ddg regularily forgets my settings and re-enables the ai features. maybe i'm doing something wrong here, but even ddg is annoying me wit
38.
▲
by
hambes
1y ago
Is "How do you set up an encrypted file on linux that can be mounted and accessed same as a hard drive." literally what you put into the search bar? if so, that's the problem. try "mount luks encrypted file" or &quo
39.
▲
by
hambes
1y ago
I've thought about getting a web browser to work on the terminal for a while now. This is an idea that hadn't occured to me yet and I'm intrigued. But I feel it doesn't solve the main issue of terminal-based web browsing
40.
▲
Ask HN: What search engine are you using that is not Google?
1 points
by
hambes
1y ago
|
3 comments
41.
▲
by
hambes
2y ago
honest question, since i really like the idea but don't understand the implementation: what use is a text-based desktop environment, if it requires a graphical interface and cannot run in a tty?
42.
▲
by
hambes
2y ago
All three of your examples deserve to be thoroughly criticized for their waste of energy and resources. What even is this argument?
43.
▲
by
hambes
2y ago
As other's have said, arguing with disputable estimate isn't great. It's even worse if you don't understand physical units and miscalculate. Assuming the assumed 2Wh per prompt are correct, the calculation "2Wh * 20
44.
▲
by
hambes
2y ago
I think the graphic used by divio[1] ist so much more intuitive. But seems Diátaxis has more comprehensive documentation on what they mean. 1: https://docs.divio.com/documentation-system/
45.
▲
by
hambes
2y ago
Yeah, sounds honestly very obvious. Writing by hand is much more complicated than writing with a typewriter. However, nothing about the brain activity suggests that the increased learning effect has anything to do with the content of what i
46.
▲
by
hambes
2y ago
I've been using Tabby Cat [1] for a few years now and under no circumstance will I replace my cute cats with a productivity tool. [1] https://chromewebstore.google.com/detail/tabby-cat/mefhakmgc...
47.
▲
by
hambes
2y ago
I don't understand your point. The lesson is "don't rely on magic strings, instead rely on exported and documented constants, otherwise your code might break".
48.
▲
by
hambes
2y ago
It might look worse than catch, but it's much more predictable and less goto-y.
49.
▲
by
hambes
2y ago
Unfortunately true. The Go maintainers might not agree with me on this, but I think in this case consumers have to learn the hard way. Go tries to always be backwards compatible, but I don't think that trying to be backwards compatible
50.
▲
by
hambes
2y ago
Solution to the specifically mentioned problem: Don't use string-based errors, use sentinel errors [1]. More generally: Don't produce code where consumers of your API are the least bit inclined to rely on non-technical strings. In
51.
▲
by
hambes
2y ago
I'm quite weirded out about the part about sharing google's data with other companies to allow competition. Yes, sharing my data allows other companies to advertise to me and to monetize my interests. No, I don't want that. I
52.
▲
MinIO releases AIStore, doubles minimum subscription cost
(min.io)
1 points
by
hambes
2y ago
|
0 comments
53.
▲
by
hambes
4y ago
I really hate the phrase "from scratch" in the title.
54.
▲
by
hambes
4y ago
It depends on whether you often need to reach across the keyboard middle. If you need to press keys on the left half with your right hand or the other way around, it will be uncomfortable. Specifically for shooters I've found it pretty
55.
▲
by
hambes
4y ago
> We want curious conversation here And the multiple hundreds of "oh so sad rip i'm not a royalist but..." posts above are _curious_ and don't need discouraging?
56.
▲
by
hambes
4y ago
Put in work once, get paid over a long span of time in a way that is not proportional to the effort you put in at the start. Like any other passive income.
57.
▲
by
hambes
5y ago
Please, please, please do not throw anything that is not derived from Error. Throwing literals or other things makes error handling so much less predictable, stable and useful. throw/catch is already bad, let's not make it worse t
58.
▲
by
hambes
5y ago
Given how obviously stupid many of the changes are, to me this looks like a false flag attempt trying to stir outrage against a movement with good intentions.
59.
▲
by
hambes
5y ago
> finding that both male and female participants tend to assign positive traits to women Pretty simple to summarize imo
60.
▲
by
hambes
5y ago
You do understand the word "benevolent", don't you? Have you read the linked article on "ambivalent sexism"?
More ›