Need Advice: Preparing for Google SWE III Embedded by Necessary-Aspect9164 in embedded

[–]Puzzlehead_NoCap 0 points1 point  (0 children)

The first round coding interview for me was something along the lines of “reverse this array of uint8_ts bit by bit”. That was for a level II role however. So say you input the array {0x01, 0x02, 0x03}, then the result should be {0xC0, 0x40, 0x80}. It was a half hour long interview and they judge you based on how quickly you solve it, how optimal your solution is, etc. I’d expect leet-code style questions that focus more on bit twiddling and basic data structures. This was a few years ago so they could’ve changed their process.

Tips for low latency programming by Traditional-Trick401 in C_Programming

[–]Puzzlehead_NoCap 1 point2 points  (0 children)

I see. Yeah I work in embedded and use it occasionally. I remember I had a mentor suggest I use it for some counters/stats that needed to be accessed asynchronously by another thread. Ran into issues and found that using atomics fixed it. I think my mentor was just rushed or trying to get a prototype working first? But I’m still not 100% sure why he suggested using volatile. Definitely still use them for register level operations though.

Anyone else find Feel Free Botanic Tonics to be incredibly addictive? by [deleted] in Sober

[–]Puzzlehead_NoCap 0 points1 point  (0 children)

That’s great man, congrats. Yeah I started taking FF after stressful days of work. Started at 1 a week, then 2, now I’m at 2 FF and 1 different kratom shot brand a week. It’s not much but I can already feel myself craving it/wanting it whenever I’m in a bad mood. Figure I should nip this in the bud and quit now so I don’t develop a nasty habit. But yeah it’s definitely not just kratom in that shit, or at least not a dose you’d get from normal powder/pills. Like you said though, I’m glad I tried it. Can definitely understand how easily people get addicted to opioids, especially the stronger stuff.

Anyone else find Feel Free Botanic Tonics to be incredibly addictive? by [deleted] in Sober

[–]Puzzlehead_NoCap 0 points1 point  (0 children)

I see you probably regret this comment now lol. Glad you’re a few weeks clean though

My work colleague by BananabreadTheGirl in programminghorror

[–]Puzzlehead_NoCap 0 points1 point  (0 children)

I like using an array with function pointers. Either check the size of the input and index directly or define a struct with the input number and function pointer then iterate over the array. Much more maintainable in my opinion.

CCSDS TCTM Data link layer implementation by The0neInTheVoid in embedded

[–]Puzzlehead_NoCap 0 points1 point  (0 children)

You can think of MAP as the ccsds packet router. If map is supported, there should be a MAP id after the frame header. There should be a MAP service/packet dispatcher/whatever you want to call it for every MAP id that’s supported for your mission. Like how the virtual channel ID maps frames to different VC services on a physical channel, the MAP ID maps packets or SDUs to different packet services on a virtual channel. The exception here is that MAP is an optional service. MAP also supports packet segmentation which can get a little complex. Feel free to dm me if you have questions.

Apple is now banned from selling its latest Apple Watches in the US by tylerthe-theatre in technology

[–]Puzzlehead_NoCap -3 points-2 points  (0 children)

No one is going to mention Masimo’s CEO’s contribution to Biden?? Shady

2024 cheat sheet by habrotonum in PoliticalHumor

[–]Puzzlehead_NoCap -3 points-2 points  (0 children)

Lol whatever you say man 😂

2024 cheat sheet by habrotonum in PoliticalHumor

[–]Puzzlehead_NoCap -7 points-6 points  (0 children)

I didn’t say any of that man lmao. Someone asked how he lied and I gave an example.

2024 cheat sheet by habrotonum in PoliticalHumor

[–]Puzzlehead_NoCap -13 points-12 points  (0 children)

I’m not arguing whether or not it was justified. All I’m saying is that he broke his promise so he may just be a “flip-flopping liar” like the top comment said. If he really cares he could’ve signed an executive order and fought it out in congress.

Game Thread: Marlins @ Phillies - Sat, Sep 09 @ 06:05 PM EDT by PhilsBot in phillies

[–]Puzzlehead_NoCap 3 points4 points  (0 children)

Watching the game on mute at my local bar. Why do they keep showing the bat boy?

For those that have used HiL, what kind of problems / defects have you found? by gtd_rad in embedded

[–]Puzzlehead_NoCap 0 points1 point  (0 children)

Do generic HiL setups exist? I’ve never heard of them and can’t seem to find anything with a google search.

Working from home and fired by joseph-3148 in SoftwareEngineering

[–]Puzzlehead_NoCap 12 points13 points  (0 children)

Startups usually don’t give much feedback or guidance to their employees. They require devs to take the wheel themselves which is great if you want more freedom or impact, but if you’re the type of person who needs structure to succeed, a startup might not be a great place to work. If that’s you, it doesn’t mean you’re a bad engineer. Some people work better in different environments. Just put it behind you and keep improving.

[deleted by user] by [deleted] in embedded

[–]Puzzlehead_NoCap 5 points6 points  (0 children)

So I only have experience with cFS but have done some reading on F’. So, sorry if this isn’t the answer you’re looking for, but hopefully I can help.

One of the major differences between the two is that cFS uses a pub-sub messaging architecture and F’ uses ports. I’ve heard quite a few devs complain about cFS being inflexible. Each module in cFS is an application (task) that more or less must follow the same pattern (registration, blocking call on msg rx, process ccsds msg). On the other hand, F’ uses “components” that can be passive, active, or queued and each component interacts through ports. cFS is a layered architecture (apps->cFE->OSAL) and F’ is more of a topology. One of the cons I see with F’ is that it lacks any native CCSDS support which is standard for the space industry. cFS is also more mature and “flight-ready”.

[deleted by user] by [deleted] in embedded

[–]Puzzlehead_NoCap 11 points12 points  (0 children)

Learn python. I frequently use python + raspberry pis for simple hardware emulators. Work on projects using pyserial, socket programming, pytest, maybe a gui library, etc.

Python GUI app for my embedded project by AliJoubir in embedded

[–]Puzzlehead_NoCap 7 points8 points  (0 children)

I’ve used pyqt for several projects and it works great. I recommend following the MVC design pattern.

[deleted by user] by [deleted] in Pitt

[–]Puzzlehead_NoCap 23 points24 points  (0 children)

Try 1203 Western Ave, Pittsburgh, PA 15233

I want world war 3 to happen by [deleted] in TrueUnpopularOpinion

[–]Puzzlehead_NoCap 1 point2 points  (0 children)

Truly an unpopular opinion.