frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Why xor eax, eax?

https://xania.org/202512/01-xor-eax-eax
146•hasheddan•2h ago•51 comments

Self-hosting a Matrix server for 5 years

https://yaky.dev/2025-11-30-self-hosting-matrix/
123•the-anarchist•3h ago•47 comments

Search tool that only returns content created before ChatGPT's public release

https://tegabrain.com/Slop-Evader
609•dmitrygr•10h ago•233 comments

Cartographers Have Been Hiding Covert Illustrations Inside of Switzerland's Maps

https://eyeondesign.aiga.org/for-decades-cartographers-have-been-hiding-covert-illustrations-insi...
20•mhb•1h ago•2 comments

Historic Engineering Wonders: Photos That Reveal How They Pulled It Off

https://rarehistoricalphotos.com/engineering-methods-from-the-past/
21•dxs•6d ago•2 comments

Games using anti-cheats and their compatibility with GNU/Linux or Wine/Proton

https://areweanticheatyet.com/
126•doener•7h ago•136 comments

It’s been a very hard year

https://bell.bz/its-been-a-very-hard-year/
205•surprisetalk•9h ago•230 comments

Detection of triboelectric discharges during dust events on Mars

https://gizmodo.com/weve-detected-lightning-on-mars-for-the-first-time-2000691996
80•domofutu•4d ago•43 comments

Trifold is a tool to quickly and cheaply host static websites using a CDN

https://www.jpt.sh/projects/trifold/
61•birdculture•1w ago•14 comments

A Love Letter to FreeBSD

https://www.tara.sh/posts/2025/2025-11-25_freebsd_letter/
364•rbanffy•16h ago•227 comments

Writing a good Claude.md

https://www.humanlayer.dev/blog/writing-a-good-claude-md
605•objcts•20h ago•225 comments

Advent of Sysadmin 2025

https://sadservers.com/advent
282•lazyant•13h ago•82 comments

SmartTube Compromised

https://www.aftvnews.com/smarttubes-official-apk-was-compromised-with-malware-what-you-should-do-...
110•akersten•9h ago•90 comments

DeepSeekMath-V2: Towards Self-Verifiable Mathematical Reasoning

https://huggingface.co/deepseek-ai/DeepSeek-Math-V2
195•victorbuilds•5h ago•66 comments

WhatsApp will become interoperable with other messaging apps

https://tuta.com/blog/whatsapp-interoperable-in-europe
41•marvinborner•1h ago•23 comments

1GB Raspberry Pi 5, and memory-driven price rises

https://www.raspberrypi.com/news/1gb-raspberry-pi-5-now-available-at-45-and-memory-driven-price-r...
103•shrx•3h ago•70 comments

Dancing rope and braid into being (2017) [pdf]

https://archive.bridgesmathart.org/2017/bridges2017-523.pdf
17•surprisetalk•6d ago•0 comments

X210Ai is a new motherboard to upgrade ThinkPad X201/200

https://www.tpart.net/about-x210ai/
128•walterbell•11h ago•47 comments

N-Body Simulator – Interactive 3 Body Problem and Gravitational Physics

https://trisolarchaos.com/?pr=lagrange&n=3&s=5.0&so=0.01&im=verlet&dt=5.00e-4&rt=1.0e-6&at=1.0e-8...
81•speckx•6d ago•13 comments

Victorian-style lines for the web: Elements of identical width

https://jacobfilipp.com/victorian-line/
16•surprisetalk•6d ago•2 comments

Algorithms for Optimization [pdf]

https://algorithmsbook.com/optimization/files/optimization.pdf
302•Anon84•15h ago•27 comments

Advent of Code 2025

https://adventofcode.com/2025/about
1075•vismit2000•1d ago•348 comments

Google Antigravity just deleted the contents of whole drive

https://old.reddit.com/r/google_antigravity/comments/1p82or6/google_antigravity_just_deleted_the_...
353•tamnd•10h ago•275 comments

Windows drive letters are not limited to A-Z

https://www.ryanliptak.com/blog/windows-drive-letters-are-not-limited-to-a-z/
466•LorenDB•1d ago•237 comments

Engineers repurpose a mosquito proboscis to create a 3D printing nozzle

https://techxplore.com/news/2025-11-repurpose-mosquito-proboscis-3d-nozzle.html
74•T-A•4d ago•30 comments

Migrating Dillo from GitHub

https://dillo-browser.org/news/migration-from-github/
393•todsacerdoti•1d ago•196 comments

GitHub to Codeberg: my experience

https://eldred.fr/blog/forge-migration/
304•todsacerdoti•22h ago•120 comments

Replacing My Window Manager with Google Chrome

https://foxmoss.com/blog/dote/
80•foxmoss•3d ago•17 comments

Accenture dubs 800k staff 'reinventors' amid shift to AI

https://www.theguardian.com/business/2025/dec/01/accenture-rebrands-staff-reinventors-ai-artifici...
46•n1b0m•4h ago•38 comments

Cuddle Fish – A Soft Floating Robot for Safe Physical Interaction

https://kaikunze.de/post/2025-11.18-cuddle-fish/
10•kgarten•1w ago•8 comments
Open in hackernews

MicroPython v1.25.0

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

Comments

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