News for hackers. Stuff that matters.

jmagland

Re:Spin up a GitHub clone locally with one command on Saturday October 24, 2026 @12:22PM (#50222751)
Spin up your own local GitHub clone locally using one command:

npx @magland/mochi serve path/to/vault

You can also deploy to the cloud (fly.io) with one command:

npx @magland/mochi deploy fly vault5 (after logging in to fly CLI)

It doesn't scale to a ton of users, but it's great for hosting a bunch of personal projects without needing to litter GitHub. And you have complete control of your data. It's just in a directory with bare git repos (no database).

Check out my personal mochi vault:

https://vault1.magland.org/

It supports pull requests, issues, etc.

And importantly... gh-style workflows! Including deploying to sites (like gh pages).

Here's the source: https://github.com/magland/mochiforge

How's it different from other recent efforts? I'm not trying to make a scalable solution for thousands of users, as explained here:

https://jeremy.magland.org/posts/2026-09-30-embracing-the-no...

I hope it's useful. Enjoy!

There should be more simple, no login, apps like this

Show HN: Matlab syntax in Jupyter, client-side

https://concept-collection.github.io/jupyterlite-numbl-kernel/

jupyterlite-numbl-kernel is a JupyterLite kernel for numbl (https://numbl.org). It demonstrates running MATLAB syntax in Jupyter, client-side in the browser (no MATLAB or Octave needed). The live demo is a static site hosted on GitHub Pages... nothing to install:https://concept-collection.github.io/jupyterlite-numbl-kerne...Numbl is a lightweight (TypeScript + wasm + optional native bridge to...

( Read More... | no comments | 2 points | on HN )

Show HN: Figpack science viz – Python script → Shareable HTML Bundle in cloud

https://figpack.org

Sharing interactive scientific visualizations is hard. I don’t want my colleagues to have to install specialized software. I just want to email them a link which they can click on and see the full interactive visualization and explore my (potentially large) dataset and results. I want figures to be long-term archivable (Zenodo, etc). And local first (no upload required to view).I created...

( Read More... | no comments | on HN )

Show HN: Too many browser tabs! I solved it with a simple electron app

https://github.com/magland/tabs/blob/main/README.md

There are a few sites I visit very frequently and I find myself always opening a new tab. I'm used to an IDE where if you click on a file on the left it takes you to a new editor, and if the editor already exists it just takes you to that. So I thought I'd make something similar for a web browser. I admit I used AI. One hour well spent because now I don't have the too-many-tabs problem...

( Read More... | 2 comments | 2 points | on HN )
Re:Show HN: Git Push No-Mistakes on Tuesday April 21, 2026 @11:03AM (#47849842)
I like the idea of having a proxy git server between you and the remote, I've never seen that before. Are there other use cases you imagine for such a setup besides intercepting and reviewing pushes?
I've found that Asymmetric Numeral Systems (you mentioned it briefly) is the optimal practical method for pure entropy encoding. I just posted this https://news.ycombinator.com/item?id=47806122
Oh, you may also be interested in this fun

ANS Visualizer

https://visposts.github.io/ans-visualizer/

Show HN: simple_ans – Asymmetric Numeral Systems Compression in Python/C++

https://github.com/flatironinstitute/simple_ans

The Asymmetric Numeral Systems (ANS) algorithm (Duda et al, 2015) is perhaps the most practical way of getting near optimal compression ratios for independent and identically distributed random sequences of symbols from a known discrete probability distribution. Simplest example: a random sequence of 0’s and 1’s with probability p of getting a 1. Shannon’s entropy formula gives us the expected...

( Read More... | 1 comment | 2 points | on HN )
Yes the FBG-101 works after a few seconds. However in the original link it still doesn't work... I tried chrome and firefox. But here's a clue, when I pluck the guitar string several times, I sometimes here a little short scratch/static sound.
Re:Show HN: Online Sound Decibel Meter on Thursday April 16, 2026 @04:40PM (#47799212)
Seems to work. What do you imagine is the main use case?
Re:Show HN: Modulo – A daily spatial reasoning puzzle on Thursday April 16, 2026 @03:55PM (#47798639)
Oh tricky. Thanks!
The air particle visualization is really cool! However, I don't hear anything. I'm on chrome browser in linux. It wasn't clear how to get that to work. Thx
Fun idea. Before I try it, how far should I expect to go before reaching my destination?
Re:Show HN: Modulo – A daily spatial reasoning puzzle on Thursday April 16, 2026 @02:12PM (#47797313)
Nice! Is this meant to promote brain health, or to just be relaxing?

Q. Is it possible to resize the shapes? That wasn't clear to me from the interface, and I had a hard time completing one of the first puzzles without being able to resize.