this post was submitted on 25 Jan 2024
827 points (98.4% liked)

Programmer Humor

32467 readers
1007 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 45 comments
sorted by: hot top controversial new old
[–] AdamEatsAss@lemmy.world 146 points 9 months ago (2 children)

If you get it right you're a robot!

[–] lockhart@lemmy.ml 73 points 9 months ago

welcome to the secret robot internet

[–] jol@discuss.tchncs.de 2 points 9 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

[–] Flexaris@discuss.tchncs.de 73 points 9 months ago (3 children)
[–] Tolookah@discuss.tchncs.de 56 points 9 months ago* (last edited 9 months ago) (6 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

[–] grue@lemmy.world 36 points 9 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.

[–] Tolookah@discuss.tchncs.de 14 points 9 months ago

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

[–] cashews_best_nut@lemmy.world 1 points 9 months ago

It needed a separate co-processor

Such a great time to be alive. 🥲

[–] theamigan@lemmy.dynatron.me 24 points 9 months ago (1 children)

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

[–] socphoenix@midwest.social 10 points 9 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.

[–] theamigan@lemmy.dynatron.me 6 points 9 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.

[–] user134450@feddit.de 19 points 9 months ago* (last edited 9 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.

[–] InputZero@lemmy.ml 8 points 9 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.

[–] dfyx@lemmy.helios42.de 8 points 9 months ago (1 children)

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

[–] Tolookah@discuss.tchncs.de 8 points 9 months ago* (last edited 9 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

[–] killeronthecorner@lemmy.world 6 points 9 months ago

Linux 🤝 DooM

Running on literally fucking anything

[–] AnarchoSnowPlow@midwest.social 4 points 9 months ago

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

[–] MonkderZweite@feddit.ch 4 points 9 months ago

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

[–] flambonkscious@sh.itjust.works 38 points 9 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...

[–] AnarchoSnowPlow@midwest.social 18 points 9 months ago* (last edited 9 months ago) (1 children)

With enough grit and time, yes :D

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

[–] tetris11@lemmy.ml 1 points 9 months ago* (last edited 9 months ago)
[–] nifty@lemmy.world 45 points 9 months ago (1 children)

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

[–] Tak@lemmy.ml 7 points 9 months ago (1 children)

The follow up question is what chip can run Doom.

[–] xmunk@sh.itjust.works 9 points 9 months ago (1 children)

The one after that is just a panel of sixteen shoes, "Which of these can run a JVM?"

[–] Tak@lemmy.ml 2 points 9 months ago

Depends what JVM I can beat with the shoe

[–] PeriodicallyPedantic@lemmy.ca 33 points 9 months ago

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

[–] Grass@sh.itjust.works 33 points 9 months ago (1 children)
[–] oce@jlai.lu 27 points 9 months ago (1 children)
[–] Grass@sh.itjust.works 7 points 9 months ago

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

[–] dandroid@dandroid.app 30 points 9 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.

[–] WaterWaiver@aussie.zone 9 points 9 months ago

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

[–] stingpie@lemmy.world 17 points 9 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.

[–] Tja@programming.dev 32 points 9 months ago (1 children)
[–] stingpie@lemmy.world 20 points 9 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.

[–] Rodeo@lemmy.ca 14 points 9 months ago (1 children)

Damn that's gonna be slow.

But I guess speed was not a criterion.

[–] xmunk@sh.itjust.works 7 points 9 months ago

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

[–] Tja@programming.dev 4 points 9 months ago

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

[–] monk@lemmy.unboiled.info 1 points 9 months ago (1 children)

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

[–] stingpie@lemmy.world 1 points 9 months ago (1 children)

Emulated processors can do the same things as physical processors, including booting from disk.

[–] Ross_audio@lemmy.world 2 points 9 months ago (1 children)

Boot = Bootstrap

If you've loaded up a virtual CPU first that's not a boot of mainline Linux on the CPU.

[–] stingpie@lemmy.world 1 points 9 months ago

I respectfully disagree. The turning machine is not doing any set-up before the emulated CPU begins execution, and all of the actual BIOS is done by the emulated CPU.

[–] getoffthedrugsdude@lemmy.ml 7 points 9 months ago

What LPI Exam is this

[–] dion_starfire@lemm.ee 7 points 9 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.

[–] WindowsEnjoyer@sh.itjust.works 4 points 9 months ago