I am a lazy dev (not really, clients always want fast code), so I use the provided HAL libraries 99.9% of the time.
But I have seen code where someone would write something like
gpio_write(PIN_X, true)
and it always stood out to me.
I am a lazy dev (not really, clients always want fast code), so I use the provided HAL libraries 99.9% of the time.
But I have seen code where someone would write something like
gpio_write(PIN_X, true)
and it always stood out to me.
I am working with C in embedded designs and I still use 1 or 0 for a bool certain situations, mostly lines level.
For whatever pea-brained reason, it feels yucky to me to set a gpio to true/false instead of a 1/0.
It reeks of shitty boss. I’ve heard the same bullshit from old folks 20 years ago that couldn’t use their computers to save their live.
When everyone’s an asshole, the common factor is you.
I can’t get anything cheaper than that because it’s a price I got when the reseller started business and as long as I don’t switch, I get that price.
Good for you that you can get better, but coax still has its place until internet providers up their game, but I won’t hold my breath.
I still use coax because I buy internet from a reseller third party and this is what they have. I have 400/50 for 35$, which is a lot cheaper yhan the competitors. No reason for me to change.
I bet my hand to the fire that Bill Gates didn’t eat avocado toast and made coffee at home and that’s why he is a billionaire today.
And it is still true today. Windows has the lion share of the market because we were raised with Windows and the vast majority of people don’t want to learn a new OS.
The IT paradox :
-“Why am I paying for IT? everything runs fine” -“Why am I paying for IT? nothing works”
Yeah but these pesky workers cut into profits because you have to pay them.
I totally agree with you then.
It is already just another work. Electronics and software development has never that accessible before.
Grandma can pick up an Arduino, a few components and create a fully automated garden if she so choose, without having prior experience.
Engineers are people like everyone else and some people have no qualms fucking over other people for money.
I always use stdint.h so that my types are compatible across any mcu. And it makes the data type easily known instead of guessing an i t size
In embedded, if you are to the point that you need to optimize the bools to reduce the footprint, you fucked up sizing your mcu.
You talk about vibecoding buddy, you think they SSH into anything?
I ought to try heroic launcher. I had mitigated results with Lutris and I don’t know if it’s caused by i3wm or not.
I don’t watch the guy and even I know this is bullshit. Instead of saying dumb things, just say nothing.
Mileage by counting the number of rotation of the wheel.
The mileage is a measurement to give an idea of the wear, combined with other information to give a holistic view of the state of the car.
Electronics can be extremely reliable, but Tesla chose to be sleezebags.
Sometimes, people do that. But using 0/1 is explicit enough since you can refer to a line as ‘1’ or ‘0’ for high/low on the hardware as well