jkercher

joined 7 months ago
[–] [email protected] 5 points 1 month ago

And, you can have pointers to bits!

[–] [email protected] 2 points 2 months ago* (last edited 2 months ago)

Algorithms + Data Structures = Programs

Niklaus Wirth

[–] [email protected] 37 points 3 months ago (2 children)

60k rows of anything will be pulled into the file cache and do very little work on the drive. Possibly none after the first read.

[–] [email protected] 7 points 4 months ago

Meh. I had a bash job for 6 years. I couldn't forget it if I wanted to. I imagine most people don't use it enough for it to stick. You get good enough at it, and there's no need to reach for python.

[–] [email protected] 7 points 4 months ago* (last edited 4 months ago)

Heh, the red alert readme says it currently requires borland for the asm and watcom compiler for the c/c++.

[–] [email protected] 2 points 4 months ago

I'm on your side dude. Comments rot. Some are useless. Don't even get me started on doxygen comments.

[–] [email protected] 3 points 4 months ago (1 children)

She already exists! I swear!

[–] [email protected] 13 points 5 months 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.

[–] [email protected] 3 points 5 months 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.

[–] [email protected] 1 points 5 months ago* (last edited 5 months 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!"

[–] [email protected] 4 points 5 months 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!

[–] [email protected] 11 points 5 months ago

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

6
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 

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.

view more: next ›