frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

iPhone 17 Pro Demonstrated Running a 400B LLM

https://twitter.com/anemll/status/2035901335984611412
225•anemll•3h ago•131 comments

Trivy under attack again: Widespread GitHub Actions tag compromise secrets

https://socket.dev/blog/trivy-under-attack-again-github-actions-compromise
36•jicea•1d ago•14 comments

Cyber.mil serving file downloads using TLS certificate which expired 3 days ago

https://www.cyber.mil/stigs/downloads
93•Eduard•2h ago•86 comments

BIO: The Bao I/O Coprocessor

https://www.bunniestudios.com/blog/2026/bio-the-bao-i-o-coprocessor/
23•zdw•2d ago•5 comments

Unix philosophy is dead Long live something else?

https://sdomi.pl/weblog/27-manifesto-of-a-burnt-out-hacker/
8•caminanteblanco•48m ago•1 comments

Show HN: Threadprocs – executables sharing one address space (0-copy pointers)

https://github.com/jer-irl/threadprocs
33•jer-irl•1h ago•26 comments

Bombadil: Property-based testing for web UIs

https://github.com/antithesishq/bombadil
173•Klaster_1•4d ago•69 comments

An unsolicited guide to being a researcher [pdf]

https://emerge-lab.github.io/papers/an-unsolicited-guide-to-good-research.pdf
103•sebg•4d ago•15 comments

Is it a pint?

https://isitapint.com/
94•cainxinth•1h ago•82 comments

I built an AI receptionist for a mechanic shop

https://www.itsthatlady.dev/blog/building-an-ai-receptionist-for-my-brother/
82•mooreds•7h ago•98 comments

If DSPy is so great, why isn't anyone using it?

https://skylarbpayne.com/posts/dspy-engineering-patterns/
146•sbpayne•3h ago•90 comments

Migrating to the EU

https://rz01.org/eu-migration/
667•exitnode•7h ago•542 comments

Side-Effectful Expressions in C (2023)

https://blog.xoria.org/expr-stmt-c/
17•surprisetalk•5d ago•1 comments

Walmart: ChatGPT checkout converted 3x worse than website

https://searchengineland.com/walmart-chatgpt-checkout-converted-worse-472071
295•speckx•3d ago•204 comments

PC Gamer recommends RSS readers in a 37mb article that just keeps downloading

https://stuartbreckenridge.net/2026-03-19-pc-gamer-recommends-rss-readers-in-a-37mb-article/
767•JumpCrisscross•23h ago•355 comments

Two pilots dead after plane and ground vehicle collide at LaGuardia

https://www.bbc.com/news/articles/cy01g522ww4o
115•mememememememo•10h ago•186 comments

POSSE – Publish on your Own Site, Syndicate Elsewhere

https://indieweb.org/POSSE
364•tosh•9h ago•80 comments

GitHub appears to be struggling with measly three nines availability

https://www.theregister.com/2026/02/10/github_outages/
346•richtr•7h ago•179 comments

General Motors is assisting with the restoration of a rare EV1

https://evinfo.net/2026/03/general-motors-is-assisting-with-the-restoration-of-an-1996-ev1/
63•betacollector64•3d ago•68 comments

The gold standard of optimization: A look under the hood of RollerCoaster Tycoon

https://larstofus.com/2026/03/22/the-gold-standard-of-optimization-a-look-under-the-hood-of-rolle...
523•mariuz•22h ago•142 comments

Tin Can, a 'landline' for kids

https://www.businessinsider.com/tin-can-landline-kids-cellphone-cell-alternative-how-2025-9
272•tejohnso•3d ago•216 comments

“Collaboration” is bullshit

https://www.joanwestenberg.com/collaboration-is-bullshit/
160•mitchbob•16h ago•72 comments

Reports of code's death are greatly exaggerated

https://stevekrouse.com/precision
531•stevekrouse•1d ago•391 comments

The future of version control

https://bramcohen.com/p/manyana
619•c17r•1d ago•346 comments

Nanopositioning Metrology, Gödel, and Bootstraps

https://www.pi-usa.us/en/tech-blog/nanopositioning-metrology-goedel-and-bootstraps
16•nill0•4d ago•2 comments

Cyberattack on vehicle breathalyzer company leaves drivers stranded in the US

https://techcrunch.com/2026/03/20/cyberattack-on-vehicle-breathalyzer-company-leaves-drivers-stra...
91•speckx•4h ago•122 comments

Can you get root with only a cigarette lighter? (2024)

https://www.da.vidbuchanan.co.uk/blog/dram-emfi.html
147•HeliumHydride•3d ago•30 comments

Why I love NixOS

https://www.birkey.co/2026-03-22-why-i-love-nixos.html
409•birkey•1d ago•275 comments

GoGoGrandparent (YC S16) is hiring Back end Engineers

https://www.ycombinator.com/companies/gogograndparent/jobs/2vbzAw8-backend-engineer
1•davidchl•14h ago

Project Nomad – Knowledge That Never Goes Offline

https://www.projectnomad.us
559•jensgk•1d ago•204 comments
Open in hackernews

MicroPython v1.25.0

https://github.com/micropython/micropython/releases/tag/v1.25.0
103•todsacerdoti•10mo ago

Comments

est•10mo ago
offtopic I am curious anyone tried using micropython to replace CPython o x86 servers?
analog31•10mo ago
I've not used MicroPython, but its fork, CircuitPython. My impression is that it's essentially a Python that doesn't interact with an operating system. Thus if there's a reason for a server to have an OS and interact with it, the regular Python would be preferable.

I also don't know how much of the more advanced optimizations of Python are built into MicroPython. There's always a dilemma between making it performant, and making it micro.

matt_trentini•10mo ago
Yes, although MicroPython is focused on running on microcontrollers it can be useful if you want to reduce memory consumption, flash space and even startup time on servers.

The challenge is that MicroPython has many fewer standard libraries:

https://github.com/micropython/micropython/wiki/Standard-Lib...

And so many Python libraries targeting CPython won't work out-of-the box and you'll need to modify them or use alternatives that do work on the MicroPython subset.

jononor•10mo ago
Only really feasible if your program does not have any CPython C module dependencies. As there is no API compatibility with those.
thaliaarchi•10mo ago
I find it interesting that MicroPython's `re` module[0] is implemented with a backtracking regular expression engine from re1.5[1], instead of one of the linear-time engines from the same library. (Russ Cox covers the various engines in the excellent blog series[2] which re1 is a companion to.) I figure the choice was made due to binary size or memory constraints, though they're all quite small.

[0]: https://github.com/micropython/micropython/tree/master/lib/r...

[1]: https://github.com/pfalcon/re1.5/tree/v0.8.2

[2]: https://swtch.com/~rsc/regexp/regexp2.html

matt_trentini•10mo ago
Yes, it was chosen for low size and memory constraints. But it is limited in features (like counted repetitions):

https://docs.micropython.org/en/latest/library/re.html

so alternatives to provide additional features have been discussed... Either extending the existing module or swapping to a more feature-rich library. Possibly even doing so for larger micros that can afford the additional flash/memory, though that makes support more challenging.

thaliaarchi•10mo ago
I was talking about the performance, not the feature set. Russ Cox's re1 and the re1.5 fork have several engines for different implementation strategies. re1 was written for primarily pedagogical reasons, so its minimality comes from that.

The engine chosen by MicroPython is vulnerable to catastrophic backtracking and switching to the Pike VM implementation would fix that. Instead of backtracking in the text when the pattern doesn't match, the Pike VM iterates each char in the text only once, visiting the states valid for that position in lock step. Consequently, it allocates a list of “thread”s, proportional in length to the number of states in the pattern (though usually patterns have relatively few states). Many security issues have resulted from regexp denials of service, so this slight memory tradeoff might be worthwhile.

Since recursiveloop.c has been changed by MicroPython, those changes would need to be ported to pike.c. The fixes are small and none of the extra features exploit the backtracking, so this should be easy.

pjmlp•10mo ago
Lots of cool improvements.
antirez•10mo ago
Background for folks that are not into MicroPython. This release is so important because MicroPython is almost completely able to replace lower level languages like C for many embedded use cases on the RP20[45]0 and ESP32 and other MCUs at this point, being very solid, fast enough (and thanks to Viper and inline assembly abilities even super fast for critical code paths), portable across MPUs (super important: you can change MCU without rewriting everything), has very good support for SPI and other protocols, and so forth. But... the problem is, before this release MicroPython suffered not the CPU shortage, but RAM shortage: the bytecode needed to stay in memory, and once the program becomes big enough, memory is the bottleneck that limits the project size. To avoid that, you could build your own MicroPython binary with your frozen bytecode inside, in the device flash part, but... if I need to rebuild MicroPython part of the advantage of using it is gone (super fast development cycle is one of those). Well, now, with ROMFS, this is no longer true, MP itself is able to store bytecode in the device flash and execute from there. This makes MP a lot more practical for large embedded projects.
aero-glide2•10mo ago
Is there still any point in learning Rust then
actionfromafar•10mo ago
You are downvoted, but for some things, no there isn't. MicroPython can be very useful for some use cases and it's safer than C.
pjmlp•10mo ago
Depends on the point of view regarding using languages with automatic resource management.

I learn all languages that I find interesting, even if I don't use them, because I am a systems programming nerd, in languages, graphics and operating systems.

So it is always interesting to have an understanding of what Rust is all about, even if I will never work professionaly with it.

whytevuhuni•10mo ago
Imagine trying to make some sort of MP3 player using an MCU. You’d be able to use MicroPython for the controls, but for decoding you won’t be able to get away with it, and you’ll need something like C/C++/Rust.
pjmlp•10mo ago
Like in the home computing days, you could use inline Assembly for the decoding loop.

We used DATA blocks, now they can use @micropython.asm_thum.

anotherpaul•10mo ago
Thank you for explaining and giving context.
pjmlp•10mo ago
I see it as another take on BASIC for microcontrollers, like BASIC Stamp or mikroBasic, with a language that is more appealing to current generations.

We were able to already do so much on home computers back in the day, in an interactive development enviroment, no need to reach out for C in hardware that is x times better than those home computers.

sitkack•10mo ago
> MicroPython's inline assembler now supports 32-bit RISC-V assembly code via the newly implemented @micropython.asm_rv32 decorator. This allows writing small snippets of RISC-V machine code that can be called directly from Python code. It is enabled on the rp2 port when the RP2350 is running in RISC-V mode.

Exciting!

joezydeco•10mo ago
I needed to whip up a small embedded hardware widget for a very large machinery project and with an Adafruit Feather + MicroPython I had the thing working in a day and respun the schematic into a working board by the end of the week. An RP2040 plus QSPI flash is a freaking dollar in the BOM, and that's priced in onesies from DigiKey.

I'm never going back my old standby (C on an NXP LPC4). This is the new normal and it's fantastic. I'm really excited to see ROMFS working on this part soon.

antirez•10mo ago
The best part of this is that, imagine tomorrow you want it running on ESP32 because out of the blue your board is now costly too much (this is just hypothetical: I'm for RP2040/50 for ALL uses but the most cheap requirements that need WiFi). Well, you can adapt it in 5 minutes.
joezydeco•10mo ago
I agree and that's going to be the biggest appeal: we can bury the HAL down into a library and you never have to deal with it again.

Adafruit did an incredible job putting all that abstraction across their products into a single "import board" statement.

jononor•10mo ago
Strong endorsement! I would like to add that MicroPython can also be extended in C by writing small (or large) modules in C that one can call from Python. There is a module variant that can be installed at runtime (via package manager) called dynamic native modules. This enables extending with native code without having to rebuild or reflash the firmware.
mrheosuper•10mo ago
I want to integrate MP to my project. The core FW is still in c/cpp, but the UI/UX and some logic could be done in Python. But i feel like MP want to be the center of FW.
jononor•10mo ago
MicroPython can be used either as the top-level entry point, with your C/C++ code being modules (callable from Python). Or you can embed the interpreter into a C/C++ program - see the "embed" port for an example.
BoingBoomTschak•10mo ago
Seems pretty cool. As someone who never did anything on such low specced hardware (so not knowing if it's truly comparable), I also found http://www.ulisp.com/ quite interesting to look at.
stdbrouw•10mo ago
I'm a bit confused about the Pyboard. Do people buy Pyboards instead of ESP32 in order to support the project, or because they are more featureful, or both? Why does the Pyboard have a CPU in addition to the microcontroller, does the microcontroller only deal with IO?
Neywiny•10mo ago
Quick search shows the v1.1 at least it's just a microcontroller and a uSD slot. So I'd imagine it's just about support. With all the ESP32 boards out there, sky's the limit on word behavior you could get from flaky hardware.
stdbrouw•10mo ago
Ah yes, I read "STM" and immediately figured it was one of those old school very low MHz microcontrollers but apparently those are available with ARM cores too... possibly had 'em confused with AVR/ATmega.
Neywiny•10mo ago
As a habitual STM user professionally,... Yes. Not the highest performance but high enough and good peripherals. The blue pill is a STM.