11
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’m still figuring out how best to implement performance speedups for repeatTest. I’m dissatisfied with the direction I took with pipelining. A downside to a continuation-based design is that the framework doesn’t see intermediate values. Instead I’ll try recording and playing back calls to the pick function to avoid a full rebuild. I will likely delete some code, but the refactoring I did is still an improvement.
I've been working on a project I call tilegroxy for the past few months. Use case is basically for when you're building a mapping application and pull map layers from multiple sources, this acts as a proxy/cache/auth/privacy layer in the middle. You probably wouldn't ever use this tool by itself but use it when you have a geospatial heavy application to go along with it.
Recently I've been working on a website for it. The tool is meant to be a swiss-army knife so the configuration can be fairly complex and needs a good reference page to be usable. I have the documentation built up using antorra to read asciidoc files in the repo itself and publish as a website. That's hosted in Cloudfront backed by S3 as a static site. I've also stood up a demo deployment of tilegroxy via a (cheap, underpowered) OVH kubernetes cluster so I can add some live examples to the site. The front-end of the demos is using eleventy for templating and maplibre for the map.
Given this tool is meant to be mainly a middleman, coming up with the demos has been tricky. But I added in a "provider" that pulls MVT tiles from Postgis and used that to make my first demo which shows USA counties over time. I'm thinking of doing a second demo that takes post-storm aerial imagery from NOAA, combines them together and maybe tweaks them. I'd love to make a demo that shows its auth capabilities but I'm not sure how to do that without making a whole other app.
Following up on my last post, I managed almost four times speedup for Klipper on the same70. Here is the change. Figuring out the DMA hardware was a massive pain.
Next I might get the LIS3DH working over I2C so my toolboard has a functioning accelerometer.
I've been building 📺 Cast Control, a cross-platform app for controlling Chromecasts, Roku, Fire TV, etc from your computer. It's based on my open source project here.
I'm also trying to get NXP's PN548 NFC reader working on Linux. There's a fork of libnfc that looks like it supports the hardware, but it's going to need some poking at to get working correctly using my hardware configuration.
Two related projects:
NotaNexus doesn't have any functionality, it's more sussing out feasibility at this stage. Nearly all the code was generated using a GPT. Screen shot showing a PDF rendered in the browser using PDF.js: https://i.ibb.co/H7Q7N6s/pdfjs-viewer.png
Taking some inspiration from Spanish writer and watchmaking enthusiast Javier Gutiérrez Chamorro, the past couple days I added a small wrapper script around a couple of my existing FFmpeg and ImageMagick wrapper scripts. This will skip files that are unlikely to be reduced much more and it starts with files with the most bloat first:
And I plan to add support for a few more things like turning table data into Zstd compressed Parquet, image heavy PDFs into AVIF, and text PDFs into ePUB (or maybe markdown+extracted image AVIF)