Re: [9fans] RISC-V SoC available in Europe?

2024-05-16 Thread Shawn Rutledge
> On May 15, 2024, at 11:27 PM,   
> wrote:
> 
> I'd like to start playing with the combination RISC-V and Plan9.

I would too.  I have a VisionFive 2 (I highly recommend the metal case from 
here, if you get one):

https://www.aliexpress.com/item/1005004799577384.html

And a Mango Pi D1:

https://www.aliexpress.com/item/1005005298027581.html

I just didn’t figure out how to get started with building and testing 9 on 
either of those.

Neither of them has really competitive performance on Linux: no advantage over 
a raspberry pi, except to be able to try out this architecture at all.  For a 
short time, the VisionFive might have been the fastest risc-V chip available, 
but not anymore.


--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T06718162d07aded1-Mc787ae6a0b3e0142c1f3181a
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Throwing in the Towel

2024-05-04 Thread Shawn Rutledge
> On May 4, 2024, at 8:13 AM, Steven Stallion  wrote:
> 
> All,
> 
> It has taken almost 15 years, but fossil has finally managed to chew
> through a second set of SSDs

What does that mean?  Does fossil do too many writes, or did they fail for some 
other reason?  Did you have a heavy write load in the first place?  Are you 
sure the SSDs would have lasted longer than 15 years with a different fs?  It 
seems to me that SSDs were less common and lower-quality 15 years ago; there 
was a big difference between brands back then.

Are there other filesystems that work with venti?  It seems to me that there 
should be, eventually.


--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T2ca67486c7a13a77-M56ac4e7c9103c284061b3f98
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] VCS on Plan9

2024-04-18 Thread Shawn Rutledge
> On Apr 18, 2024, at 1:41 PM, Dan Cross  wrote:
> 
> Git and Jujitsu are, frankly, superior.

Aha, I had never heard of Jujutsu until now; you mean 
https://martinvonz.github.io/jj/ right?  Monitoring file changes and treating 
changes to the working copy as an implicit work-in-progress commit sounds like 
a good idea, good for filesystem-integrated revision control.  In my usual 
markdown editor that I use for notes (https://github.com/ec1oud/nettebook) I’m 
planning to add UI for making git commits.  I suppose prompting for a 
customized commit message would still be a good idea, but otherwise getting 
commits automatically without needing to add that as an application feature or 
remembering to do it on the command line might be a good feature.

Interesting that it's Rust.  Just another reason to eventually have Rust on 
Plan 9…

For prose purposes (especially auto-wrapped Markdown) it bothers me that git 
diff mainly does line diffs.  So I’ve been trying to find an efficient 
algorithm for word diffs.  (Yes there is git diff --word-diff, but for an 
application to show this graphically, I’m not a big fan of running a separate 
process for it.  And the output needs parsing anyway.)  It seems a common 
technique is the facepalm one: turn every space into a newline and then do line 
diffs.  But there’s another old Bell project: 
https://github.com/HaikuArchives/Spiff.git  It’s kindof ugly code and with lots 
of comments about how inefficient it is, but at least it starts by tokenizing 
and then working with word lists in memory instead of character substitution.  
So I’m working on a fork to try to turn it into a library (will see if that’s 
worthwhile or just leads to a sufficient understanding of the algorithm that 
I’d rather start over).  But this could also be the sort of thing Jujutsu could 
improve upon, I suppose.


--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tab2715b0e6f3e0a5-M3ce44eda7af52e08323343b1
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription