Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
imron
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
121.
▲
by
imron
2y ago
That's a great approach. Not sure on the current state of Alacritty, but a few years back the suggested solution for users interested in battery performance was to switch to a different terminal emulator: https://github.com&
122.
▲
by
imron
2y ago
> kills performance And battery. I gave up on alacritty because it was always using the dedicated graphics card of my MacBook and there was no reasonably way to use the integrated graphics card because it was “low performance”.
123.
▲
by
imron
2y ago
Same. ctags all the way!
124.
▲
by
imron
2y ago
> If you wore sunglasses and then did something to your face (maybe wear a mask or crazy dramatic makeup) then it would be harder to detect your face, but that’s cheating on the question—that’s not changing your face, that’s just hiding
125.
▲
by
imron
2y ago
The Syrian government has fallen. This brings an end to the reign of the Assad family who have ruled there for 50 years.
126.
▲
by
imron
2y ago
Because you are explicitly asking for feedback: https://www.contrastrebellion.com/ Blue on red is hard to read.
127.
▲
by
imron
2y ago
> So, who is correct? The one that wasn’t the clone.
128.
▲
by
imron
2y ago
I expect better from someone whose user name is nuance bydefault
129.
▲
by
imron
2y ago
> With how much profit per visit though They run at a loss but make up for it in volume!
130.
▲
by
imron
2y ago
I’m still running a site on Hugo 0.18.0 because it works and the effort involved in upgrading is not worth the benefit. And that is the appeal of Hugo. A single binary with no dependencies that still works years later.
131.
▲
by
imron
2y ago
You'll have issues if you ever rename things in the dict. Linting tools will pick up on every instance where you forgot to rename the fields of a class, but won't do the same for dicts.
132.
▲
by
imron
2y ago
Beautifully placed comma
133.
▲
by
imron
2y ago
> Shlegeris said he uses his AI agent all the time for basic system administration tasks that he doesn't remember how to do on his own, such as installing certain bits of software and configuring security settings. Back in the day,
134.
▲
by
imron
2y ago
> Removing the GIL sounds like it will make typical Python programs slower and will introduce a lot of complexity? There is a lot of Python code that either explicitly (or implicitly) relies on the GIL for correctness in multithreaded pr
135.
▲
by
imron
2y ago
“There are only two kinds of languages: the ones people complain about and the ones nobody uses.” ― Bjarne Stroustrup
136.
▲
by
imron
2y ago
Incremental build times in rust are also on par (and often faster) with c++ on the similar sized projects I’ve worked on.
137.
▲
by
imron
2y ago
Large C++ projects aren't exactly known for their stellar compile times either. Coming from a C++ background, I don't find Rust compile times to be that bad for comparable sized projects in C++.
138.
▲
by
imron
2y ago
Not advocating for or against, but having worked on systems like this, the joins here would happen in the Fetchers. That is, User is the domain object, which could be built from one or more database tables inside the Fetcher.
139.
▲
by
imron
2y ago
> Has anyone integrated sound effects in any way? Terminal bell rings every time I press escape more than once in vim :-)
140.
▲
by
imron
2y ago
And now I'm on my computer, here is the modified version. Put this in: .git/hooks/prepare-commit-msg #!/usr/bin/env bash BRANCH=$(git symbolic-ref --short HEAD 2> /dev/null) # fail
141.
▲
by
imron
2y ago
I have a git commit hook that automatically adds a git trailer containing the jira ticket/issue number to the commit message. It gets this from the branch name which by my convention always contains the ticket ref. It would be trivial
142.
▲
by
imron
2y ago
My favorite article on this topic is “semantic compression” [0] by Casey Muratori. 0: https://caseymuratori.com/blog_0015
143.
▲
by
imron
2y ago
Technically no, but realistically yes.
144.
▲
by
imron
2y ago
Generally, no, unless you don’t care whether it’s delivered or not Too many people and companies abused this to the point that running your own mail server means much of the generic mail you send will end up in junk/spam folders.
145.
▲
by
imron
2y ago
A large amount of embedded software runs on 32bit and can't be readily patched.
146.
▲
by
imron
2y ago
And then there’s uuid5 which you can use to generate identical unique identifiers across multiple systems without having to check on each other. Very very useful to have in some circumstances.
147.
▲
by
imron
2y ago
For me, VSCode is not a great editor. It feels cobbled together and often provides a worse development experience compared to language specific IDE HOWEVER.. It has a killer feature if you are doing remote development. It (mostly seamles
148.
▲
by
imron
2y ago
This book! There’s Rust specific parts but the knowledge you gain will transfer across languages.
149.
▲
by
imron
2y ago
Agree with the general principle of knowing your buffer sizes, but the issue with memcpy (evidenced over many years with various CVEs) is that someone invariably takes a string length and forgets to plus one, leading to non-null-terminated
150.
▲
by
imron
2y ago
How did I not know this until now. Fantastic.
More ›