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


Recommended Posts

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

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
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.

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
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

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
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
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. 

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.

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?

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?

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. 

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
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. 

 

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.

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.

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.

 

 

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. 

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.

 

This topic is now closed to further replies.
  • Posts

    • The concern of this article is not getting "hacked". No one is taking over my Google account and anyone that was is far away from self-hosting their passwords. It was about your big tech account of choice deciding to reduce features or getting out of the password manager business altogether. Bitwarden (or say Proton) is professional security company offering opensource solutions. They are going no where and one can easily download or export their passwords to another password manager service regardless. They again also offer self-hosted option. I doubt many people were sold on this solution based on the write up. The author had a number of warnings and caveats themselves. A local, self-managed solution is not for 99% of users.
    • I've owned nothing but ATi/AMD GPUs since 2002, after my last nVidia GPU in 2001 (3dfx before that), IIRC, and in all of that time I recall getting this error maybe once, certainly no more than twice. Despite all the scuttlebutt as to how poor AMD drivers are supposed to be that has certainly not been my experience at all... Usually it has been a configuration problem of some kind. Then again, since we're dealing with OS versions that are EOL, it could easily be an OS version discrepancy. It's still weird to think that Win11 has been officially out for more than five years!
    • AI will never be the jobs panacea some companies fantasize about today. Oracle is likely using it as an excuse, which we will see a lot of companies doing, I'm certain. They love their "plausible" excuses for their downturns. A couple of weeks ago my wife asked me to call Krogers about some discrepancy in a online grocery order, and it will be the last time either of us does that. I'll just do emails with humans from now on... The AI experience was horrible--the obviously recorded voice started asking a bunch of questions about our orders six months prior(!) and saying, "Is this in reference to your order on January 6, for $****?" You say "No!" and immediately the next question is "Is this in reference to your order on January 29th, for $****?" again, I answered "No!"--and it was incredible--on and on it went like that for fully 20 minutes until we finally got to the present, and only then was I put through to a human with authentic intelligence... I wondered why on Earth the idiot AI didn't start with the most recent orders and work back from there, as it was something anyone with a functioning brain would have done. And why didn't the AI have enough sense to ask me what the problem was in the first place? It didn't take too much deduction to understand that the goal of this "AI" was to cause the person on the phone to hang up in disgust, with no resolution of the problem. That begs another question: why pay for a tool-free problem line if the goal is to avoid solving your customer's problems?... Fortunately, Krogers does have real humans capable of reading an email and understanding it, and if she sees another situation in the future that's route she or I will take. The online grocery delivery service from Krogers has been great, over all, but their AI truly sucks.
    • AI is the justification that company administrators use to lay people off; it is not the end all, be all touted in the media (many of whom can't tell a microchip from a potato chip). Greed is main driving factor behind its adoption; the other is remaining relevant in the face of competition from other entities.
  • Recent Achievements

    • One Month Later
      timbobit earned a badge
      One Month Later
    • One Month Later
      nates earned a badge
      One Month Later
    • Week One Done
      Almohandis earned a badge
      Week One Done
    • Rookie
      dorf went up a rank
      Rookie
    • First Post
      mike_rumble earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      479
    2. 2
      +Edouard
      172
    3. 3
      PsYcHoKiLLa
      103
    4. 4
      Michael Scrip
      88
    5. 5
      neufuse
      70
  • Tell a friend

    Love Neowin? Tell a friend!