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.

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

    • No, size is not the only selling point. I did not even remotely say that. Your claim was that "building your own will be faster and cheaper". This is false. You cannot build something close to that form factor with off-the-shelf parts. You can build a Mini-ITX PC and pay more, or something larger and pay less. But these are different market segments. It's apples and oranges.
    • There is a default resolution setting in Settings > Display that can be changed with a click. You can also change the settings on a per-game basis. No CLI needed. Also, Steam has countless games that are not "[perpetual] alpha/beta games", so no need for the straw man. Plus you can use other stores as well. And console games (e.g. PS5) cost a fortune, which itself more than negates the price subsidy on the system, unless you plan on exclusively playing 1 or 2 games. It's true that you shouldn't buy a system that doesn't support the game(s) you want to play, but I think that's kinda obvious, and applies to every console as well as PC. I don't game in the living room and have no need of a Steam Machine, but there is a clear market segment that would find it useful.
    • RSS Guard 5.2.0 by Razvan Serea RSS Guard is a simple (yet powerful) feed reader. It is able to fetch the most known feed formats, including RSS/RDF and ATOM. It's free, it's open-source. RSS Guard currently supports Czech, Dutch, English, French, German, Italian. RSS Guard will never depend on other services - this includes online news aggregators like Feedly, The Old Reader and others. RSS Guard is developed on top of the Qt library and it supports these operating systems: Windows GNU/Linux OS/2 (eComStation) Mac OS X xBSD (possibly) Android (possibly) other platforms supported by Qt The core features of RSS Guard are: support for online feed synchronization via plugins, Tiny Tiny RSS (from RSS Guard 3.0.0). multiplatform, support for all feed formats, simplicity, import/export of feeds to/from OPML 2.0, downloader with own tab and support for up to 6 parallel downloads, message filter with regular expressions, feed metadata fetching including icons, simple Adblock functionality, customized popup notifications, Google-based auto-completion for internal web browser location bar, ability to cleanup internal message database with various options, enhanced feed auto-updating with separate time intervals, multiple data backend support, SQLite (in-memory DBs too), MySQL. is able to specify target database by its name (MySQL backend), “portable” mode support with clever auto-detection, feed categorization, drap-n-drop for feed list, automatic checking for updates, ability to discover existing feeds on websites, full support of podcasts (both RSS & ATOM), ability to backup/restore database or settings, fully-featured recycle bin, printing of messages and any web pages, can be fully controlled via keyboard, feed authentication (Digest-MD5, BASIC, NTLM-2), handles tons of messages & feeds, sweet look & feel, fully adjustable toolbars (changeable buttons and style), ability to check for updates on all platforms + self-updating on Windows, hideable main menu, toolbars and list headers, KFeanza-based default icon theme + ability to create your own icon themes, fully skinnable user interface + ability to create your own skins, “newspaper” view, plenty of skins, support for "feed://" URI scheme, ability to hide list of feeds/categories, open-source development model based on GNU GPL license, version 3, tabbed interface, integrated web browser with adjustable behavior + external browser support, internal web browser mouse gestures support, desktop integration via tray icon, localizations to some languages, Qt library is the only dependency, open-source development model and friendly author waiting for your feedback, no ads, no hidden costs. RSS Guard 5.2.0 changelog: Added: Feed auto-fetch can now also be delayed while Feral GameMode is active on Linux and startup auto-fetch is skipped when GameMode is already active. (#2265) WebEngine builds can now use RSS Guard generated proxy auto-config (PAC) rules so article/web browsing follows per-account and per-feed proxy settings more closely. (#2273) Generated PAC rules now also cover related subdomains and use Public Suffix List data, so feeds such as feeds.bbc.co.uk can also proxy resources from images.bbc.co.uk. (#2273) Standard feeds can now define extra proxy domains, useful when article images, stylesheets or other page resources are loaded from a CDN or another domain that should use the same feed proxy. (#2273) RSS Guard now asks for proxy credentials when a WebEngine page needs proxy authentication and can fill credentials from the current feed proxy when available. (#2273) Network settings again include an option to ignore all cookies, which clears stored cookies and prevents new cookies from being accepted. Standard RSS/ATOM feeds can now individually ignore cookies while downloading feed data. Stored cookies can now be deleted from the Tools menu. Custom skin colors can now override the feed list article count color separately from feed titles, including a separate highlighted color. (#2275) Settings dialog can now search across available settings and highlight matching controls. (#1754) Standard RSS/ATOM feeds can now optionally be reported as broken when they are valid but contain no articles. (#2039) Standard RSS/ATOM feeds can now override the application-wide feed connection timeout per feed. (#1023) Tray icon can now use a custom background color and unread-count text color, with an option to reuse the generated icon as the application icon. (#1973) Support for more benevolent parsing of Gemlog entries (#2295). Article list can now show when an article was received by RSS Guard. (#947) Feed deep discovery now actually scrapes all links found in the website and checks if they are feeds or not. This greatly enhances usability of the deep discovery mode and discovers many more feeds than before. (#2306) Search boxes now show a small dot when the feed or article list is hiding some items because of active filtering. (#873) Articles now have a shortcut-assignable action to open the homepage of the feed they belong to. (#2060) Fixed: Parallel feed updates no longer crash when multiple update results are processed at the same time. (64cf521) Links in WebEngine articles opened from feeds such as Kill the Newsletter now open correctly instead of being swallowed by the embedded page. (#2272) Relative article URLs resolution was kinda broken. (#2282) Clicking article URL did not work when the URL had "fragment" set. (#2293) The default proxy setting now uses Qt/system default proxy behavior instead of forcing no proxy. (e0263ad) WebEngine article loading now keeps the current feed context, so feed-specific proxy credentials remain available while the article page loads. (fdd0f00) Download: RSS Guard 5.2.0 (64-bit) | Portable | ~ 130.0 MB (Open Source) Link: RSS Guard Home Page | Other Operating Systems | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • This is gonna separate the creeps from the rest of the crowd.
  • Recent Achievements

    • Rookie
      DaviKar went up a rank
      Rookie
    • Dedicated
      HidekoYamamoto94 earned a badge
      Dedicated
    • 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
  • Popular Contributors

    1. 1
      +primortal
      461
    2. 2
      +Edouard
      161
    3. 3
      PsYcHoKiLLa
      110
    4. 4
      Michael Scrip
      83
    5. 5
      Steven P.
      69
  • Tell a friend

    Love Neowin? Tell a friend!