What programming/technical projects have you been working on?

7 points by unknown user 2 days ago on tildes | 11 comments

jmpavlec | 17 hours ago

Been meaning to post here again after quite a few of you enjoyed my Daily Word Game Noun Sense.

I recently released a brand new update to my main site gametje.com. I had a Show Tildes about a year ago with the old design. The new site has a whole new feel crafted by a professional artist/designer. I did all the programming and porting of my games over (basically building all the designers Figma files). Currently only have 2 available but I have 2 more in Alpha state.

The newest game is a multiplayer version of Noun Sense. It's a word association game dealing with adjectives and nouns. You can find that one here:

https://gametje.com/games/noun_sense/

The old fan favorite drawing game Canvas Clash is also playable now.

https://gametje.com/games/canvas_clash/

Give it a try with your family/friends. You can play from any device with a browser (each player needs their own device). You can play with a host/main screen like a laptop or host completely on your phone.

xk3 | a day ago

I've made a few attempts over the years but this week AI helped me over the hump transitioning from X11 to Wayland and I'm at the point where I finally feel comfortable only using Wayland from now on.

You can see some of the recent changes here: chapmanjacobd/computer

One of the neat ideas that I had this week is this git.edit command. It provides the same interface of git add --patch but for existing commits. It's really handy! It's probably imperfect so only use it if you're comfortable digging yourself out of the reflog but it works for me.

Another thing which might be interesting (though I rarely use it as I usually do git am on a clean worktree) is git.applyhead. It uses git commit-tree and git update-ref to apply a patch under a dirty worktree.


A couple other recent things that I'm happy with are CLI helpers for installing/fixing/running Windows games in WINE: wine.game, wine.game.add, wine.dxvk. It just automates a lot of clicking around and I no longer feel panic at having to open a GUI or remember the correct WINE prefix to find and launch a game.

first-must-burn | a day ago

If you didn't already know, you can add custom commands as git aliases in your global git config, so git edit invokes git.edit.

I have git main-rebase and git main-merge that pull an updated origin/main and then start a debase or merge operation.

We have a repo for each service in our architecture at work, so I have git all-main, git all-status and git all-switch <branch name> to do batch operations on all the repos at once (it aborts if any of the repost are dirty).

My favorite is an alias that tries to push, and if the branch is diverged, prompts you to do a force push. Naturally, it is named git jedi.

xk3 | a day ago

Yeah I could name the command git-edit and as long as it is in the PATH git will actually have it show up as a subcommand so it doesn't necessarily need to be a git alias!

I have a few git aliases that I do use frequently but maybe some should be their own commands and vice versa. Being outside the gitconfig allows git<TAB> completion to provide helpful hints. So maybe dash naming is the best of both worlds. I should be more consistent. Thanks for the catalyst!

how does all-* work? do you keep a file containing git repo paths? or env var?

first-must-burn | a day ago

There's a helper script on my path that reads a config file and identifies the repo group based on context. It works if I'm anywhere in one of the repos or in the parent directory. Once it identifies the repo group, it does the operation across each repo. For example, all-status prints the current branch, it's relation (ahead or behind) to the origin branch, how may commits off origin/main, and if there are conflicts.

For the write operations, it checks all the repos to make sure they are clean (aborts if not), then does the pull and checkout on each one. All-switch is fuzzy, so if I do git all switch foo-branch, it switches to foo-branch if there is one local, pulls foo-branch if there is one on origin, and falls back to the latest main otherwise. This is helpful because not all tasks touch all repos.

The usual workflow is:

  • Working on ticket A on branch-a in several repos
  • Get MR's ready for release
  • git all-main to get the latest
  • set up branches for ticket B on branch-b
  • Work on b until I get review comments on A
  • Push work-in-progress on b, then git all-switch branch-a to address comments
  • Rinse and repeat

It's pretty specialized to my workflow and our crazy repo structure, but it beats the heck out of doing a manual git operation five different times every time I need to touch anything.

ah okay I get it now!

I use zoxide and git worktrees when working on multiple long living branches.

But one special thing that I do is zg.fish which will show the different branches I can checkout with fzf and then if it already is in a worktree it changes directory to there.

zoxide helps because I can just go z projectname branch ... but if it's not checked out or doesn't exist then I do need to do a few more git commands. maybe I can improve my workflow in this regard

first-must-burn | 13 hours ago

One detail I omitted from my previous description is that we have a devcontainer that works with a relative folder structure to launch all the services for local development.

Your comment did inspire me to go read about them. Right now I typically run multiple devcontainers where each has its own independent set of repo checkouts.

  • dc1
    • repo A
    • repo B
    • repo C
    • devcontainer repo
  • dc2
    • repo A
    • repo B
    • repo C
    • devcontainer repo
  • dc3
    • repo A
    • repo B
    • repo C
    • devcontainer repo

I am trying to understand how I might use git worktrees here. I guess I could create all the repos of the worktrees off some master clone of each repo?

I press that you can only have one worktree on a branch. Our app has a sync feature, so I do have a fairly common use case where I want the same checkout on two devcontainers so I can test the sync functionality between them.

My Claude loves to break out worktrees for inspecting other branches, though it primarily does this in a designated scratch folder.

yeah git only allows one copy of the same branch open at the same time but if you're working on two different branches at the same time then worktrees definitely help! I wouldn't try to shoe-horn it in to your existing workflow but Claude could probably check if it makes sense in your situation better than I could

skybrian | a day ago

I've been working on a custom Android TV app for our family TV and I wanted to share family photos on it. Also I wanted to use AI to build it. But I don't want our private photos to be accessible to AI.

So, I started a "family files" web app that does encryption and decryption in the browser. It's not "in production" yet but it's coming along well. I can upload local files or import photos from Google Photos, and browse them. I'm working on porting it to Cloudflare so I can use R2 to store the encrypted blobs.

CrypticCuriosity629 | a day ago

I made an AI powered OSINT and digital forensics investigative stack on my homelab to play around with that. It's pretty eye opening just how much you can glean from people's online presence. And it's SCARY. I've got it set up to even look at any vernacular that could point towards regions and give informal clues. I hooked it all up to a node-based investigative software as well.

I'm also planning out an AI-powered, Kali Linux-based cyberdeck focused on "IT by any means necessary" haha. Much like the above project, I'm interested in experimenting with AI and pushing the boundaries of its practical capabilities.

The idea is to equip the cyberdeck with an extensive knowledge base of IT documentation, troubleshooting procedures, documentation for a wide variety of OS's and devices, red/grey/blue/black hat documentation and access to a wide range of tools. I want to be able to connect it to a computer, phone, or network and have the AI actively diagnose issues, identify misconfigurations, and implement solutions rather than simply tell me how to fix something.

And it's more AI assisted than AI run. It's not exactly autonomous, but it'll assist and I'll make decisions.

Now, when I say "IT by any means necessary," that's where Kali Linux's toolset comes in. I want the AI to approach IT problems with the resourcefulness of a penetration tester. If conventional administrative and troubleshooting methods aren't sufficient, I want the option to draw upon security testing, reverse engineering, digital forensics, network analysis, and recovery tools to explore alternative solutions.

This is of course only on my own network, homelab, and computers, and is just a personal project for personal experimentation.

I like doing projects like this because it lets me gauge how AI can be used in these ways and understand it's capabilities. It gives me hands-on knowledge when people talk about the dangers or benefits of AI. Because if I'm doing it in my spare time, you can bet your ASS that people with far more resources than me can do it.

archevel | 6 hours ago

I have started working on a unikernel setup in zig. I have made some contributions to hermit-os which is a rust based setup for building apps as unikernels. The main downside is that it is mostly based on running on qemu which has a lot of different features. In addition understanding hermit-os is non-trivial. The scope is larger than what I imagine for my setup.

The goal is to create an library that you can use to build an elf that is bootable in firecracker that only supports communication over vsock. Why vsock? Well, it makes it fairly trivial to do egress checks on the host. So basically from the application it just communicates over a regular socket. The host mediates that communication (for instance to filter on an allow list), but doesn't need to terminate tls (that can still be done in the app). This has the benefit of keeping the unikernel very light and I get to implement only the stuff I need thus keeping the code base small, tight, testable and easily reviewable.

I'm writing it by hand, mainly to get a solid understanding, but I do use claude a lot to explain stuff. There is a lot to learn about just the basic stuff that is needed during the startup. Flipping registries for various aspects, setting up interrupt handlers, paging... Some assembly code mixed in which is fun since it feels very low level. It is blazingly fast so far, which I partially credit to the tiny footprint. Once I have the vsock stuff working I plan to build a version that can run wasm code. That will be cool, cause then you could essentially build a webapp in any language that supports wasm as a target.