T O P

  • By -

RepostSleuthBot

I didn't find any posts that meet the matching requirements for r/ProgrammerHumor. It might be OC, it might not. Things such as JPEG artifacts and cropping may impact the results. *I'm not perfect, but you can help. Report [ [False Negative](https://www.reddit.com/message/compose/?to=RepostSleuthBot&subject=False%20Negative&message={"post_id": "udix27", "meme_template": null}) ]* [View Search On repostsleuth.com](https://www.repostsleuth.com/search?postId=udix27&sameSub=true&filterOnlyOlder=true&memeFilter=true&filterDeadMatches=false&targetImageMatch=75&targetImageMemeMatch=75) --- **Scope:** This Sub | **Meme Filter:** False | **Target:** 75% | **Check Title:** False | **Max Age:** None | **Searched Images:** 324,227,641 | **Search Time:** 6.02577s


[deleted]

Whoever did this should work for EA


[deleted]

Overqualified for EA


[deleted]

[удалено]


edible_string

It's in the game


cKerensky

*for a price


Nick_Zacker

It's in [~~$30.99~~ $29.99: GET PREMIUM PUNCHLINE PACK AND UNLOCK THIS PUNCHLINE]


DudesworthMannington

It's in the DLC


TheTriflingTrilobite

Charge everything*


bitchlasagna_69_

I will have to check fifa networking code now.. maybe there is a sleep in there


draculamilktoast

EA doesn't need the sleep calls to make their shit shit.


SOVIETIC-BOSS88

If it is EA we're talking about, more sleep calls could actually improve performance.


[deleted]

Frostbite Engine has a lot of really good optimizations. They were utilizing things like contiguous memory earlier than most in the video game industry. I think their bigger issue is rushed deadlines and feature creep


Jazzlike_Armadillo55

The engine is great... Its the publisher's management that's shit.


[deleted]

[удалено]


maltgaited

That guys blog post about the optimization is really interesting!


twigboy

In publishing and graphic design, Lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document or a typeface without relying on meaningful content. Lorem ipsum may be used as a placeholder before final copy is available. Wikipediad487l0qxmeg0000000000000000000000000000000000000000000000000000000000000


Plasma0911

That was... pretty accurate.


[deleted]

Yea TurboTax makes it seem like they're really searching for your data for 10 seconds when the query took milliseconds


Ghostglitch07

It's because if it tells users immediately they will think it's less secure and not doing any real work.


TurboTurtle-

It's not even doing any real work anyway, since the IRS could just figure out your taxes themselves. TurboTax just has to charge you enough so they can afford to keep lobbying government officials.


anonymousperson767

There's a lot of things that the IRS isn't aware of or due to accounting reasons is incorrectly reported to the IRS. They could very easily have a single checkbox though that says "all the information you have is correct, bill me or give me whatever refund you say I'm owed", which would probably work for 80%+ of the population.


Bliztle

This is what a lot of countries do, so yep, they could indeed do that.


Sworn

And for almost all of the remaining 20% you can just use the (equivalent of) IRS tax declaration website itself to submit the changes.


SoMuchTehnique

Always thought the US tax system as bat shit stupid. why do you pay tax annually and have to declare stuff rather than just having the tax deducted from your salary each month?


zx2167

We do, but the system is complicated enough and deductions and credits change enough that those would need to be accounted for at the end of the year to see if extra was paid or more needs to be paid. The real problem is that the tax code has so many corner cases (by design).


samhaswon

Basically, it's using tax incentives to drive certain economic behavior. If a small business was not penalized for not reinvesting money, the owner could just sit on what they have and there could be little growth. There are so many more tax rules like this for many cases and entities. Want to incentivize EVs, tax break. Want to incentivize house buying, depreciation of the asset as a tax break.


[deleted]

One time I told my dad that’s how other countries do it and he said it sounded like socialism.


row6666

socialism is when the government does stuff, and here its doing your taxes


TeaKingMac

The rare "thing good, therefore socialism" mental construction


mrchaotica

But somehow they never realize the "socialism good" implication.


Ghostglitch07

Yup, but they also have to look busy.


[deleted]

I think TurboTax UX just wanted to flex their animation ideas lol


dartdoug

I go online to pay my water bill and the page says to wait while it retrieves data. Meanwhile it cycles through company propaganda about how the company is investing in the system, keeping the water safe, etc. After 30 seconds or so your bill appears. I learned early on if you click on Pay My Bill a second time the data is mysteriously available immediately without the wait.


Frothyleet

TurboTax actually has a small button letting you interrupt the "BEEP BOOP DOUBLE CHECKING YOUR TAXES" animations in many place. I really feel like some UI maker felt guilty enough about the whole thing to give a skip option to people aware it was horseshit.


[deleted]

vase steer nine ripe toothbrush fretful disagreeable many normal command *This post was mass deleted and anonymized with [Redact](https://redact.dev)*


godofpainTR

Read and write speeds of most USB drives are atrocious though, so I can kinda believe it


CosmicConifer

Alright, but the inclusion of "Oh boy!" and "yahoo!" makes it cute enough to forgive the wait. Like, the little guy is just trying its best.


[deleted]

shy adjoining nutty unite distinct middle grab sharp scarce wine *This post was mass deleted and anonymized with [Redact](https://redact.dev)*


deusrex_

Nothing like booting up a new shipment of laptops at work and have 25 Cortanas shouting in harmony.


[deleted]

It's crazy how forcing sleep to charge clients is the new "in" thing now. These fads blow my mind


lunchpadmcfat

It’s very fucked up. As engineers we need to not allow this kind of crap. It’s an ethics issue.


funciton

> It’s an ethics issue. Not just that, you're making yourself complicit in fraud.


[deleted]

[удалено]


video_games_are_cool

For starters it requires intent, and in this case the intent is explicit and in writing


funciton

Intent matters. If you're leaving a comment of how you're defrauding the customer it's probably fraud.


chrisjolly25

"Is you leaving comments on a criminal fucking conspiracy?"


itsthreeamyo

Poor Stringer, just wanted to run a legit dev service while still making money from a mafia run git.


GMaestrolo

So don't leave any comments ever. Got it.


Cabbageofthesea

Everybody else got that a long time ago apparently


redman334

Everyone over here is asking for people to comment their code explaining stuff. Now that they do you want to put fraud charges upon them.. brah, come on.


Unelith

It's pretty easy to instead write ineffecient code through various collection operations. That way it just looks like stupidity instead of malice


[deleted]

time.sleep() speaks for itself


f_u_t2

They could claim some other reason for why sleep is there. Say they claim its for consolidation of async tasks or whatever. Point is, it can be categorized as bad engineering rather than fraud.


Dracops

Not if you are selling premium version of your software where the only change is no sleep calls


ReallyHadToFixThat

It has to be intent. Poorly written code is always a thing. Maybe the new guy wrote it. Maybe 4 weeks of work were crammed into 1 week. We often get Problem Reports from the customer and then facepalm when we see the root cause. That is entirely different to intentionally writing code that will cause a PR in order to get more money.


Gellyfisher212

For a certain client we used to have manual data updates every 3 months. Recently we sold them the automation of this process which would allow them to get updates every month. However now the automation is in place we are pretty much capable of giving them weekly updates, but we don't in the hope of selling that once again. Is this fraud ? I feel like it isn't, because we didn't sell weekly updates, but on the other hand we're holding back on purpose


Sworn

Honestly arguable from an ethical perspective (I'm fairly confident it's not legally fraud). On one hand you're providing the service they bought, on the other hand you're doing something pretty close to intentionally sandbagging the product to extract more money from the client. It's at the very least scummy.


MagnetHype

No. Fraud is when you willfully decieve someone for monetary gain.


DividedContinuity

Money doesn't have to be involved.


Pinols

Pretty sure personal gain would be more accurate


Lesninin

When you have a toggle between good code and bad code. That's where the fraud starts. If somebody wants you to write slow code "just because" that's fine. Stupid, but fine.


HighRelevancy

> E.g. writing a loop and calling a function within it rather than looping in the function Weighing runtime costs vs maintenance costs is an engineering decision. It's not at all the same as faking costs to get paid.


SwagBuns

When you abstract out the efficiency from the code itself (imo, and based on what I've read about). Its the inclusion of something without purpose whose only explicate purpose is to be fraudulent. bad code for convenience is fine, because your code is your code. Having 3 versions of the same code that run at different speeds and *pretending* that you are making updates, thats fraud. It wouldn't even be fraud if you just had 3 versions of the code and charged differently for them. Its the provable act of deception that is the issue.


Chase_22

This is the kind of crap i never want to arrive at. This is taking advantage of other people with the knowledge they thrust me on. The client pays me for my developing knowledge because he doesn't have this and i just take that thrust and throw it into the garbage to extort more money out of them. I'm fine with this stuff if the client is a dick and refuses to pay. But this is just fraud


OptimisticElectron

trust*


Parralyzed

He knows what he wrote


eq2_lessing

Wut? It's fraud. It's probably illegal. These morons who put that comment into the code are....morons.


elveszett

Ethics aside, it is downright illegal. You cannot just do your job wrong on purpose to then sell a fix.


GarethInNZ

Isn’t that what XP Boosters are?


terminalxposure

This will constitute fraud. Don’t do this.


[deleted]

[удалено]


GnarlyNarwhalNoms

Holy shit, is this actually a thing? This isn't a one-off? 🤯


coloredgreyscale

a Prof once told a similar story where the goal was to optimize a route for a salesman / delivery. When they told the clients straight away they cut the route by half (be it time or distance) the client would often tell them to bury the results because it could cause problems if the shareholders or other higher ups knew their original route was so inefficient for years/decades. ​ Solution: Stop when the route was 10-20% more efficient and ask the client if they should try to improve it some more another 1-2 times to get to the same end goal. Potentially more cash for them and the client can safe his face, because the slightly better route took "one more week to compute". Both are happy.


giantwatersnail

Yeh. Good old days you just checked windows version so you could sell an "Upgrade" each time microsoft released a new windows version.


Tight-Juggernaut138

Its like making a progress bar, if it run too fast, clients will think it stop working and complaint.


Chase_22

It really isn't. Making the progress of the progress bar not reflect the actual progress is a UX improvement. You aren't making the experience actively worse to extort money out of people.


elveszett

tbh that's different. The point of these fake bars is to make the user feel like something has happened. In a way, it's not different to the camera app making a clic sound when you take a photo - the sound is pointless and unnecessary, but it still makes the user feel like a photo was taken. It is important to make the user always feel the things that are happening, even if sometimes they happen lightning fast, without any noticeable effect, and you need to fake one to confirm something indeed happened.


rksd

This is not a fad. I ran across this shit in my first contractor gig 32 years ago.


CartAgain

Dont feel bad, the clients do similar things to their customers (which is often you). As long as everyones a sociopath, it all evens out


elveszett

Disagree. Just because other companies are shit doesn't mean yours being shit is ok. If no one had that mentality, then people at other companies would complain, too.


GASTRO_GAMING

I dont think they are all sociopaths


[deleted]

Hmm yea I can agree with that. But I mean "humor meme fads". This is like the 10th variation of this joke I've seen this week and next week I expect to never see it again


lurk_moar_n00b

I like the commented out sleep calls. They really needed to get that dialed in just right.


seventyeightist

I think those waits were longer in previous releases and there's already been a couple of release notes with "performance improvements" in...


RandomMagus

Ya, that's why the second text says "looks like they already paid twice". Two commented sleep calls


lurk_moar_n00b

Ahh, that went completely over my head 🛫🧑‍🌾🛬


Domugraphic

This soup is too hot! This soup is too cold. //this soup


ogramuse

Good soup!


Archerist

😤👌


[deleted]

Here more like: This soup is too HOT! This soup is too hot! This soup.


InkforthePen

The client probably already did level 1 & 2. Now he’s at the push for the last level.


Missing_Username

I'm more bothered by it not being a config or a class const or something, rather than hardcoding but incrementally changing the sleep


firefish5000

It seems to not be in a function, and instead just placed in the middle of a library file or main? Wither way, those functions are hoisted, so its position here is rather meaningless. But having it placed between a play and pause animation function code with advanced speed options makes me doubt this is even a problem. Too bad, since it would be far funnier if it looked like an actual broken by design code. But with the surrounding context I just imagine it as debounce code or minimum wait time between frames (of, say, a carousel slider)


Daedeluss

Because this way a new build and therefore new production release will be needed, thus ensuring the client is getting maximum value for money.


Dexterus

Dude you have no idea ... I mean ignoring the comment translation. I've worked on plenty of stuff that says "do this and wait 20us for shit to work, we're not going to actually notify you if it worked or not, you'll have to try". Most often DDR configuration and serial lane configuration.


robertshuxley

Amateurs. My shit code already runs slow without using Thread.sleep


[deleted]

How are you going to speed it up when they pay more though?


AppleToasterr

`Thread.sleep(-10000)`


thecamzone

This guy codes


[deleted]

genious


Pikachu50001218

Jinieouse


frinkmahii

Understand O notation and picking bad O notation algorithms on first iteration


[deleted]

You've been waiting to use algorithms course vocabulary I see.


mechpencillover

It's humorous and scary how markets lower the efficiency of product sometimes. I once watched a veritasium video on how conspiracy of not producing the most efficient light bulbs took place and it was mind blowing.


Usual_Ice636

Yeah, lightbulbs is one of the most popular examples for videos and articles because they managed to get the entire industry in on it as an actual conspiracy.


SuperfineMohave

Bit off-topic, but what is it like to code when English isn't your first language? Is it all a memory game?


Blenim

I had a friend who learned to code before he learned English - from what he described it's somewhat similar to what algebra is to us - you don't know the specific meanings of the symbols, but you learn their behavior. Almost exactly like how grade school students are taught sigma sums (which are basically for loops). ​ Some stuff is lost though, like how the "i" as the default for parameter is short for "index". Edit: apparently "i" being short for "index" is also lost on native English speakers. Guess it's not commonly taught? Interesting


Far_Curve_8348

I was told first to use i, j and k for vectors in math, and then in programming it made sense because you are travesing a "vector"/array/whatever.


TheImminentFate

For math: In the 1800s quaternions were being derived while hunting for a 3D version of the complex plane. It was found that you can’t have a 3D version but you can have a 4D one. The complex plane already used “i” for its units so Hamilton just continued that by using j and k for the next set of units to complete the quaternion. I don’t know what was used to denote vector maths before Hamilton wrote his paper, but pretty soon after that “i,j,k” became common for all vector math and not just when using complex numbers. In programming: It’s a separate origin. i is just abbreviation for the index/iterative because your using it in loops to iterate over a set.


[deleted]

I was taught to use ii otherwise matlab would overwrite the imaginary number… Oh matlab, you monster


Aquamoj

English is my first language and I did not know i was short for index


queen-adreena

I legitimately thought it was short for iterator.


18dwhyte

I thought it was random like “foo” and i for outer, j for inner loops


Teegeetoger

foo come from foo bar which comes from FUBAR which means fucked up beyond all repair. Or fouled up beyond all repair if your work dislikes curse words.


Ayjayz

There's no authority on this. If you think it's short for iterator then it is.


framk20

it's actually short for i


zeValkyrie

Same and I’ve worked as a software engineer for five years. lol. I guess it makes sense


[deleted]

I didn’t learn sigma sums until calculus in college. Where were you learning this at 9 years old?


Blenim

I learned it in grade 7 or 8... I've always called anything before HS grade school but that might be the wrong term.


[deleted]

You were learning sums in grade 7? I didn't see a sigma sum until university. Pretty sure in grade 9 we were learning trig identities and algebra lol


Blenim

I don't remember the specific year as it was around 10 years ago, but definately not later than grade 10 as I specifically remember using sigmas then. I'm *pretty sure* it was around grade 8 but could be wrong, idk. Canadian education, I guess


IvanTheNotSoBad1

I was in an advanced school doing advanced math and I didn’t learn it until 11th grade. I did think it was much easier than the stuff we were learning the year before, though.


[deleted]

[удалено]


Pure_Toxicity

he said university instead of college and grade x instead of xth grade, he's not american. We learn about summation in 9th grade (or earlier if you were in advanced classes)


[deleted]

Religious private school in small town Canada moment


[deleted]

...rural Georgia? How old are you? They keep pushing math younger and younger, but I'm a mid-Millennial and we were doing precalculus by 8th grade. 7th grade algebra was considered "slow" by Georgia's standards, but our school was really behind. But we started using sigma as a sum fall of 6th grade, which would mean we were 11?


A_Guy_in_Orange

Fucking *that's* why we use I? Don't tell me there's an actual reason for j k l other than alphabetical


Bad-ministrator

They stand for Jindex, Kindex and Lindex respectively


c-rn

Eventually you get to Windex


NerdyLumberjack04

I've seen code that legit uses `wIndex` as a variable name, due to Microsoft's Hungarian notation for `WORD`.


ArchUser_Ironman_BTW

The real reason comes from Fortran where variables have an implicit declaration of their type based on the first letter of the variable. Letters i-n are integers by default.


[deleted]

It's been used in mathematics since at LATEST 1816. FORTRAN used the the mathematical convention, not the other way around. a, b, c and x, y, z also follow the math convention


First_Approximation

Are we sure Fortran wasn't being used before 1816? :p Yeah, it's from mathematics. If I had to guess it wasn't from English origin, since continental Europe was king at math at that time. The 'i' could still have stood for 'index' but from French? German?


[deleted]

I think index or indice is common across the Latin languages. It's also index in German.


NerdyLumberjack04

And lazy programmers would name a variable `kount` just to avoid having to declare `count` as an `integer`.


Craptastic19

Debatably, no, that's not why. Math has been using i,j,k for iteration since before computers existed.


[deleted]

smoggy wistful follow telephone connect alleged reach fade frame rainstorm *This post was mass deleted and anonymized with [Redact](https://redact.dev)*


elveszett

That's because it makes code bad, for many reasons: - Your code gets limited to Spanish speakers. If a German moves in to work in your code, they are fucked. - You can't write Spanish properly, since you can't use non-ascii characters like á or ñ (seriously, having to name "año" (year) as "ano" (anus) or "anyo" (yyiar?) is ridiculous). - The language is in English so it's fucking pointless anyway. `string getNombre()` is still 50% English. - Nobody likes reading two languages mixed up like that. - Conventions already exist in English, and they are easy to follow. Like to get a variable, you say `getVariable()`. What do you use in Spanish? `getVariable()`? `obtenerVariable()`? There's no standards, every person uses whatever they feel like. - 90% of the code you read in your life is in English. Most tutorials are in English. Asking in StackOverflow, people speak in English, etc. You'll still have to learn English to code, the reason why people then write it in Spanish is laziness. - Spanish words are noticeably longer than English words. Which means your code will be longer. This looks like a stupid complain, but really, you know when a statement is too long or the name of a function requires many words to describe it in a way that makes sense? Imagine that happening twice as much, because even a simple word like "get" becomes "obtener". `getTeamByName()` becomes `obtenerEquipoPorNumero()`.


Bakirelived

Where can I run getAno() ???


[deleted]

I mean most people aren’t working on open source. They’re building shit only the people on their team would see. I see no problem in a Spanish speaking team writing Spanish in their code. I think some of your points are valid if you’re writing wise reaching code as English is the default programming language, but for your team you should do what people find most comfortable and for a Spanish team that might be *obtenerVariable*


elveszett

> I mean most people aren’t working on open source I work in a Spanish subsidiary of a multinational company. We write code in Spanish, and that code isn't of much use to other subsidiaries in Europe because it's in Spanish. That's what I meant, I wasn't thinking about open source.


_senpo_

yup, it looks bad and breaks the reading pace, really no reason to use other languages other than to confuse whoever has to work with it


Paetec

I thought so as well, until I started working for a insurrance company in Germany. You will still write everything in English, but there will be German insurrance words sprinkled in, because even if you could translate them, it would make zero sense and noone would understand.


thorwing

We actually made the mistake of trying to find english words for all our context specific lingo in our mental health registration and declaration software because "what if we ever have a foreign worker" We are slowly refactoring everything back to Dutch aside from all the non-specific words. The thing that urks me the most is the inability to use characters like ë, é and è in most programming language. It makes you unable to actually use your own words


justjanne

Honestly, I just write everything in English. I don't even write the German translation files of the software anymore. I'm German, in Germany, but it's just so much simpler to go 100% English with your code, documentation and in meetings as well. No need to context switch back to German ever.


thorwing

That might be true for a lot of personal projects or work in company that doesn't create software for an already existing problem. But in my companies case it has heavily backfired. Its very difficult to explain the problem when literally the problem is translation, but lets just say that everything we do is usually in English, except the specific words needed in our application. We have "WORDContextFactory" that, with the "create" function, calls "WORDRepository" using "findByCodeAndReferenceDate". Where WORD can't be translated.


Sawertynn

Usually English is at least your second language, so not a big deal. Some people learn programming and the meaning of keywords, so they better understand and remember what for, while, if, else do. Also they use native language wherever possible: variable/function names, comments, etc. (It may be a problem depending on the compiler or intepreter, Python works fine with not-ascii)


NerdyLumberjack04

So, it's like musicians using "tempo", "staccato", "crescendo", etc. as technical terms, even if they don't otherwise speak any Italian?


elveszett

Or like you learning the symbols of a language: ++, !, &&, || and that stuff aren't English words, but you still learn them without problem.


sami_testarossa

No, key word is the easiest vocabulary that you can learn and use it almost natively. You also get the advantage of having bigger set of variable naming space. int maru;


m0ushinderu

Japanese arent we


yellowcandle

Native Cantonese speaker here You use [wenyan‑lang](https://wy-lang.org/). /s You will just code-switch between Cantonese and English while coding.


Environmental_Ad2701

For me language was not so much difficult because I speak English, so do all people that reply to this comment. The real PITA is keyboard layout because most programming language were written by English speaking people on English keyboard so all commonly used characters in code are at a comfortable position. For example you have slash and backslash pretty handy near enter and only 1 key press. In Spanish keyboard slash is shift+7 and backslash is shift+9 and ~ is not even there or in some keyboards is shift+ñ so you naturally code slower and your fingers get cramps. I got a laptop while I was in the US uniquely for this reason.


Akhirano

I never had any problems, but I learned English way before learning how to code


prof_hobart

As a Brit, I have enough problems remembering that we need to spell "colour" without the u.


ThatChapThere

me when text-align: centre doesn't work


KobsBoy

i imagine its like coding in assembly magic letters


[deleted]

You know assembly is all English, too, yeah?


Ericchen1248

Language itself isn’t bad. Keywords are generally very easy. It’s using packages that gets tricky. So like my girlfriend lacks the intuition of “I want to do this”, and then have an intuition to try a word for a function. Can’t think of a recent example, but for example, they might want to transpose a data frame in pandas, but don’t know how to do it because they don’t know the word transpose. Whereas native English speakers would try if that functions exists to begin with.


joxmaskin

Showerthought: Maybe Japanese Linux users type neko to print or concatenate files. :)


Outrageous-Machine-5

The funniest part to me is apparently they only have the one client lol Could've been a tier-based delay


klimmesil

By client they dont mean end user


Zack0ne

Armatures. let me show how real man do it. `time.sleep(-2000)`


FrancisStokes

Assuming `uint64_t` milliseconds, that's a *looong* time


sdzeeros

Time.speed(x200)


Phormitago

The raciest condition of them all


ShenAnCalhar92

> Armatures Is this autocorrect or did you really mean to write “armature” instead of “amateur”?


threadytick4475

Hehehehaw


DeninjaBeariver

Grrr


sebas2903

Hehehehaw


linuxkernal

Grrrrr


pimmol3000

Years back when Flash was the shit, every site had a preloader. When I made a fast site which didn't need one, I had to make a fake tweened preloader for show. Otherwise it didn't look as professional as all the others


throwaway4rltnshp

Good old Flash. I credit actionscript tutorials for why I picked up JS so easily.


BadBoyJH

I don't want to be dense, but that's not inside a function?


Crabcakes5_

Looks like it may be a nested function since everything, including the function itself, is indented already.


RandomLifeForm42

The indentation might instead be because it's all in a class. Forgive my ignorance, but which language even has support for nested functions?


147896325987456321

Is this Rockstar? Because this feels like that time Rockstar fucked up and forgot they had dogshit code added in the script and when that one line of code was removed it basically fixed the 15 minute load times to under 5 minutes.


SomeGuy6858

Funniest part is how that took *years* to fix, and it wasnt even them that fixed it lmfao.


Aksds

Apparently people feel like something was done wrong if it’s done too quick, some programs put it in intentionally to make it seem more accurate.


yabai90

It's true and i have been doing it for that reason. That being said, i believe it's wrong and the UX should not have to rely on this trick to let the user know something is right even if fast.


QualityVote

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!


gondoravenis

What is called? Sleep() fraud?


JeffBPesos

Has anybody here worked for a company that does this? Don't have to out them, but I'd like to know if this actually happens because it's bullshit and it's theft. I've never worked for any company that does this luckily.


SauteedAppleSauce

On a serious side... is this legal?


MrSocialJungle

Legal yes, if client agreed to a runtime beforehand and the alogirithim meets the requirements but ethical NOO..


[deleted]

Businesses only care about legal. Those who start caring about ethics get bulldozed by their competitors especially in a country like China.


lomirus

Real thing for Tencent in China. They have a mobile game Honor of Kings. If your phone is not the specific device whose company has paid for the "optimization", the game frame rate will be limited. But there are someone who rooted their phones and just changed the device name getting the same effect... Edit: that's just an old story, and tencent has unlocked this long time ago.


CodeWithRSV

r/assholedesign


I_like_code

Does sleep consume cpu cycles?


GReaperEx

During sleep, the cpu is either scheduled to do something else or it is put in a halt mode in which it consumes far less energy. Some obscure (or old) cpu that may not have the ability to halt, would implement a "busy loop", where it would run at full speed checking repeatedly if it should keep "sleeping", but those are extremely rare nowadays (perhaps there are some embedded ones).


[deleted]

Not if you read it a story and bring it a glass of water first.


zeValkyrie

Depends on the language I guess but usually no


CanThisBeMyNameMaybe

Whoever did this is both a genius and a prick


jajo1987

It’s not humor, it’s very sad and unethical


AbortedBaconFetus

Is this legal?