HNHacker News
TopNewBestAskShowJobs

kasperni

4,212 karma · joined April 5, 2016

submissionscomments
kasperni··on A New Algorithm Makes It Faster to Find the Shortest Paths
Why not post the original story instead.

https://www.quantamagazine.org/new-method-is-the-fastest-way...

kasperni··on Bank of England flags risk of 'sudden correction' in tech stocks inflated by AI
I saw this comment the other day on Reddit, and I think it sums up the current state pretty well.

> Last month my parents decided to invest their extra cash into “AI” by paying a broker to buy “the AI stocks” they keep hearing about on the news.

kasperni··on All New Java Language Features Since Java 21
> But the codebases you encounter written in it, particularly in the enterprise, are often horrible.

Not sure they are worse than other languages?

kasperni··on All New Java Language Features Since Java 21
> many people will tell you that the standard library is not as performant

such as?

kasperni··on Python has had async for 10 years – why isn't it more popular?
This was a known issue and was fixed in Java 24 [1].

[1] https://openjdk.org/jeps/491

kasperni··on Denmark summons top US diplomat over alleged Greenland influence operation
Incidentally, the Danish state is also the majority shareholder of Ørsted, whose wind farm off Rhode Island was halted the other day [1].

[1] https://www.theguardian.com/environment/2025/aug/25/rsted-sh...

kasperni··on Go is still not good
For Java 25 which is planned to be released in a couple of weeks:

----- https://openjdk.org/jeps/512 -----

First, we allow main methods to omit the infamous boilerplate of public static void main(String[] args), which simplifies the Hello, World! program to:

  class HelloWorld {
    void main() {
      System.out.println("Hello, World!");
    }
  }
Second, we introduce a compact form of source file that lets developers get straight to the code, without a superfluous class declaration:

  void main() {
    System.out.println("Hello, World!"); 
  }
Third, we add a new class in the java.lang package that provides basic line-oriented I/O methods for beginners, thereby replacing the mysterious System.out.println with a simpler form:

  void main() {
    IO.println("Hello, World!");
  }
kasperni··on 'Reading crisis' prompts Denmark to end 25% tax on books
> the answer is technical inertia (or technical debt, if you will)

One of the issues. There are number of others. For example, VAT is a value-based tax. A VAT cut gives the biggest savings to people who spend the most. Since wealthier people typically spend more, they would save more money in absolute terms. For example, a family with a food budget of 3,000 kr. would save 300 kr., while a family with a food budget of 8,000 kr. would save 800 kr. Politically, some parties might prefer tax breaks that focused on lower-income groups.

Another issue, will the cost savings actually be passed on to the consumer?

kasperni··on What kids told us about how to get them off their phones
> Fewer than half of the 8- and 9-year-olds have gone down a grocery-store aisle alone;

Really? Is this just an American thing?

kasperni··on IRS head says free Direct File tax service is 'gone'
Any browser, its just a web app.
kasperni··on IRS head says free Direct File tax service is 'gone'
You still need to do some kind of yearly accounts for your business. And you will most likely need an accountant for that. But the actual tax filing is fairly simply.
kasperni··on Sam Altman says Meta offered OpenAI staffers $100M bonuses
Yeah, and everyone will know you did it for the money.
kasperni··on A leaderless NASA faces its biggest-ever cuts
Until they saw the stock market...
kasperni··on Ask HN: Is anyone using AI conversation partners?
Lots of potential, but also a big risk of OpenAI/Anthropic/Google releasing an update in 6 months that will kill your product.
kasperni··on The AI jobs crisis is here, now
With the current speed of AI progress. We are probably 1 or 2 years away from any generic AI being able to teach languages better than Duolingo.
kasperni··on Even Republicans are falling out of love with Tesla
> No. The damage to Tesla's reputation has already been done, and the only way to fix it is for the board to fire Elon Musk as CEO.

Maybe in the USA. But I don't think it would make much of a difference in a lot of countries. It is still an American car with a stained past.

kasperni··on Where does air pollution come from?
Try going to a heavy polluted city, something like Delhi in the Winter. You would honestly have no doubt about how bad it is for you health. Because you will feel it within the first 24 hours.
kasperni··on Java 24
> It’s been proposed, but is stuck behind Valhalla.

It is actually a central part of Valhalla now [1].

[1] https://openjdk.org/projects/valhalla/

kasperni··on Java 24
https://openjdk.org/jeps/486 goes into detail about the motivation for removing support for Security Manager.
kasperni··on USA asks Sweden for help in the egg crisis
They are asking Denmark as well [1]…

All your eggs and Greenland are belong to us!

[1] https://www.theguardian.com/us-news/2025/mar/14/trump-egg-pr...

kasperni··on HIV/AIDS deaths likely to soar after USAID promises broken
Just as defence spending is measured as % of GDP for fairness, aid should be too. America's absolute dollar contributions look impressive until you consider its massive economy. And when you look at it as % of GDP, America's contribution was not impressive pre-Trump. And now even less.
kasperni··on HIV/AIDS deaths likely to soar after USAID promises broken
> when the reality seems to be that only the US was ever willing to do it,

Americans have been brainwashed to believe that they are solely funding the rest of the world.

Lots of countries provide a lot more per capita than the US [1] in foreign aid.

Someone like Germany provide 3x, Sweden 6x.

So even the pre-Trump level wasn't something to be particular proud of.

[1] https://www.wristband.com/content/which-countries-provide-re...

kasperni··on 'What a lie': Danish astronaut responds to Musk
From the astronauts themselves: "We don’t feel abandoned, we don’t feel stuck, we don’t feel stranded.” [1]

[1] https://edition.cnn.com/2025/02/13/science/boeing-starliner-...

kasperni··on Show HN: Live-updating version of the 'What a week, huh?' meme
Love it
kasperni··on [dead]
Are there any other countries where everyone is suing everyone left and right. Or is this mainly a US thing?
kasperni··on Elizabeth Holmes' PR campaign continues
> I think it’s bad that she defrauded so many people but still has massive enough cash that she’s paying a PR firm while she’s in prison.

Pretty sure she doesn't have any money herself as she has been declared insolvent. However, her husbond is heir to 3 luxury hotels. And she doesn't come from a poor background either.

kasperni··on The American science funding catastrophe
Not surprising when universities have been declared the enemy [1].

[1] https://www.youtube.com/watch?v=0FR65Cifnhw

kasperni··on Why Greenland is of growing strategic significance
Drill, baby, drill. Greenland contains some of the largest earth earth mineral deposits in the world. And the US needs them desperately.

The strategic importance is just a decoy. The US could put as many bases they wanted just by asking nicely.

kasperni··on Dinner for One: British comedy Germans have been laughing at for years (2018)
Everyone watches it in Denmark for new years as well. Probably one of my earliest tv memories. Only met a couple of brits (all of them older) who knew the sketch.
kasperni··on Apple may stop producing Vision Pro by the end of 2024
> Everyone thought I was crazy for thinking this thing would get no traction.

I've yet to find someone who thought a $3500 headset would be a smash hit.

← PreviousPage 2 of 19Next →