Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Too
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
751.
▲
by
Too
4y ago
Source? I mean. We’ve all heard the marketing bs from the telcos that 5g opens up these possibilities. No engineer, worth the title, would be naive enough to actually believe that and put tire slip control into an rpc call...going over wire
752.
▲
by
Too
4y ago
You actually need four panels; common ancestor, yours, theirs, and finally the merge-result. This is how Kdiff3 and Beyond compare does it and it is far superior to just having three panels. A lot of other tools leave out the base or combin
753.
▲
by
Too
4y ago
Press Alt. It will highlight the key-binding to press to reach any item on the ribbon.
754.
▲
by
Too
4y ago
For someone who hasn’t written any larger rust programs. Is the compile time worse than c++?
755.
▲
by
Too
4y ago
Ad or not, I found this concept and the data very novel and interesting.
756.
▲
by
Too
4y ago
As humiliating this is for the ai. Nobody would have the balls to pull this off in a real battlefield outside of training. Because you never know if you found the perfect camouflage or if you are a sitting duck walking straight into a trap.
757.
▲
by
Too
4y ago
You will be happy to hear that already exists since. Read up on docker buildkit and the --mount option.
758.
▲
by
Too
4y ago
The new best practice is to use the RUN --mount cache options. Making the removal of intermediate files unnecessary and speeds up the builds too. Surprised to see so few mentions of it.
759.
▲
by
Too
4y ago
I'm convinced 99% of all issues with pip can be solved with 3 simple aliases. It already has everything else, it just the UX that isn't opinionated enough. There wouldn't be a need for Pipenv, Poetry or yet another project-de
760.
▲
by
Too
4y ago
How do you decode a hash?
761.
▲
by
Too
4y ago
This also enables treating inserts as upserts, allowing safe retries without risk of creating duplicates. Speaking of. Does pg have any mechanism to protect double creates while using auto increments? Is there any way to provide a request-i
762.
▲
by
Too
4y ago
Same. As long as you sanitize dynamic serialized input like json while parsing this is not a problem. Later versions are very strict even about dynamic types, treating them as Union[] rather than Any, forcing you to check the type before us
763.
▲
by
Too
4y ago
Yeah. Leaving the UX-issues aside. Don't ever use submodules to manage dependencies inside of each polyrepo, it will eventually accumulate duplicate, conflicting and out of date sub-dependencies. Package managers exist for a reason. Th
764.
▲
by
Too
4y ago
The whole idea is that there is no strictly formal version of the process. It can't be answered with a package. The process itself is agile, ammendable, fluid, mutable, improvable. You do what works for you. Just stick to the principle
765.
▲
by
Too
4y ago
Pythons asyncio.as_completed has a neat solution to this. By returning a placeholder-promise (awaitable), instead of the value they resolve to. It is only when you await this placeholder it eventually resolves the value of the first complet
766.
▲
by
Too
4y ago
Running k8s locally with kind isn't that bad either. Apart from having to load rebuilt images into the cluster all the time you can for most of the part reuse the same pod-manifests as you do in cloud environment.
767.
▲
by
Too
4y ago
Even worse: high velocity work distractions, Teams, Slack, etc.
768.
▲
by
Too
4y ago
Delayed error ack is a completely orthogonal issue. Only necessary as a performance workaround, both in the case of unflushed disk buffers, sockets and distributed systems. Parent presented sticky errors as an effective substitute for excep
769.
▲
by
Too
4y ago
The execution by swe can still take 10 times longer depending on if you go with a proven, quick and dirty straightforward YAGNI solution vs reinventing the wheel in latest cool fad, with hundred layers of abstractions and configurations in
770.
▲
by
Too
4y ago
A good GUI doesn't have a save button at all . It saves automatically when you press compile or change focus to another window. This is how both VSCode and Intellij work. Together with a local history that allows you to go back in tim
771.
▲
by
Too
4y ago
I guess what they mean is moving to static memory allocation, not to the heap. That is something done rather frequently when proofing embedded C code, because it's simply to easy to mess up manual memory management. Only reason to move
772.
▲
by
Too
4y ago
I hope you are not referring to things like errno? Because it, just like a returned error, must be checked after every call that might set it, before you know if you can safely proceed with the next. Otherwise, what happens when you keep ca
773.
▲
by
Too
4y ago
Google still beats DDG on local search and providing latest results on news updates and other changing events. On more technical and stable topics, DDG is miles better and doesn't drown in clickbait or ads like Google does. These tend
774.
▲
by
Too
4y ago
And Dropbox can also be hosted yourself with a oneliner rsync-script… The value GitHub provides is far from unique in anyway, but let’s not pretend it’s trivial. Especially for an open source project already struggling to get contributors t
775.
▲
by
Too
4y ago
Roller skis have such bearings, that lock when rolling backwards, to simulate the feeling of cross country skiing.
776.
▲
by
Too
4y ago
The walking motion obviously adds the normal walking speed on top of whatever the motor puts in. On top of that I bet most of the forward rolling motion actually comes from you yourself putting in force by walking, not from the motor pushin
777.
▲
by
Too
4y ago
Most public buildings will throw you out if you wear a pair of rollerblades indoors. With the lock-mode, these looks like they can pass under the radar more easily, reducing the need to stow them in your bag as often. In the best case never
778.
▲
by
Too
4y ago
Nested json dictionary lookups with default fallback, for scenarios where any of the sub-dictionaries could be null or missing a key. Write parseDateTime(config["a"]["b"]["c"]) safely as a oneliner. Haven'
779.
▲
by
Too
4y ago
In my experience most (embedded) code is usually not possible to grep for such specific numbers anyway, because the assignments use bit-shift operators, set-macros, bitfields, binary literals, hex-literals non-hex-numbers, splitting a 16
780.
▲
by
Too
4y ago
C++ has the same with implicit constructors, generally considered to be a footgun that should be disabled with the explicit-keyword unless such a cast makes sense, implicit constructors are otherwise the default. For example vector has a co
More ›