frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Getting AI to write good SQL

https://cloud.google.com/blog/products/databases/techniques-for-improving-text-to-sql
223•richards•7h ago•114 comments

Wow@Home – Network of Amateur Radio Telescopes

https://phl.upr.edu/wow/outreach
34•visviva•2h ago•0 comments

Thoughts on thinking

https://dcurt.is/thinking
337•bradgessler•9h ago•226 comments

Show HN: KVSplit – Run 2-3x longer contexts on Apple Silicon

https://github.com/dipampaul17/KVSplit
209•dipampaul17•8h ago•32 comments

Postman for MCP

https://usetexture.com/##
19•andes314•2h ago•3 comments

XTool – Cross-platform Xcode replacement

https://github.com/xtool-org/xtool
30•TheWiggles•2h ago•11 comments

A Linux kernel developer plays with Home Assistant: general impressions

https://lwn.net/SubscriberLink/1017720/7155ecb9602e9ef2/
9•pabs3•1h ago•0 comments

A Research Preview of Codex

https://openai.com/index/introducing-codex/
391•meetpateltech•13h ago•313 comments

Rustls Server-Side Performance

https://www.memorysafety.org/blog/rustls-server-perf/
71•jaas•3d ago•10 comments

MIT asks arXiv to withdraw preprint of paper on AI and scientific discovery

https://economics.mit.edu/news/assuring-accurate-research-record
265•carabiner•13h ago•143 comments

Coding agent in 94 lines of Ruby

https://radanskoric.com/articles/coding-agent-in-ruby
69•radanskoric•2d ago•22 comments

ClojureScript 1.12.42

https://clojurescript.org/news/2025-05-16-release
113•Borkdude•8h ago•20 comments

I'm Peter Roberts, immigration attorney, who does work for YC and startups. AMA

192•proberts•13h ago•358 comments

Show HN: Visual flow-based programming for Erlang, inspired by Node-RED

https://github.com/gorenje/erlang-red
207•Towaway69•13h ago•90 comments

X X^t can be faster

https://arxiv.org/abs/2505.09814
166•robinhouston•12h ago•47 comments

WebGL Gray-Scott Explorer (2012)

http://www.mrob.com/pub/comp/xmorphia/ogl/index.html
16•joebig•3h ago•2 comments

MCP: An in-depth introduction

https://www.speakeasy.com/mcp/mcp-tutorial
36•ritzaco•3d ago•14 comments

The Joys of Discovering the Roman Underground

https://www.smithsonianmag.com/travel/the-joys-of-discovering-the-roman-underground-from-the-colosseum-to-whats-beneath-the-trevi-foundation-180986626/
4•ulrischa•1d ago•0 comments

They Were Identical 'Twinnies' Who Charmed Orwell, Camus and More

https://www.nytimes.com/2025/05/04/books/review/the-dazzling-paget-sisters-ariane-bankes.html
20•lermontov•5h ago•4 comments

Will AI systems perform poorly due to AI-generated material in training data?

https://cacm.acm.org/news/the-collapse-of-gpt/
66•pseudolus•5h ago•70 comments

Behind Silicon Valley and the GOP’s campaign to ban state AI laws

https://www.bloodinthemachine.com/p/de-democratizing-ai
22•spenvo•1h ago•4 comments

Java at 30: Interview with James Gosling

https://thenewstack.io/java-at-30-the-genius-behind-the-code-that-changed-tech/
172•chhum•15h ago•253 comments

New high-quality hash measures 71GB/s on M4

https://github.com/Nicoshev/rapidhash
17•nicoshev11•2d ago•4 comments

The first year of free-threaded Python

https://labs.quansight.org/blog/free-threaded-one-year-recap
250•rbanffy•18h ago•252 comments

Show HN: Roast My Dish – AI roasts your food photos with brutal honesty

https://www.roastmydish.online/
14•romeumaleiane•3h ago•6 comments

Material 3 Expressive

https://design.google/library/expressive-material-design-google-research
331•meetpateltech•3d ago•514 comments

Show HN: Solidis – Tiny TS Redis client, no deps, for serverless

https://github.com/vcms-io/solidis
39•jayl-e-e•7h ago•4 comments

The Magic Hours: The Films and Hidden Life of Terrence Malick

https://www.lrb.co.uk/the-paper/v47/n09/david-thomson/cool-tricking
53•mitchbob•10h ago•31 comments

Foundry (YC F24) Is Hiring – Founding Engineer (ML × SWE)

https://www.ycombinator.com/companies/foundry/jobs/uwi8b6I-founding-engineer-ml-x-swe
1•lakabimanil•11h ago

GitHub Models API now available

https://github.blog/changelog/2025-05-15-github-models-api-now-available/
5•msolujic•25m ago•0 comments
Open in hackernews

LPython: Novel, Fast, Retargetable Python Compiler (2023)

https://lpython.org/blog/2023/07/lpython-novel-fast-retargetable-python-compiler/
49•luismedel•3d ago

Comments

brudgers•3d ago
The repository appears to be active, https://github.com/lcompilers/lpython
nathan_compton•12h ago
Very neat but what an Albatross Python is, especially in the AI era. It is clearly the best language to choose for many applications given the network effects and the fact that AI can program it so effectively, but I really wish we weren't locked into it. So many better, more fun, more tight, languages out there.

And all this effort to eek out performance. Get off my lawn etc.

throwaway7783•10h ago
What's your personal favorite better, fun, tight language?
sgammon•10h ago
Kotlin
nathan_compton•10h ago
I love programming in Scheme. I played with Nim recently and appreciated the type system. I also enjoy Common Lisp. Heck, I ever prefer Java! Haskell, Ocaml, Julia! I'd rather program in any of them.
raffraffraff•10h ago
Most of the time, Python's biggest issue isn't performance, it's the nightmare of trying to distribute it. If you want to merely run a python program you need to be educated in "python DevOps", or you'll get people gasping and saying "FFS, why don't you just create an env and activate it and pip install to it then make your own flipping shortcut to a script that activates that env and runs your code, you moron, Jeeeeeesus."
dumah•10h ago
PEP-723 solves this nicely.

https://peps.python.org/pep-0723/

https://news.ycombinator.com/item?id=43500124

sam_bristow•3h ago
Uv and PEP-723 style inline dependency declarations has been great at $DAYJOB. It's made a bunch of our standalone scripts trivial to distribute to non-software engineers.

I'm also bullish on using them with Marimo notebooks as a replacement for Jupyter notebooks.

gjvc•9h ago
that the "activate it" part gets any airtime really pisses me off. that has all to do with bash and zero to do with python. the "activate" script should never have seen the light of day.

include a bin/run-python wrapper script in your project, and have that set environment variables and call the .venv/bin/python binary. done.

yes, i realise in replying to this comment i'm admitting that i'm part of the problem exactly described, but the "activate" script has caused more confusion in the long run than is worthwhile and the "running from a .venv/" directory could have been a much smaller problem instead of the wind-tunnel it has become.

terlisimo•8h ago
why not solve it with bash then, just put

#!/path/to/your/venv/bin/python

as first the line of your script, done/done

gjvc•6h ago
That is obviously not what I meant by "solving it with bash" and well you know it.

First, one often needs to set PYTHONPATH etc, and this is best done near the point of execution, in a wrapper script and not wangling around in ~/.bash_profile where it gets forgotten, and is not project-specific.

Secondly, and more importantly, your suggestion assumes the venv lives in a fixed location. This is unlikely to be the case.[1] What is preferable is something which is independent of filesystem location. The bin/run-python script is able to find its location on the filesystem, and the location of the venv relative to it.

[1] You might have a custom python distribution with a bunch of modules installed into a well-known location and therefore using that for the python in your application is a reasonable solution, but that is not what we are talking about here.

theanonymousone•8h ago
Hopefully PEP-723 and uv will alleviate this.
tough•4h ago
Docker took that job
lesser23•6h ago
Having been around for a long time I liken it to PERL. Post-PERL it also looks a lot like Ruby. I remember everything being re-written in Ruby. Yet PERL still stands!

Anyway, Python is a nice language for small-ish (< 1000 lines or so) projects. It starts to get very unruly after that and without a type system of any kind your brain becomes the type system... and the compiler. MyPy tries it's best but it really isn't sufficient and requires developer buy-in...hard to get in a language so well designed for throw-away code.

Python 3's syntax is actually quite nice and you can write some very expressive code in it. My opinion, of course, but I also find it to be one of the "lowest common denominator" languages like Go. Python doesn't require much to get started and it's syntax and semantics are relatively easy for even a mediocre programmer to understand. Of course it has a terrible (mostly non-existent ABI) that relies on "consenting adults" as the contract and an awful package system. Yet another reason it's really only practical for (relatively) small projects.

Rarely is anything in Python about raw performance - imo. Of the things that are (NumPy, Pandas, various ML libraries) they call down to C handle most of it. For things that require true parallelism it's not uncommon to see `exec` calls to binaries. That being said in a lot of places (FastAPI based applications, etc) you can get quite a lot of perf out of Python before it becomes a problem.

However, what makes it super nice is how easy it is to hack something together in it. As it turns out most of ML is just hacking things together in a few files or a Jupyter notebook. What a perfect language for such purpose. This is not unlike PERL. I still remember all the random PERL scripts I hacked together for various tasks because it was so simple. It is no wonder it is as popular as it is.

sgammon•10h ago
How does this compare to GraalPy? Why create something new when GraalPy can already build native programs?
actionfromafar•5h ago
LPython seems more like Shedskin. (Shedskin compiles Python to C++.)

You could say that LPython and Shedskin are to Python what Crystal is to Ruby.

theanonymousone•8h ago
I'm following them since their first mention in HN in 2023, particularly for Wasm support in compilation. Still not much output, unfortunately.