Better HN
topnewbestaskshowjobs
Log inSign up

2WSSd-JzVM

6 karma · joined Nov 20, 2025 (1y ago) · 6 submissions

Submissions

comment 1y ago · link · parent

Well the alternative is that GP solved the world hunger as people can just buy future food contracts to protect themselves from drought.

comment 1y ago · link · parent

It pisses me off. Does anyone know when exactly Google stopped carrying about cloaking? It is the same with Linkedin, you will get a login screen when following a link from Google results. Which was punishable with penalizing position or even removing of site in "good old times".

comment 1y ago · link · parent

If full rewrite helps doesn't it sound like TRIM implementation in SSDs is buggy or insufficient? Or internal cell wear-maps aren't detailed enough. Anyway plenty ways it can go wrong, SSD firmware had also plenty of high profile bugs, including total bricking.

comment 1y ago · link · parent

At the very beginning Netflix was able to get licences for very cheap, as owners didn't think of it as serious service and it was not impacting their sales on other channels. That isn't going to happen again.

comment 1y ago · link · parent

> An immigrant who makes money aggregating and selling Americans' personal information. Is there some way he can be deported?

As in, you don't want a law to make it illegal in general, you only want to ban immigrants from being data brokers?

comment 1y ago · link · parent

That example in article is straight up terrible. The Java version would be:

  var input = "Some kind of string.";  
  var output = Optional.of(input)
    .map(i -> i.trim())
    .map(i -> i.replace(' ', '-'))
    .map(i -> i.replaceAll("[./…]", ""))
    .map(i -> i.toLowerCase())
    .get();
That is until you realize there is no reason to go weird with arrow operators when String is an object:

  var input = "Some kind of string.";        
  var output = input.trim()
    .replace(' ', '-')
    .replaceAll("[./…]", "")
    .toLowerCase();
It looks like they solved the wrong issue but that is probably just side effect of using trivial examples.