Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
the_duke
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
65 ms
·
841.
▲
by
the_duke
5y ago
TODOS are great documentation. They often reveal design decisions, suboptimal implementations and the thought process of the creator. This information is often completely lost in issues that noone will ever look at again. I also like to do
842.
▲
by
the_duke
5y ago
Microsoft abandoned syscall emulation with WSL2. The differences between Linux and XNU might be less problematic, since it's a Unix derivative. But as Wine shows, it takes a lot of work and you still get a suboptimal, buggy experience.
843.
▲
by
the_duke
5y ago
Tauri just uses the platform native webview, it's not a rendering engine. I'm a bit surprised the new website doesn't mention this at all. The Github repo does.
844.
▲
by
the_duke
5y ago
Proc macros can run arbitrary code, so this POC is not that interesting - apart from raising awareness for the problem. This can be done even easier without users having to use a macro: with `build.rs` build scripts, which are run by defaul
845.
▲
by
the_duke
5y ago
I was skeptical about Zulip when I first tried it. What is it supposed to be? A chat? A forum? Why is the UI so ugly? But after using it a while I now really dislike Slack et al, both in professional teams and for open source communities. Z
846.
▲
by
the_duke
5y ago
Firefox also has a lot of settings that mitigate various finger printing techniques. There are some good sample configs on Github. [1] Ironically, many of the settings can make you more unique because they disable a lot of functionality. [1
847.
▲
by
the_duke
5y ago
It's noteworthy that the JIT doesn't (yet?) do runtime optimization or specialization, so gains should be moderate. The very low end of double digits. Not comparable to going from a Javascript interpreter to v8. But it's a gr
848.
▲
by
the_duke
5y ago
I had read both of those before. The first one primarily just says "we use Scheme instead of Nix lang". There are some differences that emerge from that, but most of what is described is also common or possible with Nix. The analo
849.
▲
by
the_duke
5y ago
A system like Guix will have at least a magnitude more private manifests. Form personal shell scripts and environment configs, over team development environments to custom software. Non of that can be upstreamed. Plus the proprietary softwa
850.
▲
by
the_duke
5y ago
Can you elaborate on those differences? The concepts seemed pretty similar to me.
851.
▲
by
the_duke
5y ago
Obligatory comparison to Nix [1]: Pros: * Better, more coherent and unified tooling * Better docs * Built with LISP (edit: Scheme), A standard language that is not project-specific. Nix lang is somewhat quirky and takes some getting used to
852.
▲
by
the_duke
5y ago
I was interested in Deno from the start. It has a few very nice features. Notably the sandboxing model, native Typescript support and browser based API surface. But I also was quite skeptical of their dependency model with plain url imports
853.
▲
by
the_duke
5y ago
I recently tried out Workers. The tooling, documentation and language integration is rather awkward and cumbersome at the moment. Sparse documentation, language tooling that seems very half baked, workflows don't feel intuitive. But th
854.
▲
by
the_duke
5y ago
I can also recommend Liftoff by Eric Berger. It chronicles the early days of SpaceX, including how the company almost failed.
855.
▲
by
the_duke
5y ago
I was talking about IT security and data handling standards in general, not specifically about the concrete issue of root servers.
856.
▲
by
the_duke
5y ago
The EU is an important enough market that most companies will want to serve EU customers, which means they have to abide. GDPR has forced all companies to at least think about data security and personal data, and given rights to know what d
857.
▲
by
the_duke
5y ago
I used to have the same opinion, but I think for Linux it actually makes sense. A large, automated test suite places a lot of extra burden on contributors and maintainers. You will be expected to run tests, fix old tests, investigate flaky
858.
▲
by
the_duke
5y ago
Sharing files is also a great use case. We still don't have a good cross-platform way of doing that.
859.
▲
by
the_duke
5y ago
C++ 20 introduces standard likely/unlikely attributes: https://en.cppreference.com/w/cpp/language/attributes/likely
860.
▲
by
the_duke
5y ago
Humans probably could do in a week what all rovers have done over decades. We are a long ways away from having robots that are advanced and flexible enough to replace people. Well trained, educed people die every year in the thousands from
861.
▲
by
the_duke
5y ago
Rust has the `todo!()` macro: https://doc.rust-lang.org/std/macro.todo.html Haskell has "typed holes": https://downloads.haskell.org/~ghc/7.10.1/docs/html/users_gu...
862.
▲
by
the_duke
5y ago
Out of curiosity, why did you chose Spidermonkey over V8? Also, I've heard that it is comparatively hard to work with compared to V8, what's your experience?
863.
▲
by
the_duke
5y ago
The post shows a style of writing validations for untrusted input. Like form data or incoming API requests. The problem is orthogonal to the type of language used, you have to validate and convert data in Rust just as much as you have to in
864.
▲
by
the_duke
5y ago
Many corporate acquisitions have the sole purpose of killing off/absorbing companies early, before they gain traction in the market and become viable competitors. Focusing on real world metrics will give a very incomplete picture of th
865.
▲
by
the_duke
6y ago
You can run Nix in WSL.
866.
▲
by
the_duke
6y ago
I edited my I initial comment to mention this, but I also know companies with sizeable production deployments. It's definitely viable for businesses if you need to save money. Although I primarily recommend it for secondary workloads.
867.
▲
by
the_duke
6y ago
The UI is very responsive and well done. The TF provider has been excellent and bug free, in my experience. DO has a few features that Hetzner lacks: S3 equivalent, managed Kubernetes and managed databases. So you need to have enough tolera
868.
▲
by
the_duke
6y ago
Sure, and that's only recommended if you know your way around Kubernetes. I just wanted to illustrate that it's possible to host a k8s cluster with some workloads for 2.5€ per month. You can always skip the Kubernetes overhead and
869.
▲
by
the_duke
6y ago
In Rust you can just add `#![deny(missing_docs)]` to your code and compilation will fail if you have any undocumented items. Of course that can lead to developers just adding a single line comment with the name of the type ... but it's
870.
▲
by
the_duke
6y ago
Free is great, and you can get a decent mileage out of cobbling together a few services. But I'd personally be way too stressed and annoyed by worrying about the often very restrictive free tier limits. You can very easily blow through
More ›