frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Shopify is moving from React Native back to Swift and Kotlin

https://shopify.engineering/back-to-native
864•fnthawar2•13h ago•586 comments

More questions about whether researchers can trust OpenAI with unpublished math

https://mathstodon.xyz/@andreasthom/117240535270608201
739•pred_•21h ago•680 comments

Mexican student creates an acoustic fire extinguisher to put out fire in seconds

https://www.upsocl.com/en/16-year-old-mexican-student-creates-an-acoustic-fire-extinguisher-that-...
87•rguiscard•3h ago•33 comments

Don't let anyone take away your big box of cables

https://blog.jim-nielsen.com/2026/hands-off-my-cables/
375•Brajeshwar•12h ago•276 comments

YuE2 · Frontier Music with Symbolic Planning

https://map-yue2.github.io/
62•sexy_seedbox•3h ago•50 comments

OpenAI Agents API

https://developers.openai.com/api/docs/guides/agents-api/overview
176•aquir•8h ago•106 comments

Cognition launches new SWE-2 model, Rivaling Fable 5.1 and GPT-Astra

https://cognition.com/blog/swe-2
367•seelos•12h ago•157 comments

Thelio Mira AI Linux Workstation: 192 GB GPU Memory

https://system76.com/workstations/thelio-mira-ai
59•jonifico•4h ago•37 comments

Technique for Manipulating Satellite Photos Now Reveals Ancient Images (2025)

https://spinoff.nasa.gov/Manipulating_Satellite_Photos_Now_Reveals_Ancient_Images
289•gumby•12h ago•45 comments

Google will buy half the electricity from one of Finland's nuclear power plants

https://www.bbc.com/news/articles/c8r6y4me2g6o
126•lukaspetersson•3h ago•96 comments

The Deathray: A simple way for an untrusted site to freeze a Mac

https://auberon.xyz/blog/posts/deathray/
110•auberonedu•8h ago•70 comments

NTSB issues investigative update on B-767 runway excursion accident in Miami

https://www.ntsb.gov:443/news/press-releases/Pages/NR20260909.aspx
75•mckn1ght•6h ago•121 comments

LLM Visualizer – Build a Transformer from Scratch

https://jayvisaria.github.io/LLM-Visualizer/#/dashboard
9•evo_9•1h ago•4 comments

Music Theory for the 21st-Century Classroom

https://musictheory.pugetsound.edu/mt21c/MusicTheory.html
178•aanet•10h ago•80 comments

Customizing my Compaq MX-11800 keyboard

https://blog.webb.page/WM-102
18•NetOpWibby•3d ago•4 comments

Proof of Capture: Apple Reference Image, but open source and using steganography

https://merybenavente.me/blog/proof-of-capture
77•merybenavente•8h ago•51 comments

Neki – Sharded Postgres

https://planetscale.com/blog/introducing-neki
214•simon_weber•12h ago•117 comments

Forgejo <=16.0.3 Critical RCE

https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/16.0.4.md
156•weierstass•12h ago•59 comments

iPhone Duo

https://www.apple.com/iphone-duo/
1420•thecosmicfrog•1d ago•2453 comments

Rust is tier-1 language at Microsoft

https://rustfoundation.org/media/guest-post-rust-is-tier-1-language-at-microsoft/
633•mmastrac•14h ago•359 comments

Finite time blowup with smooth forcing term for the incompressible porous medium

https://terrytao.wordpress.com/2026/09/07/finite-time-blowup-with-smooth-forcing-term-for-the-inc...
3•robinhouston•2d ago•0 comments

Bitap: My favorite string matching algorithm

https://jo3-l.dev/posts/bitap/
7•haeseong•2d ago•1 comments

Hitachi launches CO2 heat pump water heaters with solar-friendly tariff controls

https://www.pv-magazine.com/2026/09/07/hitachi-launches-co2-heat-pump-water-heaters-with-solar-fr...
289•thelastgallon•1d ago•236 comments

Douglas Hofstadter: Analogy as the Core of Cognition [video]

https://www.youtube.com/watch?v=n8m7lFQ3njk
154•tosh•4d ago•76 comments

Nine coding harnesses vs. your laptop

https://nasutton.notion.site/Nine-coding-harnesses-vs-your-laptop-3d139990182b80d59fa3cf500f0450b...
6•nasutton12•5h ago•0 comments

Recursion into madness

https://blog.coredump.cx/p/recursion-into-madness
50•surprisetalk•3d ago•14 comments

Detecting and countering misuse of AI: September 2026

https://www.anthropic.com/threat-intelligence-report-september-2026
100•garo-pro•10h ago•167 comments

JEP 544: Ahead-of-Time Code Compilation

https://openjdk.org/jeps/544
83•Skinney•10h ago•29 comments

What happens when a GPU writes memory

https://blog.doubleword.ai/what-happens-when-a-gpu-writes-memory
54•ibobev•2d ago•1 comments

Herdr Studio

https://powerfooI.github.io/herdr-studio/
12•throwaway888abc•3h ago•4 comments
Open in hackernews

MicroPython v1.25.0

https://github.com/micropython/micropython/releases/tag/v1.25.0
103•todsacerdoti•1y ago

Comments

est•1y ago
offtopic I am curious anyone tried using micropython to replace CPython o x86 servers?
analog31•1y 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•1y 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•1y ago
Only really feasible if your program does not have any CPython C module dependencies. As there is no API compatibility with those.
thaliaarchi•1y 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•1y 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•1y 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•1y ago
Lots of cool improvements.
antirez•1y 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•1y ago
Is there still any point in learning Rust then
actionfromafar•1y 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•1y 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.

mrheosuper•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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•1y ago
As a habitual STM user professionally,... Yes. Not the highest performance but high enough and good peripherals. The blue pill is a STM.
whytevuhuni•1y 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•1y 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•1y ago
Thank you for explaining and giving context.
pjmlp•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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.