frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Account regional namespaces for Amazon S3 general purpose buckets

https://aws.amazon.com/blogs/aws/introducing-account-regional-namespaces-for-amazon-s3-general-pu...
1•timoth•3m ago•0 comments

How we built a prompt optimization agent

https://www.extend.ai/resources/how-we-built-composer
1•kbyatnal•7m ago•0 comments

The Great AI Silicon Shortage

https://newsletter.semianalysis.com/p/the-great-ai-silicon-shortage
2•akyuu•8m ago•0 comments

H-1B Visa employers database goes offline, key public records disappear

https://timesofindia.indiatimes.com/technology/tech-news/h-1b-visa-employers-database-goes-offlin...
1•alexfromapex•8m ago•1 comments

AMUX – Tmux and Tailscale powered offline-first agent multiplexer

https://amux.io/
1•Beefin•10m ago•0 comments

Digg Is Gone Again

https://digg.com/
2•hammerbrostime•11m ago•3 comments

Show HN: Mac wallpaper that updates daily – calendar, quote, affirmation, fact

https://thecalendarwallpaper.com
2•TheOmkarBirje•15m ago•0 comments

Show HN: Mjmx – render mjml using JSX

https://mjmx.dev/
1•skwee357•15m ago•0 comments

Nitrogen, Ammonia, and the Strait of Hormuz

https://www.science.org/content/blog-post/nitrogen-ammonia-and-strait-hormuz
2•nbernard•15m ago•0 comments

Show HN: Fastest Enterprise AI Gateway

https://docs.getbifrost.ai/benchmarking/getting-started
2•aanthonymax•16m ago•0 comments

Instagram Ending Encrypted DMs

2•01-_-•16m ago•1 comments

Gilmour's 'Black Strat' Sells for $14.55M, the Most Expensive Guitar Ever Sold

https://www.rollingstone.com/music/music-news/david-gilmour-black-strat-sells-14-million-auction-...
2•thm•16m ago•0 comments

A.I. Chatbots Want Your Health Records. Tread Carefully

https://www.nytimes.com/2026/03/12/technology/personaltech/microsoft-copilot-health-ai-chatbots.html
3•JumpCrisscross•17m ago•0 comments

Why does entering a submission url prevent me from submitting a new post?

1•avionics-guy•17m ago•0 comments

An AI agent that claws through your network

https://github.com/automateyournetwork/netclaw
1•mooreds•17m ago•0 comments

Marknote 1.5 Released for KDE

https://blogs.kde.org/2026/03/13/marknote-1.5/
1•jandeboevrie•19m ago•0 comments

Things I Wish I'd Known Before Buying an EV

https://www.wsj.com/business/autos/driving-electric-vehicle-downsides-9e2b51ee
2•sam345•19m ago•0 comments

Show HN: A social network where AI agents have public profiles and earn money

https://socialtense.com/
2•keshav_1806•19m ago•0 comments

We Built a Cathedral in the Wrong City

https://blog.shanemac.com/we-built-a-cathedral-in-the-wrong-city/
1•mooreds•20m ago•0 comments

An open source alternative to Logi-Plus mouse software

3•avionics-guy•20m ago•0 comments

Undefined Roles: Pe

https://www.andismith.com/blogs/2026/03/undefined-roles
2•AndiSmith•22m ago•0 comments

CLI Has a New Super User

https://rsnodgrass.substack.com/p/your-cli-has-a-new-super-user
2•galexyending•24m ago•2 comments

Show HN: AgentLog – a lightweight event bus for AI agents using JSONL logs

https://github.com/sumant1122/agentlog
2•paperplaneflyr•24m ago•0 comments

Show HN: FrameFit – AI-powered photo cropping for digital photo frames

https://framefit.photo
1•farskid•25m ago•0 comments

Ask HN: Why is USA starting world war 3 now?

3•roschdal•25m ago•3 comments

Show HN: AgentClick – Human-in-the-loop review UI for AI coding agents

https://github.com/agentlayer-io/AgentClick
1•harvenstar•26m ago•1 comments

Windows 11 after two decades of macOS: okay, but also awful

https://rakhim.exotext.com/windows-11-experience
4•stock_toaster•29m ago•0 comments

Hammerspoon

https://github.com/Hammerspoon/hammerspoon
8•tosh•29m ago•3 comments

Companies House vulnerability enabled company hijacking

https://taxpolicy.org.uk/2026/03/13/companies-house-security-vulnerability-directors-addresses/
3•pavel_lishin•31m ago•0 comments

League and other Riot Games require age verification in Brazil from March 17

https://www.riotgames.com/pt-br/not%C3%ADcias/eca-digital-brasil
2•haunter•32m ago•0 comments
Open in hackernews

JEP Draft: Enhanced Local Variable Declarations

https://openjdk.org/jeps/8357464
1•mfiguiere•1h ago

Comments

mfiguiere•1h ago
TLDR

* Destructuring via Record Patterns

The most prominent feature is the ability to use a record pattern on the left-hand side of a local variable declaration. This allows you to "destructure" an object and initialize multiple variables in a single statement.

Traditional way:

  Point p = getPoint();
  int x = p.x();
  int y = p.y();
Enhanced way:

  Point(int x, int y) = getPoint();
This also supports nested patterns, allowing you to reach deep into an object hierarchy in one go:

  Circle(Point(int x, int y), double radius) = getCircle();
* Pattern Matching in Enhanced for Loops

You can now use these same record patterns in the header of an enhanced for loop to extract data from every element in a collection or array.

  for (Circle(Point(int x, int y), double radius) : circles) {
      // Directly use x, y, and radius here
  }
Someone•1h ago
FTA:

  void boundingBox(Circle c) {
      if (c instanceof Circle(Point(int x, int y), double radius)) {
That looks weird. An if whose condition always is right looks superfluous. It also makes it look as if one could write things such as

    if (c instanceof Circle(Point(int x, int y), double 1.0)) {
        …
    } else {
        …
    }
Finally, that code is wordy. I know that is the Java way, but couldn’t it be slightly shorter by not requiring specifying basic types as in

      if (c instanceof Circle(Point(x, y), radius)) {
? (I wouldn’t go as far as

      if (c instanceof Circle((x, y), radius)) {
. That doesnt feel Java to me)