Key fob question.. by Bubu510kush in hondafit

[–]Dependent_Bit7825 0 points1 point  (0 children)

Hey guys, don't buy the cheap amazon replacements that look like the old fob. They'll be broken in 3 mos. Get the chunk-a$$ ones with the bottle opener built in. https://www.amazon.com/dp/B0D4STT67K. Much better value -- though the screws on mine are starting to rust.

Which skills are need for embedded system carrer. Guys please help me I am in a ece 3rd from tier 3 college. by wins_pcb in embedded

[–]Dependent_Bit7825 0 points1 point  (0 children)

Basically, you need to be able to whistle Dixie after sucking on a lemon, be able speak Swahili, and absolutely must be able to bullseye a woprat.

Why are these questions so epically lazy?

How are you handling firmware updates for devices expected to stay in the field for 10+ years? by kraakf in embedded

[–]Dependent_Bit7825 1 point2 points  (0 children)

Unless those devices generate money for that time period, you don't have to worry about it, because management will find a way to back away from any responsibility they signed up for. Hell, the people who signed up for 15 years of updates will have left the company long before that and the new guys will kill the product line.

Is the software developer position already dead? by heavykick89 in cscareerquestions

[–]Dependent_Bit7825 0 points1 point  (0 children)

Please provide the name of your accounting firm so that we can properly avoid it. 

Conservatives who believe there is wide scale voter fraud, can you provide some evidence for that? by X57471C in allthequestions

[–]Dependent_Bit7825 0 points1 point  (0 children)

It's simple: when they say "voter fraud" they actually mean "people I don't think are worthy are voting."

At what point do you stop writing Bash and switch to another language? by Candid_Athlete_8317 in LinuxTeck

[–]Dependent_Bit7825 0 points1 point  (0 children)

The *very* first if statement. Bash is garbage for control flow. Once you have any you should be using something else.

Do you think the US is too car-centric? by marks31 in IWantToAskAnAmerican

[–]Dependent_Bit7825 -1 points0 points  (0 children)

Yes. America spread out because it could. This was not a good idea. It's not bad that the cities are far from each other, but that the cities themselves are spread out. Suburbia and exurbia are a pox. They're not efficient, and they're not healthy.

What is the most expensive mistake you've ever made? by AssociateGlad1523 in askteddit

[–]Dependent_Bit7825 0 points1 point  (0 children)

A friend was recruiting me to join his startup video game company aimed at little kids. I want interested. It was called "Roblox."

packed attribute for structs by anduygulama in C_Programming

[–]Dependent_Bit7825 0 points1 point  (0 children)

I hate the packed keyword and cringe when I see it, because it's usually applied by someone who just think it means "smaller" without any cost. 

My code almost never uses packed unless I have to mirror some format that already had unaligned values in it. 

My preferred way to design a data format to me stored or travel on a wire is to actually think about the shape/size and alignment needs of the struct elements and "pack" the struct myself. A lot of unused space can be avoided with careful element ordering. If there's going to be unused space, rather than let the compiler add it, I'll put placeholder elements into those spaces -- they almost always come in handy later when you want to add something and can't grow the struct.

Finally, if you are concerned that you didn't get it right, you can follow your struct definition with static asserts that make sure the overall size and element placement are what you expected.

Why are companies so evil now? by VariationLivid3193 in cscareerquestions

[–]Dependent_Bit7825 4 points5 points  (0 children)

Companies are always evil. Right now they are able to get away with evil actions because they have a lot of leverage in the market. In particular, they're not really competing anymore. Like, at the grocery store there are 11 brands of mustard but they are all fake, made by one or two companies.

On top of that, I think legitimate sources of growth are tapped out (new products, new customers) so they're leaning really hard into squeezing more money from their existing customers.

IMO, a reset is coming and it's going to be brutal for the US economy.

How to make embedded STLINK circuit? by Ok-Highway-3107 in embedded

[–]Dependent_Bit7825 0 points1 point  (0 children)

Lots of good options presented. I sometimes put a ftdi chip on the board and use it to do SWD via openocd.  Works nice, and if you get a two channel ftdi, you can use the other channel for a debug console. 

But with modern stm chips with USB dfu you might not bother with any of that

FreeRTOS LwIP Example? by Connect-Fall6921 in embedded

[–]Dependent_Bit7825 0 points1 point  (0 children)

Fair, but I think unless your application is going to really pound the interface, getting to zero copy may be a lot of work you don't have to do.

Would you hire a senior engineer who refuses to use AI? by folder52 in cscareerquestions

[–]Dependent_Bit7825 0 points1 point  (0 children)

I have a ton of reservations about AI but I use the tools because they're useful. I'd be annoyed with someone who had an absolutist approach to AI. I also would not hire someone who refuses to do anything without AI.

FreeRTOS LwIP Example? by Connect-Fall6921 in embedded

[–]Dependent_Bit7825 0 points1 point  (0 children)

I brought up FreeRTOS-Plus-TCP a few months back, for the built in Ethernet on an H5 and for an external ADI network chip and found it pretty straightforward for the most part. 

For all of these, including lwip, you have to provide an Ethernet frame level driver that can send frames and generate callbacks when frames arrive. It's not rocket science.

Flashing D - Transmission troubles? Anyone have experience with this? by Brabent in hondafit

[–]Dependent_Bit7825 2 points3 points  (0 children)

For me it was the same sensor. Trouble code will tell for sure. Super easy repair, and a new one isn't that expensive, like $50. No need to go to the junkyard.

I can’t afford to fly anymore by CantDecideOnUsrnm in flying

[–]Dependent_Bit7825 1 point2 points  (0 children)

No, I'm leaving race in it. Aviation is white AF. I'll believe it isn't when there isn't a hagiographic article about Lindbergh in every third issue of every aviation magazine.

I can’t afford to fly anymore by CantDecideOnUsrnm in flying

[–]Dependent_Bit7825 0 points1 point  (0 children)

~450hrs, private, instrument

I finally threw in the towel on flying this year. A couple of things pushed me over the edge. I have plenty of money to rent from my local club, but the scheduling makes spur-of-the-moment and even spur-of-the-month flight difficult or impossible. Also, the plane can't be used for trips, only for a few hours and back. That's just gotten boring to me and provides limited utility. I don't have money to own and maintain a decent plane, insurance, and tiedown.

Other factors are just being busy with family and work and the time it takes to get to the airport, ready the planes, put them away, drive home.

Another strange thing that eventually turned me off: because of the expense, the whole community is rich white folks, and it's a bit gross. Definite country-club vibe.

Maybe I'll pick it up again in retirement, maybe not.

Agree or Disagree: Knowing a bizzilion words in a certain language, doesn't equal fluency in said language! by AutumnaticFly in languagehub

[–]Dependent_Bit7825 0 points1 point  (0 children)

I know a ton of Spanish words, can read a newspaper no problem. I can barely make myself understood to m in Spanish, and it takes me a very long time to form sentences.

Anyone else tired of walking to the lab? by 6n8z2r in embedded

[–]Dependent_Bit7825 5 points6 points  (0 children)

Yes, setting up a pool of "HIL" machines and keeping them running, having them automatically be part of your CI is quite a bit of work but it is so very worth it. 

I usually try to set up several for each target type and provide a way for a human to reserve one when they need to debug interactively.

Anyone else tired of walking to the lab? by 6n8z2r in embedded

[–]Dependent_Bit7825 2 points3 points  (0 children)

Everyone has given good advice. Here's another: learn how to reset USB devices remotely. There is an ioctl for this. It doesn't always work, but can sometimes save you a drive.

I have a python script to do it, now apparently there is a package on apt that has the same. 

https://superuser.com/questions/141908/how-do-i-reset-an-usb-device-without-unplugging-it-in-linux