this post was submitted on 25 Jan 2024
923 points (98.3% liked)

Programmer Humor

32588 readers
918 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 161 points 10 months ago (2 children)

If you get it right you're a robot!

[–] [email protected] 79 points 10 months ago

welcome to the secret robot internet

[–] [email protected] 9 points 10 months ago

When AI gets so cheap that it starts understanding any captcha challenge, we might be able to honey pot them like this for a while

[–] [email protected] 84 points 10 months ago (3 children)
[–] [email protected] 64 points 10 months ago* (last edited 10 months ago) (7 children)

I don't think the Spartan 6 can, it's an fpga with no arm, the zynq can, there's a lot of other arm chips that I assume can run some type of Linux, but the blurry ones are throwing me off

Edit, top left is a 286 CPU, and the Intel one has an earlier date, so they MIGHT be able to ~~run~~walk it, it'll be not good

[–] [email protected] 42 points 10 months ago (2 children)

Not only could mainline Linux never run on a 286, it also definitely doesn't count as an "SoC" to begin with. It needed a separate co-processor just to do floating-point math, let alone to manage all the I/O that a SoC does on-die.

[–] [email protected] 19 points 10 months ago

You guys are the best. I reply in what I think is a bit nerdy way, and I'm outdone.

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

It needed a separate co-processor

Such a great time to be alive. 🥲

[–] [email protected] 24 points 10 months ago (1 children)

286 Protected Mode is very different from 386 PM and there is no way Linux will would run on it.

[–] [email protected] 11 points 10 months ago (1 children)

There is a project looking to do this kind of, known as elks that has images for 80286 chips. I have no idea why you’d want to do that to yourself though.

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

Interesting. Reminds me of PC/IX, and it probably similarly doesn't even enter pm, judging from it running also on an 8086.

[–] [email protected] 20 points 10 months ago* (last edited 10 months ago) (1 children)

this is extra tricky because they did not specify the exact kernel. mainline could be any of the kernels tagged as stable that you can build from linus' git tree. i know that in the past you could run a mainline linux on intel 368 chips but today you probably can not because official support was dropped a while ago.

[–] [email protected] 8 points 10 months ago (1 children)

Part of me wishes I still had my families old 386 or commodore knock-off. Read some of the terrible short stories I wrote, play tanks. I remember when my Mom's friend came over with a stack of 5~1/4~ floppies and installed a program that played the Loonie Toons theme song with their logo and Buggs Bunny captioned saying "That's all folks." It blew my mind, video (sort of) on a computer, how was that even possible. I wondered how they got it to connect to the cable cause no way a computer could do that. Dang I'm getting old lol.

[–] [email protected] 9 points 10 months ago (1 children)

If posted in the right circles, this might motivate someone to get something on a Spartan 6 that runs Linux.

[–] [email protected] 10 points 10 months ago* (last edited 10 months ago) (1 children)

Damn .. https://numato.com/kb/saturn-microblaze-and-linux-how-run-linux-saturn-spartan-6-fpga-module-part-i/ I was hoping to find a comment, maybe, not a complete guide.

Also, didn't know that you could run it in a microblaze instance

[–] [email protected] 9 points 10 months ago (1 children)

Linux 🤝 DooM

Running on literally fucking anything

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

Doom runs without MMU or even MPU. Maybe can run even without context switching.

[–] [email protected] 6 points 10 months ago

You can run a "soft" (semi-hard?) Processor on a Spartan, you could run Linux on that at least.

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

I guess the blurry Samsung in the center is an ARM?

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

it's an fpga with no arm

You can make arm in fpga. Or more realistically RISC-V.

[–] flambonkscious 40 points 10 months ago

I just go by the colour - I don't like the slightly maroon Qualcomm one.

It's like picking politicians but different - with then I go by their haircuts...

[–] [email protected] 18 points 10 months ago* (last edited 10 months ago) (1 children)

With enough grit and time, yes :D

Edit: ok not mainline, but Linux in some form or another anyway.

[–] [email protected] 1 points 10 months ago* (last edited 10 months ago)
[–] [email protected] 50 points 10 months ago (1 children)

What’s the test here? Prove you’re an embedded systems nerd?

[–] [email protected] 47 points 10 months ago

The opposite of a captcha. Making sure that ONLY bots can enter.

[–] Grass 43 points 10 months ago (1 children)
[–] [email protected] 55 points 10 months ago (1 children)
[–] Grass 17 points 10 months ago

I guess I set myself up for that one...

[–] [email protected] 35 points 10 months ago (1 children)

OH MAN. I worked on an Android tablet that used a rockchip CPU, not the one listed here but an older one (I think RK3026). What a PIECE OF SHIT. I don't wish that tablet on my worst enemy. Battery life was like sub 2 hours with a 3200 mAh battery. Sometimes it would start running hot, and you could watch the batter percentage go down one percent every 10-20 seconds. The only way to break it out was to reboot it or let it die.

We later upgraded our CPU to the 3288, one gen older than this one, and it was significantly improved, but still very entry level.

[–] [email protected] 12 points 10 months ago (1 children)

Never use an SoC that's not at least 5 years old ;)

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

Do they get covered with mold?

load more comments (1 replies)
[–] [email protected] 17 points 10 months ago (1 children)

Anything that's turning complete, has enough ram, and has a c compiler can run Linux. Theoretically, you could program a CPLD to run brainfuck and you could still run Linux.

[–] [email protected] 39 points 10 months ago (2 children)
[–] [email protected] 22 points 10 months ago (3 children)

Yes. Any turing complete processor can perfectly emulate any other turing complete processor, whether it is x86, arm, or riscv. Mainline Linux can then run on this emulated processor without modification.

[–] [email protected] 14 points 10 months ago (1 children)

Damn that's gonna be slow.

But I guess speed was not a criterion.

[–] xmunk 7 points 10 months ago

It's technically correct, the best kind of correct.

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

I guess it's the difference of can today vs could if this emulator existed...

[–] [email protected] 3 points 10 months ago (7 children)

"boot" is the next important part. Have you tried reading it in full?

load more comments (7 replies)
[–] [email protected] 2 points 10 months ago

...and lack of "theory".

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

I remember this captcha. I gave up after about the fourth round. The prize just wasn't worth it, and I wasn't on a machine where I could try scripting out a solution.

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

What LPI Exam is this

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

ARM really shot itself in the foot by making it so every SOC needs to have a custom OS image tailored to it. x86 meanwhile lets you pick a universal binary that'll sort itself out at runtime

load more comments
view more: next ›