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

3 comments

  1. xk3
    Link
    I finally got my Digital Film Stock site up. It took only about six hours of work to finish getting everything working so I regret not doing it sooner but I just wasn't in the mood to do it for...
    1. I finally got my Digital Film Stock site up. It took only about six hours of work to finish getting everything working so I regret not doing it sooner but I just wasn't in the mood to do it for several months. However, now that it is done I've noticed that RED MINI-MAGs aren't showing up. The eBay API is pretty frustrating to work with. But also it doesn't seem like other people are actually using the site so I'll just leave it be for now.

    2. I made a small script to visually sort keyframes. I've attempted this half-heartedly in the past, but this one actually seems to be working pretty well. It uses the Annoy package (https://pypi.org/project/annoy/) to do the nearest neighbor clustering and it works pretty fast. The slowest part is reading the keyframes from the input video file.

    3. I fixed the library shrink subcommand to also move broken multi-part archives. unar does all the heavy lifting here: part_files = lsar_json["lsarProperties"]["XADVolumes"]

    4. I added an "ensure" procedure to Syncweb which will download Syncthing from GitHub. It's my first time working with the GitHub Releases API and it was surprisingly painless to work with.

  2. honzabe
    Link
    I needed to sell about a thousand old books, and did not like any of the local sites for selling books (I live in a small country Amazon did not bother conquering), so I knocked together my own...

    I needed to sell about a thousand old books, and did not like any of the local sites for selling books (I live in a small country Amazon did not bother conquering), so I knocked together my own second-hand bookstore. I used the Hugo static site generator because I love it and I am really familiar with it - I could have the site up and running in no time, for free on Cloudflare pages.

    This was supposed to be just an MVP to be replaced by a classic webstore with a database and all that stuff. To my surprise, Hugo seems to be a really nice platform for a small, minimalist webshop. Simple client-side search with Fuse.js, form submission via Web3Forms with fallback to email, shopping cart functionality using JavaScript and localStorage...

    Hugo keeps pleasantly surprising me. Every time I need something, there is a simple solution. I need an XML data feed for a price comparison engine - bam, slightly modified Atom feed, and I am done. Accompanied by a simple Flask app I keep locally (scan ISBN -> grab the data from Google Book API -> generate markdown -> add the book to my .csv file I use to do "accounting"), it turned into a fun hobby project, and I keep working on it just because I enjoy it.

  3. Diff
    Link
    I've been working on a mod for a game called Vintage Story that recreates Minecraft's subtitles. Just released a big update that adds a lot of configurability and flexibility, overhauled a lot of...

    I've been working on a mod for a game called Vintage Story that recreates Minecraft's subtitles. Just released a big update that adds a lot of configurability and flexibility, overhauled a lot of quirks inherited from the old mod I'm building on top of, and I'm currently testing it out to find some more rough edges to sand.

    My next task I think is going to try to collapse multiple similar sounds together. For example, there's two similar sound effects for wind rustling through leafy plants/grass and wind blowing across empty terrain, they're always playing at the same time with the volume balancing between the two. Or there are various footstep sound effects, but also sometimes the clothes/armor you're wearing make noise. In those cases it's just kinda bloat to have two captions for one event. I'm going to try to add groups, where sound effects within a group get condensed if they're at the same coordinates as a sound in the same group. Maybe a goal in the future could be allowing multiple list items for your footsteps vs another player's footsteps.