HackerTrans
TopNewTrendsCommentsPastAskShowJobs

noapologies

no profile record

comments

noapologies
·geçen yıl·discuss
> ... 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.
noapologies
·2 yıl önce·discuss
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.
noapologies
·2 yıl önce·discuss
How about a pause mode?

I use Android's Bedtime mode a lot, and it has a helpful feature that let's you quickly "Pause for 30 minutes" or "Turn off for now" from a notification [1].

I don't think the app needs notifications as such, but it could have quick access to a pause button.

[1] https://img.gadgethacks.com/img/original/21/75/6372310031848...
noapologies
·2 yıl önce·discuss
Why? Are safety issues not "serious"?
noapologies
·2 yıl önce·discuss
From this [1] 2017 report:

> pharmaceutical and biotechnology sales revenue increased from $534 billion to $775 billion between 2006 and 2015

> worldwide company-reported R&D spending, most of which went to drug development (rather than research) ... $89 billion in 2015 dollars

> During the same period, federal spending, which funded a greater amount of basic research relative to industry, remained stable at around $28 billion

So only ~11% of total revenue was being reinvested, mostly into drug development.

And basic research was funded largely by federal spending.

[1] https://www.gao.gov/products/gao-18-40
noapologies
·2 yıl önce·discuss
Same energy as

Unlimited Data!! (up to 100GB)
noapologies
·2 yıl önce·discuss
I'm not sure how any of this is related to the article. Does this non-Tesla manufacturer claim that their steering assist is "full self driving"?

If you believe their steering assist kills more people than Tesla FSD then you're welcome, encouraged even, to file a report with the NHTSA here [1].

[1] https://www.nhtsa.gov/report-a-safety-problem
noapologies
·2 yıl önce·discuss
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.
noapologies
·2 yıl önce·discuss
There are examples of things breaking in this very comment section [1].

Given how widely used ACF is, it wouldn't be surprising to learn that a lot of weekends were ruined by the "fork".

[1] https://news.ycombinator.com/item?id=41830709
noapologies
·2 yıl önce·discuss
> 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".
noapologies
·2 yıl önce·discuss
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.