6 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?

4 comments

  1. admicos
    Link
    i made a quick mastodon/activitypub bot to "generate ideas" about blockchains out of random words, running at @vc@ebc.li because i'm using gotosocial at it's back end (wanted to try it out, still...

    i made a quick mastodon/activitypub bot to "generate ideas" about blockchains out of random words, running at @vc@ebc.li

    because i'm using gotosocial at it's back end (wanted to try it out, still doesn't seem as ready yet), the profile web interface returns a 404 so you currently cannot see it's full history, though following it from your mastodon account should work

    throughout the day or so it was running, it generated stuff like, "proof of viability", "heaven on the metaverse", "proof of fiction" and "gullible goat wallet" among some other things i found less funny

    while i was testing it without making it post it was generating much better stuff, but i guess RNGesus had a hand in that

    i named the account "vc" because i might put less blockchainy, startupish ideas in there eventually, it's just that blockchains are very easy to make fun of and were the idea that got the bot started


    oh, also i set up said gotosocial intance, though that wasn't as programmy as the other one. it's just docker-compose yamls, facepalming on my own stupidity, and not reading docs properly

    5 votes
  2. TemulentTeatotaler
    Link
    Not my project (I'm unhurriedly working on some other parts of the tool), but I've been enjoying the progress of an acquaintance in adding pathfinding into an old MMORPG (Asheron's Call) that...

    Not my project (I'm unhurriedly working on some other parts of the tool), but I've been enjoying the progress of an acquaintance in adding pathfinding into an old MMORPG (Asheron's Call) that lives on through an emulator, so I'll share that.

    The first step involved loading geometry and distinguishing between traversable/non-traversable.

    That vertex data was then used in a tool for creating navigation meshes that can be used with stuff like A* searches.

    To do some in-game verification a way of adding DX calls was added.

    Jump points were considered based on whether there was an unconnected edge in the nav mesh that was within some distance of another.

    There was already some code on the emulator for solving ballistic trajectories for projectiles that luckily could be repurposed for seeing if/how a jump could be made (there's a slider for power from 0-1.0 and 4 types of motion to be considered)

    To find if there would be a collision when jumping arcs representing the bounding box of the character are checked.

    Externally, it seems like it's getting pretty close to useable, with some future steps being:

    • Fully adding to the state-machine plugin that does the navigation and more
    • Supporting the various types of motion (e.g., sliding while strafing), hopefully
    • Obstacle avoidance (including dynamic? was thinking about some BOIDS-esque flocking approach)
    • Smooth turning (trying to change heading in anticipation of the next navigation point, either compensating with strafing or drawing an arc (without collisions))
    • Possibly some compression for the nav meshes / geometry. Any recommendations on compression for points?
    • Global route-planning (e.g., using a variety of portals, some personal and with restrictions, and with variation between servers that have created custom content)
    • Possibly porting this approach server-side to let NPCs pathfind as well

    It's a fun ecosystem if anyone wants to practice their C# skills! The plugin system is stuck on .NET 3.5 which causes some legacy challenges, but the server code is pretty modern and has a lot of talented people working on it.

    3 votes
  3. DataWraith
    Link
    I've been learning Elixir and Phoenix LiveView by working on a simple (mock) online shop. LiveView is awesome: it enables real-time updates from the server to the client by keeping a lightweight...

    I've been learning Elixir and Phoenix LiveView by working on a simple (mock) online shop.

    LiveView is awesome: it enables real-time updates from the server to the client by keeping a lightweight process on the server side that manages what the client sees (via a websocket connection).

    The shop is for nothing in particular, I'm just practising and implementing things piece-meal whenever I think of something that would be interesting. So far that has included, among other things:

    • Writing an ergonomic interface to Sonic search
    • Fiddling around with S3 storage and imgproxy
      (The application generates a signed URL to an otherwise inaccessible file on S3, and then imgproxy uses that to deliver an optimized image for the customer's screen resolution.)
    • Writing a searchable/sortable DataTable from scratch -- this was much less painful than in Ruby on Rails. And thanks to LiveView, I didn't need to write any JavaScript for it.

    I'll probably put the project on hold for December though, because I plan to do the Advent of Code puzzles.

    3 votes
  4. crdpa
    Link
    Today i made a little ID3 tag editor that uses your $EDITOR to edit tags: https://github.com/crdpa/pyta Some days ago i made a bulk renamer in Go that uses your $EDITOR too:...

    Today i made a little ID3 tag editor that uses your $EDITOR to edit tags: https://github.com/crdpa/pyta

    Some days ago i made a bulk renamer in Go that uses your $EDITOR too: https://github.com/crdpa/gore

    1 vote