frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Attention lapses due to sleep deprivation due to flushing fluid from brain

https://news.mit.edu/2025/your-brain-without-sleep-1029
57•gmays•51m ago•1 comments

AMD Could Enter ARM Market with Sound Wave APU Built on TSMC 3nm Process

https://www.guru3d.com/story/amd-enters-arm-market-with-sound-wave-apu-built-on-tsmc-3nm-process/
205•walterbell•10h ago•140 comments

OpenAI Uses Complex and Circular Deals to Fuel Its Multibillion-Dollar Rise

https://www.nytimes.com/interactive/2025/10/31/technology/openai-fundraising-deals.html
42•reaperducer•1h ago•17 comments

Affinity Studio now free

https://www.affinity.studio/get-affinity
1092•dagmx•22h ago•715 comments

John Carmack on mutable variables

https://twitter.com/id_aa_carmack/status/1983593511703474196
228•azhenley•11h ago•281 comments

Bertie the Brain

https://en.wikipedia.org/wiki/Bertie_the_Brain
49•breppp•1w ago•5 comments

Result is all I need

https://rockyj-blogs.web.app/2025/10/25/result-monad.html
68•rockyj•6d ago•45 comments

Phone numbers for use in TV shows, films and creative works

https://www.acma.gov.au/phone-numbers-use-tv-shows-films-and-creative-works
231•nomilk•16h ago•109 comments

How the cochlea computes (2024)

https://www.dissonances.blog/p/the-ear-does-not-do-a-fourier-transform
444•izhak•21h ago•137 comments

Rouille – Rust Programming, in French

https://github.com/bnjbvr/rouille
175•mihau•1w ago•101 comments

Kimi Linear: An Expressive, Efficient Attention Architecture

https://github.com/MoonshotAI/Kimi-Linear
181•blackcat201•13h ago•27 comments

Affinity, targeting office workers over pros, making pro tools the loss leader

https://tedium.co/2025/10/30/canva-affinity-free-loss-leader-strategy/
38•speckx•1h ago•31 comments

Reasoning Models Reason Well, Until They Don't

https://arxiv.org/abs/2510.22371
166•optimalsolver•4h ago•128 comments

A Closer Look at Piezoelectric Crystal

https://www.samaterials.com/content/a-closer-look-at-stressed-piezo-crystals.html
35•pillars•1w ago•9 comments

In orbit you have to slow down to speed up

https://www.wired.com/story/in-orbit-you-have-to-slow-down-to-speed-up/
36•beardyw•1w ago•44 comments

987654321 / 123456789

https://www.johndcook.com/blog/2025/10/26/987654321/
597•ColinWright•4d ago•98 comments

Free software scares normal people

https://danieldelaney.net/normal/
771•cryptophreak•22h ago•504 comments

Springs and bounces in native CSS

https://www.joshwcomeau.com/animation/linear-timing-function/
223•feross•2d ago•33 comments

A classic graphic reveals nature's most efficient traveler

https://www.scientificamerican.com/article/a-human-on-a-bicycle-is-among-the-most-efficient-forms...
37•ako•1w ago•28 comments

Show HN: Quibbler – A critic for your coding agent that learns what you want

https://github.com/fulcrumresearch/quibbler
80•etherio•13h ago•20 comments

NPM flooded with malicious packages downloaded more than 86k times

https://arstechnica.com/security/2025/10/npm-flooded-with-malicious-packages-downloaded-more-than...
303•jnord•1d ago•212 comments

Roadmap for Improving the Type Checker

https://forums.swift.org/t/roadmap-for-improving-the-type-checker/82952
76•glhaynes•13h ago•31 comments

Florian Schneider Collection: Instruments and equipment up for auction

https://www.juliensauctions.com/en/articles/the-florian-schneider-collection-rare-instruments-and...
49•cainxinth•4d ago•12 comments

Minecraft HDL, an HDL for Redstone

https://github.com/itsfrank/MinecraftHDL
198•sleepingreset•19h ago•30 comments

Show HN: I made a heatmap diff viewer for code reviews

https://0github.com
239•lawrencechen•23h ago•63 comments

After delays, Egypt set for lavish opening of grand museum

https://phys.org/news/2025-10-delays-egypt-lavish-grand-museum.html
20•warrenm•2h ago•14 comments

Jack Kerouac, Malcolm Cowley, and the difficult birth of On the Road

https://theamericanscholar.org/scrolling-through/
67•samclemens•2d ago•39 comments

Denmark reportedly withdraws Chat Control proposal following controversy

https://therecord.media/demark-reportedly-withdraws-chat-control-proposal
461•layer8•16h ago•173 comments

Modifying a radiation meter for (radioactive) rock collecting

https://maurycyz.com/projects/ludlum3/
59•8organicbits•6d ago•1 comments

Exceptional Measurement of Chirality

https://www.rsc.org/news/2019/july/exceptional-measurement-of-chirality
31•bryanrasmussen•6d ago•4 comments
Open in hackernews

MicroPython v1.25.0

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

Comments

est•5mo ago
offtopic I am curious anyone tried using micropython to replace CPython o x86 servers?
analog31•5mo 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•5mo 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•5mo ago
Only really feasible if your program does not have any CPython C module dependencies. As there is no API compatibility with those.
thaliaarchi•5mo 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•5mo 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•5mo 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•5mo ago
Lots of cool improvements.
antirez•5mo 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•5mo ago
Is there still any point in learning Rust then
actionfromafar•5mo 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•5mo 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•5mo 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•5mo 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•5mo ago
Thank you for explaining and giving context.
pjmlp•5mo 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•5mo 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•5mo 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•5mo 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•5mo 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•5mo 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•5mo 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•5mo 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•5mo 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•5mo 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•5mo 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•5mo 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•5mo ago
As a habitual STM user professionally,... Yes. Not the highest performance but high enough and good peripherals. The blue pill is a STM.