placeholder

Warnings of violence before Jan. 6 precipitated the Capitol riot

Law enforcement agencies failed to heed mounting warnings of coming violence as Trump propelled his supporters to Washington in a last desperate attempt to overturn the election results.

Click to view the original at washingtonpost.com

Hasnain says:

I’ve only read the “before” article (this whole piece) so far and it’s a harrowing account of political, intelligence, and legal failures that culminated in the events of Jan 6. Worth reading.

“The memo — like the others before it — was jarringly prescient. But it also betrayed the FBI’s long-running institutional unease with investigating domestic extremism. The document cautioned that the people who had made the threatening posts “have been identified as participating in activities that are protected by the First Amendment. … Their inclusion here is not intended to associate the protected activity with criminality or a threat to national security.”

To some inside the FBI, that cautionary language was a telling example of how the bureau tempered its reaction to threats of violence from White, middle-aged and middle-class Americans.”

Posted on 2021-10-31T18:15:53+0000

placeholder

High throughput Fizz Buzz

Fizz Buzz is a common challenge given during interviews. The challenge goes something like this: Write a program that prints the numbers from 1 to n. If a number is divisible by 3, write Fizz inst...

Click to view the original at codegolf.stackexchange.com

Hasnain says:

This (the first comment which has an answer) is a work of art and should be in some hall of fame. I learnt a lot reading through (half of, before I gave up) this

I loved the comment where someone says this should be a thesis and the author responds that this was harder than their MS thesis.

“This program aims for the maximum possible single-threaded performance. In terms of the FizzBuzz calculation itself, it is intended to sustain a performance of 64 bytes of FizzBuzz per 4 clock cycles (and is future-proofed where possible to be able to run faster if the relevant processor bottleneck – L2 cache write speed – is ever removed). This is faster than a number of standard functions. In particular, it's faster than memcpy, which presents interesting challenges when it comes to I/O (if you try to output using write then the copies in write will take up almost all the runtime – replacing the I/O routine here with write causes the performance on my CPU to drop by a factor of 5). As such, I needed to use much more obscure system calls to keep I/O-related copies to a minimum (in particular, the generated FizzBuzz text is only sent to main memory if absolutely necessary; most of the time it's stored in the processor's L2 cache and piped into the target program from there, which is why reading it from a sibling CPU can boost performance – the physical connection to the L2 cache is shorter and higher bandwidth than it would be to a more distant CPU).”

Posted on 2021-10-29T06:47:36+0000

placeholder

42 things I learned from building a production database.

In 2017, I went to Facebook on a sabbatical from my faculty position at Yale. I created a team to build a storage system called Delos at the bottom of the Facebook stack (think of it as Facebook’s version of Chubby). We hit production with a 3-person team in less than a year; and subsequently scal...

Click to view the original at maheshba.bitbucket.io

Hasnain says:

This was some really great advice that’s worth internalizing for folks working in infra and/or leading large projects.

“[32] Keep track of every other major project in your space within the company: you should be able to explain their technical design better than their own ICs. Grab any opportunities to debate scope with the leads of other similar projects: you should be able to articulate how your project fits into the larger ecosystem of options. Inter-team competition is healthy and necessary. Make friends with ICs in these projects: they understand your technical challenges better than anyone else in the company.”

Posted on 2021-10-28T22:14:51+0000

placeholder

My ideal Rust workflow

Writing Rust is pretty neat. But you know what's even neater? Continuously testing Rust, releasing Rust, and eventually, shipping Rust to production. And for that, we want mor...

Click to view the original at fasterthanli.me

Hasnain says:

I’m going to tell myself that one day I shall achieve such a productive workflow. Also goes to show how complex software development still is in this day and age.

“There's a lot more to say about all this, but I'm fairly happy with the workflow I've set up both for work, and for my personal projects. Now I can focus on the code I want to ship, and I can liberate some storage space in my brain, that was previously dedicated to all these manual procedures I had to follow all the time.”

Posted on 2021-10-27T05:25:39+0000

placeholder

Hasnain says:

This was a great read. Learnt a lot more about how other organizations and the industry at large is starting to think about privacy work.

“The privacy profession is dominated by lawyers—who certainly play a critical role—but privacy engineers are often the real superheros when things go wrong, and essential to preventing privacy disasters. Privacy engineering has emerged as a growing discipline focused on finding practical and often technical solutions to privacy protection. Organizations hire privacy engineers to develop privacy-protective products and services, build tools to promote and monitor privacy compliance throughout their organization, and to detect and remediate privacy problems. Privacy engineers may play a holistic role or focus on specific areas such as front-end, back-end, user experience, product management, or legal compliance.”

Posted on 2021-10-26T20:58:19+0000

placeholder

Noam Chomsky: The GOP Is a “Gang of Radical Sadists”

From the debacle in Afghanistan to the ongoing devastation of COVID-19 to the unhinged cruelty of the Republican Party, Noam Chomsky notes, there is plenty of room for despair in America right now. But he insists that, despite it all, we have ample reason for hope.

Click to view the original at jacobinmag.com

Hasnain says:

Chomsky’s interviews are always great. Learnt so much from this one.

“So, in the United States, if you’re a privileged person like Edward Said or me, punishments are not too bad. Maybe vilification, denunciation. Said had to have police protection. He had a buzzer in his apartment so he could call the police in case he was attacked. If you’re Fred Hampton, a Black Panther organizer, you can be assassinated by the national political police. It depends on who you are.”

Posted on 2021-10-25T16:32:30+0000

placeholder

Justice department chastises Utah school district for ignoring racial harassment of Black and Asian students

Davis School District has intentionally ignored “serious and widespread” racial harassment in its schools for years, according to a U.S. Department of Justice report.

Click to view the original at sltrib.com

Hasnain says:

Every single example here is horrifying, holy crap.

“The department does not note what prompted its audit. But in May 2019 — two months earlier — Davis School District drew national attention when the family of a biracial boy who went to school there filed a lawsuit, describing how the boy was purposefully shut in the doors of a school bus by the driver and left dangerously dangling outside as he drove forward.

The report specifically mentions that incident, saying that it was seriously mishandled by the district, which focused on protecting “certain employees from discipline” rather than worrying about the boy being endangered. The district later acknowledged it had received previous complaints about the bus driver’s discriminatory behavior that were brushed aside.”

Posted on 2021-10-25T15:34:46+0000

placeholder

Why U.S. pandemic management has failed - STAT

Underinvestment in U.S. epidemic engines — jails, prisons, schools, and nursing homes — undermine public health and biosecurity for everyone.

Click to view the original at statnews.com

Hasnain says:

This is a really interesting study. I’ll have to go through and read the paper to understand everything in detail.

“For far too long, U.S. policymakers have exhibited more interest in spending tax dollars on nationally self-destructive punishment systems than on supporting people living in vulnerable circumstances. As a result, the country has allowed unsafe spaces of neglect — from prisons and jails to nursing homes and decrepit schools in poor areas — to grow at the heart of our communities. Where we ought to have built spaces of care, we have instead built epidemic engines.”

Posted on 2021-10-24T17:52:30+0000

placeholder

J&J is using a bankruptcy maneuver to block lawsuits over baby powder cancer claims

Johnson & Johnson spun off liabilities — including roughly 38,000 lawsuits — linked to claims of asbestos contamination in its baby powder to a new firm, which then declared bankruptcy.

Click to view the original at npr.org

Hasnain says:

How is this legal?! More importantly, why is this legal?

“"Johnson & Johnson doesn't have this liability anymore. They pushed all of it into the company they created just to file for bankruptcy," said Lindsey Simon, a bankruptcy expert at the University of Georgia School of Law.

As a result, Simon said, "consumers can't recover [damages] against a big solvent company. They have to recover against this smaller fictional company created [by J&J]."”

Posted on 2021-10-23T23:34:15+0000

placeholder

Hasnain says:

I wasn’t aware of the stuff going on with the .net community but this is pretty important to read. Not just for the technical content but for understanding open source business models and how they relate to corporate funding. And on keeping trust with developers.

“I am not sure. It takes years to build trust and only a few moments to lose it all. Microsoft is a huge organisation and we as outsiders often get to see only a handful of selected people being tasked to spread a certain message via their huge followings in order to create a public image in favour of Microsoft, but what if those people leave?

Do you trust Microsoft with Open Source or do you actually trust people like Jon Galloway, Scott Hanselman, Scott Hunter, Guido van Rossum, David Fowler, Damian Edwards, Miguel de Icaza and a handful of other OSS champions who have been pushing the OSS message internally from the bottom up? What if these people leave .NET? Will Microsoft continue to play nicely with the community?”

Posted on 2021-10-23T16:29:07+0000