HackerTrans
TopNewTrendsCommentsPastAskShowJobs

mort96

17,374 karmajoined 11 anni fa

Submissions

Esp-hal 1.0.0 release announcement

developer.espressif.com
4 points·by mort96·8 mesi fa·0 comments

comments

mort96
·32 minuti fa·discuss
Passing a pointer within one thread requires putting the pointer into a register. Passing a SHM offset within one process requires putting the offset into a register.

Passing a pointer between threads requires going through the memory system and letting cache coherence algorithms sort out the data sharing between cores (with or without a futex lock/unlock depending on implementation). Passing a SHM offset between processes requires going through the memory system and letting cache coherence algorithms sort out the data sharing between cores (with or without a context switch to the kernel depending on implementation).

It's not that different.
mort96
·3 ore fa·discuss
But... neither of the videos say "this is a ghost font"? Are you sure you are a human?
mort96
·20 ore fa·discuss
Change the DNS record?
mort96
·ieri·discuss
Passing pointers is not significantly faster than passing offsets into a shared memory pool.
mort96
·3 giorni fa·discuss
Literally does not matter at all. The car should not automatically jerk itself into a cyclist.
mort96
·3 giorni fa·discuss
I've noticed this too! The Nissan's adaptive cruise control doesn't accelerate automatically after a sign, but when it does accelerate automatically, e.g because I accepted the prompt to change target speed or because the slow car in front changed lanes or took an exit, it accelerates so bloody quick. Way quicker than I would've if I'm just driving manually.
mort96
·4 giorni fa·discuss
To be clear, I'm not talking about auto lane centering. That's something else. The Nissan has this too, but it has to be manually enabled and although it seems to work alright, I just feel like as a driver, it's my responsibility to control the wheel.

What I'm talking about is lane keep assist, which is a "safety" feature which beeps at you and jerks the wheel when the car thinks you're veering out of your lane.
mort96
·4 giorni fa·discuss
You can't turn it off, you can temporarily disable it but it gets enabled again the next time you get in the car.

Regardless, I feel like maybe "suddenly automatically jerk the steering wheel to drive into oncoming traffic" mode should maybe be off by default? Although it would definitely make me less angry if it could be turned off.
mort96
·4 giorni fa·discuss
Wait does your cruise control automatically accelerate by default when it thinks it sees a sign..? That sounds terrifying! I've only seen systems which give you a prompt to switch speed which you can accept with a button
mort96
·4 giorni fa·discuss
IMO most features are annoying and contribute to alarm fatigue and driver irritation, but are not directly dangerous.

Lane keep assist though? I often drive on narrow country roads barely wide enough for two cars, with a white line on each side but no center line. To avoid large oncoming cars, I need to drive on the white line to my right. When I do, lane keep assist activates motors in my steering wheel which try to force the car into the oncoming traffic.

Easy to turn on in the modern car I sometimes drive, but oh my god, that was scary the first few times it happened. Beeping at me is bad enough but messing with the steering wheel??? This should be illegal, not required!

I'm mostly pro EU but this crap is genuinely making me resent them.
mort96
·4 giorni fa·discuss
I drive a Nissan Ariya sometimes, which has adaptive cruise control. It's ... okay, but I'm not sure my own car's "dumb" cruise control is any worse to be honest.

My own car's cruise control is just three large buttons on the steering wheel: one which says "keep going this speed when I take my foot off the gas", one cancel button, and one "go back to the previous speed" button. It works wonders and is quite comfortable to use. Never messes up, I can rely on it 100% to do its one simple job.

The Ariya is much more fancy, but it's so much less reliable. If it's snowing outside it sometimes just randomly turns itself off because sensors got covered in snow, leading to a rapid deceleration until I intervene. Sometimes it refuses to turn on because sensors are covered in snow. And its braking curve is uncomfortable; when the car in front stops (e.g in stop and go traffic), it gets way close to the car in front and brakes hard, instead of slowly coming to a stop at a comfortable distance. Oh and it's connected to the nav system; I've had it just suddenly slow the car down to a crawl because the nav system had chosen a stupid route, it slowed down to take an exit while I stayed on the highway.

I'll take dumb but reliable any day over smart and unreliable. Even if it means I sometimes have to actually adjust speed myself.

Relatedly, I don't actually mind having to drive the car. I like cruise control because my foot gets fatigued when pressing the gas pedal for hours on end, but making manual adjustments to my speed? Changing gears? Listening to the engine to make sure it's at a happy RPM? I feel like that stuff just gives me small stuff to do so I keep paying attention to the driving.

The incessant beeping in modern cars on the other hand is just a distraction. Luckily, the Nissan lets you configure it so that 2 quick button presses on the steering wheel disables all the useless alarms. I'm so happy I don't have to do that manually for each "safety" feature every time I get in.
mort96
·5 giorni fa·discuss
In favour of what, might I ask?

Keep in mind that the replacement must be a first class citizen in the society I live in. That means being able to easily transfer money using the app everyone uses where I live. It means public transport ticket apps. It means banking apps. It means iMessage, Facebook Messenger, Snapchat and Signal.
mort96
·7 giorni fa·discuss
In most of the world outside of the US, having "an HVAC system" is extremely rare.
mort96
·7 giorni fa·discuss
I would not want to live in a city where I have to be careful letting in outside air or going outside because there's too much air pollution...
mort96
·9 giorni fa·discuss
More or less, yeah?
mort96
·9 giorni fa·discuss
Yes, it's not boring if it's the new hotness
mort96
·9 giorni fa·discuss
"Latest emerging boring but works" sounds like an oxymoron.
mort96
·9 giorni fa·discuss
I don't get how a test runner can be "ultra fast". Surely all the time is taken by the tests, not calling the test functions?
mort96
·9 giorni fa·discuss
Do you hear yourself now? "Life is too short to read texts which reference a culture you're unfamiliar with"? Seriously?
mort96
·9 giorni fa·discuss
Maybe that one is specifically made to work for that application. Are you confident that you could go out and buy a replacement SD card in a general electronics store and get something which would be as robust?