HNHacker News
TopNewBestAskShowJobs

cholindo

10 karma · joined July 14, 2023

submissionscomments
cholindo··on 2D Vehicles
I made a parking simulator a long time ago. To make it realistic, you have to take into account that each wheel turns at a different angle. Both turning wheels need to turn at an angle that meets in the same point of a line that comes out of the back wheels. And, at low speed and acceleration, there is no drifting. To determine how the car moves, since all the wheels point to the same intersection point, just do angular movement of the car pivoting on that point, making angle * radious of the center of the drive wheels match the speed of the car. Wheel differential compensates for choosing the center of the wheels.
cholindo··on Show HN: Coi – A language that compiles to WASM, beats React/Vue
It looks great already, so I would say:

- A package manager. This will help the project grow and mature.

- I didn't find how to call JS functions and vice versa. Should I wrap js code into web components and do interop through props and events, or is there another approach?

cholindo··on Supercookie: Browser Fingerprinting via Favicon (2021)
I guess that you can do fingerprinting with any cached content, but the insane persistency of favicon's cache makes this much more concerning.
cholindo··on Show HN: Dotenv, if it is a Unix utility
I wouldn't follow this approach because if you run `. .env;` you .env gets evaluated as a bash script, not as a configuration file. This means that you can get runtime errors in the .env file, and nobody wants that.
cholindo··on Show HN: Is_ready – Wait for many services to become available – 0 Dependencies
Sometimes waiting for the address is not enough. For example, you might want to wait for a specific API enpoint to return 200 OK, or you might want to wait for database migrations to get applied. Is `is_ready` aiming to cover those cases in the future?
cholindo··on Show HN: Is_ready – Wait for many services to become available – 0 Dependencies
`process-compose` is a "scheduler and orchestrator". `is_ready` only checks for services to be ready so it seems great when you want to start the services by other means and wait for them to be avialabe (for example, services started in another node of a cluster).
cholindo··on Install Asdf: One Runtime Manager to Rule All Dev Environments
+1
cholindo··on Don't require people to change 'source code' to configure your programs
A bit off topic, but this is why I started using KDE over gnome. I liked to use middle mouse button for drag-move/resize but in gnome it required editing the source code and recompiling.
cholindo··on Navigating the timezone nightmare in product development
good to know, thanks
cholindo··on Navigating the timezone nightmare in product development
> Time Zones often have a "friendly name" in the format Continent/City|Island

Continent/City are not friendly names, they are political boundaries that gice more precision. For example, CET covers many countries that might decide to stop applying DST at different points in time. If you store CET in your database you won't know if you need to apply CEST or not. This is why you always need the Continent/City form if you want to be future proof (and past proof)

cholindo··on Podman Desktop 1.2 Released: Compose and Kubernetes Support
k3s is a super easy way of deploying kubernetes in a linux machine.