A couple of years after starting a little project to learn #RustLang, that little app is in the Debian repos and I can install it from the latest Ubuntu 24.04.
I am so chuffed. A very happyborg to have finally given something back to the #FOSS community in the form of an app.
The app, #vdash is very niche, so not of interest to many but has an enthusiastic band of #Autonomi fans using it every day and sharing their observations by posting screenshots online. 🥳
I've a bit more to do on #vdash which has given me more time to wonder about what next.
As #SafeNetwork is getting pretty exciting r.n. I'm veering towards something to help Devs with #p2p apps, and feeling a buzz around compiling the client API for #WASM, and showing how to build native cross platform mobile and desktop apps using your web framework of choice (eg #SveltKit), #Rust/WASM and #Tauri.
Then an LDP containers API so existing #Solid apps become Safe Apps in this setup. #LinkedData
This was a challenge and first time using #serde, so expected to take weeks (elapsed).
Thanks to the #Rust ecosystem, its awesome macros and serde's comprehensive type support it took a few days. 😱
More testing and tidying to do, but the really complex tricky stuff works.
To do this in the past would have been a large, complex, error prone task. I know because I've done it, save/load of a tree of complex structs including vectors, hashmaps and other library types.
Right now I'm all in on #vdash but that will mature before long so today I wondered what next.
I wondered, how can we stop small businesses and self hosters shutting down services like #Mastodon, unable to meet unrealistic moderation requirements of UK law.
I think we can do this with #SafeNetwork or another #p2p platform.
My ideas are very raw and won't fit in a few toots, so not for now.
I've done all the non #serde infrastructure needed to add save and restore checkpoints to #vdash which leaves... the core serialisation and de-serialisation of my safenode metrics structures, some of which are quite complex.
I'm hoping, and fairly confident that almost all of it will be able to use serde's built in type support. 🤞
Programming in #Rust is pretty awesome like that, but we'll see.
I'm about to venture into the wilds of #Rust#serialization for the next enhancement to #vdash and stumbled on an excellent article from @mo8it about improving serialization performance.
It happens to be a great introduction to using #serde as well as how to speed the whole process up considerably.
I've released a major update to #vdash (v0.11.0) adding new dash screens and statistics.
vdash is a terminal based GUI for monitoring Safe Network nodes. It now opens with a new Summary screen of statistics for all monitored nodes and a one line summary for each node, plus a new help screen.
Install or update from crates.io with 'cargo install vdash'.
Looking to clean up a buggy feature of #vdash today I found that the excellent terminal GUI library tui-rs is deprecated and has been superceded by a fork called #ratatui.
Two hours later I'd switched my code to ratatui and the bugginess was gone.
I updated #vdash a few times recently, including today so it can display storage costs and earnings for the current #SafeNetwork testnet.
Here are two screenshots for my test node after six hours. The first with one minute columns, and the second with 1hour columns which shows the storage price trend more clearly:
vdash v0.8.8 is published to creates.io adding a Storage Cost timeline with min, mean and max display.
vdash is a terminal GUI for monitoring one or more Safe Network nodes. It was my 'learn a bit of Rust' project but turned out to be useful. It has fans!
Just spent an hour working out designs for a neat enhancement for #vdash and have two options which I summarise as '''messy" (quicker hack) and "elegant" (more maintainable refactor using #Rust traits). 🤔
Now struggling between "I don't have time for elegant" and "I hate myself". 😱
Well if it all goes pear 🍐 I blame ⬆️ you lot, all three of you because I have just published an update to #vdash for use with ThePriceIsRightNet (the current #SafeNetwork#testnet).
Today I found time for a little old school memory leak sleuthing in #vdash
#heaptrack is amazingly easy to use so I'm hopeful it is accurate. I'm using heaptrack_ui to examine the output, but in a very basic way because I find it a bit obtuse and have yet to RTFM.
I started using tmux just to get "tabs" in my terminal but the ability to detach and remotely connect to sessions has enabled one of my biggest ever shifts in how I use computers
@xor been using 'screen' like this since the 80's.
The problem with un*x has always been knowing which tools exist for which job.
Back then I'd discover things when I paused at the terminal and watched others in the terminal room and go, hey how did you do that, or what did you just do?
Today I use screen to help manage a cloud instance run Safe Network test nodes alongside tail on their logfiles and my own #vdash, connecting either from my mobile using JuiceSSH or from my laptop. It rocks.