One of the best tracks of 2016... Identity goes deeper than skin.
h
One Nice Bug Per Day
sheepfilms
KIROKAZE
$LAYYYTER
PUT YOUR BEARD IN MY MOUTH
wallacepolsom

No title available
d e v o n
Sade Olutola
he wasn't even looking at me and he found me
No title available
Monterey Bay Aquarium
Lint Roller? I Barely Know Her

Kiana Khansmith

PR's Tumblrdome
Not today Justin
No title available

oozey mess
Today's Document

seen from Colombia

seen from United States
seen from United States
seen from India

seen from Malaysia
seen from Bolivia

seen from Russia

seen from Brazil

seen from Malaysia

seen from Malaysia
seen from Jamaica

seen from United States

seen from Panama
seen from Argentina
seen from United States

seen from Malaysia
seen from Greece
seen from Tanzania
seen from Canada

seen from Malaysia
@ritec
One of the best tracks of 2016... Identity goes deeper than skin.
Just got a really cool envelope in the mail!!! Beyond stoked! 🍾🎉👏🏼👍🏼😃 #food #invention
Freitag shop 🇨🇭 (at Zürich, Switzerland, Europe at lake Zürich.)
Fresh Lids - Save money while helping the environment! - Minimize waste and save money by tracking and organizing food with the Fresh Lids app. Receive notifications before perishables expire! - http://kck.st/2bNathK
Outage Postmortem - July 20, 2016
Overview
On July 20, 2016 we experienced a 34 minute outage starting at 14:44 UTC. It took 10 minutes to identify the cause, 14 minutes to write the code to fix it, and 10 minutes to roll out the fix to a point where Stack Overflow became available again.
The direct cause was a malformed post that caused one of our regular expressions to consume high CPU on our web servers. The post was in the homepage list, and that caused the expensive regular expression to be called on each home page view. This caused the home page to stop responding fast enough. Since the home page is what our load balancer uses for the health check, the entire site became unavailable since the load balancer took the servers out of rotation.
Follow-up Actions
Audit our regular expressions and post validation workflow for any similar issues
Add controls to our load balancer to disable the healthcheck – as we believe everything but the home page would have been accessible if it wasn’t for the the health check
Create a “what to do during an outage” checklist since our StackStatus Twitter notification was later than we would have liked (and a few other outage workflow items we would like to be more consistent on).
Technical Details
The regular expression was: ^[\s\u200c]+|[\s\u200c]+$ Which is intended to trim unicode space from start and end of a line. A simplified version of the Regex that exposes the same issue would be \s+$ which to a human looks easy (“all the spaces at the end of the string”), but which means quite some work for a simple backtracking Regex engine. The malformed post contained roughly 20,000 consecutive characters of whitespace on a comment line that started with -- play happy sound for player to enjoy. For us, the sound was not happy.
If the string to be matched against contains 20,000 space characters in a row, but not at the end, then the Regex engine will start at the first space, check that it belongs to the \s character class, move to the second space, make the same check, etc. After the 20,000th space, there is a different character, but the Regex engine expected a space or the end of the string. Realizing it cannot match like this it backtracks, and tries matching \s+$ starting from the second space, checking 19,999 characters. The match fails again, and it backtracks to start at the third space, etc.
So the Regex engine has to perform a “character belongs to a certain character class” check (plus some additional things) 20,000+19,999+19,998+…+3+2+1 = 199,990,000 times, and that takes a while. This is not classic catastrophic backtracking (talk on backtracking) (performance is O(n²), not exponential, in length), but it was enough. This regular expression has been replaced with a substring function.
Indianapolis Brutalism. This building in downtown Indianapolis always reminds me of Judge Dredd. #indy #brutalism #architecture (at Indianapolis, Indiana)
We ❤️ That heavy Steak🐄 & Eggs 🍳 #techno #music . . . #akai #novation #edm #house #bass
Throw back Thursday to about 18 or 19 years ago when I had my pet albino rat Modem, a birthday gift from the Morris family. Circa 1997 #tbt such great times.
First beat on the #elektron #rytm this thing is kinda cool... These Swedish boys are masters of #electronic #music machine engineering. I foresee some #techno bangers coming out of this beauty in the near future.
We did it! (at Lucas Oil Stadium)
at St. Louis Gateway Arch, Missouri
at Kauffman Center for the Performing Arts
Union Station Kansas City (at Union Station Kansas City Inc.)
#railsconf #kc (at Kansas City Convention Center)
#Kansas City has some outstanding #architecture, quite a visual delight. #kc (at Kauffman Center for the Performing Arts)
Started from the bottom now we're here... #galaga #winning #tigerblood
Morning #kansas (at Kansas City Marriott Downtown)