Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jeltz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
751.
▲
by
jeltz
2y ago
Not it is not. They mean different things. String? a = null; String b = null; String? c = ""; String d = ""; String! aa = a; // Compilation error String! bb = b; // Runtime e
752.
▲
by
jeltz
2y ago
Yeah, the more I think about it the more O agree with the design even if it surprised me at first.
753.
▲
by
jeltz
2y ago
In the case of addition I kinda wish we actually did not have one enshrined operator. We have wrapping_add(), saturating_add(), checked_add() and undefined_overflow_add(). Which one should be default?
754.
▲
by
jeltz
2y ago
Not sure why you think it is heinous but I agree with the other part. In a language where null was the default I do not see a migration path where Option<T> can be used. Option<T> only works for languages where nullability was n
755.
▲
by
jeltz
2y ago
I do not care at all about the dollar sign, but I have worked both in PHP 4 and in modern PHP and I do not think the language has improved much. Other than Composer the dev experince was basically the same. It is still not up to par with Ru
756.
▲
by
jeltz
2y ago
Yeah, the second not being an compile error allows for legacy code to call functions with notnull arguments but I do not think that is necessarily a good thing. Hard to say without using it in practice though.
757.
▲
by
jeltz
2y ago
The standard library of PHP is still the same old crappy standard library that it used to have with only some minor fixes. The language itself is not that bad (still worse than Python, JS or Ruby) but the standard library is awful. One thin
758.
▲
by
jeltz
2y ago
Having worked in modern PHP I have to disagree. Modern PHP is much better than it used to be but it is still much worse than any of the common alternatives (JS, Ruby, Python, Java, ...).
759.
▲
by
jeltz
2y ago
The first is easier to understand in a real codebase and not just a tiny snippet like this. The issue is that this is not the only keyword.
760.
▲
by
jeltz
2y ago
Same, since nullability should be the exception then it is a good thing that is more verbose.
761.
▲
by
jeltz
2y ago
And form my experience from Rust that is much less ergonomic. Maybe Zig will do it better than Rust but who knows?
762.
▲
by
jeltz
2y ago
The LLVM divorce has also gotten criticism since it first was announced and we have so far not seen any complete solution. Maybe we will land in one but if people did not voice their concerns there is no reason to think such a solution woul
763.
▲
by
jeltz
2y ago
Having worked with Rust I would say that is bad. @cImport is way better than the C introp in Rust.
764.
▲
by
jeltz
2y ago
Cats have similar legs to birds so the question if cats have knees makes as much or as little sense as if penguins have knees.
765.
▲
by
jeltz
2y ago
Hahaha, of course Boston Consulting Group would write that. They want to make the people who pay their salaries happy.
766.
▲
by
jeltz
2y ago
That's not my experience at all. Most people I know and have worked with care a lot about if their work has meaning. The people who do not are the outliers.
767.
▲
by
jeltz
2y ago
UBI is not at all based in Marxism. The idea is older than Marxism and almost entirely unrelated to it. That's probably why you never see it mentioned.
768.
▲
by
jeltz
2y ago
Are they? From my experience from databases and some limited from filesystems I would disagree. Sure, there are some similarities but not that much.
769.
▲
by
jeltz
2y ago
But database performance is also a lot about CPU and RAM speed plus concurrent use of those resources.
770.
▲
by
jeltz
2y ago
There are kids today that can draw that well too. The handwriting, probably not, but we do not teach them that level of handwriting.
771.
▲
by
jeltz
2y ago
Both for good and bad. For a leg to heal properly you need to put the right amount of strain on it. Not too little and not too much.
772.
▲
by
jeltz
2y ago
Why is that laughable? I do not think that it is more reliable than btrfs but it is not a crazy idea either. There are a whole bunch of people in these comments with very recent btrfs reliability issues which have affected them and nobody w
773.
▲
by
jeltz
2y ago
As someone else pointed out: how is that different from losing a disk while running? Do you want the file system to stop working or become read-only if one disk is lost while running too? I think the bahviour should be the same on boot as w
774.
▲
by
jeltz
2y ago
Bad defaults is a huge issue even when you can change the config to something sane.
775.
▲
by
jeltz
2y ago
There are only two competitors to bcachefs: btrfs and zfs. So having a third player in this space is a good thing, especially since a lot of people (in my opinion for good reason) do not trust btrfs meaning there is only really zfs.
776.
▲
by
jeltz
2y ago
But that was not the case for btrfs.
777.
▲
by
jeltz
2y ago
They might be correct but this thinking is also how Mozilla lost most of their German market share due to Cliqz. They assumed people would not care but they did. Also this is trending on /r/all on Reddit right now. https:/&#
778.
▲
by
jeltz
2y ago
Chrome, which meant Mozilla managed to scare people away from their own browser into a using a browser which respects user privacy even less. Great job there Mozilla!
779.
▲
by
jeltz
2y ago
Especially since this is very similar to what happened with Cliqz and that there likely are many at Mozilla who were around when that happened too. And the Cliqz scandal hurt Mozilla's market share a lot in Germany.
780.
▲
by
jeltz
2y ago
Most advertisers will not be satisfied with that. The real question is if regulators will be and therefore can use this as a reason to clamp down on advertisers. If so this might work, but I am skeptical. And either way it was wrong of Mozi
More ›