frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: I built a clawdbot that texts like your crush

https://14.israelfirew.co
1•IsruAlpha•2m ago•0 comments

Scientists reverse Alzheimer's in mice and restore memory (2025)

https://www.sciencedaily.com/releases/2025/12/251224032354.htm
1•walterbell•5m ago•0 comments

Compiling Prolog to Forth [pdf]

https://vfxforth.com/flag/jfar/vol4/no4/article4.pdf
1•todsacerdoti•6m ago•0 comments

Show HN: Cymatica – an experimental, meditative audiovisual app

https://apps.apple.com/us/app/cymatica-sounds-visualizer/id6748863721
1•_august•7m ago•0 comments

GitBlack: Tracing America's Foundation

https://gitblack.vercel.app/
2•martialg•7m ago•0 comments

Horizon-LM: A RAM-Centric Architecture for LLM Training

https://arxiv.org/abs/2602.04816
1•chrsw•8m ago•0 comments

We just ordered shawarma and fries from Cursor [video]

https://www.youtube.com/shorts/WALQOiugbWc
1•jeffreyjin•9m ago•1 comments

Correctio

https://rhetoric.byu.edu/Figures/C/correctio.htm
1•grantpitt•9m ago•0 comments

Trying to make an Automated Ecologist: A first pass through the Biotime dataset

https://chillphysicsenjoyer.substack.com/p/trying-to-make-an-automated-ecologist
1•crescit_eundo•13m ago•0 comments

Watch Ukraine's Minigun-Firing, Drone-Hunting Turboprop in Action

https://www.twz.com/air/watch-ukraines-minigun-firing-drone-hunting-turboprop-in-action
1•breve•14m ago•0 comments

Free Trial: AI Interviewer

https://ai-interviewer.nuvoice.ai/
1•sijain2•14m ago•0 comments

FDA Intends to Take Action Against Non-FDA-Approved GLP-1 Drugs

https://www.fda.gov/news-events/press-announcements/fda-intends-take-action-against-non-fda-appro...
11•randycupertino•15m ago•3 comments

Supernote e-ink devices for writing like paper

https://supernote.eu/choose-your-product/
3•janandonly•18m ago•0 comments

We are QA Engineers now

https://serce.me/posts/2026-02-05-we-are-qa-engineers-now
1•SerCe•18m ago•0 comments

Show HN: Measuring how AI agent teams improve issue resolution on SWE-Verified

https://arxiv.org/abs/2602.01465
2•NBenkovich•18m ago•0 comments

Adversarial Reasoning: Multiagent World Models for Closing the Simulation Gap

https://www.latent.space/p/adversarial-reasoning
1•swyx•19m ago•0 comments

Show HN: Poddley.com – Follow people, not podcasts

https://poddley.com/guests/ana-kasparian/episodes
1•onesandofgrain•27m ago•0 comments

Layoffs Surge 118% in January – The Highest Since 2009

https://www.cnbc.com/2026/02/05/layoff-and-hiring-announcements-hit-their-worst-january-levels-si...
9•karakoram•27m ago•0 comments

Papyrus 114: Homer's Iliad

https://p114.homemade.systems/
1•mwenge•27m ago•1 comments

DicePit – Real-time multiplayer Knucklebones in the browser

https://dicepit.pages.dev/
1•r1z4•27m ago•1 comments

Turn-Based Structural Triggers: Prompt-Free Backdoors in Multi-Turn LLMs

https://arxiv.org/abs/2601.14340
2•PaulHoule•29m ago•0 comments

Show HN: AI Agent Tool That Keeps You in the Loop

https://github.com/dshearer/misatay
2•dshearer•30m ago•0 comments

Why Every R Package Wrapping External Tools Needs a Sitrep() Function

https://drmowinckels.io/blog/2026/sitrep-functions/
1•todsacerdoti•30m ago•0 comments

Achieving Ultra-Fast AI Chat Widgets

https://www.cjroth.com/blog/2026-02-06-chat-widgets
1•thoughtfulchris•32m ago•0 comments

Show HN: Runtime Fence – Kill switch for AI agents

https://github.com/RunTimeAdmin/ai-agent-killswitch
1•ccie14019•35m ago•1 comments

Researchers surprised by the brain benefits of cannabis usage in adults over 40

https://nypost.com/2026/02/07/health/cannabis-may-benefit-aging-brains-study-finds/
2•SirLJ•36m ago•0 comments

Peter Thiel warns the Antichrist, apocalypse linked to the 'end of modernity'

https://fortune.com/2026/02/04/peter-thiel-antichrist-greta-thunberg-end-of-modernity-billionaires/
4•randycupertino•37m ago•2 comments

USS Preble Used Helios Laser to Zap Four Drones in Expanding Testing

https://www.twz.com/sea/uss-preble-used-helios-laser-to-zap-four-drones-in-expanding-testing
3•breve•42m ago•0 comments

Show HN: Animated beach scene, made with CSS

https://ahmed-machine.github.io/beach-scene/
1•ahmedoo•43m ago•0 comments

An update on unredacting select Epstein files – DBC12.pdf liberated

https://neosmart.net/blog/efta00400459-has-been-cracked-dbc12-pdf-liberated/
3•ks2048•43m ago•0 comments
Open in hackernews

Meta Joins Kotlin Foundation

https://engineering.fb.com/2025/06/30/android/meta-joins-kotlin-foundation/
51•bundie•7mo ago

Comments

ksec•7mo ago
I am not sure if it has something to do with age. But I found both Kotlin and Swift share pretty much the same thing. Over Complexity. Objective C and Java works.

I am also wondering if Meta still uses PHP or Hack.

ckwalsh•7mo ago
> I am also wondering if Meta still uses PHP or Hack

Meta’s WWW codebase is its oldest, and still written in Hacklang. Lots of internal tooling is also written in Hack.

I wouldn’t be surprised if there are more committed lines of Hacklang than any other language (although, a good chunk of that is codegen, vs other core languages where codegen is part of the build process).

ameliaquining•7mo ago
Why don't they do codegen at build time in Hack?
paxys•7mo ago
Hack does JIT compilation.

Even otherwise, at the scale the company operates it's much better to run codegen once at commit time rather than recreate the entire codebase on every deploy (several times a day) which would take forever.

ameliaquining•7mo ago
Why don't they do the same in other languages, then?
arein3•7mo ago
I really miss Kotlin's null safety in Java
vips7L•7mo ago
I really miss Java’s exception safety in Kotlin.

If Java ever ships Valhalla we might get null restricted types: https://openjdk.org/jeps/8316779

ameliaquining•7mo ago
Note that you can get null safety in Java today from third-party static analysis tools: https://jspecify.dev/docs/whether/#nullness-checker-support-...

Additionally, the above-linked JEP only proposes to make a small subset of types potentially null-safe. The goal there is performance, not correctness.

vips7L•7mo ago
I linked the wrong JEP because I was tired. The goal is correctness: https://openjdk.org/jeps/8303099

> Enhance Java's reference types to let programmers express whether null references are expected as values of the type

ameliaquining•7mo ago
> It is not a goal (at this time) to apply the language enhancements to the standard libraries

That seems really very limiting and like it would make the feature not very useful in practice.

vips7L•7mo ago
> (at this time)

It will eventually be a goal. Java does things in steps. First will be introducing the syntax, then another JEP will take care of the standard library. Just like they introduced virtual threads and then introduced structured concurrency. Or like introducing records and then introducing pattern matching over records. Baby steps.

Tainnor•7mo ago
> I really miss Java’s exception safety in Kotlin.

Java is the only language that I'm aware of with checked exceptions (Swift has "throws" which I guess goes in that direction but is untyped) and it's in my experience not notably exception-safer than languages that use values for error handling (such as Rust, Haskell or Kotlin).

Swallowing exceptions because of bad ergonomics or misuse by library authors is unfortunately fairly common in a lot of Java code that I've seen. By contrast, most Kotlin code that I've seen uses exceptions only for unrecoverable errors and otherwise uses some sort of sum type (Result, Either or some sealed class/interface). These can be handled ergonomically and in a very type-safe manner - and importantly they don't break when used with higher-order functions. In the future, Kotlin will have Rich Errors which will have even better ergonomics (I'm personally fine with Either, but I know some people dislike a heavily functional style, so this will be good for them).

vips7L•7mo ago
Swift has typed throws now.

> Swallowing exceptions because of bad ergonomics or misuse by library authors is unfortunately fairly common in a lot of Java code that I've seen

This is because the language has not invested to make the ergonomics better. Checked exceptions/errors are still superior than runtime exceptions. "Misuse" can still occur with values. Bad developers can still bubble errors they can't handle and that you can't handle either. I've written elsewhere [0] the things that Java needs.

> By contrast, most Kotlin code that I've seen uses exceptions only for unrecoverable errors

Except for the whole Kotlin standard library. Like you said the errors as unions proposal is very far away. So either I need to adopt some library and then when unions come I now have 2-3 competing systems + whatever the libraries are using. I'd rather just use checked exceptions.

> - and importantly they don't break when used with higher-order functions.

This is not a property of values or exceptions. It's a property of the type system. Checked exceptions can work perfectly fine with higher order functions, Scala has done good research there [1] and I believe Swift's typed throws works with lambdas as well; Java just hasn't invested in the language.

Ultimately, there is no difference because Result<T, Error> and T func() throws Exception. One is not superior to the other. What it comes down to for me is whether a language has support for checked errors or not, and Kotlin does not.

[0] https://news.ycombinator.com/item?id=44432640

[1] https://docs.scala-lang.org/scala3/reference/experimental/ca...

Tainnor•7mo ago
Checked errors are not categorically better than runtime exceptions. There are lots of things that should never be checked exceptions: division by zero, illegal array access, OOM, and everything that can't be (at least not locally) recovered from.

That's why Kotlin's philosophy is and has for a long time been "use values for expected and recoverable errors, runtime exceptions for unexpected and unrecoverable conditions", see: https://elizarov.medium.com/kotlin-and-exceptions-8062f589d0...

> Except for the whole Kotlin standard library.

I'm not sure what you mean. Most kotlin stdlib functions that can fail have some sort of "...orNull" variant to be used when you're not sure you're going to get something back, and there's "runCatching" which will wrap any exceptions in a Result type.

Result is part of the stdlib, so you don't have to use any library, although some people (me included) prefer Either. If/when they introduce Rich Errors, it's going to be semantically almost equivalent to Either, except you get somewhat improved ergonomics, so it's not really a paradigm shift.

> Ultimately, there is no difference because Result<T, Error> and T func() throws Exception. One is not superior to the other. What it comes down to for me is whether a language has support for checked errors or not, and Kotlin does not.

I don't understand how those two sentences don't contradict each other. Kotlin has support for Result<T> (stdlib) or Either<E, T> (from libraries like Arrow). Since you're agreeing that this is equivalent to checked exceptions I don't understand how you can claim that Kotlin doesn't support checked errors. It supports them just as well as Java does, it just has a different philosophy around it. (I guess the one point that I'll concede is that it can cause issues when interfacing with Java code and it would be nice if Kotlin had some better ergonomics around automatically inferring errors from Java library code the way it does for nullability checks; but in practice this hasn't been a big issue for me).

FWIW, I disagree that there isn't a big distinction. If the exception is part of the regular type, it is a value and it can be manipulated like any other value, making it very easy to write all sorts of code that manipulates exceptions. Of course, you could eventually write enough machinery so that you get the same power also with checked exceptions, but that just makes the language more complicated for questionable gain. And in any case, Java doesn't do that.

The Scala discussion you're linking is certainly interesting, but it's cutting-edge PL research (effect systems). I'm not sure how this matters in a discussion of tradeoffs between Java and Kotlin today.

vips7L•7mo ago
I don't really have the energy to debate this, but the Kotlin standard library doesn't use Result at all:

    \kotlin\libraries\stdlib> gci -r | where extension -eq .kt |  where name -ne Result.kt | grep "\): Result<" | measure-object | select count

    Count
    -----
        0

It does however throw a shit ton of exceptions:

    \kotlin\libraries\stdlib> gci -r | where extension -eq .kt |  grep "throw " | measure-object | select count

    Count
    -----
     1176

So like I said the language doesn't tell you what can error. Cheers man.
throwaway_20357•7mo ago
I prefer Scala's Option over Kotlin's nulls.
elcapitan•7mo ago
I never worked with Kotlin, but have kept it in the back of my head as the simpler alternative to Java if I had to target the JVM. What makes it more complex?
dagw•7mo ago
Disclaimer. Last time I seriously used Java, I was using Java 8, and I've only used Kotlin for screwing around with Android development on my own time. So what follows might be way off.

Kotlin provides a lot of 'clever' syntactic sugar and features that makes certain things that are quite verbose in Java, nice and compact in Kotlin. It also means that there are many way to achieve the same thing in Kotlin. Once you've learned everything it allows you to do things that would take a lot of Java in much fewer lines of code. But there is also just more 'stuff' to learn in the Kotlin language.

Java is a much simpler language than Kotlin with relatively few features, but this simplicity means you sometimes have to build quite verbose structures to achieve what you want.

So which is 'simpler' very much comes down to how you define 'simple'.

elcapitan•7mo ago
Oh I see, so this is kind of like with Ruby, where people build a lot of magic that looks simple but hides complexity that you still need to understand.
Tainnor•7mo ago
No. Unlike Ruby, Kotlin is compiled and you can't monkeypatch things, so unless you go out of your way to do reflection magic (something that is unfortunately common in the Java community), you won't get weird runtime surprises like not knowing where a method comes from.
ackfoobar•7mo ago
I'd say the magic of Kotlin comes down to a few syntactic constructs that compose very well. Also, a decent type system helps with understanding any magic, even those not tastefully created.
jfengel•7mo ago
Since then, Java has incorporated a lot of the syntactic sugar from Kotlin. Not all of it; they're still very judicious about trying to keep the language tight. But things like the lambda features have even made it down into the JVM (which is actually incredibly stable).

Kotlin's one big advantage is having avoided the "billion dollar mistake" of null pointers. Or at least, mitigated it. But in my opinion it's not sufficient to install a whole new language into your stack.

vips7L•7mo ago
One day we’ll get nullable types: https://openjdk.org/jeps/8303099

I believe I read on the mailing list it’s implemented here: https://github.com/openjdk/valhalla/tree/lw5

Tainnor•7mo ago
Java also has to maintain backwards compatibility at (almost) all cost, so it has a lot of warts that it can't or won't remove. For example, I think there are like 4 or 5 different types of switch statements/expressions.

I also think that checked exceptions are a major flaw (particularly because they don't work well with lambdas) but I don't foresee them getting removed anytime soon.

mystified5016•7mo ago
IME, it's sort of like the difference between C and C#.

Kotlin is incredibly expressive and can get quite complicated. Java is a bit more brutally simple (and obviously more verbose).

As a C# dev primarily, I love Kotlin, and I've always hated Java despite it being the very first language I learned.

I wouldn't call Kotlin simple by any stretch of the imagination. It's just a very high-level language.

tengbretson•7mo ago
Coming from Scala and TypeScript, I always thought Kotlin had under complexity.
Apofis•7mo ago
Kotlin is awesome, good on Meta.
grizzles•7mo ago
I use kotlin at work every day and I'm suprised it (and particular Kotlin/Compose Multiplatform) are not more popular. It's a true alternative to javascript that lets you share native ui code across web,ios,android,desktop and more (eg. watchOS).
paulryanrogers•7mo ago
Do you mean a 'Java' alternative?
herval•7mo ago
all the cross-platform alternatives are either very low level (C++) or Javascript, so I'm guessing they actually meant Javascript (Electron, React Native, etc)?
mock-possum•7mo ago
I know this is a bit nitpicky but - if you have to compile Kotlin into a WASD binary, then use JavaScript to load it, is that really ‘native?’

You can just run JavaScript right out of the url field or the console in the browser, no compilation or server required - that’s what I would think of as ‘native.’

Tainnor•7mo ago
To me, it feels like Kotlin for the backend isn't really all that popular in the US from what I read on HN, but here in Europe there are a lot of companies (big and small) using it. Maybe it's the geographic proximity (JetBrains being a Czech company).