Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
q3k
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
511.
▲
by
q3k
5y ago
> This is a case where the spec is intentionally loose to allow compatibility with a much larger number of machines and use cases. There's plenty that could've been specified with little detriment to small systems: strings are
512.
▲
by
q3k
5y ago
My preference is Protobuf, but really anything that's not JSON and which also comes with some IDL gets my approval.
513.
▲
by
q3k
5y ago
> but it's not really a problem with the format itself, beyond the fact that clearer specs might disambiguate things and lead to less deviation. It is a problem, because it's not a spec that can be implemented reliably. Differe
514.
▲
by
q3k
5y ago
Some other fun facts about JSON, its mainstream implementations and using it reliably: 1. json.dump(s) in Python by default emits non-standards-compliant JSON, ie. will happily serialize NaN/Inf/-Inf. You want to set allow_nan=Fal
515.
▲
by
q3k
5y ago
> But it would be easy to design qemu to have 1000+ config options which are on/off/auto settings, and the 'auto' mode is autodetected based on which OS is probably running. That would add a ton of new responsibility
516.
▲
by
q3k
5y ago
Different cloud providers did different things. Google's cloud offerings started with things like GAE, a very high-level service that many people ignored because it was too alien. AWS, on the other hand, provided fairly low-level abstr
517.
▲
by
q3k
5y ago
Kubernetes, once deployed, has surprisingly little knobs to tweak for the end user. You might have to pick between a StatefulSet and a Deployment depending on your workload, but that's about it. Kubernetes cleanly separates reponsibili
518.
▲
by
q3k
5y ago
GAE did this way back when. They give you a high level Python/Java API that works both locally and on prod, and you just push a newer version of your codebase with a command line tool - no need for containers, build steps, dealing with
519.
▲
by
q3k
5y ago
Not GP, but I generally find it troublesome to categorize some commits: if I implement a feature by refactor, and document the new feature, which of the topics should I use? Or should I artificially break the commits up, even if they make m
520.
▲
by
q3k
5y ago
… could’ve at least disallowed for one of the most batshit crazy aspects of JSON, the legal but undefined behaviour of duplicate keys in objects. > An object whose names are all unique is interoperable in the sense that all software impl
521.
▲
by
q3k
5y ago
Good stuff. I've also been toying with doing some homegrown search engine indexing (as an exercise in scalable systems), and this is a fantastic result and great inspiration. Definitely want to see more people doing that kind of low-le
522.
▲
by
q3k
5y ago
It’s part of dumpster fire that is the DMTF ecosystem. Attempting to understand it if you haven’t been exposed to Windows enterprise bullshit is futile. It’s layers upon layers of meta XML to do the most mundane things in the most overcompl
523.
▲
by
q3k
5y ago
Unfortunately, this shit is addictive and implying that the solution is _just_ for people to delete their account is effectively blaming the victim. Some people never start smoking and never have a nicotine addiction problem. Some people sm
524.
▲
by
q3k
5y ago
> BBC/Channel 4 knows I’m not actually in the UK. If anyone has any idea how they’re getting my location I’d be curious to know Plenty ways to figure out you're connecting from behind a VPN. Aggressively filtering for well know
525.
▲
by
q3k
5y ago
Are you sure you’re not actually spamming people? What sort of messages are these? Did people subscribe to them? How long have you been sending these out for?
526.
▲
by
q3k
5y ago
> This was the first thing done when Bolsheviks came to power in Russia, I'm not kidding. All in the name of equality. You should see what some states have done in the name of freedom and democracy elsewhere
527.
▲
by
q3k
5y ago
It's made quite a bit more difficult with FDE dependent on TPM and Secure Boot (like Bitlocker). Can't mount the drive from another machine or the same machine with another OS running to modify the password file, can't run a
528.
▲
by
q3k
5y ago
> I am really not convinced of the need of any incremental build system (like Bazel) over Nix [...] Without smaller compilation units than the default mkDerivation-per-component-style in Nix you end up having _extremely_ long build/
529.
▲
by
q3k
5y ago
> Who gets to determine what is trustworthy or not? > How are these votes stored? From what I can tell, this is literally a research project attempting to answer these questions. Look at the results tab, then under 'Demonstrators
530.
▲
by
q3k
5y ago
> Even Go, that prides itself on the good support for parallelism, fails once you actually want go get results back. It's doable if you're willing to build a very thin abstraction over whatever you're trying to parallelize
531.
▲
by
q3k
5y ago
It takes maybe 30 minutes to fill out, but the O(days) approval latency is what absolutely killed me. No way to do impromptu commits to random non-Google-license-approved projects, no way to hack together something with friends over a beer,
532.
▲
by
q3k
5y ago
> I bet Google lacks the copyright for many of the projects they claim. Good luck taking Google to court.
533.
▲
by
q3k
5y ago
They removed the `go/iarc` mirror recently, now seemingly only available on the wayback machine: https://web.archive.org/web/20210710210932/https://opensourc...
534.
▲
by
q3k
5y ago
> (i) relate at the time of conception or reduction to practice of the invention to Google’s business, or actual or demonstrably anticipated research or development of Google That's the catch. Not related to what _you_ do at Google,
535.
▲
by
q3k
5y ago
> They specialize in legal tax reduction through global residency. Dodging taxes. They specialize in dodging taxes.
536.
▲
by
q3k
5y ago
I hope it's not. The assumption that whatever is being served on :443 is HTTPS with the same content as what is being served on :80 HTTP is wrong. It might practically be true >99% of the time, but some websites will still break for
537.
▲
by
q3k
5y ago
> how does one learn this power and enlightenment? Right click the tab you're on right now, left click 'close other tabs'. Exhale.
538.
▲
by
q3k
5y ago
No. There are some per-country implementations, but nothing EU-wide.
539.
▲
by
q3k
5y ago
Yeah, just writing some code that talks to the Kubernetes API really ought to be more common. It's not a great API, but it certainly beats writing bash scripts that shell out to kubectl and yq. In the same vein, I wish people knew that
540.
▲
by
q3k
5y ago
> Hard part is deployments. Managing Kube's raw yaml files is tedious. What tools are y'all using there? I am having a tough time with Helm, but I feel like that is the standard answer these days. kubecfg (with jsonnet) or CUE.
More ›