Alain Galvan ๐ŸŒž is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
40d37b124b5cfb76

Alain Galvan ๐ŸŒž @alain

This week I've been reading Understanding Compression, an O'Reilly book about data compression. After looking at companies like binomial.info/ doing it and Google summer of code cases where PhD students improved download speeds for Google Play, it got really interesting.

How often do you think about compression, it could help your app out one way or another. ;)

octodon.social/media/wCH_PQgZm

@luke_nukem A basic sales model, just placing orders and people can buy devices, and customize their orders through a React frontend. Users can pay us to maintain the device or do it themselves.

Using Braintree as a payments system, React for clientside rendering (I might add serverside to that with a node server in addition to the Rust API server). TypeScript as the main frontend language (I use it on alain.xyz/, way better than babel/js imho).

@luke_nukem Recently my family bought a Nest security camera, which is basically just a backend with some facial recognition, and a mic/camera. Seems like a waste to pay x dollars a month to pay nest to maintain a closed source device when a dev can hook up open source tech to Amazon S3 for pennies.

Then there was the loonie idea of the Juicero Press, 120 Million dollars raised for a juice pressing device that's way too expensive and useless.

@luke_nukem An IOT business. There's a lot of venture capitalists interested in the IOT market, however products developed in this space suffer from the John Deer Effect: the idea that you don't own the product you paid for, you're licensing it. So the idea is to sell IOT devices, but they're open source and you can maintain them yourself or take them apart according to your needs.

@luke_nukem techempower.com/benchmarks/

Check out some of the JSON benchmarks to get a good idea of where things are standing. ;)

@luke_nukem According to TechEmpower's Web Framework benchmarks, Rust is the lowest latency, but oddly enough performs around Node.js' level in throughput.

Used rust for 3 servers, one on my personal site for continuous integration, one for a standing desk, and now another for the backend of a business I thought up. rocket.rs/ was the best HTTP library out of the others I tried (Nickel, Iron). :D

Add on top of that Rust's first class unit testing, doc generation with markdown, and best of all: focus on safety and you've got a really stable server. :)

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.

alain.xyz/portfolio

Updated my site with some of the projects I've been working on:

- CodeVR for virtual reality programming
- Raw Graphics, a graphics twitch stream/podcast
- React Anime, a react animation library
- Realtime Celestial Rendering, a research paper.

octodon.social/media/ZH213xCpt

Currently setting up the distance field font rendering system.

github.com/Chlumsky/msdfgen

It's a extremely fast way of rendering text that's used in games like Team Fortress! :)

github.com/OpenHID/code-vr

Current project: CodeVR, convert code to 3D worlds you can explore and collaborate in. Built w/ and .

octodon.social/media/eK0iJ10dh

github.com/alaingalvan/ora.gmx

Open sourced a Studio I made a while back. Was a finalist in the Steam Workshop Competition! ๐Ÿ‘

It's free and available for PC/Android (just click the badge on the repo). :)

octodon.social/media/gSV2NqDFd

join me in rejecting all technology. burn your computers. throw out your books. refridgerators? technology, get rid of em. furniture? that smells like technology. wheels? how dare you

Cargo-culting is fine; it's how we programmers get a lot of important work done. If everyone built their own framework, those frameworks would be much poorer for it.

But OTOH I'm tired of hearing 100 different teams all pretend that they independently arrived upon React as if it's some universal mathematical axiom you can derive from deductive reasoning. I wish we programmers had the self-awareness to realize when we're being influenced by the crowd, charismatic thoughtleaders, narratives, etc.

github.com/alaingalvan/alain.x

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

Construction or Traffic, you can have 1, the other, or both. ๐Ÿ™ƒ

Currently using as a Slack alternative with my research team, it's powered by , , and , nice and simple! ๐Ÿ˜

Finally starting to notice this striking inverse correlation between
- whether something is confusing
- whether you've read a book about it

This "google things as you need them" habit, I think, It's actually pretty bad

Somehow I taught myself this helplessness. Struggle over years. Feel like I'll never get it.

Have you read a book about it?

Well, no