9
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?
Continuing to make my way through my book on software synthesizers. I've implemented a simple LFO and will be hooking it up in the next couple days to a software oscillator that's producing actual interesting sound, hopefully. (I have a basic sine wave oscillator working, but it's pretty boring.)
Once I have that up and running I may deviate from the book and instead start implementing some basic additive synthesis to see what I can make with it.
I have been starting to design and build out some smart home devices using esp32’s to integrate into Homeassistant via MQTT. So far have a temperature/humity sensor so I can eventually have data for every room in the house. Also gonna connect that to AWS so I can store the data and eventually graph it.
Also building a motion sensor to add light automation.
Also need to finish tweaking a custom smart lamp.
Lots of silly things to keep total control over my home automation
currently installing gittea on my proxmox server. As usual, putting it behind my nginx reverse proxy, hosted as another container on a the same machine.
On the todo list is to set up a static site generator run from CI on one of the gittea repositories, learning ansible and implementing it on my network for server deployment and ssh key management, and setting up grafna and heimdall.
The other day I posted about the algorithm I wanted to implement snip and I finally have a working implementation: https://gfycat.com/colorlessdefenselessleopard.
It's really fun to play with it. This space division algorithm will power the pathfinding algorithm in my game. With this implementation, the game will no longer be restricted to movements on a grid.
I've been thinking about parts of this algorithm since 2014. This improvement is a pretty big milestone.
In the future, I'd like to use it to code a deterministic physics engine.
Have started to pick up f# by using fparsec to write a parser for a file format I'm fairly familiar with. The dev experience is so so... I think it is mostly due to not fiddling enough with my setup. I'm using VS Code an have run into the bug that it freezes if I use backticks to define a function name e.g
let `Parses validly formatted text into a X`()
. I found the ability to use this for naming tests in particular was really nice, but due to the random freezes from VS Code it becomes unusable.fsi
is also different from other interpreters I've worked with (less intuitive in my view). I also started using fscheck to generate tests and I must say I really like it. Haven't fully grasped how to best work with it. The nunit integration works, but I would prefer if the output during test runs weren't hidden for passing tests. That again might just be an issue with how I run the tests though.Any tips for f# development? Any tool that I should look into?