frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Making RAM at Home [video]

https://www.youtube.com/watch?v=h6GWikWlAQA
265•kaipereira•1d ago•67 comments

ChatGPT Images 2.0

https://openai.com/index/introducing-chatgpt-images-2-0/
767•wahnfrieden•13h ago•582 comments

Acetaminophen vs. ibuprofen

https://asteriskmag.com/issues/14/the-mystery-in-the-medicine-cabinet
324•nkurz•1d ago•194 comments

Contact Lens Uses Microfluidics to Monitor and Treat Glaucoma

https://spectrum.ieee.org/smart-contact-lens-glaucoma-microfluidics
15•pseudolus•2d ago•0 comments

Laws of Software Engineering

https://lawsofsoftwareengineering.com
968•milanm081•21h ago•461 comments

Diverse organic molecules on Mars revealed by the first SAM TMAH experiment

https://www.courthousenews.com/preserved-for-billions-of-years-organic-compounds-found-on-mars/
64•geox•22h ago•2 comments

XOR'ing a register with itself is the idiom for zeroing it out. Why not sub?

https://devblogs.microsoft.com/oldnewthing/20260421-00/?p=112247
51•ingve•1h ago•46 comments

SpaceX says it has agreement to acquire Cursor for $60B

https://twitter.com/spacex/status/2046713419978453374
558•dmarcos•10h ago•664 comments

The Vercel breach: OAuth attack exposes risk in platform environment variables

https://www.trendmicro.com/en_us/research/26/d/vercel-breach-oauth-supply-chain.html
304•queenelvis•15h ago•109 comments

Garbage Collection Without Unsafe Code

https://fitzgen.com/2024/02/06/safe-gc.html
24•foota•3d ago•1 comments

Britannica11.org – a structured edition of the 1911 Encyclopædia Britannica

https://britannica11.org/
277•ahaspel•14h ago•98 comments

Windows Server 2025 Runs Better on ARM

https://jasoneckert.github.io/myblog/server-2025-arm64/
117•jasoneckert•3d ago•95 comments

Meta to start capturing employee mouse movements, keystrokes for AI training

https://www.reuters.com/sustainability/boards-policy-regulation/meta-start-capturing-employee-mou...
517•dlx•14h ago•386 comments

Changes to GitHub Copilot individual plans

https://github.blog/news-insights/company-news/changes-to-github-copilot-individual-plans/
426•zorrn•1d ago•165 comments

Stephen's Sausage Roll remains one of the most influential puzzle games

https://thinkygames.com/features/10-years-of-grilling-stephens-sausage-roll-remains-one-of-the-mo...
185•tobr•3d ago•96 comments

Fusion Power Plant Simulator

https://www.fusionenergybase.com/fusion-power-plant-simulator
150•sam•17h ago•97 comments

Framework Laptop 13 Pro

https://frame.work/laptop13pro
1212•Trollmann•14h ago•608 comments

Cal.diy: open-source community edition of cal.com

https://github.com/calcom/cal.diy
195•petecooper•14h ago•51 comments

Drunk post: Things I've learned as a senior engineer (2021)

https://luminousmen.substack.com/p/drunk-post-things-ive-learned-as
131•zdw•8h ago•88 comments

CrabTrap: An LLM-as-a-judge HTTP proxy to secure agents in production

https://www.brex.com/crabtrap
111•pedrofranceschi•16h ago•40 comments

Edit store price tags using Flipper Zero

https://github.com/i12bp8/TagTinker
331•trueduke•2d ago•305 comments

A printing press for biological data

https://www.owlposting.com/p/the-printing-press-for-biological
24•crescit_eundo•1d ago•0 comments

Rock carving facts – Tanum Sweden

https://www.tanumworldheritage.se/rock-carving-facts/?lang=en
3•janandonly•2d ago•0 comments

Hunting a 34 year old pointer bug in EtherSlip

https://www.brutman.com/Adventures_In_Code/EtherSlip_ARP/EtherSlip_ARP.html
27•mbbrutman•2d ago•4 comments

FBI looks into dead or missing scientists tied to NASA, Blue Origin, SpaceX

https://fortune.com/2026/04/21/scientists-disappear-die-nasa-space-blue-origin-spacex/
132•ineedasername•5h ago•52 comments

Some secret management belongs in your HTTP proxy

https://blog.exe.dev/http-proxy-secrets
21•tosh•2d ago•6 comments

Kuri – Zig based agent-browser alternative

https://github.com/justrach/kuri
21•sorcercode•6h ago•3 comments

Claude Code to be removed from Anthropic's Pro plan?

https://bsky.app/profile/edzitron.com/post/3mjzxwfx3qs2a
543•JamesMcMinn•11h ago•509 comments

Running a Minecraft Server and more on a 1960s UNIVAC Computer

https://farlow.dev/2026/04/17/running-a-minecraft-server-and-more-on-a-1960s-univac-computer
218•brilee•3d ago•36 comments

Show HN: VidStudio, a browser based video editor that doesn't upload your files

https://vidstudio.app/video-editor
271•kolx•20h ago•86 comments
Open in hackernews

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

https://lpython.org/blog/2023/07/lpython-novel-fast-retargetable-python-compiler/
57•luismedel•11mo ago

Comments

brudgers•11mo ago
The repository appears to be active, https://github.com/lcompilers/lpython
nathan_compton•11mo 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•11mo ago
What's your personal favorite better, fun, tight language?
sgammon•11mo ago
Kotlin
nathan_compton•11mo 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•11mo 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•11mo ago
PEP-723 solves this nicely.

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

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

sam_bristow•11mo 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•11mo 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•11mo 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•11mo 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.

raffraffraff•11mo ago
Yes, it should have been something like a flatpak, snap, Appimage or some other horrible thing. But I can see why a developer would just want to set a few vars, because you need to do that in a shell anyway to pip install some other requirement or debug on the command line. There is no polish, no user story.

From the perspective of a user who just wants to install and use something, it doesn't matter why python is atrocious, it just is. Ideally, something like pipx would be far far better than it is, and bundled by default with the system python. Every venv should get added to a launcher that gives access to a shell, an IDE or any python program in the venv. In fact if the python venv module was just a teensy bit better it could (optionally, but by default) do this for you.

theanonymousone•11mo ago
Hopefully PEP-723 and uv will alleviate this.
tough•11mo ago
Docker took that job
lesser23•11mo 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.

nathan_compton•11mo ago
It may be the case that most software engineering is just hacking pieces of software together, but Python still does a pretty bad job of it. Python libraries tend to be weird/poorly designed and pretty hard to actually use. R is a much nicer/more expressive language for ML stuff. Again, the only real advantage python has here is that everyone else is using it.
lesser23•11mo ago
Maybe I’m just suffering from Stockholm syndrome but I haven’t really had trouble using most libraries in Python. I do agree however that Python makes it harder to write reusable code.

To quote Bjarne Stroustrup there are only two kinds of languages: the ones people complain about and the ones nobody uses :).

nathan_compton•11mo ago
I'm sure some Python libraries are good, but I use pandas all the time and I hate it all the time.
mdaniel•11mo ago
Adjacent: I don't like NumPy - https://news.ycombinator.com/item?id=43996431 - May, 2025 (210 comments)
sgammon•11mo ago
How does this compare to GraalPy? Why create something new when GraalPy can already build native programs?
actionfromafar•11mo 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.

zem•11mo ago
imo that misrepresents crystal, which is not a compiler from ruby to c++/native but a separate language that takes a lot of inspiration from ruby and tries to maintain a similar syntax, but does not consider itself a ruby dialect or implementation.
actionfromafar•11mo ago
I think you are right, it wasn't a great comparison.
theanonymousone•11mo ago
I'm following them since their first mention in HN in 2023, particularly for Wasm support in compilation. Still not much output, unfortunately.
gsf_emergency•11mo ago
Might this be a subtler than one might think response to RPython?

About its sponsor GSI:

>As a leader in SRAM technology, we leverage our extensive expertise to develop radiation-hardened memory products for space and military use