We recently dropped iOS 5 so we could use the new 6+ APIs without backwards compatibility.
It makes me smile every time I notice IGListKit at work in Instagram. We put a lot of work into making and improving it. Proud to see it holding up 4 years later.
🧵 with some memories on how it was built:
We recently dropped iOS 5 so we could use the new 6+ APIs without backwards compatibility.
Except two things bugged the hell out of me:
1. No animated changes (duh)
2. Images could flicker and the like animation could cancel
If something triggered another reload after the animation started, the cell cancelled the animation (thus the UI bug)
When an image cell is reused set the background to grey, async load the image (cache or network), set the image. The async time between reuse and fetch/set from cache is where the flicker came from.
Enter UICV performBatchUpdates
So how the hell do I write a diffing algorithm? I literally had never done this.
I settled on Paul Heckel’s https://t.co/jpxuHNlpXg
Why?
1. It’s output matched UICV’s APIs: inserts, deletes, updates, and moves
2. There were example implementations I could actually understand
Foundation hashes can collide
https://t.co/h9eVHO342U
Or are too basic for diffing
https://t.co/Pp0eVFRS5e https://t.co/ZNPJnXlXa4
https://t.co/BACvyI2l08+
With profile done, I submitted a -12k change to remove the old infra.
Throughout this the eng team 10x’d and users 4x’d, we launched tons of products (Stories!), IG opened a NY office, UICV got diffable data sources, and more.
More from Social media
As we wait for the transition of power from despot to democrat, Facebook (Zuckerberg) has taken it upon itself to aid in the obstruction of that power transfer, facilitation of an insurrection narrative and disregard for the will of the American electorate.
In other words, the Social Media monopoly Facebook commands globally has gone full fascist in an attempt to preserve the corrupt and criminal hold on power by Republicans and Trump Administration.
Aiding and abetting a coup d’état.
As if there weren’t enough other reasons to dismantle Facebook’s monopoly, Zuckerberg is playing his cards and revealing clearly that Cambridge Analytica election interference was not just a onetime anomaly, but is now a feature of Facebook’s business model.
Megalomaniac Marc has now revealed the true colours of Fascist Facebook.
Facebook is a weapon to manipulate the masses. A tool to carry out disinformation campaigns with impunity.
And the response of the left... is to delete their Facebook account.
As if the deletion of a Facebook account will do anything. It might send a message that your virtues are principled, your morality superior. But it enables the weapon to be continued to gaslight and manipulate the electorate.
An inherent flaw in the left’s critical thinking.
If you thought disinformation on Facebook was a problem during our election, just wait until you see how it is shredding the fabric of our democracy in the days after.
— Bill Russo (@BillR) November 10, 2020
Look at what has happened in just the past week.
In other words, the Social Media monopoly Facebook commands globally has gone full fascist in an attempt to preserve the corrupt and criminal hold on power by Republicans and Trump Administration.
Aiding and abetting a coup d’état.
As if there weren’t enough other reasons to dismantle Facebook’s monopoly, Zuckerberg is playing his cards and revealing clearly that Cambridge Analytica election interference was not just a onetime anomaly, but is now a feature of Facebook’s business model.
Megalomaniac Marc has now revealed the true colours of Fascist Facebook.
Facebook is a weapon to manipulate the masses. A tool to carry out disinformation campaigns with impunity.
And the response of the left... is to delete their Facebook account.
As if the deletion of a Facebook account will do anything. It might send a message that your virtues are principled, your morality superior. But it enables the weapon to be continued to gaslight and manipulate the electorate.
An inherent flaw in the left’s critical thinking.
Enter the thread if you dare. 😈
We’re counting down 13 of the best ways to Halloween on Snapchat. First up – matching Lens costumes for you and your pet.
https://t.co/J0Zn7CfM1q
Tis the season to slay some ghouls. Grab some friends and dive in to Zombie Rescue Squad from @PikPokGames. How long can you survive?
https://t.co/FC9dvafUiV
Is it even Halloween if you're not FREAKED OUT? Scare yourself silly with a Dead of Night S1 rewatch.
https://t.co/LtoE7yHgaG
Be careful! Things aren’t always what they seem. Our Lenses start off cute, but are filled with spooky surprises!
https://t.co/xq45JlYeQ7
Craving candy early? Our new stickers were made to satisfy your sweet tooth.
We’re counting down 13 of the best ways to Halloween on Snapchat. First up – matching Lens costumes for you and your pet.
https://t.co/J0Zn7CfM1q

Tis the season to slay some ghouls. Grab some friends and dive in to Zombie Rescue Squad from @PikPokGames. How long can you survive?
https://t.co/FC9dvafUiV

Is it even Halloween if you're not FREAKED OUT? Scare yourself silly with a Dead of Night S1 rewatch.
https://t.co/LtoE7yHgaG

Be careful! Things aren’t always what they seem. Our Lenses start off cute, but are filled with spooky surprises!
https://t.co/xq45JlYeQ7

Craving candy early? Our new stickers were made to satisfy your sweet tooth.

So let's check in on "Newsguard," one of the Orwellian groups (e.g., The Atlantic Council) that totally reliable sites like @voxdotcom and @axios use to decide what is "Unreliable" and "fight disinformation."
One example:
OK, so "The Daily Wire" and "https://t.co/oEa89coNak" are unreliable. Fair enough, maybe they are (I don't use either one of them).
So let's look into one of our new official arbiters of "reliability," Newsguard!
What's their advisory board look like?
https://t.co/5N8op70VE1
OK, so maybe a few names jumped out at you immediately, like, oh I don't know, (Ret.) General Michael Hayden, former Director of the CIA AND former Director of the National Security Agency in the run-up to the Iraq War in 2003! Google him, he's famous!
Newsguard is all about "seeing who's behind each site," (like how Michael Hayden is behind Newsguard?)
All they want to do is fight "misinformation." That's laudable, right?
Also, Newsguard has a "24/7 rapid response SWAT TEAM!!"
So cool!
https://t.co/EDN3UXvBR9
Ok, I'm not a journalist or a former CIA director, so I have no idea what's true or not unless someone tells me, so hey, Columbia Journalism Review - what do you think of Newsguard Advisory Board Member Michael Hayden?
One example:
OK, so "The Daily Wire" and "https://t.co/oEa89coNak" are unreliable. Fair enough, maybe they are (I don't use either one of them).
So let's look into one of our new official arbiters of "reliability," Newsguard!
What's their advisory board look like?
https://t.co/5N8op70VE1

OK, so maybe a few names jumped out at you immediately, like, oh I don't know, (Ret.) General Michael Hayden, former Director of the CIA AND former Director of the National Security Agency in the run-up to the Iraq War in 2003! Google him, he's famous!

Newsguard is all about "seeing who's behind each site," (like how Michael Hayden is behind Newsguard?)
All they want to do is fight "misinformation." That's laudable, right?
Also, Newsguard has a "24/7 rapid response SWAT TEAM!!"
So cool!
https://t.co/EDN3UXvBR9

Ok, I'm not a journalist or a former CIA director, so I have no idea what's true or not unless someone tells me, so hey, Columbia Journalism Review - what do you think of Newsguard Advisory Board Member Michael Hayden?
You May Also Like
Joe Rogan's podcast is now is listened to 1.5+ billion times per year at around $50-100M/year revenue.
Independent and 100% owned by Joe, no networks, no middle men and a 100M+ people audience.
👏
https://t.co/RywAiBxA3s
Joe is the #1 / #2 podcast (depends per week) of all podcasts
120 million plays per month source https://t.co/k7L1LfDdcM
https://t.co/aGcYnVDpMu
Independent and 100% owned by Joe, no networks, no middle men and a 100M+ people audience.
👏
https://t.co/RywAiBxA3s
Joe is the #1 / #2 podcast (depends per week) of all podcasts
120 million plays per month source https://t.co/k7L1LfDdcM

https://t.co/aGcYnVDpMu

1/OK, data mystery time.
This New York Times feature shows China with a Gini Index of less than 30, which would make it more equal than Canada, France, or the Netherlands. https://t.co/g3Sv6DZTDE
That's weird. Income inequality in China is legendary.
Let's check this number.
2/The New York Times cites the World Bank's recent report, "Fair Progress? Economic Mobility across Generations Around the World".
The report is available here:
3/The World Bank report has a graph in which it appears to show the same value for China's Gini - under 0.3.
The graph cites the World Development Indicators as its source for the income inequality data.
4/The World Development Indicators are available at the World Bank's website.
Here's the Gini index: https://t.co/MvylQzpX6A
It looks as if the latest estimate for China's Gini is 42.2.
That estimate is from 2012.
5/A Gini of 42.2 would put China in the same neighborhood as the U.S., whose Gini was estimated at 41 in 2013.
I can't find the <30 number anywhere. The only other estimate in the tables for China is from 2008, when it was estimated at 42.8.
This New York Times feature shows China with a Gini Index of less than 30, which would make it more equal than Canada, France, or the Netherlands. https://t.co/g3Sv6DZTDE
That's weird. Income inequality in China is legendary.
Let's check this number.
2/The New York Times cites the World Bank's recent report, "Fair Progress? Economic Mobility across Generations Around the World".
The report is available here:
3/The World Bank report has a graph in which it appears to show the same value for China's Gini - under 0.3.
The graph cites the World Development Indicators as its source for the income inequality data.

4/The World Development Indicators are available at the World Bank's website.
Here's the Gini index: https://t.co/MvylQzpX6A
It looks as if the latest estimate for China's Gini is 42.2.
That estimate is from 2012.
5/A Gini of 42.2 would put China in the same neighborhood as the U.S., whose Gini was estimated at 41 in 2013.
I can't find the <30 number anywhere. The only other estimate in the tables for China is from 2008, when it was estimated at 42.8.