frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Show HN: I was curious about spherical helix, ended up making this visualization

https://visualrambling.space/moving-objects-in-3d/
510•damarberlari•7h ago•97 comments

Zedless: Zed fork focused on privacy and being local-first

https://github.com/zedless-editor/zed
265•homebrewer•2h ago•116 comments

Introduction to AT Protocol

https://mackuba.eu/2025/08/20/introduction-to-atproto/
55•psionides•2h ago•25 comments

Show HN: PlutoPrint – Generate Beautiful PDFs and PNGs from HTML with Python

https://github.com/plutoprint/plutoprint
14•sammycage•51m ago•2 comments

Gemma 3 270M re-implemented in pure PyTorch for local tinkering

https://github.com/rasbt/LLMs-from-scratch/tree/main/ch05/12_gemma3
250•ModelForge•7h ago•41 comments

Visualizing GPT-OSS-20B embeddings

https://melonmars.github.io/LatentExplorer/embedding_viewer.html
34•melonmars•3d ago•17 comments

Coris (YC S22) Is Hiring

https://www.ycombinator.com/companies/coris/jobs/rqO40yy-ai-engineer
1•smaddali•29m ago

An Update on Pytype

https://github.com/google/pytype
105•mxmlnkn•4h ago•37 comments

Pixel 10 Phones

https://blog.google/products/pixel/google-pixel-10-pro-xl/
258•gotmedium•4h ago•459 comments

Launch HN: Channel3 (YC S25) – A database of every product on the internet

64•glawrence13•5h ago•39 comments

Lean proof of Fermat's Last Theorem [pdf]

https://imperialcollegelondon.github.io/FLT/blueprint.pdf
36•ljlolel•3h ago•23 comments

OPA maintainers and Styra employees hired by Apple

https://blog.openpolicyagent.org/note-from-teemu-tim-and-torin-to-the-open-policy-agent-community-2dbbfe494371
95•crcsmnky•5h ago•38 comments

Sequoia backs Zed

https://zed.dev/blog/sequoia-backs-zed
221•vquemener•9h ago•149 comments

Gouach wants you to insert and pluck the cells from its Infinite e-bike battery

https://arstechnica.com/gadgets/2025/05/gouach-wants-you-to-insert-and-pluck-the-cells-from-its-infinite-e-bike-battery/
12•pabs3•2d ago•2 comments

Learning about GPUs through measuring memory bandwidth

https://www.evolvebenchmark.com/blog-posts/learning-about-gpus-through-measuring-memory-bandwidth
22•JasperBekkers•6h ago•3 comments

Closer to the Metal: Leaving Playwright for CDP

https://browser-use.com/posts/playwright-to-cdp
111•gregpr07•5h ago•84 comments

Linear scan register allocation on SSA

https://bernsteinbear.com/blog/linear-scan/
12•surprisetalk•3d ago•1 comments

Why are anime catgirls blocking my access to the Linux kernel?

https://lock.cmpxchg8b.com/anubis.html
106•taviso•6h ago•140 comments

Tidewave Web: in-browser coding agent for Rails and Phoenix

https://tidewave.ai/blog/tidewave-web-phoenix-rails
246•kieloo•11h ago•47 comments

AWS in 2025: Stuff you think you know that's now wrong

https://www.lastweekinaws.com/blog/aws-in-2025-the-stuff-you-think-you-know-thats-now-wrong/
199•keithly•5h ago•113 comments

Show HN: Anchor Relay – A faster, easier way to get Let's Encrypt certificates

https://anchor.dev/relay
47•geemus•5h ago•43 comments

Show HN: Luminal – Open-source, search-based GPU compiler

https://github.com/luminal-ai/luminal
64•jafioti•5h ago•24 comments

Improvements to OCaml code editing: the basics of a refactor engine

https://tarides.com/blog/2025-08-20-internship-report-refactoring-tools-coming-to-merlin/
87•nukifw•7h ago•16 comments

Show HN: Bizcardz.ai – Custom metal business cards

https://github.com/rhodey/bizcardz.ai
16•rhodey•3h ago•17 comments

How to Think About GPUs

https://jax-ml.github.io/scaling-book/gpus/
338•alphabetting•2d ago•104 comments

Mirrorshades: The Cyberpunk Anthology (1986)

https://www.rudyrucker.com/mirrorshades/HTML/
121•keepamovin•13h ago•67 comments

Show HN: Nestable.dev – local whiteboard app with nestable canvases, deep links

https://nestable.dev/about
18•anorak27•3h ago•7 comments

Show HN: What country you would hit if you went straight where you're pointing

https://apps.apple.com/us/app/leascope/id6608979884
48•brgross•6h ago•30 comments

The Rise and Fall of Music Ringtones: A Statistical Analysis

https://www.statsignificant.com/p/the-rise-and-fall-of-music-ringtones
31•gmays•2d ago•39 comments

Best Options for Using AI in Chip Design

https://semiengineering.com/best-options-for-using-ai-in-chip-design/
29•rbanffy•5h ago•7 comments
Open in hackernews

Improvements to OCaml code editing: the basics of a refactor engine

https://tarides.com/blog/2025-08-20-internship-report-refactoring-tools-coming-to-merlin/
87•nukifw•7h ago

Comments

panglesd•7h ago
Very cool!

Does it replace identical expressions in the same scope? Like:

    let tau = 3.14 +. 3.14
becomes

    let pi = 3.14
    let tau = pi +. pi
?

EDIT: Or even crazier with function:

    let _ = (x + 1) + (y + 1)
becomes

    let plus_one a = a + 1
    let _ = (plus_one x) + (plus_one y)

(I ask this just out of curiosity. Even the "simpler" version is very impressive!)
nukifw•7h ago
Nop, for the moment, we try to not "infer user usages"! But if you extract an expression with variable, there will be, obviously, not be repeated:

    let tau =
      let pi = 3.14 in 
      pi + pi
if we extract `pi + pi` it will lead (if you do not give any concrete name) to the following code:

    let fun_name1 pi = 
       pi + pi

    let tau = 
       let pi = 3.14 in 
       fun_name1 pi
greener_grass•4h ago
LLM generated variable names would be nice!
lemonwaterlime•6h ago
I’ve been working on similar refactoring and grepping utility functions for vim, though mine are meant to work in any language.

The most recent one I’ve made runs 'git grep' on the word under cursor or on the visual selection and puts everything into a quick fix list.

Since it is generic, it works on any phrases as well, and helps me find prose snippets and phrases in docs or other writings.

mhitza•6h ago
Extract expression is such a common refactoring, happy to see support for it. I'm even more curious to see now if there are going to be more advanced refactoring possible. A List.map, to for loop, and back refactoring would be such a great thing to have in how I program.

Only thing that would go on my OCD nerve, is the lack of an empty newline when the show_markup function is extracted. Kind of "common sense" when writing top level bindings to leave some breathing room between them.

nukifw•6h ago
For the first point, you are right. We start by a common (but very useful) feature. Since OCaml allows an infinite level of nesting (and different kind of structure item) it was still a bit of a challenge, mostly for finding the right UX.

For the second point we delay the aeration convention to the formatter (ocamlformat). It can be configure in a different way :)

Thanks for your feedback!

shortrounddev2•6h ago
I feel that Ocaml could really use better VSCode integration more than literally anything else, but the community seems completely oriented around emacs
nukifw•5h ago
We try to invest equal time between the OCaml platform (on VSCode) and OCaml-eglot (for Emacs). In fact, I find the VSCode extension to be rich (and generally iso-features with Emacs mode).

However, I (as maintainer of OCaml-eglot) find Emacs easier to extend (the VSCode extension is surprisingly complex when you stray from the beaten path), which seemed perfect for incubating an experimental feature. Furthermore, as mentioned at the end of the article, the feature can also be invoked from a code action, which makes it de facto callable from VSCode once the various PRs have been merged :)

shortrounddev2•5h ago
The LSP features, in my experience, work very well in VScode, no shade there. But debugging features like breakpoints still seem to be experimental? Whenever I ask others about it online they usually try to tell me that print debugging is superior anyways
StopDisinfo910•4h ago
My experience is that everything goes into Merlin, which is Ocaml tool for analysis and refactoring, and is then added to editor from there.

Here significant work was done to properly bridge the gap between Merlin and the LSP server so it should work fine in VSCode.

Generally speaking, the Ocaml community seems to spend a lot of time getting VSCode to work.

Syzygies•6h ago
Tarides has an OCaml focus. Elsewhere on their site, with an interesting omission:

"Examples of functional programming languages include OCaml, Erlang, Clojure, Haskell, Scala, and Common Lisp."

F# and OCaml are close cousins, and for me F# is even cleaner syntax and twice as fast (M4 Mac Studio).

It was a struggle for me to overcome my partisan preference for OCaml.

StopDisinfo910•4h ago
F# started as an Ocaml port to the CLR. In the end, they decided to port a subset of the language so you get mostly the same syntax, no parametrised modules which is a big part of Ocaml but in exchange you can call libraries from other languages using the CLR. Of course, that comes with the issue of being a second class citizen in the .Net family, albeit a very nice second class citizen.

F# have drifted a bit further since but not that much. It’s a nice language but it’s not really comparable to Ocaml at this point. At least, I don’t see many cases where people would have to chose one or the other. I think people know if they want the CLR or not.

Syzygies•4h ago
I make little use of .NET; my hand-coded atomic queue is faster than .NET work stealing for parallelism, for example. I like the slightly cleaner syntax and twice as fast for my applications.

I'm escaping the black hole of Haskell. If one can code in Chez Scheme, one can code without parametrized modules, as much as I admire them. And there are also F# additions OCaml could admire.

I held back for all of your reasons, and finally caved. I never saw myself in the .NET ecosystem, but prejudices are a funny thing.

StopDisinfo910•1h ago
> prejudices are a funny thing

I don’t think people have prejudices here. Ocaml is Ocaml and F# is F#.

If your point is that people using OCaml should instead use F#, I vehemently disagree. That would be losing most of what makes Ocaml actually Ocaml.

Still F# is a nice language. F# without using .Net library I don’t see the point however. It’s the most interesting part of the language.

amelius•5h ago
Anyone tried large codebase refactorings using AI?