HN user

pcdavid

337 karma
Posts3
Comments22
View on HN

FWIW, LibreOffice automatically inserts an actual Unicode NO-BREAK SPACE when I type ":" at the end of a word (if the language is set for French of course). If I insert an actual SPACE and then hit ":", it even replaces the SPACE with a NO-BREAK SPACE.

I'd be surprised MS Word doesn't do the same. No need for a "true" typesetting solution.

This is not representattive of modern Java, which has much better APIs. Since Java 11:

  public HttpResponse<String> fetch(String url) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder(URI.create(url)).build();
    return client.send(request, BodyHandlers.ofString());
  }

It mostly goes to show that containerizing application code for execution in a managed environment in nothing new. I'm sure this was also done somehow in the mainframe world.

Yes, it's called an operating system :-)

It invokes "ls" twice. There's no guarantee the maximum width obtained from the first invocation is still correct for formatting the result of the second.

Siri in a Teddy 13 years ago

This is most likely the inspiration: the company is named "Supertoy Robotics", and the A.I. movie was based on a Brian Aldiss short-story titled "Super-Toys Last All Summer Long".