<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: unscaled</title><link>https://news.ycombinator.com/user?id=unscaled</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 25 Nov 2026 17:48:04 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=unscaled" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by unscaled in "Torrents are perfect for model distribution"]]></title><description><![CDATA[
<p>> Movies are different. Search for a movie on a torrent site and you'll see 4K remux, 1080p, 720p [...]. But no one downloads models like this: anyone who wants DeepSeek-V4.1-Flash-1017 wants the same 48 shards.<p>But this is exactly the situation for AI models as well. If you look for 
DeepSeek-V4.1-Flash-1017 or Qwen3.8-27B on HuggingFace, you'll see many different releases by various people with different quantizations like FP8, Q4_K_M, INT4, abliterated/uncensored models and various versions that are fined tuned or modded in whichever different way. It feels to me exactly like the various different video encodings.<p>Yes, there is usually a single, official release from the lab that produced the model (or sometimes a handful of different variants), but very frequently this isn't something you can even run on consumer hardware.</p>
]]></description><pubDate>Thu, 12 Nov 2026 11:00:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=50465529</link><dc:creator>unscaled</dc:creator><comments>https://news.ycombinator.com/item?id=50465529</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50465529</guid></item><item><title><![CDATA[New comment by unscaled in "Passkeys are a trap"]]></title><description><![CDATA[
<p>You are saying this as if these companies don't care about CVR or compatibility at all. The reality is that most companies are extremely conservative about pushing you to change your authentication method. Here are my observations, as both a user and an industry insider:<p>1. Many services have old users with passwords that predate password-strength meters (or their ill-conceived brethren: password complexity rules). The service provider knows these passwords keep falling, and the cost of having to deal with stolen accounts is very real: customer support calls, reimbursements and investigation. But I've rarely seen services that force users to upgrade their passwords (even though it's a very easy solution). Whenever I've offered doing this myself, it was always shut down (either immediately or 3 years down the line) by a myriad of seemingly unrelated stakeholders.<p>2. To go further than this, companies can also know for certain that some credentials have been leaked by looking at password breach aggregators like Have I been Pwned and forcing users with affected accounts to change their passwords. That too, is rarely done.<p>3. 2FA (with SMS or TOTP) has existed for ages now, yet very few major non-financial services have made 2FA mandatory by forcing you to register an authenticator app or a verified phone number[1].<p>4. Webauthn was available in Chrome and Firefox in 2018, and got pretty widespread support by 2020. The "Passkeys" brand was not a thing yet, but the basic functionality was there and both hardware and software support was quite solid. It still took several years for services to even <i>start</i> offering Webauthn to users, beyond small and limited trials. The rationale was simple: UX around Webauthn was still rough, syncing and transferring credentials were still unsolved and the worst part was "What do we even ask the user to do?". The broad concept of passkeys is extremely confusing, but the non-concept we had before was far more confusing. Supporting Webauthn back in 2020 would have given tremendous security benefits for power users who could have understood it and deal with the rougher UX back then, but nobody wanted to take the risk of regular users setting up a passkey, losing it and locking down their account.<p>5. Now that passkeys are being supported by more and more services, you still don't see them being pushed very hard. Passkeys are great for the service provider, since they just kill a big category of security incidents, but even then you're see pretty conservative adoption. And I've never seen a single service forcing you to use Passkeys.<p>My point in all these examples is that most companies are extremely conservative here. Forcing users to do something that might confuse them, break their account or frustrate them is risky, since you may lose a very real chunk of your customer base. Sometimes you have to do this, the costs from keeping the old way or the benefits or forcing the change have to be high enough to justify that. Think about how long it took for companies to drop support for IE6. The cost was high, but as long as it still had a sizable market share, it was hard to do. Google was probably the first major company to take steps towards killing IE6 support, and this was famously entirely bottom-up, and was done by engineers either hiding it from their bosses or tricking them[2].<p>With this trend. I personally find the scenario where non-copyable attested passkeys are forced on everyone unlikely. OP keeps mentioning Netflix, but streaming services are a rather special case, most service providers would get very little benefit from restricting users to an attested non-copyable passkey. Why would they risk all that friction for... nothing at all?<p>The more real risk with attestations (and we're already started seeing it) is that some services (namely banks) will use attestations to limit you to use their own shitty app instead of using a proper passkey.<p>---<p>[1] Keep in mind I'm only talking about companies that already had password-based accounts without 2FA. Companies that started out with a simple username and password are rarely forcing their users to add 2FA. The farthest they generally went is sending you an OTP code or link on a verified email address <i>they already had</i>, and this is usually only done for sensitive operations, a new browser and/or a suspicious location.<p>Email OTPs, notably, aren't 2FA by definition, since your Email address might be only password-protected, and at the worst case (and excruciatingly common) scenario it might be sharing exactly the same password as your service. Companies would love to have all their users using a stronger solution, so they can stop having to deal with all these pesky credential stuffing botnets, but not at the cost of losing a non-negligible portion of their customer base.<p>[2] <a href="https://blog.chriszacharias.com/a-conspiracy-to-kill-ie6" rel="nofollow">https://blog.chriszacharias.com/a-conspiracy-to-kill-ie6</a></p>
]]></description><pubDate>Mon, 12 Oct 2026 02:21:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=50050554</link><dc:creator>unscaled</dc:creator><comments>https://news.ycombinator.com/item?id=50050554</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50050554</guid></item><item><title><![CDATA[New comment by unscaled in "Don't couple your Go code to GitHub"]]></title><description><![CDATA[
<p>> One of the good features of Go is that you namespace your code with the location to fetch the code.<p>Then the rest of the article explains why this is NOT a good feature in practice.<p>I don't think it's unworkable either, but this is one of these little thing that Go decided to do different and convinced its fans that this is a great idea and all the other languages where doing it wrong. After a couple of road bumps appeared, instead of admitting there are some advantages to having official package names, we're now told that everybody should just set up their own custom domain with an nginx server or a Go Vanity URLs forwarder to serve traffic for their GitHub-hosted packages.</p>
]]></description><pubDate>Sun, 27 Sep 2026 22:31:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=49871469</link><dc:creator>unscaled</dc:creator><comments>https://news.ycombinator.com/item?id=49871469</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49871469</guid></item><item><title><![CDATA[New comment by unscaled in "Go Concurrency Distilled"]]></title><description><![CDATA[
<p>Managing channels and making sure they are closed just once is quite messy compared to other languages. The Go channel axioms[1] don't make much sense: why does closing a channel multiple times panic, but reading from a closed channel returns a zero value?<p>Kotlin gets this right. On send/receive, you can use trySend or tryReceive if you want to avoid exceptions. Considering Kotlin also has coroutines and structured concurrency, concurrency in Kotlin feels more ergonomic to me than Go. At least if you want to get concurrent code with least amount of bugs and not just least amount of extra keywords.<p>[1] <a href="https://dave.cheney.net/2014/03/19/channel-axioms" rel="nofollow">https://dave.cheney.net/2014/03/19/channel-axioms</a></p>
]]></description><pubDate>Sun, 27 Sep 2026 01:02:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=49862257</link><dc:creator>unscaled</dc:creator><comments>https://news.ycombinator.com/item?id=49862257</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49862257</guid></item><item><title><![CDATA[New comment by unscaled in "SAML: A fractal of bad design"]]></title><description><![CDATA[
<p>XML did not become more complex following 2002. DTD, Namespaces, Comments, processing instructions, CData, attribute vs. child dichotomy - all of these things exited from day 0.<p>XML Schema (just like JSON schema) did not. When we're talking about a "simple format" in terms of security we are talking about parsing footguns like these features, not about complexities that may exist with any wire format such as schema and data validation.<p>Were there any better formats for simple messages back in 2002?<p>I would argue that yes.<p>1. ASN.1 is horribly complex, but PKCS #7 (Cryptographic Message Syntax, a.k.a. CMS) was already established, and it was better than XML Signatures in one regard: it did not try to fuse the signed content with its envelope. But this probably wasn't he best choice.<p>2. If all you needed is a bag of keys and values, you could easily go with an RFC 822 style header + values format (which worked well for both email protocols and HTML). As a bonus S/MIME was already well established at this point, so you had an obvious way to sign this data.<p>3. Simple binary formats like XDR (used by NFS) or simple textual formats like LDIF or the RFC 822 header format mentioned above could be freely combined with any existing signature protocol that did not mandate structured data (i.e. every signature protocol in existence before XML Signature came in).<p>4. An even better approach of course, would have been to say no to <i>fine-grained</i> cryptographic agility[1]. That was a terrible mistake, but it was the default design choice back in 2002, and it's hard to single out OASIS. The JOSE/JWT authors should have known better though. You could have define a couple of ciphersuites/version, and a simple, fixed signature protocol for each version.<p>5. The best approach would have been to just avoid signatures completely and require TLS, but this wasn't viable back in 2002. Even OAuth 1.0 and OpenID 1.0,  which came out several years later, included their own cryptographic signatures, but their schemes were still far simpler than SAML.<p>I think the key takeaway today is that SAML is no longer necessary today. TLS is not an option for secure web resources. There are no features of SAML that cannot be supported by OAuth or OIDC (only security misfeatures). All IdPs and most products support OIDC. In fact, OIDC is probably more well-supported than SAML.<p>SAML is only used because of enterprise inertia and self-inflicted FUD. As a professional, we should treat SAML with the the same disdain we've directed
we've directed towards Internet Explorer 6. This is an insecure legacy technology that presents a drag on the entire industry.<p>---<p>[1] <a href="https://www.blockchaincommons.com/musings/musings-agility/" rel="nofollow">https://www.blockchaincommons.com/musings/musings-agility/</a></p>
]]></description><pubDate>Wed, 23 Sep 2026 14:04:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=49816358</link><dc:creator>unscaled</dc:creator><comments>https://news.ycombinator.com/item?id=49816358</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49816358</guid></item><item><title><![CDATA[New comment by unscaled in "SAML: A fractal of bad design"]]></title><description><![CDATA[
<p>OIDC spec has a limited third-party initiated flow[1] that redirects to the RP (equivalent to SP in SAML), which then starts a regular OIDC flow that is indistinguishable from an RP-initiated flow.<p>This flow is safe against CSRF, since no authentication data is carried together with the flow. The only other safety issue I can see is using target_link_uri for CSF. The spec clearly mentions that this URL has to be filtered or ignored by the RP.<p>Instead of treating the (horrible) technical implementation as a feature, it addresses the real user-facing feature: I want to be able to click on a link on my IdP dashboard and be redirected to the app. The login would still be seamless, since you already have an SSO session active with the IdP.<p>[1] <a href="https://openid.net/specs/openid-connect-core-1_0.html#ThirdPartyInitiatedLogin" rel="nofollow">https://openid.net/specs/openid-connect-core-1_0.html#ThirdP...</a></p>
]]></description><pubDate>Wed, 23 Sep 2026 05:26:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=49811985</link><dc:creator>unscaled</dc:creator><comments>https://news.ycombinator.com/item?id=49811985</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49811985</guid></item><item><title><![CDATA[New comment by unscaled in "SAML: A fractal of bad design"]]></title><description><![CDATA[
<p>What is prventing OIDC-based IdP from initiating login? You just need to know the login URI:<p><a href="https://openid.net/specs/openid-connect-core-1_0.html#ThirdPartyInitiatedLogin" rel="nofollow">https://openid.net/specs/openid-connect-core-1_0.html#ThirdP...</a></p>
]]></description><pubDate>Wed, 23 Sep 2026 05:16:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=49811937</link><dc:creator>unscaled</dc:creator><comments>https://news.ycombinator.com/item?id=49811937</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49811937</guid></item><item><title><![CDATA[New comment by unscaled in "SAML: A fractal of bad design"]]></title><description><![CDATA[
<p>There is nothing left from the OpenID 1.0 and 2.0 protocol in OpenID Connect, except for the core features (identity federation, identity information encoding and updates).<p>OpenID Connect is basically OpenID reimagined on top of OAuth 2.0, with using JWT for the identity data.<p>The core OpenID Connect spec is still purely a federated identity standard. There are many other standards pushed by the OpenID foundation, but OpenID Connect itself was never meant to be anything more. The main feature differentiator from the OG OpenID is that it's built on top of OAuth, so you can add other features supported by OAuth (like authorization) ad-hoc.</p>
]]></description><pubDate>Wed, 23 Sep 2026 05:10:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=49811904</link><dc:creator>unscaled</dc:creator><comments>https://news.ycombinator.com/item?id=49811904</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49811904</guid></item><item><title><![CDATA[New comment by unscaled in "SAML: A fractal of bad design"]]></title><description><![CDATA[
<p>JWT has two out of the three issues mentioned above:<p>1. It has the ill-conceived "alg": "none". But this feature made breaking JWT so easy and low stakes, that many libraries have removed this feature completely, or just disabled it by default.<p>Modern RFCs that mandate JWT use in servers (e.g. RFC 9068) often explicitly forbid this, and the latest BCP for JWT (RFC 8725) recommends that libraries only accept or generate tokens with "none" when the user _explicitly_ requests that. And yet, we're still seeing "alg": "none" vulnerabilities even to this day. I'm not sure if it made sense to support "alg": "none" in the first place, but if we ended up doing that, the RFC should have been much more strict about this.<p>2. The other issue is mixing up asymmetric and symmetric encryption. You can't embed the HMAC password directly in the user-generated message; but if the library is not built securely, it would just treat the public key itself as the HMAC key when it gets an HMAC alg in the header. This makes forging tokens quite trivial if the library is misconfigured.<p>JWT is not nearly as bad SAML and its designers learned some important lessons (simpler base format, no canonicalization or embedded signatures), but this is still a design-by-committee standard that didn't properly involve. The full JOSE standard (including JWA) is even worse, but fortunately JWA doesn't get used a lot.</p>
]]></description><pubDate>Wed, 23 Sep 2026 05:04:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=49811861</link><dc:creator>unscaled</dc:creator><comments>https://news.ycombinator.com/item?id=49811861</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49811861</guid></item><item><title><![CDATA[New comment by unscaled in "Java 27"]]></title><description><![CDATA[
<p>Have you worked on large (>500KLOC) codebases with an agent?<p>Yes. But keep in mind KLOCs are not easily comparable across languages. Java is notoriously verbose. A 500KLOC codebase in Java would usually be half that size  in Rust. If your argument is that large codebases makes life harder for agents, you should go with a less verbose language.<p>I'm not sure what "manual optimization" means (isn't it a bit of an oxymoron when the agent does it?), but if your agent has the proper tools (e.g. ast-grep, rg, semble) it can deal with large codebases. Would the agent create slop? Yes. But it wouldn't be worse on the slop that humans created on every moderately-sized Java project I've worked on.<p>> in fact, agent-written code in a low-level language gets pretty slow well below that size<p>I've never seen this happening. I've seen agents writing suboptimal Rust code (e.g. copies instead of Cow). But while this occassionally happens with Rust, I've never seen an agent optimizing for Java where necessary (e.g. using object pools to avoid GC churn). Java is not magic.</p>
]]></description><pubDate>Wed, 16 Sep 2026 04:40:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=49722168</link><dc:creator>unscaled</dc:creator><comments>https://news.ycombinator.com/item?id=49722168</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49722168</guid></item><item><title><![CDATA[New comment by unscaled in "Java 27"]]></title><description><![CDATA[
<p>I think Java explicitly refused to take some of the best features of Kotlin, like extension methods, context parameters and operator overloading.</p>
]]></description><pubDate>Wed, 16 Sep 2026 04:31:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=49722110</link><dc:creator>unscaled</dc:creator><comments>https://news.ycombinator.com/item?id=49722110</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49722110</guid></item><item><title><![CDATA[New comment by unscaled in "Java 27"]]></title><description><![CDATA[
<p>> Most organizations that use Java tend to be pretty conservative with their technology picks<p>That part i s true.<p>> with newer Java versions the only real gap with Kotlin is null-safety<p>But that part isn't. Kotlin has:<p>- Structured Concurrency: Coming to Java sometime in the future, but it's been in preview for very long now.<p>- Standalone functions that don't have to live in classes<p>- Properties<p>- Property delegation<p>- Data classes: more powerful than records. Can be used for large DTOs that you can modify with copy(). Java needs something like Lombok to make records more useful.<p>- Extension methods<p>- Context parameters<p>- Operator overloading<p>- Implementation delegation<p>- Inline functions (which can receive returning closures and reified types)<p>- Block syntax (supports `it` for unnamed arguments)<p>- Sequence abstractions: more powerful and more efficient than Java streams due to the inlining and block syntax.<p>This is just a partial list, but Kotlin clearly has a lot of things that Java doesn't. If you only personally care about NPEs that's fine, but that's not the only thing.</p>
]]></description><pubDate>Wed, 16 Sep 2026 04:29:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=49722094</link><dc:creator>unscaled</dc:creator><comments>https://news.ycombinator.com/item?id=49722094</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49722094</guid></item><item><title><![CDATA[New comment by unscaled in "Java 27"]]></title><description><![CDATA[
<p>> Hiring developers is easy<p>> And that "team" nowadays may also consist of many AI agents.<p>And that's the part where the hireability arguments collapse. Sure Claude Code works pretty well with Java. It also works well with Typescript, Python, Go and Rust. It would use types on all of these languages, and run a type checker or LSP on the dynamic ones. And while Java is statically typed, Rust has a stricter type system that prevents some types of runtime bugs that Java's type system won't like data races and forgetting to release a resource.</p>
]]></description><pubDate>Wed, 16 Sep 2026 04:18:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=49722033</link><dc:creator>unscaled</dc:creator><comments>https://news.ycombinator.com/item?id=49722033</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49722033</guid></item><item><title><![CDATA[New comment by unscaled in "Java 27"]]></title><description><![CDATA[
<p>Sure it does:<p><a href="https://github.com/uber-go/nilaway" rel="nofollow">https://github.com/uber-go/nilaway</a><p>Not exactly the same solution as JSpecify, since it doesn't rely on annotations, but it's also more ergonomic.<p>I'm not comparing this to "null-restricted types", since that's a draft JEP that hasn't made it even into a preview feature. Go also had multiple proposals for explicit nilability in types, and while they probably have less prospect of ever seeing the light of day compared to Project Valhalla, as things currently stand, Go is in the same position as Java: They are both extremely prone to NEPs out-of-the-box and they both have external tooling that can help you avoid them.<p>Java null checkers have more comprehensive coverage potential compared to Go, but Go is the more ergonomic one here. You don't need a single extra annotation on your code.</p>
]]></description><pubDate>Tue, 15 Sep 2026 20:06:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=49718136</link><dc:creator>unscaled</dc:creator><comments>https://news.ycombinator.com/item?id=49718136</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49718136</guid></item><item><title><![CDATA[New comment by unscaled in "Java 27"]]></title><description><![CDATA[
<p>Go panics.</p>
]]></description><pubDate>Tue, 15 Sep 2026 19:53:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=49717977</link><dc:creator>unscaled</dc:creator><comments>https://news.ycombinator.com/item?id=49717977</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49717977</guid></item><item><title><![CDATA[New comment by unscaled in "Java 27"]]></title><description><![CDATA[
<p>Congratulations. You've added another build tool and sprinkled your code with ugly annotations and ifs and Optional Optional.of(x).map(y) all over the place to get the same thing you'd get by moving to Kotlin.<p>I get it why this seems like a less drastic change, but this saddens me. Kotlin solves more issues with the type system (smart casts, reified types, immutability by default), without sacrificing readability. Unless I can see a solution in Java that makes dealing with NPEs as easier for lazy developers as ignoring them, I don't consider it a solved issue.</p>
]]></description><pubDate>Tue, 15 Sep 2026 19:52:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=49717969</link><dc:creator>unscaled</dc:creator><comments>https://news.ycombinator.com/item?id=49717969</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49717969</guid></item><item><title><![CDATA[New comment by unscaled in "Java 27"]]></title><description><![CDATA[
<p>While Java can outperform Go in some cases, the situation is very much the opposite when it comes to Rust.<p>I also don't see the case for stability. Yes, if you're still on JDK 8, it would probably chug on for a couple of years. But we were talking about greenfield projects and newer JDK go EOL much faster. If you want patches, you'll have to run your app to a newer JDK, which may break a couple of things. Rust (within the same edition) or Go (within the same major version) break less than that.<p>As far as runtime compatibility goes, Rust and Go apps ship with the runtime. This can be better or worse for you, depending on what is your upgrade story, but I don't see a clear winner here. What I would give to Java over Rust is that you will have far fewer dependencies to take care of if you need to upgrade. But the same goes for Go.<p>For observability, I feel that with Rust you have a bit less that you need to observe (no GC to worry about). Tokio tracing is great, but observability requires a bit more effort. The go observability story is far worse. So Java probably has an edge here, but not something that ever felt like a game changer. My impression is that for most of the enterprise shops that love Java, observability means collecting unstructured log files through NFS and trying to find a needle in the haystack with primitive tools, but I've been out of touch with this world for a couple of years.<p>Productivity is something that is dead if you are AI-heavy. Sure, many shops are still wary about AI, and I totally get why, but this is a battle that's already been lost. Without AI, I would say I was about 3 to 4 times more productive in Rust than I was in Java, but ramping up that productivity took at least 1 year of practice. It's not time most companies are willing to spend. With AI, this doesn't matter anymore, for better or worse.<p>I'm not arguing that Java is not chosen often for greenfield projects. It's clearly extremely popular in many circles, especially outside startups and big tech. But I think the reason Java is chosen have little to do with the reasons you've mentioned above and more with organizational preferences.</p>
]]></description><pubDate>Tue, 15 Sep 2026 19:44:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=49717851</link><dc:creator>unscaled</dc:creator><comments>https://news.ycombinator.com/item?id=49717851</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49717851</guid></item><item><title><![CDATA[New comment by unscaled in "Java 27"]]></title><description><![CDATA[
<p>I'm not sure what enterprise-level collaboration means. In my experience, "enterprise" usually means: "Let's use tools that are 10 years behind, buggier than average, and have lots of half-baked features, none of which we need".<p>I'm not sure what kind of tools you mean, but unless you're looking for something that just works exactly the way EJBs do for some mysterious reasons, I don't see why you can't do most "enterprisey" things with Rust or Go. Or Python or TypeScript for that matter.</p>
]]></description><pubDate>Tue, 15 Sep 2026 19:20:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=49717495</link><dc:creator>unscaled</dc:creator><comments>https://news.ycombinator.com/item?id=49717495</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49717495</guid></item><item><title><![CDATA[New comment by unscaled in "Java 27"]]></title><description><![CDATA[
<p>> Go has null pointer dereference problem.<p>Which Java famously does not have.<p>> Rust is too low-level for typical enterprise app where requirements changes twice a day. You end up spending time and tokens fighting with borrow checker.<p>In my experience, you do not spend tokens fighting with the borrow checker anymore, newer models are smarter. But it might not be ideal for a lot of CRUD applications.<p>> C# is MS product, which is no-go for some folks.<p>This is 2026, it's not 1996 anymore. .Net works on Linux and Microsoft is as friendly towards open source and open standards as a Big Tech company can be.<p>If anything, it was Oracle which more recently sued another company for using a JDK alternative. And this was a lawsuit that, if accepted, could have put the entire idea of API compatibility in danger and deal a severe blow to the Open Source movement.<p>Anyone who is morally bothered by MS but is unfazed by this is probably just mentally stuck in the 1990s.<p>> Kotlin probably would be the answer.<p>I love Kotlin, but I'm afraid that's not the case. The conservative organizations that choose Java out of inertia, would keep choosing Java over Kotlin, even if Kotlin is a better JVM language which is facing no downside.<p>For anyone who doesn't need to be on the JVM or work with JVM tooling, Kotlin doesn't cut it. It doesn't have null pointer dereference problem in theory... Only it does in practice if you're using any Java API that may return null (all these bang-decorated "Platform types"). Generic type erasure can only be overcome in inline functions with reified types. And building and deploying artifacts without docker is still a mess.<p>I found Kotlin extremely publishing for Java shops in the past, and I've converted multiple departments totaling over hundreds of employees to use Kotlin. But that was before AI. The rationale was simple: Java is an entrenched language that leads to bloated code, slow development cycles and way too many avoidable bugs in productions. Kotlin solves some if these issues, and it's very easy to learn for a Java engineer, while still letting you keep all of your tools and libraries. And as a language (putting ecosystem aside), I find it better than either Go or Typescript, and far more ergonomic than Rust[1].<p>But all of these arguments die with AI. Rust is just as ergonomic as any other popular language today if you're using an agent, and the fact that an engineer spent their lifetime writing Spring Boot programs in Java you don't have time to let them learn a new stack from scratch doesn't matter anymore.<p>Sure, there are many companies where letting AI write the code is still not acceptable, but most of these workplaces will accept AI agents sooner than they accept Kotlin.<p>I feel a bit sad since I like many ideas about Kotlin (especially how amenable it is for making DSLs) but we've lost that opportunity<p>--<p>[1] Unless you have to write highly concurrent code without any data races.</p>
]]></description><pubDate>Tue, 15 Sep 2026 19:14:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=49717394</link><dc:creator>unscaled</dc:creator><comments>https://news.ycombinator.com/item?id=49717394</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49717394</guid></item><item><title><![CDATA[New comment by unscaled in "So you want to use OpenRouter?"]]></title><description><![CDATA[
<p>OP already answered that one:<p>They used a closed list of 3 vendors in prioritized order, and got 429ed out of two of them, while the third one stopped serving the mode.<p>This is less of a problem if you're running an agent locally and routing your problem to OpenRouter - you can pin to one or two models for consistency and just switch models when something goes bad. But the article is specifically about production traffic.</p>
]]></description><pubDate>Fri, 11 Sep 2026 14:19:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=49658909</link><dc:creator>unscaled</dc:creator><comments>https://news.ycombinator.com/item?id=49658909</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49658909</guid></item></channel></rss>