Been working on a web backend with and Rocket.

Normally a Node.js + Express server has a 33 ms local latency and uses 660 mb of ram, so it was a really pleasant surprise to see the Rocket use only 2 mb of ram and have a 22 ms local latency.

github.com/alaingalvan/alain.x

Got continuous delivery working with and , they use HMAC SHA1 hashes to verify the push event, cool jazz 🎷!

πŸš— I've added a feature to alain.xyz that auto-deploys changes to the site whenever a commit to the master branch occurs. This is through Github Hooks and a daemon powered by Nickel. Got to love continuous delivery. :3

So was building a Simon Says game rendered with and some raymarching in yesterday.

Turns out to debug OpenGL in RenderDoc you need to support at least GLSL 1.10 and up, so it's a good idea to have your shaders target as many versions as possible.

octodon.social/media/5C0R94gy7

When reading serial data with , make sure to make your read buffer reasonably large, some USBs on some devices need a bigger buffer than others.

Setting my buffer from 16 to 256 bytes basically made a program that only worked on one PC work on 2 PCs.

Was working on the settings system for a game today, loving that JSON serialization with serde-json is so easy!

Fixed an issue with reading data from serial inputs in , remember to always use terminators between samples!

[ Your Data Bytes ][ Some End of Stream ]

Got VS Code debugging working with and LLDB, cool to see the instructions/registers/call stacks your code boils down to!

Was scratching my head wondering why the compiler was crashing, turns out writing classes have corrupted my thinking. :thinking:

```
impl Input {
pub fn update(&self) -> [f32; 4] {
return self.output;
}
}
```

vs:

```
impl Input {
update(&self) -> [f32; 4] {
return self.output;
}
}
```

Language Servers are definitely the way forward, after using 's language server and then 's, with a LS coming from Eclipse, every language needs this! :laughing:

microsoft.com/en-us/download/d

Apparently using language server on windows requires that you have MSBuild tools installed, not Visual Studio, so just a heads up. :cold_sweat:

octodon.social/media/pIUH136KG

So was playing around with and , and dude is it like programming in heaven, and I'm writing on a soft fluffy cloud that can go from Windowekistan to Macafornia to Rasberia.

github.com/OpenHID/multitouch-

Octodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!