Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Too
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
451.
▲
by
Too
3y ago
Hard to give a concrete example but you can end up in dependency deadlocks, with combination of packages that require new features vs packages that don’t work on newer versions. Mostly it’s useful right after a new release where prebuil
452.
▲
by
Too
3y ago
pip has had constraints.txt forever, it is equivalent to lock file. Your are not supposed to freeze into requirements.txt. Hopefully uv can make this the default behavior. It seems like the majority of users are not aware of its existence
453.
▲
by
Too
3y ago
Yep. Persistent connections are bound to fail sooner or later anyway, so a robust application should have its own recovery.
454.
▲
by
Too
3y ago
A comparison like this is not complete without Windows file shares or SMB. Sadly, despite pretending to try hard, it doesn’t pass the “requires expert to setup” test, it’s super easy to either accidentally lock down everything or accidental
455.
▲
by
Too
3y ago
BitTorrent? Every kid knew how to use this 15 years ago. It can punch through a NAT. It’s blazing fast. It doesn’t strictly require any central components, only the optional tracker to make peer discovery larger. Too bad it got labeled as a
456.
▲
by
Too
3y ago
At that point you might as well use ssh/scp.
457.
▲
by
Too
3y ago
Still better than the inverse, that lots of scripters are doing; Building a helicopter out of a leaf-blower.
458.
▲
by
Too
3y ago
It’s not that the TF code in itself is more complex, it’s the resources you spin up using TF that are. They are stateful, expose network interfaces, require backups, updates, cert renewals and all other kinds of operational burden.
459.
▲
by
Too
3y ago
It’s mainly running your own control plane that is complex. Managed k8s (EKS, AKS, GKE) is not difficult at all. Don’t listen to all the haters. It’s the same crowd who think they can replace systemd with self hacked init scripts written in
460.
▲
by
Too
3y ago
Loki
461.
▲
by
Too
3y ago
From what I understand, Go code is usually written with the assumption that panics are fatal, not recoverable as exceptions. Trying to recover from them, as though they were exceptions, will expose other bugs, like functions not using defe
462.
▲
by
Too
3y ago
I believe the hooray is only presented that way in the spam folder.
463.
▲
by
Too
3y ago
If you are interested in this, check out https://www.hybritdevelopment.se/en/ They are running something similar with goal of larger industrial scale.
464.
▲
by
Too
3y ago
Yes. Aggregations and search are often best done as close to the data as possible, in the DB. Rendering html, caching, parsing api responses, sending emails, background jobs: Nope. Basically, use the database for what it’s good at, no more.
465.
▲
by
Too
3y ago
How did you find out that they did?
466.
▲
by
Too
3y ago
It’s not slow by itself. It’s a single point of bottleneck that will inevitably become slow as you cram everything into it.
467.
▲
by
Too
3y ago
Heh. Then there are those that say SQL already reads like natural language. What happens if you feed the model with sql as input?
468.
▲
by
Too
3y ago
One more factor in this is that most developers already have the alpine:latest layer downloaded through some other image. In the best case, that first layer will be reused. Meaning that creating a different base layer may actually increase
469.
▲
by
Too
3y ago
Not uncommon to have a python program that loads external half-trusted configuration, that must be sandboxed in capabilities. For in-house stuff, totally agree, just use the python code itself as the configuration.
470.
▲
by
Too
3y ago
How does this compare to HCL (Terraform)? It has about exactly the same feature set. Declarative config, type definitions, data validators, reusable modules, variables, transforming functions, loops and other repeat primitives, reading exte
471.
▲
by
Too
3y ago
String templates are not type safe and they are super easy to mess up data escaping, by not closing a quote or even worse: deal with yaml indentation. Integration with resource creation shouldn’t be needed. If you look at terraform it actua
472.
▲
by
Too
3y ago
Actually terraform is supposed to address that exact problem itself. Instead of copy-paste of json files or aws resources, you can write a terraform module to generate it. If you need to copy paste a large chunk of terraform module it is ti
473.
▲
by
Too
3y ago
Helm is not a proper configuration language. It just does string replace. Unbelievable that people actually use it. A config language that does have the type information can give proper errors. Try for example terraform.
474.
▲
by
Too
3y ago
Even more reason to standardize the format used in configurations and to validate it early, rather than at runtime.
475.
▲
by
Too
3y ago
Typescript does have const variables. But you can still often mutate the instances and there are many other reasons why a configuration language should be strictly free from side effects allowed in imperative languages.
476.
▲
by
Too
3y ago
This. If it weren’t for auth and backups, “docker run prometheus” could be 100 times easier than coming up with your own schema and setting up foreign data wrappers in your already running postgres. Faster too, row vs column storage, etc. P
477.
▲
by
Too
3y ago
Oh don’t get me wrong. I trust curl and I have no reason not to trust this tool. It’s the consumer of this tool and all the code around it that will get written I don’t trust.
478.
▲
by
Too
3y ago
Meta still sit on all the juicy user data that they want to use AI on but they don’t know how. They are crowdsourcing development of applications and tooling. Meta releases model. Joe builds a cool app with it, earns some internet points an
479.
▲
by
Too
3y ago
As if the world needed more unsafe C code connected to the internet. Rust-evangelism aside, I guess one can run the program under ltrace to achieve almost the same result.
480.
▲
by
Too
3y ago
Same small fraction of the world where thermoregulating the battery during charging is a concern for EVs.
More ›