Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bombela
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
631.
▲
by
bombela
5y ago
Fun thing, is Rust employs the same trick. The HashSet<T> is an alias for HashMap<T, ()>. "()" is the unit type. Which is zero-sized. Because Rust has generics, it is more ergonomic though. https://doc.rust-
632.
▲
by
bombela
5y ago
What about valgrind? https://valgrind.org/
633.
▲
by
bombela
5y ago
I think what matters is the intent. Here the intent is to compare against strlen at every turn of the loop. When the compiler is optimizing it might very well realize that the parameter to strlen doesn't change and the output can be sa
634.
▲
by
bombela
5y ago
On Linux/xorg I use the qwerty international layout and a dead compose key for the rarely used symbols. Example: é is "altgr+e", ç is "altgr+", while Ω is "right-ctrl, shift+w" and ⁶ is "right-ctrl,^,
635.
▲
by
bombela
5y ago
Yep. I feel it's been a few weeks at least.
636.
▲
by
bombela
5y ago
Why the downvotes on the parent? It's literally the same thing: running random code from the internet on your computer!
637.
▲
by
bombela
5y ago
I experienced it few times too. With the slower and slower fading pictures. And the button submit that stays active but doesn't work.
638.
▲
by
bombela
5y ago
If you are immunocompromised. Even though vaccinated. You could still catch the virus and be seriously impacted by it for example. The vaccine is not a guaranteed 100% protection for a healthy young person. And the weaker you are, the worse
639.
▲
by
bombela
5y ago
I have the same printer. Sometimes it randomly locks up. And disappears from the network (ethernet, wifi is off). Otherwise it is precise enough for me to toner transfer masks to manufacture little PCBs with traces of 0.2mm. And with colors
640.
▲
by
bombela
5y ago
Maybe the GP was thinking of the documentary/drama: The Social Dilemma
641.
▲
by
bombela
5y ago
You read too fast: > SQLite as the backing store for file records, though not the file contents
642.
▲
by
bombela
5y ago
Here; let me fullfil your dream with a single word: diapers.
643.
▲
by
bombela
5y ago
This makes sense to me. What matters is the reaction time and braking distance.
644.
▲
by
bombela
5y ago
It also can go above 100%. And it seems that I can never get it back to 100% if I move it by mistake. Even using the keyboard it will never comes back to exactly 100%. Maybe 103%, or 98%. It drives me crazy.
645.
▲
by
bombela
5y ago
I don't think it's any malice. Just a way to bring up the idea of a sudden realization. Obviously, I could be wrong.
646.
▲
by
bombela
5y ago
Google. Backup of filers. Conversion from NetApp filer dumps to tarball. I did open source a prototype of the tool. I don't know if it has the bug. The final version was to Google standard of C++ and maybe some cleaner abstractions. h
647.
▲
by
bombela
5y ago
The roof is/was wood. That's what burned.
648.
▲
by
bombela
5y ago
It's both funny and true at the same time. I used to advertise my worth in how good my C++ is. Until I had a dumb after free error after git merging two adjacent line in the wrong order. A simple vector push done after capturing vector
649.
▲
by
bombela
5y ago
Hey at least your keyboard works /s On my Google Android phone, the keyboard randomly stops working. Or this other thing. Plug/unplug or or go below the threshold of the battery saver. While you have the keyboard active. It will r
650.
▲
by
bombela
5y ago
dedup = set(strings)
651.
▲
by
bombela
5y ago
You could desolder or, if daring enough, cut one of the trace on the pcb that power the LEDs. They would likely have a common power trace.
652.
▲
by
bombela
5y ago
On a big phone it is really comfortable.
653.
▲
by
bombela
5y ago
Correct. They won't be equal. Since each library has its own table.
654.
▲
by
bombela
5y ago
That is maybe the key point here. I am the total opposite of you. A friend of mine is like you and he thrives in vim.
655.
▲
by
bombela
5y ago
I do woodworking and construction work. In real life, I always must select first. Apply action second. So to me this feels more natural.
656.
▲
by
bombela
5y ago
Try the plugin easy motion. It changed my life.
657.
▲
by
bombela
5y ago
I tend to pick and measure a piece of wood before turning my saw and cutting. I say that I am cutting the wood. But I select it first before marking it and cutting it. I noticed that I use the visual mode of vim a lot. With easy motion to h
658.
▲
by
bombela
5y ago
> Maybe the real reason that distro package managers are unpleasant is that they opt to dynamically link everything by default? This. Seriously if things weren't such a tangled mess. I could just do `apt install potato@v2.1` and lif
659.
▲
by
bombela
5y ago
What about using a HashSet<Rc<str>>. And returning a type that implements Drop. The drop method can remove the string from the cache when the last reference is dropped. Since the cache must be accessed by the interning function
660.
▲
by
bombela
5y ago
Recently I bought and returned to amazon around 5 different USB SD card reader. Turns out they all used the exact same USB hub/combo card reader chip. This chip burns enough power at idle to heat up almost 30°C above ambient. After eno
More ›