WhatsApp devs Troll Apple with a hidden ‘F#*( you’ in Source code


Recommended Posts

Baba_Ji

WhatsApp devs Troll Apple with a hidden ‘F#*( you’ in source code

 

Link to Picture - http://i68.tinypic.com/2v97t3l.jpg

 

WhatsApp has a gang of badass developers – but it seems not all of them are particularly crazy about Apple.
Messing around with the WhatsApp APK, Redditor xMarioZ came across an eloquent snippet of code that reads, “###### APPLE.”

The saucy piece of code appears on numerous occasions throughout the APK installation file for Android and was most likely left by WhatsApp’s dev team for their colleagues over at Apple.

While it’s unclear whether the message is merely playful banter or something more serious, Redditors speculate it might have something to do with Apple’s ridiculously strict App Store regulations.

All speculations aside, I absolutely don’t mind the coders’ inventive humour (or possibly rage) – it certainly got a laugh from me. Let’s just hope there’s no bad blood between the two companies.

It’s actually odd that WhatsApp’s quality assurance team didn’t flag the cheeky message; but whether they missed it or simply let it fly, I’m sort of glad it’s there – for fun’s sake.

 

 

Source, pics, links:
http://thenextweb.com/dd/2016/09/09/whatsapp-devs-troll-apple-source-code/#gref

Link to post
Share on other sites
Draconian Guppy

but what does the code actually do?

  • Like 1
Link to post
Share on other sites
Torolol
5 minutes ago, Draconian Guppy said:

but what does the code actually do?

wasting memory for extra bytes of strings (or is it strings of bytes?) that aren't really needed?

Link to post
Share on other sites
Draconian Guppy
2 minutes ago, Torolol said:

wasting memory for extra bytes of strings (or is it strings of bytes?) that aren't really needed?

Yeah that is pretty much obvious :p

 

My question would be, what does "public final void" and log.d actually do?

  • Like 1
Link to post
Share on other sites
adrynalyne
7 minutes ago, Draconian Guppy said:

Yeah that is pretty much obvious :p

 

My question would be, what does "public final void" and log.d actually do?

This is approximated code, but the log is for debugging output. Apple would have never seen this despite the implication in the OP because...its Java LOL.

Link to post
Share on other sites
Draconian Guppy
2 minutes ago, adrynalyne said:

This is approximated code, but the log is for debugging output. Apple would have never seen this despite the implication in the OP because...its Java LOL.

Ah thanks! That's what I needed, someone to explain like I'm 5 :p So basically if apple can't see it, it's just out of spite?

  • Like 1
Link to post
Share on other sites
adrynalyne
Just now, Draconian Guppy said:

Ah thanks! That's what I needed, someone to explain like I'm 5 :p So basically if apple can't see it, it's just out of spite?

I would say so, yes.

 

Pretty tacky of them, I did stuff like this when I was in school, but not professionally.

  • Like 1
Link to post
Share on other sites
adrynalyne
2 minutes ago, shockz said:

Probably an Intern.

Doesnt say much for their code review process though, does it ;)

 

  • Like 3
Link to post
Share on other sites
+Dick Montage

That troubles me - not because of any Apple-love, but the fact it spells out that nobody is reviewing and signing off on code, and that a developer is working in a culture where undocumented code like this is allowed.

  • Like 4
Link to post
Share on other sites
DevTech
51 minutes ago, Nik Louch said:

That troubles me - not because of any Apple-love, but the fact it spells out that nobody is reviewing and signing off on code, and that a developer is working in a culture where undocumented code like this is allowed.

Anybody here made code worth a few billion dollars like the WhatsApp devs?

 

I'd say their code review processes are freakin optimal!

 

Whatever works. Think about it. If loading up on the words SJW people don't like helps to motivate devs in the dark hours of the night then go for it.

 

Obviously WhasApp knows what they're doing. Maybe Dilbert Type Organizations with all their silly restrictions sucks the life out of devs so much that in the end, all you have is reams of nice clean sanitized crap code that isn't worth billions.

 

  • Like 2
Link to post
Share on other sites
adrynalyne
3 minutes ago, DevTech said:

Anybody here made code worth a few billion dollars like the WhatsApp devs?

 

I'd say their code review processes are freakin optimal!

 

Whatever works. Think about it. If loading up on the words SJW people don't like helps to motivate devs in the dark hours of the night then go for it.

 

Obviously WhasApp knows what they're doing. Maybe Dilbert Type Organizations with all their silly restrictions sucks the life out of devs so much that in the end, all you have is reams of nice clean sanitized crap code that isn't worth billions.

 

Uh, I would hope you would realize that code quality has nothing to do with revenue. What else is hidden in there that was missed? That's a potential security risk too. 

 

I am disappointed that you blindly defend this behavior. 

  • Like 1
Link to post
Share on other sites
+Dick Montage
2 hours ago, DevTech said:

Anybody here made code worth a few billion dollars like the WhatsApp devs?

 

I'd say their code review processes are freakin optimal!

 

Whatever works. Think about it. If loading up on the words SJW people don't like helps to motivate devs in the dark hours of the night then go for it.

 

Obviously WhasApp knows what they're doing. Maybe Dilbert Type Organizations with all their silly restrictions sucks the life out of devs so much that in the end, all you have is reams of nice clean sanitized crap code that isn't worth billions.

 

Wow, that's a really blind comment.  Large organisations do everything they can to mitigate risk, and undocumented code is a risk.  Exactly why Microsoft ruled out "easter eggs" moving forward.

  • Like 1
Link to post
Share on other sites
Baba_Ji
8 hours ago, Nik Louch said:

That troubles me - not because of any Apple-love, but the fact it spells out that nobody is reviewing and signing off on code, and that a developer is working in a culture where undocumented code like this is allowed.

Are you an iPhone user?

Link to post
Share on other sites
pqt
8 hours ago, adrynalyne said:

This is approximated code, but the log is for debugging output. Apple would have never seen this despite the implication in the OP because...its Java LOL.

Except when they do a code review they would have, no?

Link to post
Share on other sites
adrynalyne
3 hours ago, Mur said:

Except when they do a code review they would have, no?

Why would apple review android code? This is specific to Android. log.d is for printing out messages for logcat. It's impossible to know just from this snippet if they are using a cross platform framework but even if they were, this would not show up in iOS. 

Link to post
Share on other sites
DevTech
14 hours ago, adrynalyne said:

Uh, I would hope you would realize that code quality has nothing to do with revenue. What else is hidden in there that was missed? That's a potential security risk too. 

 

I am disappointed that you blindly defend this behavior. 

 

12 hours ago, Nik Louch said:

Wow, that's a really blind comment.  Large organisations do everything they can to mitigate risk, and undocumented code is a risk.  Exactly why Microsoft ruled out "easter eggs" moving forward.

That's a bit over the top.

 

1. We can't be taking a news report trolling an Apple troller as a mondo serious technical discussion

 

2. Blind comment? Seriously that is too blind itself - You took what in your opinion is a Politically Incorrect Word as evidence of "poor code" without a single comment on the actual code itself! That is about as blind as it gets. It's entirely possible that code was reviewed and discussed and maybe they made a loop more efficient or whatever  and they simply didn't give a Fu## about Political Correctness.

 

3. Perhaps someone could chip in on a grammar error while we're at it. I think"   "FAIL to load" should be "FAILED to load" - a very shocking misuse of English Present Tense which clearly shows that organization does not employ enough 5th Grade English Teachers on Staff to keep everyone in line.

 

  • Like 2
Link to post
Share on other sites
adrynalyne
2 hours ago, DevTech said:

 

That's a bit over the top.

 

1. We can't be taking a news report trolling an Apple troller as a mondo serious technical discussion

 

2. Blind comment? Seriously that is too blind itself - You took what in your opinion is a Politically Incorrect Word as evidence of "poor code" without a single comment on the actual code itself! That is about as blind as it gets. It's entirely possible that code was reviewed and discussed and maybe they made a loop more efficient or whatever  and they simply didn't give a Fu## about Political Correctness.

 

3. Perhaps someone could chip in on a grammar error while we're at it. I think"   "FAIL to load" should be "FAILED to load" - a very shocking misuse of English Present Tense which clearly shows that organization does not employ enough 5th Grade English Teachers on Staff to keep everyone in line.

 

Using your logic, we then shouldn't take what you said serious either. 

 

I don't know what your vested interest is in this code, but this is not a language barrier issue. This is a, hey we don't really look closely at our code reviews so who knows what's in there, issue. Political correctness has nothing to do with it. 

 

Link to post
Share on other sites
+Dick Montage
2 hours ago, DevTech said:

Blind comment? Seriously that is too blind itself - You took what in your opinion is a Politically Incorrect Word as evidence of "poor code" without a single comment on the actual code itself! That is about as blind as it gets. It's entirely possible that code was reviewed and discussed and maybe they made a loop more efficient or whatever  and they simply didn't give a Fu## about Political Correctness.

It suggests that there's no code review practise, or that the company doesn't care about redundant code.  Sorry, are you a coder or responsible for code deployment?  I genuinely hope not.  It could say "Poopy" for all I care of political correctness, it would still fail a code review anywhere with decent practises.

  • Like 1
Link to post
Share on other sites
pqt
16 hours ago, adrynalyne said:

Why would apple review android code? This is specific to Android. log.d is for printing out messages for logcat. It's impossible to know just from this snippet if they are using a cross platform framework but even if they were, this would not show up in iOS. 

Didn't realize it was android specific. Make sense why it would generate confusion though now.

  • Like 1
Link to post
Share on other sites
DevTech
20 hours ago, adrynalyne said:

Using your logic, we then shouldn't take what you said serious either. 

 

I don't know what your vested interest is in this code, but this is not a language barrier issue. This is a, hey we don't really look closely at our code reviews so who knows what's in there, issue. Political correctness has nothing to do with it. 

 

 

20 hours ago, Nik Louch said:

It suggests that there's no code review practise, or that the company doesn't care about redundant code.  Sorry, are you a coder or responsible for code deployment?  I genuinely hope not.  It could say "Poopy" for all I care of political correctness, it would still fail a code review anywhere with decent practises.

I am making the assumption that you are assuming there was no code review because if they had reviewed it the English Language word you personally found offensive would have been removed.

 

Or did I miss something obviously really bad in the code algorithm?

 

My point was simply that if the code sucked then, the review process sucked, but if the "decoration" sucked, then who cares because that is just neurons wasted on a useless consideration that could instead be focused on the code.

 

 

Link to post
Share on other sites
adrynalyne
25 minutes ago, DevTech said:

 

I am making the assumption that you are assuming there was no code review because if they had reviewed it the English Language word you personally found offensive would have been removed.

 

Or did I miss something obviously really bad in the code algorithm?

 

My point was simply that if the code sucked then, the review process sucked, but if the "decoration" sucked, then who cares because that is just neurons wasted on a useless consideration that could instead be focused on the code.

 

 

I'm done discussing this because a: it was found to be a hoax and b: you clearly aren't a professional developer otherwise you would understand what @Nik Louch and I are saying. And you calling *that* an algorithm....nah, not worth discussing further. 

Link to post
Share on other sites
DevTech
33 minutes ago, adrynalyne said:

I'm done discussing this because a: it was found to be a hoax and b: you clearly aren't a professional developer otherwise you would understand what @Nik Louch and I are saying. And you calling *that* an algorithm....nah, not worth discussing further. 

LOL - You both completely side-stepped my point. I hate these argumentative discussions

 

And Ad hominem is not up to your usual standards. https://en.wikipedia.org/wiki/Ad_hominem

 

I am a obsessively professional programmer that just avoids the sterile Dilbert landscapes of deified dullness and wouldn't think twice about commenting code in a way that always generates news when the old grannies of the internet find choice words in 20 year old code by Microsoft or whoever.

 

Software bugs have killed human beings. Worrying about style over function is a characteristic of an unprofessional programmer or pseudo-programmer. I don't think you are either of those based on what I have read but your comment, if it isn't "unprofessional," it's of questionable taste.

 

Link to post
Share on other sites
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By +jnelsoninjax
      A Florida man accused of murdering his girlfriend wants to enter his penis into evidence in an oral sex death trial.

      Richard Henry Patterson, 65, has admitted he choked his girlfriend, Francisca Marquinez, 60, to death on Oct. 28, 2015, but claims it happened accidentally during oral sex, The Sun Sentinel reported.

      He’s now seeking a judge’s permission to show the jury his penis — to prove her death was a mistake.

      Patterson’s attorney, Ken Padowitz, said his client’s member figures prominently in his “rough sex” defense, which hinges on the argument that Marquinez died accidentally, while engaging in consensual sexual activity.

      Padowitz has enlisted expert witness and former Broward County Medical Examiner Dr. Ronald Wright to testify that Marquinez’s death “is consistent with being accidentally sexually asphyxiated during oral sex,” the motion said.

      He insists that a viewing of Patterson’s penis is integral to the jury understanding Wright’s argument.
       
      “Although the object to be viewed is not a place but a part of the human anatomy, it is material and relevant, the view by the jury is essential for them to fully understand the Dr. Wright’s testimony and the defense in this case.”

      Brooklyn defense lawyer Joyce David, who has used a variation of the rough sex defense in court, isn’t convinced that Patterson needs to disrobe in front of a jury. “Really, couldn’t they just make a mold or something?” she told The Sun Sentinel.

      Padowitz has requested the the disrobing take place outside of public view, with only the jury, judge, defendant, prosecuting attorney and defense counsel present, according to the motion filed May 1.

      “My client is innocent and we are confident when the jury hears the evidence and the scientific evidence in this case, they are going to come back with a verdict of not guilty,” Padowitz told the Daily News.

      Marquinez’s son, Omar Andrade, 41, is calling it a “desperate” line of defense.

      “It’s totally false. He’s a desperate man trying to avoid being convicted for the crime,” he told the Daily News. “He’s trying to do anything to not go to jail.”

      Andrade described his mother as “loving” and “a great person overall.”

      “She had no problems in her personal life or anything else to warrant anything like what happened to her,” he said.

      Patterson is charged with second-degree murder. Jury selection will begin Monday.
      Source
    • By Steven P.
      I share no affiliation of either party, but wanted to make it possible for certain members to post these images in a separate thread.
       
      Political debate (read: arguments) in this thread is not allowed, save it for the Real World Issues, or Domestic Politics forum.
       
      You know what to do..
       

       

       

       

       

      Paging @Gary7
    • By Vlad Dudau
      Buyer claims new OnePlus 3 handset came pre-loaded with porn
      by Vlad Dudau



      OnePlus is known for creating affordable, high-end devices that come without any Android bloatware and offer a clean and simple experience for users. But it looks like there’s another experience that customers may get out of their new OnePlus phones, as one Reddit user found his new OnePlus 3 to be filled with porn.

      According to a poster on Reddit, the user received his new OnePlus 3 handset only to find that it was pre-loaded with NSFW pictures and even a NSFW video. On top of that, other miscellaneous files, such as archives and some images of anime were also loaded onto the phone.

      Now you might think that OnePlus was offering the user a special edition of the device, but as the original poster explained, the NSFW content “wasn’t even HD”. Plus, the owner of the images and video, which the Reddit user also posted online, seems to be himself in the images.

      Now this isn’t the first time that new device came pre-loaded with peculiar content. At one point a number of iPhones famously shipped with images of the factory workers from China who were testing the devices while in production. And testing devices and their cameras is a normal part of the QA process. Though in this case someone seems to have taken things a bit too far.

      The (un)lucky buyer said he wants to hear from OnePlus on this matter, so we’ve contacted the company to see if they wished to comment. We’ll update this post if and when they do.

      Until then, giving your new devices a wipe right out of the box may not be such a bad idea.

      Source: Reddit Via: India Today

    • By JustinCharlier
      NeoBytes :) Pornhub introduces the "BangFit," helps you bang to get fit
      by Justin Luna

      NeoBytes :) is an occasional feature that takes a step back from the big headlines, to take a look at what else is happening in the vast, scary expanse of the tech world - often with a cynical eye, always with a dose of humour.

      With the fast advancement of technology today, fitness trends have also risen, which brought in products like fitness watches and health bands. These contraptions aim to help us monitor our health more accurately, and help keep us fit.

      Adult video website Pornhub had this in mind, and has come up with the "BangFit," a gizmo that aims to introduce a new way of getting fit, while probably having the time of your life. The BangFit system provides users with "sexercise" videos they can follow along to, and monitor how many calories they are burning while doing the deed along the way.



      How does it work? A user can access the BangFit web application here, and then sync to be able to access the game on their phones. The game can be played by up to three players. The user (or users) can now choose their "sexercise," with the amount of calories you can burn being displayed on each act. Now this where the "BangFit" comes in. Players will have to strap in their phones into the BangFit belt to measure how they are doing while performing the "sexercises," and the system grants the player(s) points for their performance. Each game will last for at least 30 minutes.

      According to Pornhub, the BangFit band is still bound to be available soon, and the web app is still in beta.

      Pornhub is not new to these kinds of ideas. Back in February of 2015, they introduced the "Wankband," a smartwatch that collects energy when moved in an up and down motion. Further, the company even planned to take their business into greater heights by attempting to raise funds for a space porn project.

      Source: TechCrunch | Image and video via BangFit