Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Too
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
601.
▲
by
Too
3y ago
I like the feel of the syntax, short, concise, clear, powerful and understandable even on first read. Combining the best of all worlds together. Is that enough to give up the ecosystem from any other more established language? Most likely n
602.
▲
by
Too
3y ago
Typescript and Python actually have very similar typing models already. Given you run it through mypy or pyright of course. Anything in particular you were thinking about missing?
603.
▲
by
Too
3y ago
The difficult part about Kubernetes for newcomers is that it tackles every problem at once. Large scale best-practices you would previously sweep under the rug are now things you can’t avoid addressing. Centralized logging, secret manageme
604.
▲
by
Too
3y ago
This. Most application developers don’t give a rats ass about how 2 nodes are connected as long as the pods can speak to each other. Throw these guys in a devops team and give them the task to setup a 2 node k8s cluster and guess how much c
605.
▲
by
Too
3y ago
Cool, since 3.11 similar feature comes as default
606.
▲
by
Too
3y ago
Yes. While I’m a huge fan of shellcheck and am one who actually have used and know bash deeply. No amount of linters or other tooling on top of bash can fix it. Best solution is to just stay away. For real. Just stop. Don’t try to be macho.
607.
▲
by
Too
3y ago
So if I understand correctly, vmsplice is more of a mini shared memory mechanism between two processes, if used on both the reader and writer end simultaneously? Meaning both processes need to be exceptionally careful in when they read and
608.
▲
by
Too
3y ago
> download once on the integration server. Have you seen most CI systems in the wild? Majority of projects just wipe everything and do a fresh install, on every single run. Maybe it will be counter-productive to shrink the packages, sinc
609.
▲
by
Too
3y ago
Can you expand what you are missing? Prometheus is not just the db itself, it’s the ecosystem around it. You’ve got service-discovery, alertmanager and basically every application in existence having a /metrics endpoint and some pre-ma
610.
▲
by
Too
3y ago
I don’t understand the OSS argument. Warnings spilling over from library dependencies can be mitigated easily by including them using -isystem instead of -I. For code that is not libraries, there is nothing strange about having dependency o
611.
▲
by
Too
3y ago
Well, it doesn’t look bad for what it is. But I can’t see how this beats the ortlieb, other than cost and availability. They can really be put on and off in a single motion and still be secure. There is no need for a permanently attached mo
612.
▲
by
Too
3y ago
On the other hand this can lead to getting stuck in a never ending code-review ping-pong game. Having seen both sides of that table many times, you can see the value in someone who just gets the shit done. Especially since this was security
613.
▲
by
Too
3y ago
Can you write alerting rules in Prometheus syntax also? And use with Prometheus alert manager?
614.
▲
by
Too
3y ago
Flux is noisy yes. But promql isn’t exactly the pinnacle of query languages either. Simple stuff is simple, but once you start having more complex queries like sum by/without, it makes absolutely no sense where the parenthesis go and y
615.
▲
by
Too
3y ago
This isn't just a server property. It need to be implemented across the whole vertical, including client libraries and how queries are constructed in the application. With mongo it all is, and it's there out of the box. Client lib
616.
▲
by
Too
3y ago
https://www.mongodb.com/basics/acid-transactions
617.
▲
by
Too
3y ago
Correct. Looking at the Windows side of things, most of the UWP APIs are designed to be async, meaning they will never block the UI thread. The author is giving the OS a unfair rep here. All three major OS has solutions to this problem. It&
618.
▲
by
Too
3y ago
Using Terraform/HCL as a pre-processor to generate any of the other formats seems like the best now. It is - No footguns (compared to the alternatives) - Basic text-templating - Can do structural manipulations of data. A
619.
▲
by
Too
3y ago
Now add some multi-line strings. None of them handles it well. YAML has 7 different modes to do it so you will inevitable mix up and use the wrong one, otherwise it's actually the only option that supports it. Json requires inlining \n
620.
▲
by
Too
3y ago
Are you saying every single variable and function call should be logged every time the code runs? In a dream world sure. While we are at it, let's make it possible to freeze all the state from the production system and let me add break
621.
▲
by
Too
3y ago
Grafana Tempo or Jaeger all-in-one are both OpenTelemetry compatible and easy host yourself on small scale.
622.
▲
by
Too
3y ago
App segfaulting before having chance to log is mostly a thing in the past, unless you are writing c++. Any other language will instead have a top level exception handler. If you were to take hard crashes into account, you would even have to
623.
▲
by
Too
3y ago
Bash actually has this feature built in. Restricted shell they call it. Start it as rbash or bash -r. It will lock down the shell to not allow cd, setting envvars, launching commands outside working directory and a lot more. If you look at
624.
▲
by
Too
3y ago
Then you’d be thrilled to hear about all the stuff your NVME drivers are doing in the background without you knowing shit about it. Or maybe you prefer to engrave your ones and zeroes in stone by hand? Abstractions exist for a reason. In Ja
625.
▲
by
Too
3y ago
https://journal.stuffwithstuff.com/2015/02/01/what-color-is-...
626.
▲
by
Too
3y ago
Wood. Most, not all, of the examples from the page would have been equally easy and cheap to build with a set of rods or 2x2 beams. Looks a lot less tacky too.
627.
▲
by
Too
3y ago
Having some static constraints around <expr> makes it a lot easier to analyze though. Both for humans and compilers. Otherwise you end up with situations like C++ templates, that can expand to anything. With long confusing errors, una
628.
▲
by
Too
3y ago
MDN even had to make a whole chapter to discourage overuse of it. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
629.
▲
by
Too
3y ago
Dependency graph is a feature of the build system with better understanding of the language import rules than the CI system can have (or whatever terminology you want to use). Good ones can hermetically, concurrently and deterministic build
630.
▲
by
Too
3y ago
Nothing to do with cleanliness, on the contrary they can be quite gross also. It’s because eating lunch out is relatively expensive, especially for students. Close to 13€ now after last years inflation craze, whereas cooking at home is more
More ›