Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bluecalm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
211.
▲
by
bluecalm
10mo ago
>>(It's also very easy to get this wrong, I almost wrote `hostname[20]=0;` first time round.) Impossible to get wrong with a modern compiler that will warn you on that or LSP that will scream the moment you type ; and hit enter&#
212.
▲
by
bluecalm
10mo ago
Oh that's a good point! I forgot I actually tried it with jj or kj combos in VIM to exit insert mode and it was a bit annoying. That is before I found a way to re-map CapsLock to a dual duty key on Windows (I am using WSL2 but remaps g
213.
▲
by
bluecalm
10mo ago
I guess it depends. I find it annoying when I read about some feature and then it turns out the package is several versions behind the newest one and I can't try it without jumping hoops to install it from some alternative source. That
214.
▲
by
bluecalm
10mo ago
I often read about all those RSI problems and then how pinky fingers have a lot of duties. I find it strange. I type at decent speed and I barely use my pinky fingers at all. I press Caps-Lock, Tab, Shift and Enter with them as well as | an
215.
▲
by
bluecalm
10mo ago
Fedora also has ThinkPad compability program and a nice way to install/update Lenovo drivers. The problem with Ubuntu, as other mentioned, is that you get ancient version of some packages. Fedora is nicely up to date.
216.
▲
by
bluecalm
10mo ago
I guess the reason is that the most interesting part of the problem is implementing non-biased selection from 0 to n and once you have done it you just want to use the number so it's natural to choose from the beginning of the array an
217.
▲
by
bluecalm
10mo ago
My experience is 10%-15% slower than GCC. That was 10 years ago though.
218.
▲
by
bluecalm
10mo ago
I don't need discoverability. I know what I have on my computer. I need it to be reliable, fast and not distract me with junk. Maybe most people need discoverability, the problem is that with the new design all they will discover is ad
219.
▲
by
bluecalm
10mo ago
It took me a few hours to make the start menu looks like this: https://i.ibb.co/R4pgrwBx/start-menu.png Now it's clean, doesn't show any web results when I start typing there: https://i.ibb.co/
220.
▲
by
bluecalm
10mo ago
I disabled auto updates by pinning the target version in group policy and then finding some hacks on the web to make it always ask before download. I've run many other random scripts and then found Windhawk to remove more annoyances (t
221.
▲
by
bluecalm
10mo ago
I've spent several days trying to get Pro version to usable state. By usable I mean that it doesn't kill my work session because some random app I've never installed, used or asked for fails its auto-update in the middle of t
222.
▲
by
bluecalm
10mo ago
Why are OTAs entitled to sell Ryanair tickets in the first place?
223.
▲
by
bluecalm
10mo ago
They can't do it having access to the code but somehow people without access to the code [1] can still hack the solution and actually not only move it but also personalize it, change its size, use small/big icons or, my personal p
224.
▲
by
bluecalm
10mo ago
Utility is no longer a core design principle in Silicon Valley these days.
225.
▲
by
bluecalm
10mo ago
Other than changing my mouse cursor to a circle that just makes it unintuitive to use can someone explain the point of a circle in the right upper corner that expands automatically into two icons: search and a hamburger menu? The "save
226.
▲
by
bluecalm
10mo ago
I am asking the models to generate an image where fictional characters play chess or Texas Holdem. None of them can make a realistic chess position or poker game. Always something is off like too many pawns or too may cards, or some cards b
227.
▲
by
bluecalm
10mo ago
We are comparing it to WhatsApp that lags (very significantly) on keyboard input and doesn't even have a way to paste code.
228.
▲
by
bluecalm
10mo ago
If you apply automatic tax on bonds people will just not buy them unless you also increase their returns. It's a pointless exercise. Same goes for stocks, it's just a bit bigger circle in this case. Capital gain tax is just a bad
229.
▲
by
bluecalm
10mo ago
WSL2, Neovim, LSPs, Brave Browser, fzf, yt-dlp - just the ones I've used today. >>makefiles They are hard to debug and I never could make the compilation as fast as with CMake (which sucks for many other reasons). Hopefully Zig b
230.
▲
by
bluecalm
10mo ago
Arenas is one of those patterns that very easy to underestimate. I didn't know about it when I started programming and I run into huge performance issue where I needed to deallocate a huge (sometimes tens of GBs consisting of millions
231.
▲
by
bluecalm
10mo ago
>>That is how all standard library collections in Rust works Yeah and that's what not going to work for high performance data structures because you need to embed hooks into the objects - not just put objects into a bigger collec
232.
▲
by
bluecalm
10mo ago
The main thing is that he object can be a member of various structures. It can be in big general queue and in priority queue for example. Once you find it and deal with it you can remove it from both without needing to search for it. Same s
233.
▲
by
bluecalm
10mo ago
I really hope that happens but I see those announcement as negotiating tactics. Switching will cost a lot (in training, unavoidable delays and mistakes etc.) and both parties will have incentives to go back to good old days. I hope I am wro
234.
▲
by
bluecalm
10mo ago
In my country there is usually a recount in some "suspicious" voting stations. The recount about never gives the same results as the original count. People are not very good at counting even if they have good intentions. >>F
235.
▲
by
bluecalm
10mo ago
It looks very nice. One problem I've encountered is that when you make a mistake then the name of the file you have to use disappears and it's impossible to get it back. What is this website created with btw? I like the style a lo
236.
▲
by
bluecalm
10mo ago
In the current election system also almost no one can do anything to verify the results. The percentage is way higher than 95%. There are many arguments against electronic voting but the current system is terrible and insecure. >>And
237.
▲
by
bluecalm
10mo ago
Yeah but this case just seem to be strictly worse. It makes experimenting worse and it makes it more likely (not less) that unused variables end up in the final version. I get being opinionated about formatting, style etc. to cut endless de
238.
▲
by
bluecalm
10mo ago
I tried using Firefox. I had it as default browser for 2 years but I just keep going back to Chromium. Firefox is slow and crashes/hangs too much in my experience. It was even very slow to open my automatically generated tables for acc
239.
▲
by
bluecalm
11mo ago
In a very basic case lock free data structures make threads race instead of spin. A thread makes their copy of a part of list/tree/whatever it needs updating, introduces changes to that copy and then tries to substitute their own
240.
▲
by
bluecalm
11mo ago
I fail to see how a warning doesn't achieve the same thing while allowing you to iterate faster. Unless you're working with barbarians who commit code that complies with warnings to your repo and there is 0 discipline to stop them
More ›