Recent submissions

Comment · 9 days ago
This is misinformation. The Guardian article explains that very little corporate taxes go to Finland.

Jussi Kangasharju, head of computer science at the University of Helsinki, said that while datacentres brought a limited number of jobs, potentially boosting the local economy, the benefits on a national level were minimal. “Really, for Finland, there are no benefits,” he said. “They are international companies serving international customers. Very little corporate taxes go to Finland. Datacentres ultimately have very little benefit for others except the datacentre operator.”

Comment · 12 days ago
0.999... = 1
Comment · 2 months ago
Comment · 4 months ago
There were no comments.

If there were comments for each conditional, it should still be refactored as

  return a || b // comment 1
    || c // comment 2
    // long comment 3
    // on multiple lines
    || d;
Many years ago, "lines of code" was the classic example of nonsense management metrics. Today, there are somehow HN users who argue that lines of code is indeed a good metric and ask "But what if the code had comments?" as if they have never seen comments interleaved with code.

> In that case, it may be better in its expanded form, and you should let an optimizing compiler do the collapsing.

This is nonsense. This optimization is not about compiler optimization for efficiency. It's an optimization for human readability and maintainability.

Comment · 4 months ago
> The most effective contributors at your job remove more code than they add?

Yes.

> That doesn't sound effective that sounds like digging ditches to fill them.

It sounds effective to me, like removing garbage from sidewalks so people can walk straight instead of walking around the trash.

> Every line of code removed is a line that was previously added.

Correct. Today I cleaned up

  if (a || b)
    return true;
  if (c)
    return true;
  if (d)
    return true;
  return false;
to

  return a || b || c || d;
and contributed various other negative lines of code in multiple areas.

Every line of code removed is a line that was previously added.

Do you have any experience coding before LLMs?

Comment · 8 months ago
Nonprofit organizations are not the same as companies.
Comment · 10 months ago
Comment · 10 months ago
The decline of the US government is the faster than "Europe", because it's been declining rapidly in a few months. The US government currently has a monthly quota for ICE arrests. ICE agents racially profile people and ignore non-white people telling them they are US citizens because they assume they are lying. Non-white US citizens need to have papers on them that prove their status (US citizen), or else might be disappeared. The US government now bans immigrants from a list of dark skin countries but fast-tracks White South Africans for immigration. It politically persecutes their political opponents and ignores the rule of law. It is preparing for war with Venezuela, which would conveniently tie up US resources as Russia positions itself for entering Europe.

The UK is rapidly declining as a close second, but calling it "European" (especially when UK citizens see themselves as non-European) is just a lazy generalization.

Comment · 10 months ago
In layman's terms, it's the age of monopolies and oligopolies. We don't have enough market competition.

Perhaps large corporations successfully lobby the government the pass laws that boost their profits while stifling smaller competitors.

Comment · 10 months ago
Comment · 10 months ago
> We have always agreed that a natural language compiler is theoretically possible.

No. Nobody here except you agrees with this. The distinction between natural languages and formal languages exists for a reason.

Comment · 10 months ago
Neural network research and development existed since the 1980s at least, so at least 40 years. One of the bottlenecks before was not enough compute.
Comment · 10 months ago
I've been doing API development for over ten years and worked at different companies. Most PMs are not technical and it's the development team's job figure out the technical specifications for APIs we build. If you press the PMs, they will ask the engineering/development manager for the written technical requirements, and if the manager is not technical, they will assign it to the developers/engineers. Technical requirements for an API are really a system design question.
Comment · 10 months ago
My company mandates AI usage and logs AI usage metrics as input to performance evaluation, so I use it every day. It's a Copilot subscription, though.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton