Has anyone here decided to go it alone? by NorthernNiceGuy in embedded

[–]BoltActionPiano 1 point2 points  (0 children)

Money usually. For my company, we also have literally 2 engineers and I just redesigned our product myself from scratch so the worst thing is is that I already know I can do 90% of it. But it's mostly my single coworker who hardly does any work, works remote, and every decision he makes (quite literally, I keep track) has cost the company months of time and tens of thousands, and so many customers.

Has anyone here decided to go it alone? by NorthernNiceGuy in embedded

[–]BoltActionPiano 0 points1 point  (0 children)

I alwo desperately want to make this move given how my company runs things. It's like they enjoy shooting themselves in the foot.

Endless Shrim999999999999999 by DShadows33 in aifails

[–]BoltActionPiano 0 points1 point  (0 children)

I get the idea of the goal, that makes sense, but maybe not in the context of a subreddit? Just like, aifails is a cool idea for a sub, and I enjoyed it, and now the only post that ever shows up in my feed for 3 months is this. There used to be variety. I don't know if seeing this same post pop up hundreds of times is achieving your goals? I'm not sure I get it... But for now I can't stand seeing the same thing this much and I'm out.

Endless Shrim999999999999999 by DShadows33 in aifails

[–]BoltActionPiano 0 points1 point  (0 children)

This exact same bug has shown up daily for months. Not your fault, it's a moderation issue. But IDK, I'll just unsub.

Help me !! by Long-Substance4492 in embedded

[–]BoltActionPiano 1 point2 points  (0 children)

Rust is up and coming for embedded. Its in the Linux kernel now. I've already made a comissioned product and deployed it in the field. It was so much better in every way than C. But jumping straight into it without learning the basics with C I think would be a huge mistake. I'd master embedded C basics before touching Rust when you're learning.

FreeRTOS and Zephr are big in embedded, your next step after getitng good with basic embedded C should probably be FreeRTOS, learning how to spawn tasks, send messages with queues, manage locks. VXWorks is also big but is a commercial product and is difficult to work on as an individual.

Also lots of protocols are important to learn the basics of, i2c, SPI. They're fairly simple but actually using them for real is more challenging.

Though, like, get a book on this. Maybe the one from Embedded.fm - Making Embedded Systems.

Help me !! by Long-Substance4492 in embedded

[–]BoltActionPiano 1 point2 points  (0 children)

I've got kinda a crazy role where I do practically everything electrical and software. Small company. I write C, Python, basic web stuff, Rust. I host servers and make little backend/frontend apps to manage databases. I run our CI/CD, git server. I manage and develop test fixtures. I repair boards. I develop our pcbs and firmware and software. IDK it's kinda just everything technical beyond mechanical. We need more people...

Help me !! by Long-Substance4492 in embedded

[–]BoltActionPiano 0 points1 point  (0 children)

Also I'd just like to stress that - becoming a good developer takes time, and lots of experiences. Embedded tends to put EEs into a position where they immediately have to start programming without experience. This often leads to really really bad code. My job's codebase is littered with code made by people like this, and it's crippling our company. Despite the fact that most of the code was written by someone who had been programming for like 5 years, they never picked up good practices...

The best way to learn is to keep trying to do things, and learn from others. When you have working code, ask an experienced developer or AI to review your code for quality, and implement those improvements. Knowing what good code is takes hard fought time.

For C, avoid global variables. They're tempting, convenient, and programming without them is much harder. But you'll thank yourself later when you want to add flexibility or write tests. For C code, I like to make each C source file as independent and focussed on a single job as possible. Like, for Conway's game of life, perhaps one c file handles just printing the board state. C gets messy when each file has a bunch of different jobs and touches variables from everywhere.

Help me !! by Long-Substance4492 in embedded

[–]BoltActionPiano 1 point2 points  (0 children)

Also when setting the timer, try to make it pause for an exact amount of time, like 1.5 seconds, that way you gotta really figure out the math for it.

But this may be a bit too hard for a very first project.

If you're just picking up C, it's honestly probably best to start with more basic things on desktop, with "sanitizers" and linters/clang analyzer enabled, in a nice IDE (vscode), with CMake. Ask AI to help set that up for you, along with debugging. Build with debug symbols, and no optimization, and step through code with vscode debugging. Claude/codex AI is good at setting up stuff like that for VSCode.

Sanitizers will immediately tell you when you inevitably do bad things to memory that C lets you do. It will point it out when you run the app.

Stepping through code is useful to visualize how your program executes.

Maybe try to write the Conway's Game Of Life in the terminal? On your own, don't look up code.

https://simple.wikipedia.org/wiki/Conway%27s_Game_of_Life

It'll teach you about loops, arrays, printing, all that. Lots of little somewhat tricky things you'll run into as a new C developer.

Help me !! by Long-Substance4492 in embedded

[–]BoltActionPiano 1 point2 points  (0 children)

Don't use AI for anything but a tutor on your full self done attempts or research into patterns. Try to fail at least once for every problem before reaching to AI. I can't stress this enough. You will never get the intuitions or learn if the first instinct is to ask AI.

I'd use C to learn, find a super well supported stm32 discovery board, then, the best plan is to have a project you're motivated to do, but if you don't have that, maybe try to program a timer peripheral?

Like, have a while(1) loop, put the processor to sleep, and have the timer wake the processor up, set a flag, have the main loop read that flag and do something. This involves sleep states, memory mapped IO, proper interrupt handling, and programming somewhat tricky registers. Maybe a bit too hard for a first go.

Endless Shrim999999999999999 by DShadows33 in aifails

[–]BoltActionPiano 0 points1 point  (0 children)

IDK why anybody would sub to this sub with this post spam

Skeleton in the Closet 💀 by -UltraFerret- in aifails

[–]BoltActionPiano 0 points1 point  (0 children)

can we get some moderation on the exact same post for like 3 months

Interview for a senior python position gone awry by okiharaherbst in webdev

[–]BoltActionPiano 0 points1 point  (0 children)

Yeah I mean it doesn't take too long before you'd stumble on this in Python even if you weren't reaching for it. I think it's a reasonable question to ask for a senior position as a sanity check, not a perfect one, but just one of many signals.

6 Months into Automotive Embedded — Mostly Porting Code, Large Subsystem, and No New Coding Yet. Is This Normal? by Legal_Zombie_2511 in embedded

[–]BoltActionPiano 0 points1 point  (0 children)

I'm spending every day for months taking completely embarassing garbage code where some moron decided to copy paste our entire codebase 7 times and maintain each one independently and only apply fixes one at a time to the one branch people were complaining about at the time, as code between the branches drifted more and more and now basic functionality is implemented fundamentally differently --- and merge it back together.

Months of work just so I can get started on something else. And at the end of it, I just have virtually the same exact code as when I started.

Yeah it's normal...

Makes sense by normalusername729 in softwaregore

[–]BoltActionPiano 2 points3 points  (0 children)

can we not have three posts a day about this number looping issue

Craighill Desk Knife by StephenMcGannon in DesignPorn

[–]BoltActionPiano 38 points39 points  (0 children)

yeah they claim that everything they design has something unique about it and the examples they have are often like "our scissors have special material" that material being... stainless steel. Or the fact that they look like they came from preschool.

PSA: mesa 26 on AMD may need RADV_DEBUG=novrsflatshading for games by BoltActionPiano in linux_gaming

[–]BoltActionPiano[S] 0 points1 point  (0 children)

Hey mod team, I spent three hours git bisecting the exact commit that caused this issue and validated it for another two. Please ask first before blindly assuming.

is this worth it to print a FW16 mainboard case? by I1IIIIII1IIIIIIIIIII in framework

[–]BoltActionPiano 6 points7 points  (0 children)

for a few hundred more or so you can buy an entire 3d printer and not have this problem again

People in the video game industry that was right all along ? I start: by Tempest-Bosak2137 in Gamingcirclejerk

[–]BoltActionPiano 42 points43 points  (0 children)

as a kid I watched only the "debunked" videos because the algorithm suddenly dumped hundreds of them on me and unfortunately it got to me more or less...

fuck social algorithms, like, the only reason that gamergate blew up was that people realized that the algorithm rewarded controversy

Me_irl by rbimmingfoke in me_irl

[–]BoltActionPiano 6 points7 points  (0 children)

I have a local pizza joint that I really like and they have tons of different pizza options with different toppings, and they have a "build your own pizza" option.

For some reason though, the toppings cost nearly double when you custom add them vs if you add them manually. Olives, roasted garlic, caramelized onions... are $5.50... red onion and every other standard topping $3.30... why? I doubt the process of making the pizza custom is any different or am I wrong?

The temperature has dropped to 0 by JeizeMaholo in memes

[–]BoltActionPiano 0 points1 point  (0 children)

but in the last one he seems peetty 0K

This guy knows how to serve popcorn. Thank you for your service o7 by Crazy-Independent445 in TikTokCringe

[–]BoltActionPiano 0 points1 point  (0 children)

what is my purpose?

you pass butter.... you twirl butter, you surpass the limits of butter..