Better HN
topnewbestaskshowjobs
Log inSign up

708145_

83 karma · joined Jan 29, 2017 (9y ago) · 37 submissions

Submissions

comment 1mo ago · link · parent

Lombok was never relevant, and using Jackson’s or other frameworks’ undesirable runtime sorcery does not make Lombok any more sound.

Adding a pile of annotations throughout your codebase, often five stacked on top of one another, which generate behavior that is not locally visible, was never a sane trade-off for saving a little boilerplate.

comment 2mo ago · link · parent

After the 6 month Mythos scare campaign it hard to take him serious.

comment 3mo ago · link · parent

All of the version 5s have been truly disappointing.

- Fable, nerfed or whatever, too expensive and not fully included in subscriptions.

- Opus, neurotic (excessive) slop machine.

- Sonnet, way too token hungry, cost much more than 4 series.

Their almost daily outages does improve the experience. Anthropic really have messed up this year.

comment 3mo ago · link · parent

No shit.

comment 9mo ago · link · parent

Is Taalas' approach scalable to larger models?

comment 10mo ago · link · parent

Fully agree, responsible parents should not allow their kids (including teenagers) to use Shorts or TikTok. It is a shame that YouTube does not support blocking that crap. It is obvious "Don't be evil" is not Google's motto anymore.

comment 10mo ago · link · parent

_squash merge_ to main ofc.

comment 10mo ago · link · parent

I see no need to ever rebase manually, just merge on your branch and always fast-forward squash merge (only sane default) with GitHub/GitLab/whatever.

9.

Dynamo, DynamoDB, and Aurora DSQL(brooker.co.za ↗)

2 points · by 708145_ · 1y ago · discuss

comment 1y ago · link · parent

Most people reading Wired probably don't know what an API is.

comment 1y ago · link · parent

How about possibly also failing for being too US centered, basically being an "internet portal" but mainly for the US. Sure Yahoo where _huge_ 2000, but it was never the main goto portal in Scandinavia where I grew up using internet from the mid 90s.

Here Altavista was the defacto standard for search until Google replaced. For the portal aspect of Yahoo, there were local alternatives with more relevant material.

I don't see that Yahoo ever succeeded globally.

comment 1y ago · link · parent

Of course it possible to limit the number of virtual threads. A web server can have a limit on number of virtual threads too, and queue incoming request before dispatching to to workers (virtual threads).

As other have said, this can be achieved with a semaphore and the bulkhead pattern. You can also limit the number of number of connections.

I would expect any "production ready" web server using virtual threads having some sort of limiting. That must be the case right?

comment 1y ago · link · parent

It is a fine balance, and everyone that doesn't "drive the same speed" as me, frustrates me.

comment 1y ago · link · parent

It is definitely not procedural.

"This seems rather … procedural. Even though we get all the nice guarantees of working with side effectful functions in Haskell, the code itself reads like any other procedural language would. With Haskell, we get the best of both worlds."

Working with the IO monad is much more complex, especially if you want to use other monadic types inside that code.

comment 1y ago · link · parent

For me it is if in a cosy position and doing something cognitively demanding. Fell asleep very often during my university studies reading literature. It can happen also if trying to learn something new technical at work, but only if I don't sit at a desk.

If normal or not I can't say...

comment 1y ago · link · parent

> The main benefit of Liskov's substitution principle is ensure developers don't need to dig into each and every concrete implementation to be able to reason locally about the code.

Yeah, but doesn't help in this context (enable local reasoning) if the objects passed around have too much magic or are mutated all over the place. The enterprise OOP from 2010s was a clusterfuck full of unexpected side effects.

comment 1y ago · link · parent

It is still true what she says. Having an interconnected electricity system is problematic when countries like Germany misbehave by having a horrible energy politics.

That said, it would had been better in Sweden if they hadn't phased out nuclear too! There is a electricity shortage in south of Sweden where industries are denied establishing new initiatives.

comment 1y ago · link · parent

I read the main feature to be durable storage or in other words persistent actors. Erlang Term Storage (ETS) I thought was in-memory.

comment 1y ago · link · parent

A highly expressive language makes overengineering easier.

20.

Java 24 Stops Pinning Virtual Threads (Almost)(youtube.com ↗)

1 points · by 708145_ · 2y ago · discuss

comment 2y ago · link · parent

Does that mean Delta Airlines received a single $10 gift card? This must be fake news, it makes no sense.

comment 3y ago · link · parent

If each AZ is siloed, then how can different AZs serve the same user/workspace?

comment 3y ago · link · parent

Seriously, why? The only compelling argument for monadic effect systems I see is in languages with no easy-to-use and lightweight concurrency, and this is where Go shines. I thinks this is cool and all but I don't think it can ever be justified with this added complexity in Go. I have worked much with Cats Effect in Scala, which is nice but it adds some serious cognitive overhead.

comment 3y ago · link · parent

I think default values are a major flaw, much worse than nil. An unintended default value causes data corruption. All types should be nillable in my opinion, using types that have fallback to a default value is source of nasty silent bugs. In Java for example I would never use a primitive data type.

comment 4y ago · link · parent

Excluded how you mean?

comment 4y ago · link · parent

The concept have been mentioned by Amazon for years.

For reference see:

"AWS re:Invent 2018: How AWS Minimizes the Blast Radius of Failures" https://youtu.be/swQbA4zub20

27.

Spark Streaming as a Service with Kafka and YARN(youtube.com ↗)

1 points · by 708145_ · 9y ago · discuss

comment 9y ago · link · parent

A Swedish scandal with a man who confessed to more than 30 murders, which he did not commit: https://en.wikipedia.org/wiki/Sture_Bergwall

He was convicted of eight murders. All confessions were "repressed" memories induced by therapists.

comment 9y ago · link · parent

But if vendors does not want to upstream them as free software, then we have a problem and an issue with the non stable ABI solution. The end user does not care if the driver is free software, they just want their machines to work. I guess this is an issue for Google too, for their Linux fork Android.

Of course everyone has the liberty to write a wrapper, but that is just silly.

If Windows can have a stable ABI, why can't Linux have it too? Why would it need to "reduce the quality of running kernels"?

12