Recent submissions

Comment · 13 days ago
Most people are thirsting for value objects but I'm mostly looking forward to:

  542: PEM Encodings of Cryptographic Objects
  543: Structured Concurrency
Developers work with certificates a bit too seldom to aquire proficiency with conversions. Being able to use PEM directly will ease a lot of pain.

I've given concurrency a couple of attempts over the years and I don't... like... or understand?... how the existing Java concurrency primitives are supposed to work. The only library that has clicked with me is Awaitility but for some reason Awaitility is intended for testing and not for production. Maybe Structured Concurrency will finally unlock something for me?

Comment · 13 days ago
You can also choose to run directly from source with a small penalty at startup and verbosity has decreased for simple use cases. It's still not great for scripting but the situation has been steadily improving over the last couple of years.

  void main() {
    IO.println("Hello world");
  }

  $ time java Hello.java
  Hello world

  real    0m0.662s
  user    0m2.421s
  sys     0m0.198s

  void main(String[] args) throws Exception {
    IO.println(InetAddress.getByName(args[0]));
  }

  $ time java Dig.java news.ycombinator.com
  news.ycombinator.com/209.216.230.207

  real    0m1.154s
  user    0m2.379s
  sys     0m0.222s
Comment · 17 days ago
C, G, Am and F for some definition of best.
Comment · 2 months ago
> Previous blog posts have covered DuckDB’s friendly SQL, including GROUP BY ALL and column selection using SELECT * EXCLUDE (...).

I love the idea of friendly SQL! I often create views with the same shape and would love it if UNION and UNION ALL accepted a list. But it's not in the standard so I've given up hope of it ever happening in PostgreSQL.

    select * from view1 union all view2, view3, view4;
Comment · 5 months ago
Comment · 7 months ago
I installed codex yesterday and the first thing I'm doing today is figuring out how bubblewrap works and maybe evaluating jai as an alternative.

Nice article.

Comment · 7 months ago
Comment · 11 months ago
I wasn't familiar with the PIP acronym so I asked $AI:

> A PIP (Performance Improvement Plan) is a formal document a company uses when they believe an employee isn’t meeting expectations. It’s framed as “support,” but depending on the environment, it can be anything from a genuine improvement tool to a pre-termination protocol.

Comment · 11 months ago
Comment · 1 year ago
Eclipse Collections also comes with an API that seems nicer than the one provided by the standard library - so it might be worth checking out even if you're not interested in primitives.
Comment · 1 year ago
It's terse and it lines up the variable names.
Comment · 1 year ago
I will make any excuse to use Streams but understand the negativity. They are difficult to debug and I feel the support for parallelism complicated, and in some cases even crippled, the API for many common use cases.
Comment · 1 year ago
Rocksmith+ recently got a piano mode. The default interface is similar to Guitar Hero but you can also toggle to a sheet music view. I haven't tried it.

I have tried Playground Sessions and recommend it.

Comment · 1 year ago
It's a difficult read.

Cybersecurity and digital systems was not the issue but gets thirteen pages of proposed measures. I feel this could have been left out.

Electric System Operation was the issue and gets seven pages of proposed measures.

Comment · 1 year ago
What's unique about this? This is basically what every parent and teacher already does.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton