leafario2
|
2 months ago
|
on: Corroded: Illegal Rust
But TS has JS
leafario2
|
1 year ago
|
on: Carbon capture more costly than switching to renewables, researchers find
Am I wrong in assuming that after achieving a reduction in emissions, the carbon in the atmosphere should be ideally absorbed again?
leafario2
|
2 years ago
|
on: Microbially produced protein that is much sweeter than sugar
It's not about stronger flavour, it's about a replacement for sugar which does not cause diseases
leafario2
|
3 years ago
|
on: Curl audit: How a joke led to significant findings
There are quite some cars that do, actually :)
leafario2
|
3 years ago
|
on: Stack Overflow Developer Survey 2022
Not a big job market for sure, but for example the car industry on Germany is ramping up quite a bit!
leafario2
|
4 years ago
|
on: Ask HN: Who wants to collaborate?
If you are into autonomous sailboats, robotics, rust, or combinations thereof, let me know :)
leafario2
|
4 years ago
|
on: Ask HN: What is your spiritual practice?
I don't think a god of something exists. If it does, I don't care. It might, though.
What's more important to me: life emerged from chaos, entropy will get us all, let's give this opportunity all we've got. If we don't, it's fine too - there is no game plan I am aware of so we can make our own.
leafario2
|
4 years ago
|
on: Writing embedded firmware using Rust
> Can Rust import and use C header files?
Yes, after piping them through rust-bindgen, any binary can be statically of dynamically linked. I did this, it's nice that it's possible, but the PAC route others have described here is way better.
leafario2
|
4 years ago
|
on: PID Controller: A Simple Control Loop Mechanism
1) this is the same problem like controlling the angle of a quad copter, for which I have used PID. You can calculate the error of the position, which is in the range -180..179. Applying one PID stage to the error of the orientation yields a "desired rate of change" - it increases if the error is large or held for a long time and it's sign describes the direction of the rate of change of orientation. You can use another PID stage to give a step count power iteration (how much to turn the object).
2) integral windup is commonly prevented by just capping it. You can also use a smoother capping function which bounds the size of the integral, or lowers it on each iteration.
leafario2
|
4 years ago
|
on: Play the trombone in your web browser
Very cool project!
leafario2
|
5 years ago
|
on: Green vs. Brown Programming Languages
Rust is already brown. I love it.
leafario2
|
5 years ago
|
on: Typing Is Hard
That's exactly what types are for dude
leafario2
|
5 years ago
|
on: Don't use functions as callbacks unless they're designed for it
I am not sure this really has to do with callbacks - isn't this more due to the dangers and hassle of allowing a function with 3 arguments to be called with just one?
leafario2
|
5 years ago
|
on: Rust After the Honeymoon
I am an embedded software dev and Rust would fit my job well, but I see what you are saying. However, embedded is not all for Rust and not all embedded is done by EEs. Systems programming goes from bare metal up to things like browsers and databases...
leafario2
|
5 years ago
|
on: Ask HN: What's the worst piece of software you use everyday?
Eclipse. Killer feature being a live expressions viewer for my embedded target.
leafario2
|
6 years ago
|
on: How I recorded an album on my own, in my room
Jacob Collier has an album called 'In My Room'
leafario2
|
7 years ago
|
on: Brain signals translated into speech using AI
Can't wait to control vim using my brain some day
leafario2
|
7 years ago
|
on: UFO: A Drone/UAV Programming Library for Rust
What hardware is required for this?
leafario2
|
7 years ago
|
on: Ikarus electric “rocket” – Thrust-vectored flying ducted fan [video]
FOD: Fear of Destruction?
leafario2
|
7 years ago
|
on: APL matrix product operator
Any time I see APL code, I feel slightly stupid.