Recent submissions

Comment · 3 years ago
No, they’re banned because the people who decided the ban disagree with content that questions their political ideology. For example, this includes a lot of books on racism.
Comment · 3 years ago
The problem is that it is impossible to create an engine that will run on synthetic fuels, but is guaranteed to never run on fossil fuels even if modified / hacked, because they’re chemically identical for all practical purposes. There might be some type of DRM-like solution, but given the economical incentives involved, that will be circumvented by car owners. The whole thing is an incredibly stupid idea and will probably lead to the ICE ban being ineffective.
Comment · 3 years ago
All of the gift cards I’ve seen in the EU used barcodes, not mag stripes.
Comment · 4 years ago
JIRAs growth strategy was based on developers adopting it without having to talk to their bosses first because it was cheap enough to do so. Nowadays, this probably works differently, but that’s how they initially gained traction.
Comment · 6 years ago
Fun fact: Norway is not a member of the EU.
Comment · 6 years ago
Apple has a 100% monopoly on the market for iOS app distribution, which can be argued is bad for the customer because the 30% revenue share they take is inflating app prices.
Comment · 7 years ago
Tooling inside IDEs is somwhat useful. But being able to just run a compiler-like CLI tool to tell you if there are type errors in your program is much more useful still, since you can run it in pre-commit hooks and on the CI. As far as I know, a tool which can do this _without_ requiring extensive configuration and without throwing false positives does not exist yet for PHP.

As for the "language shouldn't provide tooling" argument: You picked C / C++ as a positive example for this. Those are standardized languages which evolve at a glacial pace. For most of their use cases, this is a good thing. But I'd say PHP's faster evolution over the last decade was the right thing for that language. Other modern language projects seem to follow a strategy of a single standard implementation with extensive tooling pretty successfully (e.g. Go, Rust, Swift, ..).

Comment · 7 years ago
They do static analyses that go beyond type checking. I have not tried phan and psalm, but the last time I used phpstan its type analysis threw false positives because it was using incorrect assumptions. So my impression is that phpstan lacks the rigor of a true compiler‘s type checker phase.

In my opinion, the PHP distribution shipping an official type checker which does nothing other than verify type correctness based on the information in the code would be much more useful. Kind of like `php -l`.

Comment · 7 years ago
Unfortunately, PHP doesn't ship a tool for this (and it’s hard due to the way autoloading works). So PHP's typing is slightly less useful than e.g. TypeScript.
Comment · 7 years ago
When I want to buy cherry tomatoes in German REWE, usually half the varieties have their unit price listed in €/100g, while the rest is in €/1kg. While metric does make converting in your head easy, I bet this still throws off a lot of the non-mathematical people and is done very much intentionally.
Comment · 7 years ago
> * Checkm8 doesn't bypass the protections offered by the Secure Enclave and Touch ID. All of the above means people will be able to use Checkm8 to install malware only under very limited circumstances.

> * The above also means that Checkm8 is unlikely to make it easier for people who find, steal or confiscate a vulnerable iPhone, but don't have the unlock PIN, to access the data stored on it.

Apparently, this is not the same exploit.

Comment · 8 years ago
„Under a second“ might be ok for websites, but doesn’t cut the mustard for web applications. People expect highly dynamic user interfaces which react almost instantaneously.
Comment · 8 years ago
One third is next to impossible. Anecdotally, startup survival rate should be around 5-10%. However, that should still yield better results than distributing the money amongst SAP and Deutsche Telekom.
Comment · 8 years ago
The point of the standard was to avoid power supplies becoming useless and going into the trash once the device they came with is no longer being used.
Comment · 8 years ago
I’m stumped as to why they would pick such a ridiculously low sampling rate. Crashes often play out in minutes, wouldn’t it make more sense to have sub-minute resolution? Or is sending a location ping more complicated than I think?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton