jkercher

joined 2 months ago
[–] jkercher 12 points 2 days ago (2 children)

To me, Microsoft's entire transition to web technologies is a self inflicted wound. Going native is a massive performance win. They already had that, and went the other way. Just, Why!? Now, Microsoft software is all big, bloated, and slow as fuck. Even the OS. They were literally bragging about a 9 second start up time after some optimizations to Teams. They don't even know what efficiency is anymore. We all essentially have super computers, now, but sure, congrats on your 9 second load time for a fuckin chat program.

[–] jkercher 3 points 2 weeks ago

Yeah, I had a silly hack for that. I don't remember what it was. It's been 3-4 years since I wrote bash for a living. While not perfect, I still need to know if a pipeline command failed. Continuing a script after an invisible error, in many cases, could have been catastrophic.

[–] jkercher 1 points 2 weeks ago* (last edited 2 weeks ago)

Woah, that ((i++)) triggered a memory I forgot about. I spent hours trying to figure out what fucked up my $? one day.

When I finally figured it out: "You've got to be kidding me."

When i fixed with ((++i)): "SERIOUSLY! WTAF Bash!"

[–] jkercher 4 points 2 weeks ago (2 children)

I was never a fan of set -e. I prefer to do my own error handling. But, I never understood why pipefail wasn't the default. A failure is a failure. I would like to know about it!

[–] jkercher 10 points 2 weeks ago

I'll give you my vim when you pry it from my cold, dead hands.

[–] jkercher 1 points 1 month ago

Yeah. Using yocto, I know what I want and can do it in Linux. But, "how make yocto do it" becomes an entirely different thing. It would be nice to have a simple container->image pipeline.

[–] jkercher 2 points 1 month ago* (last edited 1 month ago) (1 children)

Right now, the most common target we have at work is variscite imx6,7 and 8. Nxp has leaned heavily into yocto. To be clear, this would be an outside of work thing, but I'll probably yoke one of our dev boards.

[–] jkercher 8 points 1 month ago

Hey! I know the guy working on this. Super cool, detail oriented guy.

[–] jkercher 2 points 1 month ago

Ha. I've never used buildroot, but I think I'm going to have a go at it. I promise not to use python ;]

Thank you for the insight.

6
submitted 1 month ago* (last edited 1 month ago) by jkercher to c/embedded
 

Hello all, I'm an embedded software guy struggling with Yocto. I'm not asking for assistance as I cannot be saved. Rather, I'd like to make my own. How hard it would be to put a Linux distro onto a device without it? For example, if I were to get a perfectly good distro (let's just say Debian) with the right architecture going in a container. Is there a simple way to combine that with u-Boot, and other crap from a SoC manufacturer to build an image? If that is oversimplifying, I've done Linux from scratch before, and I'd be willing to go that route as well. I guess the issue boils down to the specifics like building the image and anything else that I'm not aware of.

So, what part of this idea is going to be a lot harder than I'm giving it credit for?

By the way, I'm aware of Buildroot. This is more for learning purposes, and who knows... maybe I will actually make something out of it.