#farged

j5vj5v
2025-06-22

I have low energy today, so I poked and made a little progress.

The display is currently a list of 'files' with length and type. I wrote a 'Use' button that deletes some and writes some.

Which meant writing a 'find me a space for this file' function (naively from the start), and a 'delete file' function.

All the 'file system' metadata is in the app, not on the disk. That might change later, but for now it's fine.

Currently, the files cannot be fragmented, but that'll come very soon.

A screenshot of the work-in-progress Farged app. At the top is the toolbar, with Start, Use, and options to select the type of drive, its typical use, and its fill state. Below that is a diagram of the file occupancy on the disk. Short coloured bars occupy the start of the diagram, and longer bars towards the end. Gaps are between most files.
j5vj5v
2025-06-18

I'm wondering whether to go all-in on a silly little coding adventure: a defrag simulator.

Some people find these satisfying to watch.

I can see a way for it to start simple, but then grow subtleties. Its current direction is targeting 16-bit and 32-bit look and feel, like Amiga fast defraggers.

It uses colours now, but I want to make it more accessible.

I also want to make it open source, when I won't be embarrassed by the code.

A screenshot of a web app, with a toolbar at the top and an area below that represents the physical arrangement of files on a mechanical disk drive. The toolbar contains a start button, and options to choose a drive size, use case, and percentage filled. The app currently displays a 42 megabyte hard drive.

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst