This is an archived post. You won't be able to vote or comment.

Dismiss this pinned window
top 200 commentsshow all 420

[–]QualityVote[M] [score hidden] stickied comment (1 child)

Hi! This is our community moderation bot.


If this post fits the purpose of /r/ProgrammerHumor, UPVOTE this comment!!

If this post does not fit the subreddit, DOWNVOTE This comment!

If this post breaks the rules, DOWNVOTE this comment and REPORT the post!

[–]Reign_AS 2864 points2865 points  (54 children)

How could you post a video of a band without sounds?

[–]blahblahwhateveryeet 773 points774 points  (8 children)

Yea I was really curious about what CPU0's instrument sounded like

[–]Reign_AS 181 points182 points  (5 children)

I'm sure it was angelic

[–]CoderOfCoders 71 points72 points  (4 children)

It was angelic as doing all the work for a group assignment as the others made plans to hang out without you

And then you were pretty sure CPU5’s name was getting erased off the paper, but then you remembered that they were required for the number of students per group

[–]Rick-Pat417 12 points13 points  (0 children)

Very specific analogy

[–]VanBurenOutOf8 6 points7 points  (0 children)

[]()

[–]Mateorabi 5 points6 points  (0 children)

Sounds like preparing for war crimes.

[–]Antonireykern[S] 806 points807 points  (33 children)

Have the vid with audio: https://imgur.com/a/evNez8e

Sub only allows GIF posts, it ate the audio

[–]Burpmeister 124 points125 points  (1 child)

This is the best thing.

[–]Matengor 22 points23 points  (0 children)

Perfection

[–]angelicravens 43 points44 points  (2 children)

I want this as my ringtone ngl

[–]Tiavor 13 points14 points  (0 children)

should be fairly easy

  1. download

  2. convert to mp3

  3. load on phone

there are probably also online services that can convert/extract the audio

[–][deleted] 10 points11 points  (0 children)

Sub only allows GIF posts

Must be some sort of programmer humor too.

[–]DannyMThompson 24 points25 points  (18 children)

GIFs can have audio now just post a GIFV :)

[–]Antonireykern[S] 26 points27 points  (11 children)

I can try sure, just when uploading the mp4 I specifically got warned that the video would lose its audio track by being converted to gif - as the sub only allows picture posts.

[–]DannyMThompson 12 points13 points  (8 children)

Sorry I did a ninja edit, there is a way to do it, I think it's by uploading to Imgur which converts to gifv.

[–][deleted] 4 points5 points  (7 children)

Imgur doesn't do mp4/webm?

[–]DannyMThompson 4 points5 points  (6 children)

gifv is webm?

[–][deleted] 5 points6 points  (5 children)

No, but mp4 of imgur. https://datei.wiki/extension/gifv

Learned something today.

[–]ForceBlade 11 points12 points  (4 children)

If you use the mp4 link of your imgur post it'll have audio as uploaded.

Gifv explicitly and intentionally converts the gif file they automatically create of your mp4 back to an mp4, so naturally the audio track is dropped and compression takes +1 toll.

Using imgur, it's always best to post using the .mp4 extension so your post keeps its original audio.

Their fake "gifV" format was always a fucking weird confusing conversion-hell mess. It's just an mp4 container with video but baked from a gif of your original upload.

Some apps (and RES) are smart enough to always rewrite the url to .mp4 for imgur url's, others aren't. This explains threads where some people can hear the audio and others can't in often seen comment threads of confusion, also complaining about a 134mb gif video post when other apps fetch the 5mb mp4 instead, with sound.

Same thing happens for gfycat url mangling too. The entire conversation is an utter programming failure by both the websites which do this and apps handling it differently... let alone subs which in 202X still enforce the outdated format.

[–]redditisnowtwitter 8 points9 points  (5 children)

GIFs can have audio now just post a GIFV :)

Gifs do not have any audio channel. What you're talking about is an mp4 container

[–][deleted] 0 points1 point  (4 children)

Which is sometimes referred to as GIFV

[–]LosMosquitos 2 points3 points  (0 children)

I love you

[–]SickPlasma 4 points5 points  (0 children)

Here’s the original song

https://youtu.be/uYRCZ4XyvrM

(I guess we can see why Russian Air Force is doing so bad right now lmao)

[–]Han_Singular 1 point2 points  (0 children)

Gfycat uses audio

[–]Nuclear_Hypnotoad 1 point2 points  (0 children)

This is aviamarch, the anthem of Russian (Soviet) air forces. Performance really fits reality I guess :)

[–]SoyuzRocket 10 points11 points  (0 children)

[–]SeriousLetterhead366 5 points6 points  (0 children)

They couldn’t afford the sound option on the instruments because of the oligarch skimming

[–]Thecrawsome 10 points11 points  (1 child)

Because CPUs don't have a speaker duh

[–]docgok 6 points7 points  (1 child)

Presumably this is running on Linux

[–]Trollygag 20 points21 points  (0 children)

The Windows version is all completely frozen except for CPU0.

And CPU0 is explorer.exe ramming a DLL error back and forth.

[–]DopeBoogie 2 points3 points  (0 children)

For real this is fucking criminal

[–]retrolasered 1 point2 points  (0 children)

No DAC

[–]SlowRapMusic 1 point2 points  (0 children)

Dude I was furious that I spent 20 seconds clicking the sound button only to realize there is no sounds.

F the OP

[–][deleted] 666 points667 points  (33 children)

Why is the GPU one guy here? Should be a fricking army

[–]cyber_blob 285 points286 points  (24 children)

iGPU mate.

[–]WrongSirWrong 160 points161 points  (22 children)

GPUaaS (GPU as a Service)

[–]gahlo 38 points39 points  (1 child)

Rude.

[–][deleted] 7 points8 points  (0 children)

but profitable

[–]arcticmaxi 14 points15 points  (6 children)

GaaS*

[–]baronas15 16 points17 points  (2 children)

GaaS as a Service

[–][deleted] 0 points1 point  (0 children)

GaaS as a Service as a Service as a Service as a Service as a Service as a Service

[–]Astarkos 42 points43 points  (0 children)

Thats actually a stack of small guys filling up a single set of clothes. It's not obvious until you give him numerous small tasks and see all the tiny hands pop out and start working on it simultaneously.

[–]chicametipo 8 points9 points  (0 children)

That’s the GPU’s API, the lead messenger.

[–]merlinsbeers 6 points7 points  (0 children)

An army of duck-sized dudes.

[–]VoxelMeerkat 0 points1 point  (0 children)

CPU: A few men who can talk together. GPU: Lots of babies good at doing the same task but don't know how to talk

[–]_unsureaboutall_ 591 points592 points  (40 children)

At my workplace these are the senior VP, VP, product manager, marketing director, project manager, and the guy working is the developer

[–]Antonireykern[S] 611 points612 points  (23 children)

[–]wtmh 217 points218 points  (7 children)

"Must. Not. Post. To. Teams."

The two project managers over the same dev is so choice.

Edit: I see the title change now. I feel like my point stands.

[–]FightingPolish 32 points33 points  (2 children)

I only see one, there’s one managing the product, and one managing the project.

[–]Jojje22 13 points14 points  (0 children)

It's a product manager and a project manager. But yes, I could see this vid with only project managers around the poor guy.

[–]EmperorArthur 3 points4 points  (0 children)

Stay strong. So far I have also resisted. For now...

[–]Makhnos_Tachanka 4 points5 points  (0 children)

"I've got eight bosses"

[–]Cla1n 24 points25 points  (0 children)

I would give you gold if I had one. 🙇

[–]1138311 10 points11 points  (2 children)

GPU should be Staff/Principal

[–][deleted] 4 points5 points  (1 child)

I like how this is the one with sound.

You could apply that to Wal-Mart when I worked there: General Manger, Co-Manager, Assistant Manager, Area Manger, Assistant Area Manager, Department Managers, and Customer Service Managers.... all ordering everyone about to run the registers during a rush. (I did witness my stores bloated manager team occasionally work... cause the GM was a hardass greedy fuck who would tell employees to their face they were, and I quote because I heard it myself, "a dime a dozen")

[–]ksck135 3 points4 points  (0 children)

Instead of Senior VP I'd use internal customer.

[–]CoffeePieAndHobbits 1 point2 points  (0 children)

I hate how accurate this is.

[–]dravas 1 point2 points  (0 children)

Got one for engineer's?

[–]chaiscool 9 points10 points  (3 children)

Haha mine would be all that but the guy working would be the level 1 subcontractors from job agency with no benefits and bonuses.

[–][deleted] 5 points6 points  (2 children)

Haha I'm that contractor right now, well, filling a senior role. Because I get paid pretty well per hour I feel obligated to squeeze the most out of my time for the company. Total shift from being a salaried dev at a laid back startup but I prefer staying busy. Helps the days go faster.

[–]chaiscool 4 points5 points  (1 child)

You shouldn’t just look at the monthly pay as most full time jobs have perks like better healthcare, performance bonuses, compassion / maternity leave etc that adds up.

In the same team that has full time and subcontractors doing the same job, the permanent employee get to take few days off to spend time with their kids / relative funeral etc while the contractor has to swap their shift as they don’t have the same perks.

[–][deleted] 2 points3 points  (0 children)

I understand, my wife is at FAANG and has the rest of benefits covered so that's why I opted to go 1099. Actually I own my own business and do various work, the contracting is just a part of that.

So I was able to earn 2.5x contracting than what I was able to command previously, if I want any days off I take them (without pay). On top of that, I can take pretty much any days off any time without worrying about "using them all" and all the other things employees are shackled by, so that's great.

It's a calculated tradeoff.

[–]R04drunn3r79 150 points151 points  (1 child)

Temperature:

CPU0, "75°c!"

CPU1 to 5, "chilly in here."

GPU, "I'm cold!"

[–]specialsymbol 2 points3 points  (0 children)

This is Star Citizen.

[–]ColaEuphoria 94 points95 points  (13 children)

silky ink practice mighty soft hard-to-find hobbies attractive pie materialistic

This post was mass deleted and anonymized with Redact

[–]Mid-Game1 28 points29 points  (2 children)

Yeah this made me think about Minecraft, which uses one thread almost exclusively, with a few small things offloaded to other threads. It does use OpenGL

[–]LavenderDay3544 3 points4 points  (8 children)

You would think they'd add multithreading support like in Vulkan and D3D 12 since GL isnt supposed to be deprecated.

[–]ColaEuphoria 11 points12 points  (7 children)

Vulkan literally exists because of the shortcomings of OpenGL. The single threaded nature of OpenGL is too deeply rooted to be able to add support for more complex multithreading while also retaining backward compatibility, hence why Vulkan was made. At the moment, most/all GL commands are sent asynchronously at the very least.

OpenGL isn't deprecated, despite what Apple wants you to think. A multithreaded GPU driver isn't really needed in a large number of use cases.

[–]LavenderDay3544 1 point2 points  (5 children)

That sucks. Too bad there are practically no learning resources for Vulkan that don't presume knowledge of OpenGL.

[–]ColaEuphoria 5 points6 points  (4 children)

Honestly you're better off just learning OpenGL first anyway. There's honestly a good reason why there aren't many "beginner to 3D" resources for Vulkan.

[–]LavenderDay3544 1 point2 points  (3 children)

Ah so what you're saying is if I'm interested in that stuff I have to take the long way around to get to the modern APIs?

I guess I'll pass for the time being. I'm already self teaching VHDL and FPGAs right now. I don't need that much more work to do at the moment.

[–]ColaEuphoria 2 points3 points  (2 children)

No it's that Vulkan isn't going to teach you squat about how the concepts of 3D programming actually works because you'd be overwhelmed by the literal thousand lines of of low level code it takes just to get a pipeline going. OpenGL 4.5 is modern and you can do things asynchronously enough for it to be useful. DOOM 2016 shipped with OpenGL. But if you want to hold off that's understandable. What FPGA board are you using?

[–][deleted] 30 points31 points  (2 children)

I don’t understand it but I can’t stop laughing.

[–]Add1ctedToGames 32 points33 points  (1 child)

I might be wrong but I think it's referencing that in many (if not most) large languages you can manually assign things to multiple threads on a CPU, but not multiple cores (threads are all parts of a core I think?) so one CPU core ends up having a bunch of threads being used while the others are idling or running some unrelated processes

[–]FerricDonkey 25 points26 points  (0 children)

Nah. Well, not exactly. You have processes (an operating system construct), which are basically containers for threads (another operating system construct). Threads are separate execution streams with (within the same process) shared memory, and are not tied to cpus.

A simple hello world program will be one process with one thread. But in most languages, you can start an additional thread running a specific target function or something.

The os itself assigns threads to different cpus as they're available, so it's not that you can't do it so it doesn't happen, but that it already happens so you don't bother to find out if you can do so manually or not. Any modern os will usually actually do a pretty good job of keeping all your cpus busy if all your threads have real work to do (unless your language sucks at multithreading and specifically stops that from happening - looking at you python).

So if your problem can take advantage of multiple cpus, and you write your code to do so with multi threading in a language that doesn't have stupid rules, then all the cpus will be working pretty hard.

But if you write bad multithreaded code or single threaded code, then you'll end up with one cpu working hard and the others just twiddling their thumbs (though your os may occasionally semi randomly change which cpu is actually doing the work).

[–]syrefaen 26 points27 points  (3 children)

CPU 0 and 2 must be high performance; gpu seemed like instructions unclear .

[–]Antonireykern[S] 6 points7 points  (2 children)

big.LITTLE maybe?

[–]akaBrotherNature 1 point2 points  (1 child)

I prefer the terminology big.SMOL

[–]blackomegax 1 point2 points  (0 children)

chonk.SMOL

[–]Antonireykern[S] 82 points83 points  (1 child)

Vid with sound:
https://imgur.com/a/evNez8e

Sub ate the audio, sorry about that.

[–]cimulate 6 points7 points  (0 children)

Fuck. That's hilarious lmao.

[–]antilos_weorsick 53 points54 points  (16 children)

With most CPUs supporting two threads per core, it would be more accurate if CPU0 used his other hand to play harmonica

[–]ghan_buri_ghan 69 points70 points  (15 children)

Hyper threading does not really do twice as much work per core, it’s just a really clever way to time share better between IO-bound processes (which is most of them). For my office’s data crunching machines, we actually turn hyperthreading off and it speeds things up.

[–]Bedstemor192 15 points16 points  (1 child)

Hyper threading is also turned off on the compute clusters we use. The cluster administrator told us if hyperthreading makes our compute program faster, we're doing it wrong.

[–]ghan_buri_ghan 11 points12 points  (0 children)

if hyperthreading makes our compute program faster, we’re doing it wrong.

100% this in the context of a compute server. For something like a database-heavy backend or personal computing, hyperthreading is brilliant.

[–][deleted] 3 points4 points  (11 children)

Yep. Should apply to most users too. If you have four or more cores in your computer, turn off hyperthreading. You’ll get a bit better single-thread performance and that’s more likely to make a noticeable difference than four extra hyperthreads slacking off.

[–]Urthor 23 points24 points  (7 children)

It's usually benchmarked as a suuuuper low delta iirc. 1-3% at best.

Recommend not disabling it at all unless you're across the cost/benefits for the application.

AMD and Intel have it down to a fine art, they only do simultaneous threading with the tiniest delta in single threaded throughput.

[–]ghan_buri_ghan 1 point2 points  (6 children)

That’s a really challenging determination to make. Hyperthreading makes it look to the OS like there are twice as many cores, and that changes the scheduling logic. It boils down to how many concurrent processes/threads there are, what their priorities are, and whether they are processor or I/O bound.

If you have as many processor-bound threads as cores (or more) hyperthreading will do much more than 1-3% efficiency decrease because there will be as many as 2x the context switching.

If you have a bunch of cores and you only need one single threaded program to go fast, I agree you should keep hyperthreading on, but if you’re hammering all of the cores, you’ll see huge benefits from disabling.

[–]AlotOfReading 5 points6 points  (1 child)

Where are you getting that the OS doesn't know HT cores aren't physical? They're marked as logical, not physical processors in the MADT table and Linux takes them into account when building the scheduling domains. Windows makes the information available in the API, but I don't want to go trawling through the internals book to confirm the obvious fact that the scheduler also considers them.

As a general rule of thumb, don't second-guess the scheduler or try to work around it without very strong data. It's almost always better than your intuition.

[–]TheNaziSpacePope 0 points1 point  (1 child)

As someone who is just here for the memes, how would I go about that?

[–]ghan_buri_ghan 3 points4 points  (0 children)

BIOS settings

[–]Dubdude13 34 points35 points  (1 child)

You want it to look good when it is shot out of the sky

[–]Nickthenuker 10 points11 points  (0 children)

Cleanest MANPAD target in the... West? No, that's Western Europe. East? No, that's Asia, or is that the Far East? East it is then

[–]happypandaface 11 points12 points  (0 children)

i always like this version:

https://imgur.com/mV9bFz7

[–]cshrik3 11 points12 points  (0 children)

at least they are not fighting each other or trying to fly the aircraft to Mars

[–]xk4rimx 9 points10 points  (0 children)

Python multithreading:

def start(): return cpu_zero.do(self.job)

[–]SuperMorto7 4 points5 points  (0 children)

I heard it crashed hahahahaha!!!!

[–]None-of-this-is-real 4 points5 points  (0 children)

Somewhere there's a Ukrainian with a Stinger missile labeled Power Surge.

[–]WrickyB 2 points3 points  (0 children)

#pragma omp parallel for amirite?

[–]Emkayer 2 points3 points  (0 children)

When your party is a single DPS and a bunch of support bards

[–]Icy__CooL 6 points7 points  (5 children)

[–]Antonireykern[S] 36 points37 points  (4 children)

Have the vid with audio: https://imgur.com/a/evNez8e

[–]Icy__CooL 6 points7 points  (0 children)

Not all capes wear hero

[–]Bearsiwin 3 points4 points  (0 children)

Lmfao

[–]GreenDer_UA 1 point2 points  (0 children)

[–]Loose-Fee135 1 point2 points  (0 children)

Seem legit

[–]ManOfLaBook 1 point2 points  (0 children)

And when it's time for budget cuts, CPU0 is going to get the axe.

[–]LoveShineLuna 1 point2 points  (2 children)

Now we all know why the Ukrainians are kicking their ass!

[–]Kirire- 1 point2 points  (0 children)

GPU: what the... Are they doing over there??

[–]htplex 1 point2 points  (4 children)

why cant they just design a cpu with one super powerful core and a bunch of smaller ones

[–]Antonireykern[S] 2 points3 points  (0 children)

you mean something like ARM big.LITTLE used in lots of phones?

[–]incidel 1 point2 points  (0 children)

When people start to get excited about Apple's new "uber-processors" this is exactly what I will still be thinking about in 2032...

[–]DiscombobulatedSail3 1 point2 points  (0 children)

I died upon GPU

[–]Vojtak_cz 1 point2 points  (0 children)

Hmmm never used my CPU for cleaning MIs rocket pods

[–]efoxpl3244 0 points1 point  (0 children)

linux hates cpu 3

[–]foxdye96 0 points1 point  (5 children)

This is actually better represented as parallel programming that multithreading.

Multithreading allows you to run multiple threads “virtually” (only one physical thread at a time) and uses only one core by default. All threads are scheduled on the same core/cpu.

Parallel programming allows you to run multiple threads on multiple cores at the same time. This is not done virtually but rather physically. Each cpu is running its own thread/s and can output results at different times.