Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Too
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
80 ms
·
811.
▲
by
Too
4y ago
The idea of python is to be human readable, allowing easy review of correctness and hopefully translating into choice of better algorithms. This AI generated example is neither readable nor algorithmically efficient, on top of running in sl
812.
▲
by
Too
4y ago
One of my favorite tricks is to use a visual difftool. Copy good log into left panel. Copy bad log into right panel. Quickly show which lines are new, which are missing and which are out of order. Obviously ignore the timestamps ;)
813.
▲
by
Too
4y ago
To give them credit, they don’t pump out a new half finished StarCraft every Christmas, like others do. SC2 was in almost every aspect a better game, both for players and audiences.
814.
▲
by
Too
4y ago
That would kill throwaways, some of the best content here on hn, giving the true insight into what really happens behind the pretty facade of the companies.
815.
▲
by
Too
4y ago
If you are really paranoid. Backup codes can be copied without you noticing. Even bigger risk if you bring them along while traveling, or worse, leave unattended in hotel room. The Authenticator apps store keys in Secure Enclave (or at leas
816.
▲
by
Too
4y ago
Heat pumps have efficiency above 100%, by exchanging and transporting heat, instead of generating it. 2-4x for air pumps and close to 5x for geo.
817.
▲
by
Too
4y ago
They repeated exactly the same mistake early EV cars did, Prius, i3, Leaf, all ugly, quirky or just impractical for completely unrelated reasons to being an EV. Trying to reimagine what a car is, instead of just taking a good old proven cha
818.
▲
by
Too
4y ago
Jquery got squashed from two directions. One being react and other data binding frameworks, the other side being browser tech modernizing and aligning, such that bare js could be used, without a thick compatibility layer in between.
819.
▲
by
Too
4y ago
Send navigation instructions from phone, rather than entering address with a rotary knob on the slow IVI in the car.
820.
▲
by
Too
4y ago
Let’s not forget the price difference of a e-scooter and a Segway is like 50x. Even more if you consider the new and popular rental model. Maybe they are cheaper nowadays, I remember the early days they would cost almost as much as a car. W
821.
▲
by
Too
4y ago
Isn’t this a yubikey? Except a yubikey can also do a lot more, primarily sign tokens without private key ever leaving the device. Which, as someone else explained below, is far superior to plain text passwords.
822.
▲
by
Too
4y ago
Thanks for tip, but quite far from ideal. Piping into something requires 1. knowing upfront I want to copy the output. 2. Doesn’t allow partial selection of the output. 3. Extra typing | xclip after every command. 4. Xclip is not installed
823.
▲
by
Too
4y ago
Yes please. Teach me how to copy output of previous command into clipboard using keyboard only and I will love you forever. Bonus if I can have a cursor to only select partial lines of the output.
824.
▲
by
Too
4y ago
This should be argument enough that /v2 is a lot less susceptible to such error. Please also return error if the wrong key was used, instead of silent fallback of assuming no version.
825.
▲
by
Too
4y ago
Generators have a few footguns even for seasoned developers, calling len(mygen) or mygen[4] works, but after that it's empty when trying to iterate it. Particularly problematic is when someone adds a log of the generator content, exhau
826.
▲
by
Too
4y ago
Why use a DSL and not your favorite scripting language or test-framework of choice for this? All the examples on the front page can be written in same number of LOC in many such popular languages. - chaining - It's just code so put mul
827.
▲
by
Too
4y ago
At bare minimum there should be a feature like " Give me any VM that closely resembles an E8s_v5 with at least 32G ram ". Or " anything from these 4 approved types ". I don't always care if you give me a E8_v4 or a
828.
▲
by
Too
4y ago
Yep, it's called sshfs, very easy to use.
829.
▲
by
Too
4y ago
Mongodbs ObjectId has this property.
830.
▲
by
Too
4y ago
This is how CI systems have always behaved traditionally. Just install a Jenkins agent on any computer/VM and it will maintain persistent workspace on disk for each job to reuse in incremental builds. There are countless other tools th
831.
▲
by
Too
4y ago
This is like the biggest thing scaring me away from Go. This half-assed "we don't use exceptions, so you shouldn't have to care about it, except when we do, so you still must write proper defers, which are now doubly verbos
832.
▲
by
Too
4y ago
Terraform has an extreme approach to that, every time you reference a variable you have to spell out the complete TYPE.NAME.ATTRIBUTE, eg resource.aws_s3_bucket.my_bucket.website_endpoint. There is no way to access my_bucket without the who
833.
▲
by
Too
4y ago
In git you do this like git commit --fixup hashtofix && git rebase -i --autosquash hashtofix^ Hard to discover and remember but once you do it usually works smoothly.
834.
▲
by
Too
4y ago
It’s the developers responsibility to question the feasibility and risk of the clients business requirements. The ones in charge are of course taking the final decision in the end anyway, but the flag should at least have been raised.
835.
▲
by
Too
4y ago
> Are Turing-complete languages a bad choice for pipelines? Yes and no. If you write “steps” in yaml, you are doing it wrong and might as well be using a Turing complete imperative language. On the other hand, linear steps isn’t always t
836.
▲
by
Too
4y ago
Let’s save the planet… …Here is one more single-purpose device! Filled with batteries and plastic, that does what? 2 minute timer and nothing else your generic kitchen thermometer can’t do. If you are nearby it’s obvious when things start b
837.
▲
by
Too
4y ago
NOT having tests is dept. When you can’t fearlessly add features quickly because you introduce regressions in another end of the product that you didn’t think of, and later have to spend all your time on firefighting because it got deployed
838.
▲
by
Too
4y ago
But normally you have a server between the user and the db, where you also prefer to keeps things as utc, while in memory. Then conversion to local time happens as the very last step in the presentation layer. So unless you are using the sq
839.
▲
by
Too
4y ago
Given this tool is likely to be used in a bunch of bash scripts, collisions with aliases can be a big problem.
840.
▲
by
Too
4y ago
While I can appreciate the immediate value this tool brings for some applications. At the same time it’s an epitome of everything that is wrong with current software landscape. Instead of fixing the deficiencies in upstream, once and for al
More ›