Better HN
topnewbestaskshowjobs
Log inSign up

mrcslws

339 karma · joined Jun 20, 2011 (15y ago) · 43 submissions

probablymarcus.com
Submissions

comment 1d ago · link · parent

The desktop OS is nice, until employers get their hands on it. If a new modern desktop OS had grown out of mobile operating systems, I think that problem would go away. This blog post points in the direction of how people like us could still get everything we need from such an OS, by moving the computery stuff into containers or off-device.

2.

SSH Tunneling From Mobile Has Unrealized Potential(probablymarcus.com ↗)

1 points · by mrcslws · 1d ago · 2 comments

comment 4d ago · link · parent

The goal is usually to access private servers/endpoints on a particular computer. Involving a VPN for that is kinda clunky, it's a heavy-handed solution to make people install a VPN on their phone, especially since they can only use one at a time.

Plus, using a VPN means hosting endpoints on ports. Ports can be accessed by anyone on the machine, so you then have to build some kind of authentication on top of that, e.g. the annoying Jupyter authentication token that you have to copy-paste. Tunneling over SSH gets rid of that, because the SSH layer already provides the user authentication, so you can host endpoints on Unix domain sockets or Windows named pipes stored at locations that only that user can access.

Note that SSH tunneling works alongside your VPN; I use a VPN to access my home network when I'm away, and I use SSH tunneling on top of that to access these private apps running on my computer. When I'm already at home the VPN is unnecessary; so in this mental model, the VPN solves a different problem than I'm solving.

4.

SSH Tunneling Has Unrealized Potential(probablymarcus.com ↗)

5 points · by mrcslws · 4d ago · 2 comments

comment 3mo ago · link · parent

Update: https://x.com/mrcslws/status/2089850106292162982

Pasted below:

Finally convinced myself that non-distorting watermarking is real, a la Anthropic / Google SynthID. It's not just spin / marketing. This really is a "Monty Hall" like problem. (h/t @random_walker for that analogy.)

Sharing here in case it helps anyone else.

On one hand, watermarking is "obviously" damaging to the output. The LLM does all this work to compute token probabilities... then you essentially perturb the probabilities? Of course that's bad! Every single token is using perturbed probabilities!

On the other hand, you obviously can freely inject a layer of randomness into sampling. Take any categorical distribution. For each sample, perturb the probabilities, then draw the sample. Done correctly, over many samples the results will match the original distribution.

It still kinda feels like magic, but it's not surprising that you can take that core trick and shape it into a non-distortionary watermarking scheme.

(i.e. it gives you sequences that were just as likely to be generated by the original model as any other sequence)

comment 3mo ago · link · parent

I think you're correct. It does alter the distribution for each output token, implicitly giving each candidate token a different probability. Maybe that's fine, but it's not as magical as Anthropic [and a lot of commenters here] are making it out to be.

comment 4mo ago · link · parent

Ha, I’ve thought the same thing.

comment 4mo ago · link · parent

It's too slow. I mention this in the video at 1:20 - 1:50.

comment 4mo ago · link · parent

If you can SSH to a machine, you can use Outer Loop and Outer Shell, without having to do any sudo commands or expose anything new to the network. The browser + SSH client combined into a single app leads to nice user experiences like this. The final section of the post was saying that it's strange such a thing doesn't exist already.

FYI I made the same ActiveX connection here in the closing of the FAQ in the previous blog post about this native platform: https://probablymarcus.com/blocks/2026/05/10/like-a-web-view... I'm particularly proud of that paragraph.

comment 4mo ago · link · parent

Thanks for pointing this out. I'm not hating on Cockpit, but Outer Loop (with Outer Shell) has solved a lot more of the stack. Cockpit accepts the constraints of living in existing browsers, so it requires exposing a port to the internet or using some SSH port forwarding tool. Whereas I built a dedicated browser to push capabilities so that users can get a "Just point me to a server" flow.

This thread has been useful -- I think Cockpit will also work great in Outer Loop. And it will be easy to add it as an app in Outer Shell.

comment 4mo ago · link · parent

Thanks :)

I wrote a previous blog post that discussed WASM in the FAQ: https://probablymarcus.com/blocks/2026/05/10/like-a-web-view...

comment 4mo ago · link · parent

I think it's okay as long as:

  - sockets are blocked by default, until they are added to an allow-list explicitly on the server side
  - True sudo awareness ensures root sockets aren't reachable without the sudo password. (This capability is important, because otherwise you create an incentive for people to run root backends with user-accessible sockets.)
More here: https://outerloop.sh/security/

comment 4mo ago · link · parent

Also a blog post about it, with its own video: https://probablymarcus.com/blocks/2026/05/10/like-a-web-view...

It's a fun heretical idea, moving away from a "cross-platform" web to a "multi-platform" web. It's a cross-platform protocol that hands off to platform-specific frontend code. I think it's a natural direction for the web, in a world where LLMs can translate to other platforms.

comment 4mo ago · link · parent

I think there are different clusters of people who use servers, SSH, etc.

I'm closer to the cluster that uses them for deep learning experiments, GPU kernel optimization, robot development (a robot is just a server that moves!)... use cases where you are explicitly using a remote computer.

For this cluster of people, I think this tool feels more intuitive than the flow you suggest. But maybe I'm projecting!

And, to me, this just feels like one of the fundamental things that could exist; it's like a graphical operating system, but remote-first.

comment 4mo ago · link · parent

In all cases, the code is pre-compiled. A user never waits for anything to compile. When Outer Loop installs Outer Shell, it downloads pre-compiled binaries to the server. For Linux these are compiled against a manylinux ABI. Ditto for when Outer Shell installs one of the bundled apps. When a backend serves a native "web" app over HTTP it sends already-compiled ARM (or x86) code to the client.

Dependencies are less of a concern for the frontend binaries. For backends, I use a dependency-light approach, static-linking anything that's needed. Of course, people are welcome to do backends however they want, and just tell Outer Shell about the systemd/launchd units via the API. I used this no-dependency approach to keep everything lightweight and to keep install steps trivial, but admittedly it pushes me in certain directions (for example, using custom binary formats rather than sqlite).

comment 4mo ago · link · parent

Quick response regarding security:

On various Mozilla forums that I saw, the discussion was basically: 1. We can't just allow the browser to connect to any socket, since many either explicitly don't want browsers connecting to them, or are oblivious to browsers. 2. ...so we need to also add some sort of allow list 3. ...this is getting too complicated for such a niche feature.

So I think the nicheness was the high-order bit here.

(FYI, Outer Loop does add an allow-list: https://outerloop.sh/unix-domain-sockets/)

comment 4mo ago · link · parent

Sure, I just added YouTube mirror link to the post: https://youtu.be/e40PLLuZ5KI

(The one on the website is the standard browser video player, not custom.)

comment 4mo ago · link · parent

I wondered if this would be controversial. It all depends where you grew up.

> Cairo, like Chicago, had a new shell (Microsoft’s favorite word for the user interface for launching programs and managing files) and a new file system

https://hardcoresoftware.learningbyshipping.com/p/020-innova...

When I worked at Microsoft 2010 - 2014, the word "shell" was still used in this way. I decided to say "graphical shell", to make it clearer.

19.

A native graphical shell for SSH(probablymarcus.com ↗)

370 points · by mrcslws · 4mo ago · 228 comments

comment 5mo ago · link · parent

I can confirm, this is how Adam talks.

21.

It's like a web view, but native(probablymarcus.com ↗)

5 points · by mrcslws · 6mo ago · discuss

22.

Tip: Use services, not the terminal, to run local backends(probablymarcus.com ↗)

2 points · by mrcslws · 7mo ago · 1 comment

23.

Show HN: A browser for Mac that connects to private web apps over SSH(outerloop.sh ↗)

2 points · by mrcslws · 1y ago · discuss

24.

Web apps over SSH can be surprisingly good(probablymarcus.com ↗)

2 points · by mrcslws · 1y ago · discuss

comment 1y ago · link · parent

Ha, after writing this post I found a Wikipedia article on this effect: https://en.wikipedia.org/wiki/Display_motion_blur

26.

Smooth Pursuit, and How Screens Don't Mimic Reality(probablymarcus.com ↗)

2 points · by mrcslws · 1y ago · 1 comment

comment 1y ago · link · parent

From the blog post: "more than 99% of them had no activity in the last month" https://developers.googleblog.com/en/google-url-shortener-li...

This is a classic product data decision-making fallacy. The right question is "how much total value do all of the links provide", not "what percent are used".

28.

The web could use machine code(probablymarcus.com ↗)

1 points · by mrcslws · 1y ago · discuss

29.

Expressions Are Pragmatic Model Visualizations(probablymarcus.com ↗)

1 points · by mrcslws · 2y ago · discuss

comment 3y ago · link · parent

There may be tricks that I don't know about. One quick experimental answer I can give: if I change to looping over the sums and rerun Benchmark 3, my time in the aten::sum CUDA kernel increases from 0.779s (before) to 0.840ms (after). So CUDA doesn't seem to automagically handle this.

I will note that these grouped operations occasionally cause a net loss in performance compared to "naive" looping, since it involves calling PyTorch's "x.view(...)" which is usually ~instant but sometimes adds some extra CUDA operations on the backward pass. It always reduces the time spent in aten::add, but adds these extra ops. A really smart vectorizer would use heuristics to decide how/whether to group operations according to the target hardware; my current vectorizer just does the grouping every time.

12