Making instagram.com faster: Part 3 — cache first

Introducing Create Next App
We're delighted today to introduce the new Create Next App. Create Next App sets up a modern React application powered by Next.js in one command.
Implementing Dark Mode in iOS 13

Episode 49: How Important is Learning?
The age-old debate of nature versus nurture is now being played out between artificial intelligence and neuroscience. The dominant approach in AI, machine learning , puts an emphasis on adapting processing to fit the data at hand. Animals, on the other hand, seem to have a lot of built in structure and tendencies, that mean they function well right out of the womb. So are most of our abilities the result of genetically-encoded instructions, honed over generations of evolution? Or are our i
Next.js 9.0.7
Next.js 9.0 was released approximately two months ago. Since then, we’ve been busy with 7 smaller but quite important releases. Let’s dive into what these releases have brought to your websites and applications, with absolutely no breaking changes.
Interview with Tamar Shapiro, Instagram’s Head of Analytics

Welcome, Prashanth!
Last March, I shared that we were starting to look for a new CEO for Stack Overflow. We were looking for that rare combination of someone who… Read more "Welcome, Prashanth!"
Training Workshop in Sienna, Italy Oct 28 – Oct 30, 2019
This workshop is sold out! Provalis Research is holding a three-day training workshop for QDA Miner 5 and WordStat 8 in Siena, Italy. The training will be held from October 28 to October 30, 2019 (from 9:00 am to 5:00 pm), at University of Siena. The workshop will have a greater focus on WordStat but there will […]
On-device training with Core ML - part 3
In this series of blog posts we’re taking a deep dive into the new on-device model personalization features from Core ML 3. I’ll show how to create a customizable image classifier using k-Nearest Neighbors as well as a deep neural network, right from inside an iOS app. This is part 3 of a four-part series: Introduction to on-device training <a href="https://machinethink.net/blog/cor
Increase funnel conversion with Psych
Every year engineers on the Pinterest Growth team organize an internal conference called Growthcon. The goal of Growthcon is help share learnings, insights, and best practices from across all the teams in Growth. Every Growthcon has a mix of talks from internal speakers, breakout learning labs, and a keynote speaker. For this year’s keynote we invited […] The post Increase funnel conversion with Psych appeared first on John Egan .
North Korean Hotel: Good beer and a secret fifth floor
North Korea, often called the hermit kingdom, is a land we know little about but one we are hearing about more and more because of its nuclear program and because of the unique relationship between its leader Kim Jung-on and U.S. President Donald Trump. While still very secretive and closed to the outside world, […]
Episode 48: Studying the Brain in Light of Evolution
The brain is the result of evolution. A lot of evolution. Most neuroscientists don't really think about this fact. Should we? On this episode we talk about two papers---one focused on brains and the other on AI---that argue that following evolution is the path to success. As part of this argument, they make the point that, in evolution, each stage along the way needs to be fully functional, which impacts the shape and role of the brain. As a result, the system is best thought of as a whole---not
Measuring Incrementality For Emails @ Netflix
Chris Beaumont, a Data Scientist at Netflix, recently gave a talk at the SF Growth Engineering Meetup on a novel new approach Netflix took to continuously measure and understanding the incremental impact different emails had on subscriber growth. Chris expands on the original blog post he published to go more in depth on how Netflix created […] The post Measuring Incrementality For Emails @ Netflix appeared first on John Egan .
In the News: Online Abuse of Politicians, BBC
We've been working together with the BBC to bring public attention to the issue of online abuse against politicians. Risi
On-device training with Core ML - part 2
In this series of blog posts we’re taking a deep dive into the new on-device model personalization features from Core ML 3. I’ll show how to create a customizable image classifier using k-Nearest Neighbors as well as a deep neural network, right from inside an iOS app. This is part 2 of a four-part series: Introduction to on-device training Rock, Paper, Scissors (Lizard? Spo
A Discussion of 'Adversarial Examples Are Not Bugs, They Are Features': Adversarially Robust Neural Style Transfer
An experiment showing adversarial robustness makes neural style transfer work on a non-VGG architecture
A Discussion of 'Adversarial Examples Are Not Bugs, They Are Features': Learning from Incorrectly Labeled Data
Section 3.2 of Ilyas et al. (2019) shows that training a model on only adversarial errors leads to non-trivial generalization on the original test set. We show that these experiments are a specific case of learning from errors.
Training Workshop in San Diego Dec 16 – Dec 18, 2019
This workshop is sold out! Provalis Research is holding a three-day training workshop for QDA Miner 5 and WordStat 8 in San Diego, CA. The training will be held from December 16 to December 18, 2019 (from 9:00 am to 5:00 pm), at University of California San Diego. Click here for a detailed description of the workshop. Each […]
Episode 47: Deep Learning to Understand the Brain
The recent advances in deep learning have done more than just make money for startups and tech companies. They've also infiltrated neuroscience! Deep neural networks---models originally inspired by the basics of the nervous system---are finding ever more applications in the quest to understand the brain. We talk about many of those uses in the episode. After first describing more traditional approaches to modeling behavior, we talk about how neuroscientists compare deep net models to real brains
GATE Cloud services for Google Sheets featured in the CLARIN Newsflash
CLARIN ERIC is a research infrastructure through Europe and beyond to encourage the sharing and sustainability of language data and tools for research in the humanities and social sciences. We are pleased to announce that our functions for text analysis in Google Sheets were featured in the July 2019 issue of the CLARIN Newsflash. We are still wor
GATE Cloud services for Google Sheets
Spreadsheets are an increasingly popular way of storing all kinds of information, including text, and giving it some informal structure, and systems like Google Sheets are especially popular for collaborative work and sharing data. In response to the demand for standard natural language processing (NLP) tasks in spreadsheets, we have developed a Google Sheets add-on that provides functions to carry out the following tasks on text cells using GATE Cloud services: named

Cocaine Dependency and restricted learning
Restricted learning and intrinsic plasticity explained

Using GATE to drive robots at Headstart 2019
In collaboration with Headstart (a charitable trust that provides hands-on science, engineering and maths taster courses), the Department of Computer Science has just run its fourth annual summer school for maths and science A-level students. This residential course ran from 8 to 12 July 2019 and included practical work in computer programming, Lego robots, and project development as well as tours of the campus and talks about the industry. For the third year in a row, we hav

Files are fraught with peril
This is a psuedo-transcript for a talk given at Deconstruct 2019. To make this accessible for people on slow connections as well as people using screen readers, the slides have been replaced by in-line text (the talk has ~120 slides; at an average of 20 kB per slide, that's 2.4 MB. If you think that's trivial, consider that <a href="https://blogs.microsoft.com/on-the-issues/2019/04/08/its-time-for-a-new-approach-for-mapping-broadband-data-to-be
Normalizing Flows in 100 Lines of JAX
JAX is a great linear algebra + automatic differentiation library for fast experimentation with and teaching machine learning. Here is a lightweight example, in just 75 lines of JAX, of how to implement Real-NVP . This post is based off of a tutorial on normalizing flows I gave at the ICML workshop on <a href="htt

Tips for Training Likelihood Models
This is a tutorial on common practices in training generative models that optimize likelihood directly, such as autoregressive models and normalizing flows . Deep generative modeling is a fast-moving field, so I hope for this to be a newcomer-friendly introduction to the basic evaluation terminology used consistently across r
12th GATE Summer School (17-21 June 2019)
12th GATE Training Course: open-source natural language processing with an emphasis on social media For over a decade, the GATE team has provided an annual course in using our technology. The course content and track options have changed a bit over the years, but it always includes material to help novices get started with GATE as well as introductory and more advanced use of the JAPE language for matching pattern

Monitoring Implementation of CRPD and SDG Through Big Data Analytics and Text Mining
Monitoring Implementation of CRPD and SDG Through Big Data Analytics and Text Mining Derrick L. Cogburn American University Introduction As we look at the major global frameworks to support disability-inclusive international development, especially the 2030 Sustainable Development Goals, the United Nations Convention on the Rights of Persons with Disabilities (CRPD), the Habitat III […]

GATE's submission wins 2nd place in United Nations General Assembly Resolutions Extraction and Elicitation Global Challenge
In May 2019 we submitted a prototype to the United Nations General Assembly Resolutions Extraction and Elicitation Global Challenge , which asked for submissions using mature natural language processing techniques to produce semantically enhanced, machine-readable documents from PDFs of UN GA resolutions, with particular interest in identifying named entities and items in certain thesauri and ontologies

Episode 46: What We Learn from Model Organisms
From worms to flies, and mice to macaques, neuroscientists study a range (but not very large range...) of animals when they study "the brain". On this episode we ask a lot of questions about these model organisms, such as: how are they chosen? should we use more diverse ones? and what is a model organism actually a model of? We also talk about how the development of genetic tools for certain animals, like mice, have made them the dominant lab animal and the difficulty of bringing a new model spe
Why a large cortex?
the number of modules (cortical microcolumns) increased

Observational Research
What is Observational Research? Watch what I do, not what I say, could be a good lead-in for Observational Research. People in focus groups or in surveys may say one thing such as, “I always buy green apples” but perhaps when observed they buy the less costly apples, or the freshest looking apples. Observational research […]
An in-depth look at Core ML 3
As you may have seen in the WWDC 2019 videos , Core ML 3 adds a lot of new stuff to machine learning on iOS. The new killer feature is on-device training of models, but it can now also run many advanced model architectures — and thanks to the addition of many new layer types, it should even be able to run new architectures that haven’t been invented yet! <a href="https://developer.ap
Soft coded Synapses
“soft-coded” (dopamine-coded) synapses depend on dopamine levels and are realized by presynaptic/postsynaptic dopamine receptors.

Toxic Online Discussions during the UK European Parliament Election Campaign
The Brexit Party attracted the most engagement on Twitter in the run-up to the UK European Parliament election on May
How to Import PDF’s into WordStat for Stata
Our distributor in Australia, SurveyDesign.com has written this quick Blog that we thought you might find instructive: How to Import PDF’s into WordStat for Stata. You can also see a video tutorial on our website on how to import PDF and other documents such as ASCII, Rich Text Format, MS Word, HTML and WordPerfect documents […]
Episode 45: How Working Memory Works
Working memory is the ability to keep something in mind several seconds after it's gone. Neurons don't tend to keep firing when their input is removed, so how does the brain hold on to information when it's out of sight? Scientists have been probing this question for decades. On this episode, we talk about how working memory is studied and the traditional view of how it works, which includes elevated persistent firing rates in neurons in the prefrontal cortex. The traditional view, however, is b
Lessons from AI Research Projects: The First 3 Years
Translations: 中文 I've been at Google Brain robotics (now referred to as Robotics @ Google ) for nearly 3 years. It's helpful to reflect, from time to time, on the scientific, engineering and personal productivity takeaways gleaned from working on large research projects. Every res

Fun with Snapchat's Gender Swapping Filter
Snapchat's new gender-bending filter is a source of endless fun and laughs at parties. The results are very pleasing to look at. As someone who is used to working with machine learning algorithms, it's almost magical how robust this feature is. I was so duly impressed that I signed up for Snapchat and fiddled around with it this morning to try and figure out what's going on under the hood and how I might break it. N.B, this is not a s
