Hacker Newsnew | past | comments | ask | show | jobs | submit | mfiguiere's commentslogin

Wrong link. Technical, Cognitive and Intent Debt was discussed here: https://martinfowler.com/fragments/2026-04-02.html


Thanks! we updated the link.


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
  }


IBM down 11% following this blog post: https://www.google.com/finance/beta/quote/IBM:NYSE



In Claude Code 2.1.45:

  1. Default (recommended)   Opus 4.6 · Most capable for complex work
   2. Opus (1M context)        Opus 4.6 with 1M context · Billed as extra usage · $10/$37.50 per Mtok
   3. Sonnet                   Sonnet 4.6 · Best for everyday tasks
   4. Sonnet (1M context)      Sonnet 4.6 with 1M context · Billed as extra usage · $6/$22.50 per Mtok


Interesting. My CC (2.1.45) doesn't provide the 1M option at all. Huh.


Is your CC personal or tied to an Enterprise account? Per the docs:

> The 1M token context window is currently in beta for organizations in usage tier 4 and organizations with custom rate limits.


The one I'm looking at right now some is sort of company level sub, so they probably have the upcharge options turned off.

Thanks!


Update: On my personal Claude Code I have access to the 1M model endpoints, so I'm confused.


Yup, same here. Upcharge listed, but it is available.


Bloomberg's Mark Gurman:

> As I wrote a month ago, Apple is due for a major management shake-up and the spotlight is squarely on John Ternus as Tim Cook’s successor as CEO. But I don’t get the sense anything is imminent as the FT is claiming.

https://twitter.com/markgurman/status/1989764365705515220


DHS Proposal: Weighted Selection Process for Registrants and Petitioners Seeking to File Cap- Subject H-1B Petitions [1]

Summary: USCIS would use the Occupational Employment and Wage Statistics (OEWS) wage levels for the relevant job classification (SOC code) and location to determine how many times a registration is entered into the selection pool.

Registrations would be weighted like this:

  • Wage Level IV → 4 entries

  • Wage Level III → 3 entries

  • Wage Level II → 2 entries

  • Wage Level I → 1 entry
A “unique beneficiary” is counted once toward numerical allocations, no matter how many registrations are submitted for them or how many entries they get in the weighted pool.

[1] https://public-inspection.federalregister.gov/2025-18473.pdf


> Other updates will be known as iPadOS 26, macOS 26, watchOS 26, tvOS 26 and visionOS 26.

Especially the consistency it brings.


That’s fine and all, but if this is the direction they’re taking, why not just call it AppleOS 26 across all platforms? Even if each platform gets a “specialized” version.

Part of me wonders if this is related to the EU CRA. It mandates software support lifecycles. It’s a lot easier to say xxxOS 26 is supported until 2032, 27 until 2033, etc as opposed to iOS 19 is supported until 2032, macOS 15 is supported until 2033, etc etc


If you app supports AppleOS 26, does it run on a watch? How would you use AppleOS in a sentence where it's better without the platform?


Jim Keller: "The best computer manual I've ever read." [1]

[1] https://twitter.com/jimkxa/status/1900605071869833278


> I hereby order the Attorney General not to take any action on behalf of the United States to enforce the Act for 75 days from the date of this order, to permit my Administration an opportunity to determine the appropriate course of action with respect to TikTok.

> I further order the Attorney General to issue a letter to each provider stating that there has been no violation of the statute and that there is no liability for any conduct that occurred during the above-specified period


75 days? Can’t any state AG now sue the US govt for dereliction of duty r.e the original law banning TikTok?


> While the court today decides that the Act's divestment mandate survives a First Amendment challenge, that is not without regard for the significant interests at stake on all sides. Some 170 million Americans use TikTok to create and view all sorts of free expression and engage with one another and the world. And yet, in part precisely because of the platform's expansive reach, Congress and multiple Presidents determined that divesting it from the PRC's control is essential to protect our national security.

To give effect to those competing interests, Congress chose divestment as a means of paring away the PRC's control-and thus containing the security threat—while maintaining the app and its algorithm for American users. But if no qualifying divestment occurs—including because of the PRC's or ByteDance's unwillingness-many Americans may lose access to an outlet for expression, a source of community, and even a means of income.

Congress judged it necessary to assume that risk given the grave national-security threats it perceived. And because the record reflects that Congress's decision was considered, consistent with longstanding regulatory practice, and devoid of an institutional aim to suppress particular messages or ideas, we are not in a position to set it aside.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: