Skip to content

Instantly share code, notes, and snippets.

This has got to be it. If this is ignored, what remains of the USA? I want to hear from Trump supporters on these words below, right now.

https://www.nytimes.com/2020/01/27/opinion/john-bolton-book-trump.html

"Last fall, Fiona Hill, a Russia expert and former Bolton aide, testified in the House that Mr. Bolton was alarmed by Mr. Trump’s aid-for-investigations scheme, which Mr. Bolton characterized as a 'drug deal.'"

"In the manuscript, ..., [Bolton] recounts nearly a dozen instances in which he and other top administration officials pleaded with Mr. Trump to release the aid, to no avail. He describes Mr. Trump’s fixation on conspiracy theories about Ukrainian interference in the 2016 election, and about the supposed corruption of Marie Yovanovitch, the American ambassador to Ukraine. He says that Secretary of State Mike Pompeo admitted privately to him that he knew there was nothing to the theories regarding Ms. Yovanovitch, whom Mr. Trump fired last spring."

"Mr. Bolton, a hard-line conservative with de

Five Lessons from History

May 29, 2019 by Morgan Housel

https://www.collaborativefund.com/blog/five-lessons-from-history/

My excerpts:

The Great Depression began with a stock market crash. October 24th, 1929. That’s the story, at least.

It makes for a good story because it’s a specific event on a specific day. But if you were to go back to October 1929, during the crash, the average American might seem unfazed. Only 2.5% of Americans owned stocks in 1929.

http://www.paulgraham.com/thist.html

That standard religion I just gave you about "stop&copy only pays for the good stuff, but in mark&sweep you have to pay for the garbage, as well"? It's not true. We all believed it for decades. But Norman Ramsey at harvard has cleverly shown that you can implement mark&sweep with exactly the same asymptotic costs as stop&copy. This is good news especially for tight-memory systems with homogenous heap data. Norman's observation is really obvious and simple; hardly an impressive result when you see it. Except, uh, that it eluded everyone else for decades. And not because people didn't care; GC has received a lot of attention from researchers. There's a lesson there.

@bpiel
bpiel / LazyLoader.php
Created January 3, 2012 17:12
simple general PHP lazy loader
<?php
class LazyLoader{
private $providerOrValue;
private $evaluated = false;
public function __construct($providerOrValue) {
$this->providerOrValue = $providerOrValue;
}