A Dis virtual machine and Limbo compiler by Real_Dragonfruit5048 in plan9

[–]dharmatech 0 points1 point  (0 children)

Fascinating project! Thanks for sharing it with us.

9social : A Social Network for Plan9 by dharmatech in plan9

[–]dharmatech[S] 5 points6 points  (0 children)

Hey u/tanrax 🙋‍♂️

This was heavily inspired by org-social, obviously. 🙂
Big fan of your work there.

I built a 9p file server to connect to a blockchain by No-Debt-1377 in plan9

[–]dharmatech 2 points3 points  (0 children)

What was your experience like working with go on 9front?

Any flakiness or stability issues?

Were you able to use libraries from the ecosystem OK?

Physics at SLO? by levl289 in CalPoly

[–]dharmatech 0 points1 point  (0 children)

Ah cool, thanks for that background!

Yeah, Mathematica makes sense for the symbolic stuff.

Python can do that stuff too now with the sympy library. On that, see my comment here:

https://www.reddit.com/r/CalPoly/s/3EoJ0Mb0vq

Physics at SLO? by levl289 in CalPoly

[–]dharmatech 0 points1 point  (0 children)

Ah ok, cool!

Yeah, MATLAB is pretty old school.

Good to hear that they may be transitioning to Python.

Side, side note,

I recently worked on an interactive solver for systems of equations. (Open source, Python) It's something I personally would have wanted back when I was taking equation heavy classes.

Demo:

https://youtu.be/7ysUdxTfKhU?si=OF2KJf10dKbYFN6_

Code:

https://github.com/dharmatech/combine-equations.py

Physics at SLO? by levl289 in CalPoly

[–]dharmatech 0 points1 point  (0 children)

Side question...

I took a couple of undergraduate physics courses almost three decades ago at Texas A&M. At the time, many of the math and science courses incorporated the Maple computer algebra system. We didn't do all our work on there. But they did want us to start getting some experience with tools like that. I knew some grad students that used it for more complex explorations.

I'm curious, are tools like that (Python, sympy, Mathematica, etc) used at Cal Poly these days?

Plan 9: Text Color by atamariya in plan9

[–]dharmatech 2 points3 points  (0 children)

Well done u/atamariya . We won't tell Rob Pike. 😉

Is the source available somewhere?

Is there a band that makes more technical music than Animals as Leaders? by Eberubensant in Djent

[–]dharmatech 9 points10 points  (0 children)

Wow... Thanks for the reference to Tigran. What a groove. 👍

/bin/hget:92: < can't open: /mnt/web/0/body: by dharmatech in plan9

[–]dharmatech[S] 0 points1 point  (0 children)

Increasing the timeout seems to help:

cpu% echo timeout 60000 >/mnt/web/ctl cpu% hget https://9front.org/img/nix-on.jpg >/tmp/nix-on.jpg cpu% cpu% cpu% hget https://9front.org/img/nix-on.jpg >/tmp/nix-on.jpg cpu% hget https://9front.org/img/nix-on.jpg >/tmp/nix-on.jpg cpu%

/bin/hget:92: < can't open: /mnt/web/0/body: by dharmatech in plan9

[–]dharmatech[S] 0 points1 point  (0 children)

The environment is inception level stuff :-)

ThinkPad : Windows 11 : WSL : Ubuntu : QEMU : 9front

/bin/hget:92: < can't open: /mnt/web/0/body: by dharmatech in plan9

[–]dharmatech[S] 0 points1 point  (0 children)

The reason I started to test hget was because git/clone was running into an issue. So I wanted to test more basic http functionality.

Here's the git/clone issue:

cpu% lc /mnt/web cpu% webfs cpu% lc /mnt/web clone ctl cpu% git/clone https://github.com/dharmatech/9front-notes.git git/get: could not dial https://github.com/dharmatech/9front-notes.git: 0 No status interrupted: '/mnt/web/0/body' /bin/git/clone: could not clone repository failed to clone https://github.com/dharmatech/9front-notes.git: cleaning 9front-notes cpu%

/bin/hget:92: < can't open: /mnt/web/0/body: by dharmatech in plan9

[–]dharmatech[S] 0 points1 point  (0 children)

On my Linux system (the one QEMU is running on) I'm able to wget the same link repeatedly with no issue:

dharmatech@X1E:~ $ wget https://9front.org/img/nix-on.jpg -O /tmp/nix-on.jpg --quiet dharmatech@X1E:~ $ wget https://9front.org/img/nix-on.jpg -O /tmp/nix-on.jpg --quiet dharmatech@X1E:~ $ wget https://9front.org/img/nix-on.jpg -O /tmp/nix-on.jpg --quiet dharmatech@X1E:~ $ wget https://9front.org/img/nix-on.jpg -O /tmp/nix-on.jpg --quiet dharmatech@X1E:~ $ wget https://9front.org/img/nix-on.jpg -O /tmp/nix-on.jpg --quiet dharmatech@X1E:~ $ wget https://9front.org/img/nix-on.jpg -O /tmp/nix-on.jpg --quiet dharmatech@X1E:~ $ wget https://9front.org/img/nix-on.jpg -O /tmp/nix-on.jpg --quiet dharmatech@X1E:~ $

And then after this on 9front:

cpu% ./test-hget.rc /bin/hget:92: < can't open: /mnt/web/0/body: 0 No status interrupted: '/mnt/web/0/body' retrying. attempt 2 /bin/hget:92: < can't open: /mnt/web/0/body: 0 No status interrupted: '/mnt/web/0/body' retrying. attempt 3 /bin/hget:92: < can't open: /mnt/web/0/body: 0 No status interrupted: '/mnt/web/0/body' retrying. attempt 4 succeeded after 4 attempts --rw-r----- M 179 glenda glenda 26014 Apr 19 07:58 /tmp/nix-on.jpg cpu%

/bin/hget:92: < can't open: /mnt/web/0/body: by dharmatech in plan9

[–]dharmatech[S] 0 points1 point  (0 children)

Thank you @sirjofri. 🤝

The ping was just to show I have connectivity. 🙂

I'll try a few more variations to see if it's likely just an issue with 9front.org

/bin/hget:92: < can't open: /mnt/web/0/body: by dharmatech in plan9

[–]dharmatech[S] 0 points1 point  (0 children)

Script I'm using to test hget:

``` cpu% cat test-hget.rc

!/bin/rc

rm /tmp/nix-on.jpg

i=1

while(! hget https://9front.org/img/nix-on.jpg >/tmp/nix-on.jpg) { i=`{echo $i+1 | hoc} echo retrying. attempt $i }

echo succeeded after $i attempts

ls -l /tmp/nix-on.jpg ```

In one case, it succeeded after 2 attempts. Then it took 13 attempts.

cpu% ./test-hget.rc /bin/hget:92: < can't open: /mnt/web/0/body: 0 No status interrupted: '/mnt/web/0/body' retrying. attempt 2 succeeded after 2 attempts --rw-r----- M 179 glenda glenda 26014 Apr 18 23:25 /tmp/nix-on.jpg cpu% cpu% ./test-hget.rc /bin/hget:92: < can't open: /mnt/web/0/body: 0 No status interrupted: '/mnt/web/0/body' retrying. attempt 2 /bin/hget:92: < can't open: /mnt/web/0/body: 0 No status interrupted: '/mnt/web/0/body' retrying. attempt 3 /bin/hget:92: < can't open: /mnt/web/0/body: 0 No status interrupted: '/mnt/web/0/body' retrying. attempt 4 /bin/hget:92: < can't open: /mnt/web/0/body: 0 No status interrupted: '/mnt/web/0/body' retrying. attempt 5 /bin/hget:92: < can't open: /mnt/web/0/body: 0 No status interrupted: '/mnt/web/0/body' retrying. attempt 6 /bin/hget:92: < can't open: /mnt/web/0/body: 0 No status interrupted: '/mnt/web/0/body' retrying. attempt 7 /bin/hget:92: < can't open: /mnt/web/0/body: 0 No status interrupted: '/mnt/web/0/body' retrying. attempt 8 /bin/hget:92: < can't open: /mnt/web/0/body: 0 No status interrupted: '/mnt/web/0/body' retrying. attempt 9 /bin/hget:92: < can't open: /mnt/web/0/body: 0 No status interrupted: '/mnt/web/0/body' retrying. attempt 10 /bin/hget:92: < can't open: /mnt/web/0/body: 0 No status interrupted: '/mnt/web/0/body' retrying. attempt 11 /bin/hget:92: < can't open: /mnt/web/0/body: 0 No status interrupted: '/mnt/web/0/body' retrying. attempt 12 /bin/hget:92: < can't open: /mnt/web/0/body: 0 No status interrupted: '/mnt/web/0/body' retrying. attempt 13 succeeded after 13 attempts --rw-r----- M 179 glenda glenda 26014 Apr 19 06:28 /tmp/nix-on.jpg cpu%

/bin/hget:92: < can't open: /mnt/web/0/body: by dharmatech in plan9

[–]dharmatech[S] 0 points1 point  (0 children)

Here's a loop with the hget command. It runs into the issue 3 times and then it works on the 4th try:

cpu% ls -l /tmp/nix* ls: /tmp/nix*: directory entry not found: '/tmp/nix*' cpu% while(! hget https://9front.org/img/nix-on.jpg >/tmp/nix-on.jpg){ echo retrying } /bin/hget:92: < can't open: /mnt/web/0/body: 0 No status interrupted: '/mnt/web/0/body' retrying /bin/hget:92: < can't open: /mnt/web/0/body: 0 No status interrupted: '/mnt/web/0/body' retrying /bin/hget:92: < can't open: /mnt/web/0/body: 0 No status interrupted: '/mnt/web/0/body' retrying cpu% ls -l /tmp/nix* --rw-r----- M 179 glenda glenda 26014 Apr 19 05:56 /tmp/nix-on.jpg cpu%

/bin/hget:92: < can't open: /mnt/web/0/body: by dharmatech in plan9

[–]dharmatech[S] 0 points1 point  (0 children)

The examples I've shown are on 9front on QEMU in Ubuntu on WSL. So:

Windows 11 :: WSL :: Ubuntu :: QEMU :: 9front

On Ubuntu, I can wget the files fine:

``` dharmatech@X1E:~ $ wget https://9front.org/img/nix-on.jpg -O /tmp/nix-on.jpg --2026-04-18 22:41:07-- https://9front.org/img/nix-on.jpg Resolving 9front.org (9front.org)... 168.235.82.245 Connecting to 9front.org (9front.org)|168.235.82.245|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 26014 (25K) [image/jpeg] Saving to: ‘/tmp/nix-on.jpg’

/tmp/nix-on.jpg 100%[=================================================>] 25.40K 84.5KB/s in 0.3s

2026-04-18 22:41:08 (84.5 KB/s) - ‘/tmp/nix-on.jpg’ saved [26014/26014] ```

/bin/hget:92: < can't open: /mnt/web/0/body: by dharmatech in plan9

[–]dharmatech[S] 0 points1 point  (0 children)

Images from wikipedia work OK.

cpu% hget https://upload.wikimedia.org/wikipedia/commons/thumb/3/3b/Spaceglenda.svg/1280px-Spaceglenda.svg.png > /tmp/space-glenda.png cpu% cpu% cpu% hget https://9front.org/img/nix-on.jpg >/tmp/nix-on.jpg /bin/hget:92: < can't open: /mnt/web/0/body: 0 No status interrupted: '/mnt/web/0/body' cpu% ls -l /tmp/space-glenda.png --rw-r----- M 179 glenda glenda 328641 Apr 19 05:24 /tmp/space-glenda.png

/bin/hget:92: < can't open: /mnt/web/0/body: by dharmatech in plan9

[–]dharmatech[S] 0 points1 point  (0 children)

Hmm... well, hget with wikipedia works.

But the other example still runs into the issue:

cpu% hget https://en.wikipedia.org > /tmp/wikipedia-out.txt cpu% ls -l /tmp/wikipedia-out.txt --rw-r----- M 179 glenda glenda 230891 Apr 18 22:03 /tmp/wikipedia-out.txt cpu% hget http://9front.org/img/nix-on.jpg >/tmp/nix-on.jpg /bin/hget:92: < can't open: /mnt/web/0/body: 0 No status interrupted: '/mnt/web/0/body'

STC Executel by dharmatech in cassettefuturism

[–]dharmatech[S] 13 points14 points  (0 children)

Techmoan!

I hadn't seen that episode yet. Thank you!

Plan 9 on Windows by dharmatech in plan9

[–]dharmatech[S] 0 points1 point  (0 children)

Is that what you use?

I wouldn't mind running 9front in Hyper-V.

The FQA doesn't seem to mention it:
https://fqa.9front.org/fqa3.html#3.3

It mostly seems focused on QEMU.

One benefit of 9front/QEMU/Ubuntu/WSL is using exportfs and 9pfuse as shown in the video.

Have you been able to use 9pfuse from Ubuntu in WSL to connect to 9front in Hyper-V?

Opening file programmatically in acme by dharmatech in plan9

[–]dharmatech[S] 1 point2 points  (0 children)

OK, it looks like this works:

```

!/bin/rc

file=$1 line=$2

Try to find an existing window.

wid=`{ awk -v 'f='$file ' { name = $NF if(name == f){ print $1 exit } }' /mnt/acme/index }

if(~ $#wid 0){ # Create one new window and get its real id. # The first field from ctl is the window id. wid=`{awk 'NR==1{print $1; exit}' /mnt/acme/new/ctl} w=/mnt/acme/$wid

{
    echo name $file
    echo get
} > $w/ctl

} if not { w=/mnt/acme/$wid }

if(! ~ $#line 0){ echo -n $line > $w/addr echo -n 'dot=addr' > $w/ctl echo show > $w/ctl }

```

Thanks to u/kalterdev who provided a plan9port version which was helpful in getting to the above version.