Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Too
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
721.
▲
by
Too
4y ago
You've got exactly same problem of undefined vs empty in sh (-n not being exact inverse of -z vs string comparision with != "", different behavior if -u is set, etc). Just check the stackoverflow answers on how to test if a b
722.
▲
by
Too
4y ago
Cloud services mainly replace networking specialist with IAM specialist, SRE specialist with VM specialist, systemd specialist with Kubernetes specialist, and so on. So in the end you are at +/- 0 resources anyway. However, what you ge
723.
▲
by
Too
4y ago
A hacker who got into your laptop can’t simply copy your id_rsa file to get further access to all your servers, it’s physically stored in the usb dongle with no way to get it out and requires physically touching it each time key is used.
724.
▲
by
Too
4y ago
Yubikeys can be backed up, using what they call export under wrap. It requires you initially created the key with exportable flag. The idea is you do this on first use to create an encrypted backup and then instantly remove the exportable f
725.
▲
by
Too
4y ago
Statically typed with duck typing is called structural typing. (As opposed to nominal typing, with inheritance hierarchies). It’s already what you get with python and mypy. Using typing.Protocol or Unions.
726.
▲
by
Too
4y ago
I don’t mind the typing ergonomy. More that it is visually ugly and counter-intuitive. Because in every other language a backslash would mean you want to keep the braces instead of interpolating the variable inside. They even have a compari
727.
▲
by
Too
4y ago
Isn’t the STR.” prefix enough to distinguish traditional strings from format strings?
728.
▲
by
Too
4y ago
Sadly, it will likely mostly be used to generate endless streams of SEO spam. Not for interactive use.
729.
▲
by
Too
4y ago
Given the ambiguity of the term it would actually be better if FTC didn’t step in at all. To let the term dilute itself in its own marketing, to the point where consumers don’t care about it at all or actively avoid products with “AI”.
730.
▲
by
Too
4y ago
Equally confusing and often misunderstood is that the latest version of a compose file should not have a version field at all! It is a blend of v2, v3 and any newly added attributes (v3 some times supported less than v2), that is now called
731.
▲
by
Too
4y ago
Everybody using MS Teams on a modern Linux distro must have enabled this option at some point. Otherwise you can’t screen share. Given the recent 3 years since pandemic, that should provided ample of time and test data for stabilization.
732.
▲
by
Too
4y ago
Loans being secured with assumption of ever increasing property value is one big contributor to the current inflation. Especially once everybody started using their inflated house value as downpayment for their second house ad infinitum. I’
733.
▲
by
Too
4y ago
People normally say don’t store binaries in git. Is this a big issue if the files don’t change very often? From what I understood the biggest problem is they don’t diff well. With photos not changing very often, can it work? Anyone tried us
734.
▲
by
Too
4y ago
That’s not really fair. The UX of the site is actually very persistent in reminding you how to post a good question and listing suggested duplicates. When posting questions with low reputation you can’t bypass these reminders without clicki
735.
▲
by
Too
4y ago
It’s not just allowed, it’s encouraged. You are contributing to the common pool of knowledge. As long as the question and answer themselves are good.
736.
▲
by
Too
4y ago
If you are going to take the effort to paste into an editor you might as well paste both hashes into same tab, put the cursor on one and let the ide highlight all occurances. Ctrl-c + Ctrl-f for those with less sophisticated editors. Heck,
737.
▲
by
Too
4y ago
Valgrind with --leak-check does include the stack trace of where unfreed memory was originally allocated.
738.
▲
by
Too
4y ago
The wisdom that you should never enter anything sensitive into a rich document editor is older than the internet. I remember lots of people getting busted after news spread that Word 97 kept the complete undo-history within the doc-file its
739.
▲
by
Too
4y ago
Most database performance issues are bad choice of indices, bad data model, bad queries, not enough RAM, missing pooling, unrealistic expectations and lack of pre-computed caches. None of these are solved by "optimize kernel-parameters
740.
▲
by
Too
4y ago
Look at the feature-list of that repo. Half of it are actually deficiencies in postgres that warrants the external complexities, not something induced by kubernetes. Sure, a lot of it is nice-to-haves but some are absolutely essential for e
741.
▲
by
Too
4y ago
You can easily self host your own proxy. I bet API gateway is just Nginx, Traefik or HAProxy under the hood anyway.
742.
▲
by
Too
4y ago
This. Even if you hold a reference to the task, your program very likely has a bug. At some point you should always await it to see if it failed or not. It's easy to miss this if you observe completion via a side-channel, for example i
743.
▲
by
Too
4y ago
While the tool is extremely simple to replace with something more low level. I think there is no better way than what he chose to actually monetize something like this. Consider the target markets. Individual bloggers. Too cheap to pay sub.
744.
▲
by
Too
4y ago
That’s not taking exceptions into consideration. There is actually a way to do it with loops. for attempt in retry(timeout=10, ..) with attempt: do_stuff() Assuming you have a clever implementation of the retry
745.
▲
by
Too
4y ago
Codecs free to transform all code before it’s executed? Sounds like the perfect place for hackers to hide RCEs very difficult to spot. Just hide an innocent comment at the top of a file.
746.
▲
by
Too
4y ago
It’s a bit sad that with-blocks can’t yield more than once. It would be very convenient to write retry code this way.
747.
▲
by
Too
4y ago
As someone curious to try out Temporal. What makes you think it is not simple, is it tricky enough that one should avoid it? What else makes this Trigger.dev stand out compared to Temporal? Temporal already has self hosting option, multiple
748.
▲
by
Too
4y ago
As if this thread needed more already open doors kicked in. Lately feels like this place is turning into Reddit more and more for every day, I’m not only talking about this thread.
749.
▲
by
Too
4y ago
It’s the attention spent reading disinformation that is meant above.
750.
▲
by
Too
4y ago
The problems you describe have very little to do with docker itself, they sound more like integration challenges. For example. Docker has absolutely zero knowledge of the branches lifetime or even branches at all. This is something you have
More ›