13
votes
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
I keep thinking about re-building my blog. My last blog post was about building a bespoke blog website using Bun, TypeScript and Hono. I am starting to think of how I want some features like: pages, search, tags, images, etc. That want is making me think about going back to 11ty or learning Hugo. With all this indecision I have also not been able to write anything for my blog and that is the goal of a blog, I think.
Nothing better than procrastinating about blogging by building / setting up a fancy blog platform :D
Honestly all the futzing around with blog frameworks/systems and all that is why I eventually just signed up for a blogging service. I found that to get myself to write anything I had to make the friction to do so practically zero otherwise I was wasting my time.
Not saying others should follow suit but just the experience I had after going through Hugo and a number of others
It's funny… I'm sort of the opposite? My blog is written with Next.js, and I found that having to occasionally fiddle with JSX or CSS gives my brain just enough of a break from thinking about what I'm writing to bypass any writer's block I'm having most of the time. But I can totally understand why this would be distracting for people, too.
Totally understandable, and I also get the whole other angle about how constantly working and reworking stuff like a blog/website can kinda massage the brain a particular way. I have felt that from time to time (redoing/redesigning something when the itch strikes), just realized in this one particular instance it was getting in my way (i still feel the itch sometimes but i let it go)
(And i would prefer a static site over even the simplicity of bearblog on some days, because i like having full control of the code and all that and avoiding even extremely minimal infrastructural overhead, but the ease of use ends up being worth it, for now at least to keep me posting things). Also automated RSS etc is nice
I have a test blog that is for developing save putting small amounts of content in, and a saas blog that is just for writing. One blog gets a little more technical as far as content.
In the few minutes of spare time I have between my job, a fresh baby and some projects I have mentioned here in the past, I started this week looking at some of the tildes source code.
I'm considering if I want to put in the effort of building (part of) the JSON api for tildes. As far as I can tell, this was discussed a couple times in the past but never started. It honestly seems pretty doable simply from a coding POV.
But I have a feeling it will involve so much debate on how to do it 'properly' or on which library to use for it that it is making me second guess myself before even starting.
Regardless, just getting caught up on the source code of a platform I use a lot is a fun activity in its own right. So I'll just do that for now
It is great to hear someone is showing fresh interest in the Tildes source code!
Internal discussions among maintainers were we were leaning toward the pyramid_openapi3 addon since Tildes uses Pyramid. I made an
openapi.yaml
with my personally preferred data model naming (to match Three Cheers mobile app internal properties): https://gitlab.com/talklittle/tildes/-/commit/d0f80f5ace0580b440c0f4c9734c523d37b22a56(We didn't go with the currently popular FastAPI because AFAIK it doesn't integrate with Pyramid, and it would be its own completely separate code path.)
Beyond that I got busy so haven't written any of the code paths to go from routing, data queries, and then JSON response. It doesn't sound like a terrible amount of remaining work to get our first, read-only API up and running. Could exclude authorized endpoints for first prototype as well. It would be amazing if someone were to make it happen! (And keeping the Tildes community in the loop by continuing to post updates here and/or on GitLab.)
I am happy to see that the big decisions have already been made!
I'll spend some more time getting acquianted with the code and then getting a working dev environment.
And then I will likely give it a go, because it sounds like a fun side project! But don't expert anything soon, I only have limited time to spare...
@talklittle, was there some way to load a bunch of dummy data (users, topics, comments) into the tildes dev environment? I would have sworn I saw something about doing exactly this wile reading the code or issues on gitlab, but I can't seem to find anything like it.
This would make testing a lot smoother
What's currently present is a very minimal insertion of a dummy user and group: https://gitlab.com/tildes/tildes/-/blob/0a9a1669e351afd520169eb012ad1d1285a637f1/tildes/scripts/initialize_db.py#L81
There was a merge request for seeding dummy data here: https://gitlab.com/tildes/tildes/-/merge_requests/147 — Looks like groups, topics, users. Not comments. We can probably merge that into the
develop-1.101
branch (cc @Bauke). IMO it would be fine for you to cherry-pick that into your working branch and use it that way, if it would be helpful.Which reminds me, I forgot to tell you that it's best to branch off of the
develop-1.101
branch instead ofmaster
. And merge requests will be made todevelop-1.101
(or whatever the latest version is at that point in time) as well. This is a recent change and the documentation updates haven't made their way tomaster
yet.I threw a minimal draft version for a first endpoint as a merge request. Do have a look so I can incorporate feedback before continuing on the rest of the API endpoints.
I subscribed to Claude Code Pro for $20 and have been knocking off my todo-list of "this might be useful but I can't be arsed to write the code" -apps.
Just last night I built a Bubbletea TUI wrapper for yt-dlp with queueing, support for playlists and download directory selection. Took me 2 hours, of which maybe 10-15 minutes was hashing out the specs and libraries with gemini-cli (gemini-2.5-pro) before I put Claude Code on the task. Claude wrote the code on the second display while I watched some Anime on my primary one.
Had to poke it a few times and remove a feature (output log display) that was messing everything up, but now it just works. I can just switch to the tab it's running on Wezterm, paste url and go about my day. No need to worry about urls with ?, # or other CLI-special characters. Nor do I have to wait for one to complete before adding another.
So I've been working on Storyteller v2 for about 4 months or so. It's a huge update, partly because I want to get all of the potential breaking changes to the API in there, and partly because I took the opportunity to completely redo the database and auth layers. Since I started, I've changed.. a lot:
Out of a total of:
So I've touched 90% of the files, and I've changed at least half of the individual lines of code. 😮💨. I'm really close to being ready for a beta release, though, and that's exciting!
Also I made some very nice little animations in various places, and I'm really happy with that. I'm used to working on internal tools, where "delightful" animations never have priority (even though they often can do a lot of work to make a UI more legible!), so this is the first time I've really worked on CSS animations, especially keyframe animations. What a nice API! CSS is incredible.
Finally took the time to write the measurement tools for my VTT, such as a basic ruler, cones, circles, etc, that I will use to finish up the drawing tools soon as well. I also sat down and added some functionality purely for comfort, such das dragging and dropping tokens and maps between folders and other library related features.
We are having a blast using my VTT for the past few weeks.
By now other GMs of our group are using it as well.
Hey y'all, I haven't posted in a while. I'm still working on my game. Progress has been very slow these past few months, and a lot of the work that went into it are very... unglamorous? It's mostly about progression (how the player gets stronger) through a tile-based dungeon building system.
The way it works is:
To make this more interesting, I spent a large amount of time working on the monster tribe mechanics. Each monster tribe:
With each room that gets built, and each time the player does something in a room, enemies on the map will advance one tile towards the player's "boss room" (you play as the boss monster of a dungeon). Once an enemy reaches the boss room, the dungeon building phase ends and a combat encounter begins (where all the upgrades you've been working on will come into play).
I feel like this took me way to long to do... I started working on the monster tribe stuff around the end of March of this year. Finally, as of yesterday, I finally have a prototype build again that I can ask people to play.
I wanna start working on some more enemy variants - the output would be a lot more shareable (gif-able), and I'm expecting that it'll be more fun that working with mostly UI and systems!
Per chance anyone has any advice on this, although this is an unusual spot to ask for this.
A fresh, new Arduino that I ordered arrived a few weeks ago. And unfortunately I couldn't really start because of a lack of headspace. Now I have some more room in my mind and I want to start but can't seem to start? Closest thing I've gotten to with describing it is a bit like an artist block, though I'm not sure if it's the same since well, I'm not very artsy.
Does anyone know how to deal with it? Either on when to try to start, or how to deal with the frustration that comes with it?
I assume standard workout advice applies
Just try to blink that led, and maybe you'll end up doing much more. And if you only end up getting that done, so be it. Have small achievable goals to start (test out a resistor) and over time it'll hopefully become a habit
I recently became interested in hosting something on Oracle's always free compute instances. For this project I have a few design constraints:
Overall, the structure is simple: install deps, fetch secrets, run VPN, run application, run tunnel. Oracle has made this more of a headache than it needs to be though. Their dashboards are incredibly confusingly designed and very slow. Some of their tools also behave weirdly.
Maybe my biggest headache was oci CLI. For those unfamiliar, oci CLI is Oracle's equivalent of Amazon's aws CLI. I thought that it would be trivially easy to install into Oracle's own Ubuntu images, maybe even already being installed. Nope, it does not install nicely at all in a cloud init script. It is based on an interactive shell install and if you put it into the headless mode that accepts all defaults it throws a permissions error. Pretty cool that an image as popular as Ubuntu doesn't even cleanly install the CLI that you use to fetch secrets from the secret vault. I ended up using the containerized version of the CLI, which feels completely absurd to me since it's to get an Oracle CLI onto an image from Oracle's own curated list.
And don't get me started on their ipv6 mess. I'll just leave it at that even their auth servers are incapable of servicing ipv6 traffic, so hope you don't want to fetch any Oracle resources from inside your Oracle instance unless you have a public ipv4 address because you won't be able to authenticate.
Yeah oracle cloud is a mess. I wouldn’t use them except for the free tier.
Pro tip for the always free stuff: upgrade to a paid billing account as soon as you can. If you stick with the always free without billing, they only let you provision from servers that are flagged for always free customers. Inventory, especially for the ampere servers, is very poor. If you are a “paid” customer, you can provision from all of their server inventory, so you should never have problems with lack of server availability. You still get the always free usage credit. The UI won’t stop you from allocating paid resources, which you will be charged for, so you do have to be careful. I have had this exact setup for around 5 years now, and I have only paid less than $10, and I knew I was exceeding the limits, so that bill was expected. Haven’t paid them a cent in over two years now.