Recent submissions

Comment · 1 year ago
> ... even a shit one like Java.

I agree with your point about Go enums.

But in defense of Java, modern Java is actually pretty pleasant.

Virtual threads, records and sealed classes, pattern matching, state-of-the-art garbage collectors, a great standard library etc. (and obviously well-behaved enums).

Not to mention the other languages you get for free with the JVM ecosystem.

It might not be as expressive as Rust, but certainly Java/JVM > Go.

Comment · 1 year ago
Ah perhaps the app is using bedtime mode for its functionality? Didn't get a chance to try it myself yet, but great that pausing is already implemented.
Comment · 1 year ago
Comment · 1 year ago
Why? Are safety issues not "serious"?
Comment · 2 years ago
Comment · 2 years ago
Same energy as

Unlimited Data!! (up to 100GB)

Comment · 2 years ago
Comment · 2 years ago
Close, it's 40!/(20!*20!)

20 Rs, 20 Ds in a 20x20 grid.

Example pattern: RRDDDR...D (40 letters)

Basically the number of permutations, with repetition, of 20 Rs and 20 Ds.

Comment · 2 years ago
Comment · 2 years ago
> this is not a hard problem to solve in idiomatic Go.

Genuinely asking, what would the solution look like in idiomatic Go?

Let's assume for a second that the premise of the article is valid and exactly the behavior we want - "asynchronous execution but to report the results in order, as each becomes available".

Comment · 2 years ago
I agree. Though to be fair Nintendo's NES is a gaming console (not that they are right, just contrasting the use-cases).

Consider Apple's very own Mac - another general-purpose computing device like the iPhone, only in a different form-factor.

Surely Mac developers must be tripping over themselves to throw 30% of their total revenue at Apple, as reward for their laser focus on privacy and security and for developing a nanny-platform that makes their users feel warm and fuzzy inside?

Surely Mac users must not be allowed to do business with literally any entity in the world without involving Apple as the gatekeeper?

Oh wait.

Comment · 2 years ago
I'm going to reply here to provide a bit more context, since many of the threads are diving too deep into the specifics of linux/foss/openness/ideology, which was unfortunately not the point.

The main crux of my comment is about being able to "own" your own device. A hackable device is better than a closed device, more choice is better than no choice.

Is it so hard to believe that if Microsoft or Apple had a death grip on Windows and MacOs respectively, restricting completely the kinds of things you could do on these platforms unless individually blessed, that there would be a far less interesting ecosystem of apps / capabilities available than what we have today?

As an example, one cannot build AWS on an iPad. Like literally cannot - the tools are either not available or are significantly crippled, since you may use them to circumvent Apple's gatekeeper cut.

That's the main idea, make smartphones and tablets, smartwatches, vr headsets etc. more like traditional desktop devices.

Comment · 2 years ago
A lot of people are quick to lock themselves into a gatekeeper's walled garden, and throw away the keys.

That Linux has not only survived for so long, but thrived, is a true testament to the will, technical expertise, and product vision of community developers.

FOSS was founded on the principles of openness and collaboration, something that we need now more than ever, as the largest companies of the world have managed to weaken that resolve through slick marketing and anti-competitive practices.

Think of what truly open VR headsets, smartwatches, tablets and smartphones etc. would be capable of, the rich ecosystem of apps and capabilities that could exist - but greed is literally holding us back by decades.

Think of the kids growing up now, forced to be consumers rather than producers. And compare them to the last century, the sense of wonder and expression that the internet and infinitely hackable devices brought.

It was revolutionary, and many of the giants that exist now were built literally on the backs of that openness.

Comment · 2 years ago
> The burden of proof is on the people requesting the feature.

Fortunately there are other reasons why a business may be forced to do something, and not allowed to be the sole judge/jury/executioner.

One of those is anti-trust action - something that greatly benefits humanity as a whole, even though the alternative may (or may not) be cheaper for the business.

Other examples are employee protections, consumer protections, constitutional amendments etc.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton