sfba.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for the San Francisco Bay Area. Come on in and join us!

Server stats:

2.3K
active users

#programming

833 posts591 participants15 posts today
Keyword based filesystem except it's just a regular hierarchical filesystem where every mkdir creates a dir of that name in root, and links all files in the two directories.

/foo/bar/baz.txt
/herp/derp/bar/bar.txt
/one/two/foo/baz.txt

/foo/bar/baz.txt
/foo/baz.txt
/bar/baz.txt
/herp/derp/bar/bar.txt
/herp/bar.txt
/derp/bar.txt
/bar/bar.txt
/one/two/foo/baz.txt
/one/baz.txt
/two/baz.txt
/foo/baz.2.txt
In that sense, hierarchical filesystems are mostly subsets of keyword based filesystems, with the exception being name collisions (baz.txt and baz.2.txt would have the same name somehow in a keyword based filesystem).

#programming

"It’s not that hard to build a fully functioning, code-editing agent.

It seems like it would be. When you look at an agent editing files, running commands, wriggling itself out of errors, retrying different strategies - it seems like there has to be a secret behind it.

There isn’t. It’s an LLM, a loop, and enough tokens. It’s what we’ve been saying on the podcast from the start. The rest, the stuff that makes Amp so addictive and impressive? Elbow grease.

But building a small and yet highly impressive agent doesn’t even require that. You can do it in less than 400 lines of code, most of which is boilerplate.

I’m going to show you how, right now. We’re going to write some code together and go from zero lines of code to “oh wow, this is… a game changer.”

I urge you to follow along. No, really. You might think you can just read this and that you don’t have to type out the code, but it’s less than 400 lines of code. I need you to feel how little code it is and I want you to see this with your own eyes in your own terminal in your own folders.

Here’s what we need:

- Go
- Anthropic API key that you set as an environment variable, ANTHROPIC_API_KEY"

ampcode.com/how-to-build-an-ag

ampcode.comHow To Build An Agent | AmpBuilding a fully functional, code-editing agent in less than 400 lines.

I wanted to make this a reveal in a blog post but I have NOT the spoons for that today :kek:

So instead y'all are gonna get a low energy toot from me.

I worked more on the design today, and getting #11tyCMS to recognise the directory structure of a #11ty website and populate the collections list accordingly.

Just need to add saving, adding and deleting functionality and we'll be good to go for MVP status 👀

Watch this space for more updatessss!

Okay, it's out.

Lena is a handmade framework for making tiny games with palette graphics.

It's software-rendered, cross-platform and comes with constraints that challenge your creativity without limiting your game's size and scope. It comes with batteries-included palette graphics, some novel palette-blending and drawing effects, a simple audio interface, text rendering, and loaders and decoders for assets. It also compiles and runs on:

🪟 Windows (Native)
🍏 macOS (Native)
🐧 Linux (via SDL3)
😖 WebAssembly (Native)

The core functionality of Lena is implemented from scratch in almost exactly 2,000 lines of Odin, and while I designed it as a fun little game jam framework for myself, I hope it can also serve as an interesting learning tool for people looking to delve deeper into low-level system and engine programming for video games.

🕹️ github.com/lichendust/lena

I'm releasing this as a version v0.0.0 on GitHub right now, with the hope of getting some feedback before declaring a truly API-stable 1.0.0 release.

Alright. After some debugging and updates, I put a new version of Ekko up.

codeberg.org/random-wizard/ekk

Mainly I cobbled it together to get a better idea of how IRC works.

My take. You setup a continuous loop that listens for connections. You store those. You find the ones that are sending you something. You take that as a string, split up the string, do a comparison of the string and fire off irc commands based on the string (that then send stuff back to the connections).

It actually reminds me of working on a Multi User Dungeon (MUD) way back in the 90s. I guess in a sense, it mirrors most programs. You take user input. You run some code based on the input. You send something back to the user.

Summary card of repository random-wizard/ekko
Codeberg.orgekkoekko