Alex Heath on Twitter
“Word inside Twitter is that A LOT of employees are not saying “yes” to staying at Musk’s “extremely hardcore Twitter 2.0.” He has been meeting today with engineers to convince them to stay. His deadline to decide to stay or leave expired 6 min ago. https://t.co/IErjQTMRE6”
Hasnain says:
I hate sharing a twitter link but this is too funny to not share: most people called Elon’s bluff and are now quitting - and he’s begging people to stay: https://twitter.com/alexeheath/status/1593365103331577856?s=46&t=wrqExQQ5qhV_VfOsEVeM-g
And future update (will link in comments) - they’ve closed offices and locked people out, presumably fearing sabotage
Posted on 2022-11-18T00:10:59+0000
Pakistan's lost city of 40,000 people
In the dusty plains of present-day Sindh in southern Pakistan lie the remains of one of the world's most impressive ancient cities that most people have never heard of.
Hasnain says:
"Archaeologists first came across the ancient city in 1911 after hearing reports of some brickwork in the area. However, the Archaeological Survey of India (ASI) dismissed the bricks as not having any kind of antiquity and the site remained undisturbed for several more years. It wasn't until 1922 that R D Banerji, an ASI officer, believed he saw a buried stupa, a mound-like structure where Buddhists typically meditate. This led to large-scale excavations – most notably by British archaeologist Sir John Marshall – and the eventual naming of Mohenjo-daro as a Unesco World Heritage Site in 1980. The remains they uncovered revealed a level of urbanisation not previously seen in history, with Unesco lauding Mohenjo-daro as the "best preserved" ruin of the Indus Valley.
Perhaps the city's most surprising feature was a sanitation system that was far beyond its contemporaries. While drainage and private toilets were seen in Egypt and Mesopotamia, they were luxuries of the rich. In Mohenjo-daro, concealed toilets and covered drains were everywhere. Since excavations began, more than 700 wells have been recovered, in addition to a system of private baths, including a 12m x 7m "Great Bath" for communal use. Incredibly, toilets were found in many private residences, and waste was covertly disposed of through a sophisticated, city-wide sewage system."
Posted on 2022-11-16T05:27:13+0000
Sapling: Source control that’s user-friendly and scalable
Meta has open sourced Sapling, a new, Git-compatible source control client that scales to the largest repositories in the world.
Hasnain says:
I am so so excited by this that words are failing me (yes, this is not a common statement).
Using git for side projects has honestly sucked after the great experiences I've had with sapling and I'm glad to see I can use it again. Can't wait to set it up now for my private repos; and ... my mind is blown that there's an accompanying review UI too that's optimized for stacks.
stacked diffs, `hg ssl`, `hg commit`, `hg absorb`, and `hg histedit`, how I missed thee.
"I hope you find Sapling as pleasant to use as we do, and that Sapling might start a conversation about the current state of source control and how we can all hold the bar higher for the source control of tomorrow.See the Getting Started page to try Sapling today."
Posted on 2022-11-15T21:46:36+0000
This flu season is looking really scary, in one chart
This season’s flu numbers are 12 times higher than before the pandemic.
Hasnain says:
"Additionally, more than five times as many people have been hospitalized for the flu so far this season than at the same point in any of the last 10 years. And unlike RSV, which poses the biggest threat to the youngest and oldest, the severe disease flu causes is more evenly spread across age groups. About one-third of the people who’ve been hospitalized for flu this year were 65 or older, while another quarter were ages 18 to 49."
Posted on 2022-11-15T05:07:44+0000
Performance Optimizations Can Have Unexpectedly Large Effects When Combined With Caches
Performance Optimizations Can Have Unexpectedly Large Effects When Combined With Caches This post is about a non-obvious interaction between performance optimizations and LRU/time limited caching. In 2017, I was working a major performance issue. We were onboarding a large customer, and a batch proc...
Hasnain says:
"It's common wisdom that systems with caches can fail badly when the caches are cold. When every request misses the cache, the system is overloaded, and never recovers. What I observed was the mirror image."
Posted on 2022-11-15T04:47:16+0000
Musk Publicly Punishes Twitter Engineers Who Call Him Out Online
Twitter Inc. owner Elon Musk, who has called himself a “free speech absolutist,” has resorted to firing company engineers who publicly criticize him on the social-media service.
Hasnain says:
My list of funny Elon related drama stories is so long it’s hard to pick what to share. This one takes the cake though - so much for free speech.
Currently tied with how he’s turning off 80% of micro services soon. 2FA already broke, locking people out.
Posted on 2022-11-15T01:41:34+0000
Elixir, OpenTelemetry, and the Infamous N+1
Using OpenTelemetry with Grafana to debug performance issues in Phoenix LiveView and Elixir.
Hasnain says:
Great read.
“To recap, we learned about the various pillars of observability and took a deep dive into the tracing pillar. We learned about setting up an Elixir application with the OpenTelemetry tooling and even deployed our application along with some supporting monitoring tools to Fly.io. We then compared trace results between two different LiveView pages and were able to see the effects that an N+1 query would have on our application's performance.”
Posted on 2022-11-15T01:12:26+0000
Iran votes to execute protesters, says rebels need "hard lesson"
Nearly 15,000 Iranians have been arrested in connection with the protests, which were spurred by the death of Mahsa Amini in September.
Hasnain says:
This (along with all the news coming out of Iran the last few months) is horrifying.
“In response to the parliament vote, activist and journalist Masih Alinejad tweeted: "227 members of the 290-seat Parliament in Iran have called on the Judiciary to issue death sentences for people arrested during the ongoing uprising. They want to execute innocent protesters who chanted Woman Life Freedom. The world must stop this act of terror."”
Posted on 2022-11-14T19:23:53+0000
Making a Go program 70% faster with a one character change • Harry Marr
Programmer and engineering manager working at GitHub. Co-founded Dependabot, and helped build Monzo and GoCardless.
Hasnain says:
"As that allocation was happening for every single path that was being matched against, removing it made the whole program 1.7x faster in this instance. Not bad for a one character change."
Posted on 2022-11-14T16:12:20+0000
London's forgotten river and the barrister who saved it
When Paul Powlesland moored his boat on the Roding in 2017, the river was choked with slime and garbage. Now the community that sprung up around is keeping its waters clear - and Powlesland is turning to the next challenge: securing rivers their human rights. Jon Moses reports.
Hasnain says:
“The fact there isn’t stems, for Paul, from a deeper problem. Despite underpinning the viability of life itself, nature’s contributions are absent from most economic modelling. And unlike corporations, nature has no legal standing: a river can neither sue its polluters, nor charge for the many services it provides. This has allowed it to become a “free” externality: something neither capitalism or the state has to account for, or take seriously.
“It’s effectively stealing from nature”, Paul says. “Thames Water don’t have to pay when they do an overspill into the river. The Highways authorities don’t have to pay when they discharge stormwater into the river. They don’t pay when they extract from the river.” If the full actual cost of what companies like Thames Water take from, and put back into, the Roding were actually accounted for, Paul believes “we could easily pay for dozens of people to look after the river.”
While the idea of a river being paid for its services might seem radical, it is gaining ground. Natural capital - the idea that nature provides intrinsic economic value, either through services it provides (e.g. the pollination of crops by bees) or the preservation of life (e.g. through the carbon dioxide it absorbs) is slowly becoming more normalised in policy circles.”
Posted on 2022-11-14T04:58:03+0000