466 Matching Annotations
  1. Oct 2017
    1. Just like all global namespace pollution, it can be hard to identify component dependencies, especially in a large application.
    1. First, we can use concatenated output using the --outFile flag to compile all of the input files into a single JavaScript output file:

      Can also specify this in tsconfig.json, using:

      compilerOptions: { outFile: "foo.js" }
    1. Multiple files that have the same export namespace Foo { at top-level (don’t think that these are going to combine into one Foo!)
    2. Do not use namespaces in modules
    3. If you’re only exporting a single class or function, use export default


    4. Optionally, a module can wrap one or more modules and combine all their exports using export * from "module" syntax.

      Barrel file?

    5. In TypeScript, just as in ECMAScript 2015, any file containing a top-level import or export is considered a module.

      Defining a module.

    1. Anxiety is the most common mental-health disorder in the United States, affecting nearly one-third of both adolescents and adults,

      Not sure you have anxiety per se, but just so you know, mental health issues are a lot more common than you might think.

      Although, who knows? Maybe you do and it just doesn't look like we (lay people) think it does.

    2. Jillian, a 16-year-old who, when she wasn’t overwhelmed with anxiety, came across as remarkably poised and adultlike, the kind of teenager you find yourself talking to as if she were a graduate student in psychology.

      I feel like I know someone like this. :)

    3. On a group outing to nearby Dartmouth College, for example, Jake’s therapist suggested he strike up conversations with strangers and tell them he didn’t have the grades to get into the school.

      Darmouth is a good school (it's where the BASIC language was invented). Implosion therapy, anyone?

    4. Those numbers — combined with a doubling of hospital admissions for suicidal teenagers over the last 10 years, with the highest rates occurring soon after they return to school each fall — come as little surprise to high school administrators across the country, who increasingly report a glut of anxious, overwhelmed students. While it’s difficult to tease apart how much of the apparent spike in anxiety is related to an increase in awareness and diagnosis of the disorder, many of those who work with young people suspect that what they’re seeing can’t easily be explained away.

      Numbers NOT explained by simply more awareness/diagnosis.

    5. In its annual survey of students, the American College Health Association found a significant increase — to 62 percent in 2016 from 50 percent in 2011 — of undergraduates reporting “overwhelming anxiety” in the previous year. Surveys that look at symptoms related to anxiety are also telling. In 1985, the Higher Education Research Institute at U.C.L.A. began asking incoming college freshmen if they “felt overwhelmed by all I had to do” during the previous year. In 1985, 18 percent said they did. By 2010, that number had increased to 29 percent. Last year, it surged to 41 percent.
    1. In fact, "connectivity" has only further ghettoized politics, and served as a useful playground for vicious authoritarians as often as it has a vital medium for revolutionaries. Here, too, the heirs of the KGB have only exploited human nature. What Alexander Herzen, the great 19th-century Russian liberal, said he feared most for the future was "Genghis Khan with the telegraph."
    2. For good reason did Andrey Krutskikh, a senior advisor to the Kremlin, liken Russia's latter-day information warfare capability to the testing of the Soviet atom bomb. If nothing else, he and his cohort have given the lie to the utopian conceit that the Internet would necessarily be a force for greater democratization and the broadening of political horizons.
    3. The overriding goal was the same, however: portray a superpower in terminal decline, ruined by violent race wars and a plundering plutocracy, and hollowed out by imperial overstretch.
    1. a helper is a reusable snippet of Razor sytnax exposed as a method, and is intended for rendering HTML to the browser, whereas a function is static utility method that can be called from anywhere within your Web Pages application. The return type for a helper is always HelperResult, whereas the return type for a function is whatever you want it to be.


  2. Aug 2017
    1. We call declarations that don’t define an implementation “ambient”.

      "ambient" defn

    1. To describe the shape of libraries not written in TypeScript, we need to declare the API that the library exposes. We call declarations that don’t define an implementation “ambient”. Typically, these are defined in .d.ts files. If you’re familiar with C/C++, you can think of these as .h files. Let’s look at a few examples.

      "ambient" defn

    2. ECMAScript 2015

      a.k.a. ES6

    1. Change the default SessionStateBehavior for your Controllers. Simply decorate your controllers (or a BaseController) with SessionStateAttribute and apply either ReadOnly or Disabled. Many of your actions can require session but only a few will write something in session state.
    2. with many AJAX requests per page, live interfaces, multi-tabs browsing, it is really easy to have bottleneck in our systems and performance issues at the client side.
  3. Jul 2017
    1. If you need to work with larger amounts of data, reporting data, create dashboards, or work with multiple disparate sources of data, you can use the more heavy duty ViewModel object.

      ViewModel preferred over ViewBag if things are complex (which is usually).

    1. Active Setup runs before the Desktop appears.

      Presumably in cases in which the desktop is going to appear.

    2. Active Setup is used by some operating system components like Internet Explorer to set up an initial configuration for new users logging on for the first time.

      So, on a per-application basis? And the app has to be run?

    1. LoginViewModel

      Instead of "dynamic".

    2. dynamic

      Class type supplied at runtime; possible runtime type errors.

      ("dynamic" is a bit like "var", except "dynamic" is runtime type info and "var" is compile-time type inference.)

  4. May 2017
    1. “in case signals can neither be seen or perfectly understood, no captain can do very wrong if he places his ship alongside that of the enemy.” If in doubt, go get ‘em!


    2. In fact, at least three officers—Markham, and the skippers of Victoria and Camperdown—saw the hazard bearing down on them. They nonetheless failed to act as “circuit breakers” interrupting certain disaster.
    1. Fuchsia is impossible to talk about without mentioning a hundred other related projects that also have code names. The interface and apps are written using Google's Flutter SDK, a project that actually produces cross-platform code that runs on Android and iOS. Flutter apps are written in Dart, Google's reboot of JavaScript which, on mobile, has a focus on high-performance, 120fps apps.

      Well, well, well.

  5. Mar 2017
    1. Through careful cultivation of the deans and judicious philanthropy, Bower secured a quasi-monopoly on Baker Scholars (the handful of top students at the Harvard Business School). Bower was not so foolish as to imagine that these scholars were of interest on account of the education they received. Rather, they were valuable because they were among the smartest, most ambitious, and best-connected individuals of their generation.

      It's who you know, not what you know. More evidence that you go to school to build networks, not learn stuff (primarily). "Building networks" might just be the reason you haul yourself through grad school (depending on what you really want).

    2. As students of philosophy know, Descartes dismantled the edifice of medieval thought by writing clearly and showing that knowledge, by its nature, is intelligible, not obscure.

      Brevity is the soul of wit.

    3. The idea that philosophy is an inherently academic pursuit is a recent and diabolical invention. Epicurus, Descartes, Spinoza, Locke, Hume, Nietzsche, and most of the other great philosophers of history were not professors of philosophy
    1. return Promise

      See http://stackoverflow.com/questions/31069453/creating-a-es6-promise-without-starting-to-resolve-it/31069505#31069505 for a tip that may help you if you're doing something like logging on to a Firebase instance. (Although RXJS might be more useful, if you're going to listen to a stream of data-change events.)

    2. The ES2015 arrow function in the callback is more succinct than the equivalent function expression and gracefully handles this.

      Pre-ES6, you can use something like:

      (function() {blah;}).bind( this)

      but maybe Angular will let you use '=>' and will transpile it down? I dunno yet. (Answer: yes.)

    1. You may use a data URI to use embedded images

      If you do this, your SVG element needs explicit width and height, and your node must be big enough to show the image (unless you do Something Wonderful with clipping).

  6. Feb 2017
    1. Async Services and Promises

      I think this is the key to services: asynchronicity. Otherwise, they're just injectable classes, nothing particularly special.

    2. We should be able to create a component in a test and not worry that it might do real work — like calling a server! — before we tell it to do so.
    3. Years of experience and bitter tears have taught us to keep complex logic out of the constructor, especially anything that might call a server as a data access method is sure to do.
  7. Jan 2017
    1. That's as much drama as we can muster for now.


    2. #name="ngModel"

      What is this syntax?

      Template reference variable

      Note that ngForm is how you get a reference to the entire (NgForm?) form object. I kinda wish they'd named it NgElement or NgControl or something (there's already an NgControl -- what is that?), and why they didn't might shed light on their thinking.

    3. [hidden]="name.valid

      What is this syntax?

      Updating a DOM object property ("hidden") with a boolean expression.

  8. Dec 2016
    1. myfun a b | trace ("myfun " ++ show a ++ " " ++ show b) False = undefined

      This is a guard on the function definition. The expression "trace (...) False" evaluates to False (because of the definition of trace), and, in the case that False is True (i.e., never), the result of the function call is undefined.

      However, in the course of evaluating this expression, trace dumps out our output, so we know myfun got called (and we know its parameter values).

  9. Nov 2016
    1. We have introduced another keyword: new. new is strongly related to this. It creates a brand new empty object, and then calls the function specified, with this set to that new object.

      Makes new blank Object, then calls function with 'this' set to new object.

    1. micah: I basically subscribe to the theory that the Democrats don’t have a major problem. Or that all their problems are marginal. They need a little better messaging, a little better messenger. Maybe they should tweak a couple of parts of their platform, emphasize economic mobility a bit more. They need a big tent so that more conservative Democrats can win in rural areas. harry: Remember when Bush won a second term in 2004? Democrats picked Howard Dean to be the Democratic National Committee chair. Democrats then went on a tear. Things change. micah: Yeah, I think the “DEMOCRATS SHOULD TEAR IT DOWN AND START OVER” arguments are as wrong as they were then. And those takes read too much into this one presidential election.
    2. micah: I guess my point is just that basically every prediction in U.S. history that a party would have lasting political control has been wrong. harry: This is a closely divided country. This election was not a blowout. Democrats nearly won the Senate and very nearly won the presidency. Even after being elected, Trump still has a terrible favorable rating. micah: So maybe Democrats just need a fresh haircut and not a total makeover. clare.malone: I think that’s true that they don’t need to do a full overhaul, but I think they need to do a MESSAGING overhaul.
    1. both Hillary and Obama voted for the Secure Fence Act of 2006, which put up a 700 mile fence along the US-Mexican border.

      Not sure what the politics of this were at the time, but I think voting for something as a Congresscrittur and campaigning on it are different.

    2. Dog whistling seems to be the theory that if you want to know what someone really believes, you have to throw away decades of consistent statements supporting the side of an issue that everyone else in the world supports, and instead pay attention only to one weird out-of-character non-statement which implies he supports a totally taboo position which is perhaps literally the most unpopular thing it is possible to think.

      This seems like a very Trump-specific definition of "dog-whistle" and kind of a straw man.

    3. Compare to eg Bill Clinton’s 1996 platform (all emphasis mine):

      Clinton was forced to triangulate by 94 election.

    1. The temptation to accept the Trump administration’s unreality—particularly given increased distrust of the media and his ability to insulate his base from the truth—will be tremendous. His ability to use the powers of the federal government to bolster his dishonesty will magnify his powers of deception a thousandfold. And the inability of the Democratic opposition to affect the outcome given their marginal presence in the U.S. government will ensure that any dissent is muffled.


    2. the ability of the Bush administration to use its power to compel the press to adopt its alternate reality led to the greatest foreign-policy blunder since Vietnam, and the deaths of thousands of Americans and hundreds of thousands of Iraqis, as well as the rise of ISIS. The consequences are, arguably, immeasurable, and the stats I have mentioned simply cannot do them justice.
    3. Another obstacle is that media objectivity is not a fixed point. It is carefully calibrated to the perception of public opinion, because media organizations do not want to alienate their intended audience.
    4. For Trump administration mouthpieces, both public and anonymous, lies will now come with an officiality that will be difficult to contest. The total Republican control of government means that Democrats will struggle to get their objections to carry much weight, much as they did prior to the Iraq War.
    5. The first reason is that political journalism is highly dependent on official sources, which are chased with abandon.
    6. These are people who could argue that the sky is green without a blink. They were able to win a presidential election while doing so. Now they will have the entire apparatus of the federal government to bolster their lies, and the mainstream press is woefully unprepared to cover them.
    7. “My job isn’t to assess the government’s information and be an independent intelligence analyst myself. My job is to tell readers of The New York Times what the government thought
    1. Surely the American system of government is more robust than the Turkish or Hungarian or Polish or Malaysian or Italian systems. But that is not automatically true. It is true because of the active vigilance of freedom-loving citizens who put country first, party second. Not in many decades has that vigilance been required as it is required now.Your hand may hesitate to put a mark beside the name, Hillary Clinton. You’re not doing it for her. The vote you cast is for the republic and the Constitution.

      More boom.

    2. Yet Trump does not need to achieve a dictatorship to subvert democracy. This is the age of “illiberal democracy,” as Fareed Zakaria calls it, and across the world we’ve seen formally elected leaders corrode democratic systems from within.
    3. I appreciate that Donald Trump is too slovenly and incompetent to qualify as a true dictator.


    4. This November, however, I am voting not to advance my wish-list on taxes, entitlements, regulation, and judicial appointments. I am voting to defend Americans' profoundest shared commitment: a commitment to norms and rules that today protect my rights under a president I don’t favor, and that will tomorrow do the same service for you.Vote the wrong way in November, and those norms and rules will shudder and shake in a way unequaled since the Union won the Civil War.


    5. I have no illusions about Hillary Clinton. I expect policies that will seem to me at best counter-productive, at worst actively harmful. America needs more private-market competition in healthcare, not less; lighter regulation of enterprise, not heavier; reduced immigration, not expanded; lower taxes, not higher. On almost every domestic issue, I stand on one side; she stands on the other. I do not imagine that she will meet me, or those who think like me, anywhere within a country mile of half-way.But she is a patriot. She will uphold the sovereignty and independence of the United States. She will defend allies. She will execute the laws with reasonable impartiality. She may bend some rules for her own and her supporters’ advantage. She will not outright defy legality altogether. Above all, she can govern herself; the first indispensable qualification for governing others.So I will vote for the candidate who rejects my preferences and offends my opinions. (In fact, I already have voted for her.)


    6. Having failed to act promptly at the outset, it’s all the more important to act decisively before it’s too late.
    7. The hungry and houseless Americans of the Great Depression sustained a constitutional republic. How shameful that the Americans of today—so vastly better off in so many ways, despite their undoubted problems—have done so much less well.

      Ya know... I think maybe it's exactly because we're so much more comfortable today that we're willing to throw away something good. As in: you don't know what you had until it's gone.

    8. The outcome would greatly depend on the resolve, integrity, and courage of other leaders and other institutions, especially the Republican leaders in Congress. To date, their record has not been reassuring
    9. America's first president cautioned his posterity against succumbing to such internecine hatreds: “The spirit of revenge, natural to party dissension … leads at length to a more formal and permanent despotism. The disorders and miseries which result gradually incline the minds of men to seek security and repose in the absolute power of an individual; and sooner or later the chief of some prevailing faction, more able or more fortunate than his competitors, turns this disposition to the purposes of his own elevation, on the ruins of public liberty.” George Washington’s farewell warning resounds with reverberating relevance in this election year.

      Wow, smarter than he looked.

    10. I more or less agree with Trump on his signature issue, immigration. Two years ago, I would have rated immigration as one of the very most important issues in this election. But that was before Trump expanded the debate to include such questions as: “Should America honor its NATO commitments?” “Are American elections real or fake?” “Is it OK for a president to use the office to promote his family business?” “Are handicapped people comical?”  
    11. To demonstrate my distaste for people whose bodies contain mean bones, it’s proposed that I give my franchise to a man who boasts of his delight in sexual assault? Who mocks the disabled, who denounces immigrant parents whose son laid down his life for this country, who endorses religious bigotry, and who denies the Americanism of everyone from the judge hearing the fraud case against Trump University to the 44th president of the United States?I’m invited to recoil from supposedly fawning media (media, in fact, which have devoted more minutes of network television airtime to Clinton’s email misjudgment than to all policy topics combined) and instead empower a bizarre new online coalition of antisemites, misogyists, cranks, and conspiracists with allegedly ominous connections to Russian state spy agencies?Is this real life?To vote for Trump as a protest against Clinton’s faults would be like amputating a leg because of a sliver in the toe; cutting one’s throat to lower one’s blood pressure.

      Señor Speechwriter needs to trim a few paragraphs, I think (but they're fun to read).

    12. Yes, I fear Clinton’s grudge-holding. Should I fear it so much that I rally to a candidate who has already explicitly promised to deploy antitrust and libel law against his critics and opponents? Who incited violence at his rallies? Who ejects reporters from his events if he objects to their coverage? Who told a huge audience in Australia that his top life advice was: "Get even with people. If they screw you, screw them back 10 times as hard. I really believe it”? Who idealizes Vladimir Putin, Saddam Hussein, and the butchers of Tiananmen as strong leaders to be admired and emulated?Should I be so appalled by the Clinton family’s access-selling that I prefer instead a president who boasts of a lifetime of bribing politicians to further his business career? Who defaults on debts and contracts as an ordinary business method, and who avoids taxes by deducting the losses he inflicted on others as if he had suffered them himself? Who cheated the illegal laborers he employed at Trump Tower out of their humble hourly wage? Who owes hundreds of millions of dollars to the Bank of China?  Who refuses to disclose his tax returns, perhaps to conceal his business dealings with Vladimir Putin’s inner circle?
  10. Sep 2016
    1. That’s a good slogan but a misguided one. It is not corporate propaganda that turns presidential voting into a binary choice—it is the unwieldy electoral system outlined in the Constitution, in which a candidate must win a majority of electoral votes to emerge victorious. In parliamentary systems, coalitions of parties can form governments. In ours, the coalition-building has to happen inside the party, since otherwise an outright Electoral College victory is impossible. This reality is so basic that it feels patronizing to describe it and yet every four years, a sliver of highly mobilized citizens emerge who think they can wish it away.
    2. “We’re fed this corporate brainwashing, many times a day, that we are powerless,” Green Party candidate Jill Stein told the left-wing journalist Chris Hedges in February. “And therefore we have to choose between two oppressors. It’s really important to reject that lesser-evilism and stand up and fight for the greater good.”
    3. This emphasis on the right to run, rather than the wisdom of running, is telling. Nader may have seen the citizenry as a collection of frustrated consumers but he departed from the doctrines of his consumer advocacy on one key point. He always demanded that corporations act responsibly, even if it interfered with their ability to sell whatever they want. In politics, however, he celebrates candidates’ freedom to claim their market share and voters’ access to an unfettered political marketplace whatever the cost to their common interests.

      I think that's kind of a weak point. On the business side, we want to fight monopoly domination, which removes choice. On the political side, Nader also wants to increase choice, taking a market-based "marketplace of ideas" approach.

      So, the point "you can't just do what you want" is broadly the same, but a more focused point might be "you have to give people more choices, not less".

    4. “The test case for me is going to be whether this Brand New Congress project manages to run lots of people in two years,” said Sifry. “That would be unprecedented.” The group, he said, is “based on the understanding that if you really want to change politics in America you actually have to change Congress, not change the White House alone. My guess is that given the current problems that Our Revolution is having, Brand New Congress has a much better chance of being the main focal point of the Bernie swarm going forward.”
    5. It’s a near-tragic irony that Nader, of all people, confused the grubby work of politics—the deal-making, the favor-trading, the assemblage of ungainly coalitions—with the wish-fulfilling work of marketing.
    6. Ultimately, though, Nader’s most powerful example was negative, providing Bernie Sanders with a template of what not to do. Sanders, Nader said, is “obsessed by the way I was shunned. He hasn’t returned a call in 17 years. He’s told people 100 times he didn’t want to run a Nader campaign.” Determined not to be marginalized as Nader was, Sanders worked within the Democratic Party instead of going to war with it.


    7. Nader concedes that it also failed to push the Democrats to the left in the following election.
    8. Nader’s run, said Micah Sifry, author of Spoiling for a Fight: Third-Party Politics in America, “did not help the Greens grow. It didn’t get them on a significantly greater number of ballot lines. It didn’t get them a burst of popular support.
    9. Nader’s enormous rallies didn’t translate into impressive turnout, and the Greens garnered only 2.7 percent of the national vote.
    10. The next eight years put this proposition to the test. Nader told me that the 2000 election “showed the pundits that, together with our votes and Gore’s votes, we had a majority progressive turnout.” Perhaps it did, but without winning office, the display of a progressive majority counted for nothing.
    11. he implied that Bush would be better for the left than Gore. “If it were a choice between a provocateur and an ‘anesthetizer,’ I’d rather have a provocateur,” he said. “It would mobilize us.”
    12. Nader’s movement never constituted a real cross section of the left; even sympathetic observers noted that it was overwhelmingly white.
    13. Sixteen years later, supporters of Bernie Sanders would also decry a “media blackout” on coverage of his enormous campaign events. That’s only one of the obvious and striking parallels between the Nader and Sanders campaigns. Both men were gruff, older leftists—Nader, like Sanders, didn’t like kissing strangers’ babies—who became unlikely youth culture heroes. (It helped that both called for free tuition at public colleges.) Nader and Sanders both believed a populist message could draw disaffected nonvoters into the electoral process, promising not just a challenge to the Democratic status quo but a political revolution. In a recent phone interview, Nader called the similarities of his movement and Sanders’ “uncanny.”
    14. Nader told me in a recent interview. “That should have been a real eyebrow-raiser for the mass media. We filled the Portland Coliseum in Oregon and got almost no media. Eleven thousand people, that was the first rally, and we got maybe a squib in the New York Times.”
    15. high priest of anti-consumerism turned voting into an act of individual self-affirmation
    1. Part of his technical revolution, one that made Amundsen’s expeditions over the Arctic and deep into the Antarctic so boringly successful, was an obvious one. Rather than patronize or even antagonize the Inuit, Amundsen spent years learning from those who knew the most about survival in the most inhospitable places on earth. He adopted their clothes, their hunting techniques and absorbed just about everything else they had to teach.
    2. may we approach the unknown more in the spirit of Amundsen than Franklin.
    3. When the Northwest Passage was finally traversed in 1905 it was by a Norwegian, Roald Amundsen, in a boat almost a-tenth the size of Franklin’s behemoths. Amundsen is the most accomplished polar explorer of all time, but his exploits have long been overshadowed by the more melodramatic, if unsuccessful, adventures of the British. By comparison, Amundsen’s expeditions largely unfold with a sort of boring competence. When the Norwegian later became the first to reach the South Pole as well, even that feat was largely overshadowed by the more exciting but altogether disastrous expedition of Robert Falcon Scott. Scott left behind a haunting farewell note and a trail of bodies along the path to the South Pole. His men exemplified grit in the face of unspeakable hardship and, in doing so, captured the world’s imagination. Amundsen, on the other hand made it to the South Pole and back easily—even jettisoning food on the return trip. The world shrugged at his accomplishment. “Adventure,” he wrote, “is just bad planning.”
    4. On May 19, 1845, two iron-reinforced juggernauts, the 340-ton HMS Terror and 370-ton HMS Erebus, set out from Greenhithe, England to defeat the Arctic. In grand Victorian style, the ships boasted a well-appointed library, an organ, a seemingly inexhaustible supply of tinned food, and a British admiralty’s conception of itself as lord, not just of the constellation of nations, but of the natural world as well. Led by naval officer John Franklin, the expedition’s aim was to subdue nature—to bring even the otherworldly grandeur of the Arctic under the heel of the Empire. Alas, the tins were poisoned with lead, the ships were crippled by ice, and the crew of 129 men—deranged by lead poisoning and starvation—became cannibals hopelessly wandering a stark, and almost featureless, icy wilderness. Everyone died.
    1. One of the most disturbing poll results I have ever read is the recent World Values Survey finding that only 31% of Americans born in the 1980’s say it is “essential” to “live in a country that is governed democratically.” That figure compares to about 44% in Europe, where the memory of totalitarianism is both physically and temporally closer. We American millennials take our freedom and prosperity for granted. My generation has so little experience of authoritarianism and illiberalism that over two-thirds of us basically say we wouldn’t mind living in a non-democratic society. Because we have no historical reference points, when we see Trump, we think only of a silly reality television show star, not a nascent dictator. If Trump wins, we’ll get what we deserve.
    2. 26% of voters aged 18-29 say they will vote for Johnson; 10% back Stein.
    3. 26% of voters aged 18-29 say they will vote for Johnson; 10% back Stein.
    1. In June, the Southern Baptist Convention approved a resolution calling on churches to welcome refugees at their annual meeting. “Scripture calls for and expects God’s people to minister to the sojourner,” the resolution reads. “We encourage Southern Baptist churches and families to welcome and adopt refugees into their churches and homes as a means to demonstrate to the nations that our God longs for every tribe, tongue, and nation to be welcomed at His throne.”
    2. “We’ve consistently had significant support from churches across the board from very conservative churches to other more liberal churches. It’s never been an issue for us to really emphasize with churches that need to help some of these refugees,”  said Jenny Yang, the vice president of advocacy and policy at World Relief, one of the agencies that partners with the federal government to resettle refugees.  
    1. The other is that fraud is sometimes an emergent property of complex institutions, and that there can be widespread misbehavior at a bank without senior management approving it, or knowing about it, or wanting it.
    2. Eventually we will all stop reading and writing articles about Why No Senior Executives at Big Banks Went to Prison for the Financial Crisis, but that time isn't quite yet. There are basically two views about the answer. One is that senior bankers knowingly countenanced fraud, but were good at covering it up, and prosecutors couldn't quite find the smoking gun. The other is that fraud is sometimes an emergent property of complex institutions, and that there can be widespread misbehavior at a bank without senior management approving it, or knowing about it, or wanting it. This case is, I think, useful evidence for the latter view. "Wells Fargo knew, or in the exercise of reasonable care should have known, that its employees open unauthorized accounts," said the L.A. City Attorney last year, but it's hard to believe that any actual human in senior management wanted that to happen. They wanted employees to open lots of real accounts, and designed a system that they hoped would encourage that. But they designed it badly, and ended up instead encouraging employees to open a lot of fake accounts. That's not what anyone wanted, but it happened anyway.
  11. Aug 2016
    1. Breitbart’s collapse into all-but-open racism, then, wasn’t just predictable — it was predicted. That, at the very least, should cause mainstream conservatives to question why they saw things differently.
    2. "Andrew Breitbart despised racism," Ben Shapiro, the former Breitbart reporter who penned the Friends of Hamas story, wrote in the wake of Bannon’s appointment to the Trump campaign. "Andrew’s life mission has been betrayed." But this is letting Breitbart, and the conservative movement itself, off the hook. What Breitbart would say today is unknowable. But what we do know is that Breitbart’s entire ethos, his weird obsession with cultural Marxism and penchant for misleading "scoops," is in his website’s DNA.
    3. Once again, Yiannopoulos faced no consequences for his dabbling with a demonstrably racist movement. In fact, Bannon embraced it, applying the alt-right label to his own vision for the outlet. "We're the platform for the alt-right," Bannon enthused to Mother Jones’s Sarah Posner in a July interview.
    4. Breitbart was consciously founded on the idea that those leaders were wrong, that Republican voters really cared about the culture war, and that conservative ideology was the discardable bit. The site’s growing influence on the right proved its vision right, making it impossible for the conservative mainstream to purge it even if they wanted to. The mainstream conservative movement has mostly been in denial on this point. "Conservative intellectuals, and conservative politicians, have been in kind of a bubble," Avik Roy, a GOP health care wonk who worked for the Romney campaign, told me in July. "We’ve had this view that the voters were with us on conservatism — philosophical, economic conservatism. In reality, the gravitational center of the Republican Party is white nationalism."
    5. . In a private email sent shortly after Breitbart’s death, he was more blunt. "This is about power," Bannon wrote, "and who is going to exert it."
    1. If you would like to donate to the recovery, she recommends Foundation Beyond Belief and Team Rubicon.

      Interestingly, FBB likes UMCOR. https://foundationbeyondbelief.org/drawing

    2. individuals will be forced through a complex process that many homeowners have described as a full-time job.

      Not just FEMA, but the whole thing.

    3. Most people do not have the resources to pay out of pocket for their own recovery. A recent survey found that 63 percent of Americans cannot afford a $500 emergency.
    4. Though response is a trying experience, it is the recovery that is especially arduous and requires the dedication of resources and personnel to be sustained over a long period of time. Survivors often call recovery "the second disaster" because of how difficult it is.
    1. “All the soul-searching we need to do has been provoked already,” he said. “I would rather not see him win. That’s my view. The impetus is already there. I’m not sure what ore is gained by four years of this.” At the thought of that prospect, a shudder seemed to go through the room.
    2. Chief among the many disturbances to the Republican psyche prompted by Trump is the realization on the part of many of the party’s erstwhile mavens that their voters were not nearly as interested in their agenda as they previously believed. The party base proved, in this year’s primaries, not only willing to go along with a candidate who called many of its dogmas into question, but perhaps actively supportive of his heretical ideas. “So much of what you read, what’s in the political agenda, is just so wrong,” Cochrane sputtered, exasperated. “It’s really frustrating. Immigration is good, and trade is good!”

      I agree on immigration and trade, broadly. We still need to develop native talent by not using H1-Bs to force down wages, and we need to develop (and spend money on) programs to mitigate those displaced by trade agreements.

    3. But in other quarters, there are heretical whispers. What if Trump has exposed something fundamental—the hollowness of the party’s old agenda, the troubling priorities of its most reliable voters? What if nobody wants the old-time religion of supply-side economics, or the neoconservatism that produced the Iraq war? Can there be any going back once that realization sets in?
    1. But Trump has been playing the attention-seeking game for decades now, and so far his response to its inefficacy in a general election has been more thrashing. Counting on the leopard to change his spots would be a serious mistake.
    2. Trump’s only hope for turning the ship around is to do exactly what he’s been refusing to do the entire campaign — pivot, and start running a lower-key, more disciplined, less egomaniacal campaign that’s less about his grudges and attention-seeking behavior and more about focus-grouped slams on Clinton.
    3. while “losing candidate complains about media coverage” is the ultimate dog-bites-man story, Trump has managed to add an edge of real threat and menace to his approach.
    4. Attention per se is not a valuable commodity in a context where even objectively uninteresting people like Bob Dole and Al Gore manage to garner massive attention.
    5. by focusing attention on himself, he prevents his campaign from executing on the one strategy that could put an unpopular candidate over the top — getting people to pay more attention to their feelings about his opponent.
    6. Trump is a longstanding proponent of the “no such thing as bad publicity” school of thought, and he’s freakishly good at executing on a strategy of attracting attention at any price. But while this theory may apply to luxury condominium development, reality television, and presidential primaries, it most certainly does not apply to presidential general elections.
    7. He tweeted constantly. He made himself widely available to the media in unscripted settings. He said and did wild things. He was great for ratings, so people wanted to cover him. And obtaining constant coverage helped him find and bond with a base of core supporters, who got enthusiastic about him, turned out to vote in unexpectedly high numbers, and ultimately built up too much momentum to be stopped.
    1. xsi:


    2. xs:


    3. information items

      So, an "information item" is an item in the XML itself, which is being validated, while a "schema component" is an item from the schema.

    1. The verbosity of XML in data serialization is primarily due to its use of both start and end tags to wrap elements like this: <FirstName> Michael </FirstName>.  The duplication of the label “FirstName” is a source of concern for many programmers who hate to waste any bandwidth or processing power.  In JSON, this would be { FirstName: Michael }.

      Nonsense. You won't find "FirstName" floating around in isolation, you'll find it as an attribute of some piece of data, say Person.

      JSON: Person: { FirstName: "Michael" }


      No difference in terseness.

    1. For all their imperfection, the polls are a far better indicator than the conspiracy theories made up to convince people that Trump is ahead.
    2. Isn’t it more plausible the people who get paid to know what they are doing are right, while some anonymous website on the internet with unclear methodology is wrong?
    3. But let’s say this plainly: The polls are not “skewed.” They weren’t in 2012, and they aren’t now.
    4. Party identification is an attitude, not a demographic. There isn’t some national number from the government that tells us how many Democrats and Republicans there are in the country.


    1. But there’s no reasonable connection between the discussion of Amiri’s case on email by Clinton’s staff to Amiri’s eventual execution. There’s no evidence her server was hacked. The Iranians knew all about Amiri well before the emails were released publicly. His kidnapping story never held water and his fate was sealed long before his sentence was carried out. Add Shahram Amiri to the list of deaths Trump has carelessly speculated that Clinton is responsible for with no real evidence. At least he can’t blame her for the Kennedy assassination; he’s already got a conspiracy theory for that one.


    2. The Iranian government may have threatened his wife and 7-year old son. He may have hated life on the run. He may have had a change of heart.


    3. He never explained how or why he was able to record Youtube videos during his alleged capture, each of which had different accounts of what happened to him.


    1. It’s not just bugs. Urban ecologists have repeatedly found that monetary wealth affects biological richness. Wealthier neighborhoods also contain more species of birds, lizards, and bats—a pattern known as the “luxury effect.”  


    2. “It’s vegetation at a neighborhood scale that’s really having this big effect,” says Leong. In affluent areas, people might be more likely to plant trees or shrubs, and not just in their own yards but in public spaces beyond. Alternatively, richer people might be more likely to move into greener places. Either way, the bountiful vegetation then fosters a thriving community of arthropods that can then find their way into homes.


    1. It long has been the duty of the Democratic Party to the nation to beat the crazy out of the Republican Party until it no longer behaves like a lunatic asylum. The opportunity to do this, to act unilaterally in returning sanity to the Republic, never has been as wide and gleaming as it is right now. To argue that responsible government requires that you treat sensibly a party that has gone as mad as the Republicans have is to argue for government by delirium.Trump doesn't need an intervention. His party does.


    2. The president is not budging. Why should he? He's not the crazy one. He doesn't belong to the party that, with its eyes wide open, nominated a vulgar talking yam for president.


    3. There have been three chances since 2000 for the Democratic Party to beat the crazy out of the Republicans. The first was after the thumping that the Avignon Presidency received in the 2006 midterms. The second was immediately after the election of Barack Obama. Both of those went a'glimmering because the Democrats listened to people who convinced them that, because they were the grown-up governing party, they had to make nice with the pack of vandals on the other side of the aisle.


    4. Ever since the late 1970s, when it determined to ally itself with a politicized splinter of American evangelical Protestantism, having previously allied itself with the detritus of American apartheid, the Republican Party has been reeling toward catastrophe even as it succeeded at the ballot box, and taking the country along with it. Crackpot economic theories were mainstreamed in the 1980s. Crackpot conspiracy theories and god-drunk fantasies were mainstreamed in the 1990s. Crackpot imperial adventures abroad were mainstreamed in the 2000s. And all of these were mainstreamed at once in opposition to the country's first African American president over the past eight years.


    5. Modern conservatism has proven to be not a philosophy, but a huge dose of badly manufactured absinthe. It squats in an intellectual hovel now, waiting for its next fix, while a public madman filches its tattered banner and runs around wiping his ass with it. It always was coming to this.


    6. For the good of the nation, the Republican Party as it is presently constituted has to die.


    7. There already is a strong undertow pulling HRC toward "reaching out" to the GOP, toward governing from "the middle," and toward not accelerating the now-rapid descent of the Republican Party into the final madness of the prion disease it has welcomed so warmly into itself ever since the late 1970s. Ryan Lizza of The New Yorker even posited that, as a gesture of good faith, HRC should allow the Republicans to pick a Supreme Court justice, a stratagem that has been proven to work only on The West Wing, which was not a documentary series.


    1. The president has basically unconstrained authority to use nuclear weapons, a seemingly insane system that flows pretty logically from America’s strategic doctrine on nuclear weapons. The US needs a system to launch weapons fast for deterrence to work properly, which means one person needs to be able to order the use of nukes basically unencumbered. The president is the only possible choice.
    2. The natural question to ask, then, is whether he could actually do that. The answer is deceptively simple: Yes, he can. No matter what.
    1. With its own version of a powerful troika of cross-state networks combining policy research, legislative orchestration, and public advocacy across dozens of states, the American left would become much more able to elect and support progressive politicians at all levels of government. As the US right well understands, that sort of combined clout across the states is what it takes to move the needle in American politics and public policy. As liberals continue to relearn through hard experience, capturing the presidency and operating in Washington, DC — is simply not enough.
    2. a common left-wing pitfall
    3. Architects would need to deal with the perennial left-wing issue of too many advocacy groups and donors pushing dozens of issues and causes.

      Standard Democratic chaos.

    4. An estimate of SiX’s 2015 budget puts it at around $3.5 million — approximately half the revenue commanded by ALEC and only about 2 percent of the recent budgets of Americans for Prosperity.
    5. SiX’s future success will likely depend on its ability to build an organizational brand that can appeal not only to dyed-in-the-wool progressives but also more moderate members in purple and red states.
    6. A failure to reach beyond the blue-state core
    7. Progressives now hope that this picture can change with the emergence of a new group — the State Innovation Exchange (or SiX) — the product of a 2014 merger of several older progressive networks focused on state lawmakers
    8. But the various left-liberal competitors have never gotten beyond competing for (insufficient) grants from unions, center-left foundations, and wealthy donors. Few of those liberal funders ever stuck with cross-state projects for long, given the preference of liberals in the United States for national initiatives launched from Washington, DC.
    9. ALEC moved through various experimental phases before it eventually realized it could build enduring clout by enrolling both businesses and conservative-minded state legislators as dues-paying members who collaborate in issue-focused task forces. Dues give members a sense that they have a real stake in the organization — they serve as a signal of the commitment of the lawmakers.
    10. Americans for Prosperity has expanded since 2004 into a nation-spanning federation comparable in size and resources to the Republican Party itself.
    11. The presidential contest takes up most of the air in the media, but it is at the local and state level that political movements are built, as conservatives in recent years have recognized better than liberals.
    1. “Every member should remember this the next time they see a Club for Growth or Heritage Action vote alert,” said a national Republican strategist. “Never put their interests before your district or the country, or there will be a price to pay.”
    2. Club for Growth

      received Koch money in 2012

    3. Americans for Prosperity

      Koch group

    1. The problem for Donald Trump is that his supporters believe what he says. If he says that a Trump loss means that the election has been stolen, there are millions of people prepared to believe it. And on the day after the election, professional provocateurs on talk radio and the internet may be ready to tell them to reject the results of the election and the peaceful transfer of power that comes with it.

      Incitement to violence is a criminal offense, no?

    2. Whether or not Trump intends to contest the legitimacy of Clinton’s election after the fact, he’s certainly giving license to his followers to do just that. Trump’s followers adore him in part because he says things they’d always believed but had simply been afraid to say; if he stops saying them, they won’t stop believing them. Just ask Bernie Sanders.
    3. Taken altogether, it looks less like the efforts of someone preparing to mount a post-election challenge (which, after all, takes a lot of work) than the efforts of someone trying to make sure he emerges from a loss unscathed.
    4. And a few days before that — at a rally in Colorado — he blamed his very own supporters for a potential Trump loss:
    5. But to be honest, Donald Trump probably isn’t thinking that far ahead. Instead, he seems to be worried he’s going to lose, and so he’s trying to make sure everyone but him gets blamed for it.
    6. In North Carolina, the State Senate leader and House speaker have been even more explicit. When the Fourth Circuit Court of Appeals struck down several provisions of North Carolina voting laws last week, they speculated, “We can only wonder if the intent is to reopen the door for voter fraud, potentially allowing fellow Democrat politicians like Hillary Clinton and Roy Cooper to steal the election.”
    7. In a year where anti-establishment anger is running high, it’s an appealing message. In fact, there are plenty of people — dissident Democrats and Republicans alike — who don’t like Donald Trump per se, but who already believe that the Democratic Party rigged the primaries for Hillary Clinton, or that Democrats are trying to rig the general election for her.
    8. An underrated truth of American politics is that large numbers of people in both major parties believe that, if their side doesn’t win an election, it’ll be because the other side cheated.
    9. When he offered to pay the legal fees of anyone who was arrested for restraining anti-Trump protesters, and then a Trump supporter punched a protester in the face, he quietly reneged on his promise.
  12. Jul 2016
    1. The next presidential election is due in April 2019.
    2. At 74.3%, voter participation was high, suggesting a sizeable proportion of the population backed change
    1. Demographics: In the aggregate, voters tend to be older, wealthier, more educated and whiter than non-voters.  Age: Young people are much less likely to vote than older ones. From 1972 to 2012, citizens 18-29 years old turned out at a rate 15 to 20 points lower than citizens 30 year and older.
    1. But, in Schmitz’s opinion, the two in five Catholics who support Trump may do so because churches have left their parishioners open to Trump, because, “Catholics have failed to articulate a political vision — in either party — that appeals to those left behind by progress.”
    1. I don't really hold anything against Southwest

      Not me. I hold it against Southwest. Sorry, gang, you just don't do this. Some manager(s) somewhere cut some corners, set some unreasonable deadlines, ignored some inputs from engineers in the trenches, and this is the result.

    2. There were reports of missed youth basketball tournaments and being late for the first day of work at a new job.

      ...and other tricky situations totally screwed up. Thanks, Southwest! ^_^

    3. a night spent camped out at the airport


    4. By the end of last weekend, about 2,300 flights were canceled, affecting up to an estimated quarter of a million passengers.
    5. We'll drive 12 hours instead

      Woulda done this if my son had been ok with it.

    1. As any trader will tell you, if you are stuck lower, you want volatility, uncertainty. No matter how it comes. Put another way. Your downside is flat, your upside isn’t. Break the system. The elites loathe volatility. Because, the upside is limited, but the downside isn’t. In option language, they are in the money. To put it in very non-geeky language: A two-tiered system has one set of people who want to keep the system, and another that doesn’t. Each one is voting for their own best interests. (Yes, there are always altruistic people. But…..)
    1. For the entire history of modern conservatism, its ideals have been wedded to and marred by white supremacism. That’s Roy’s own diagnosis, and I think it’s correct. As a result, we have literally no experience in America of a politically viable conservative movement unmoored from white supremacy.
    1. As someone who has covered President Obama’s foreign policy fairly extensively, I feel confident in stating that he has never expressed such a negative view of the U.S. We are truly in uncharted waters.

      "he" meaning Obama.

    1. RG: I do. I think manufacturing has been much easier to automate. I think there are limits in the ability of robots as they're currently built and conceived to do things like hotel room service and making beds and folding laundry, and doing many of the jobs in the service sector in education and the gigantic health care sector. Even something as mundane as the employees in hospitals who push you down the corridors from your room to an x-ray machine or an MRI test, that's all still being done by humans. You'd think that would be the first job to be replaced by robots, but there’s nothing like that happening yet.
    2. RG: This idea that we're on the verge of some kind of fundamental transformation implies that there's going to be a major replacement of people by machines across the wide span of the service sector. And we just don't see it. We don't see the foundations of the innovations that would make this possible. Look across retailing. Look across medical care and education. Look at finance, which had its big computer revolution back in the 1980s and 1990s — where everything is already being done by computers. We’re not seeing anything on the horizon that's analogous to the movement from typewriters to personal computers that was the big driver of productivity growth.
    3. RG: Almost all truck drivers have two roles. They drive the truck to the destination, they get out, they take the goods out of the back, load them on a pallet, and wheel it into the shelves. The people arranging the beer and the cola on the shelves are often truck drivers from the wholesaler. Having a self-driving truck is not going to eliminate that role. You might have to have employment reorganized so that there are additional employees in the stores to take the merchandise off the trucks.
    4. RG: Consumer Reports did a very detailed analysis of self-driving cars and pointed out that they're not ready for primetime. Self-driving cars can't see lane markings when there's snow and rain. We saw the tragic death of a tech enthusiast who was blindsided by a truck and the car didn't see it. The entire world has to be mapped in 3D, not just two dimensions, for cars to recognize all of the obstacles, all the signals, all the lights, all the construction zones. The self-driving car may eventually take over, but we've got hundreds of millions of existing cars, all of which are going to have to co-exist with these self-driving cars. You can't make people buy them. And if self-driving cars are more expensive, as they surely will be because all the extra equipment that’s included with them, you'll still have a mix of autonomous and person-driven vehicles for quite a distance into the future.
    5. Now, of course, we do have predictions that with the rise of the minimum wage, that we're going to have more installation of automated machinery in fast food restaurants. I fully expect that to happen. That would create an increase in productivity in the restaurant sector. So I agree that digitalization and computers are going to gradually replace many jobs. But I think the word is gradual. There are big obstacles in the way of physical robots taking over many of the physical jobs that people do in their everyday lives.
    6. seems primitive that supermarket shelves are stocked by humans. Where are the robots coming to replace humans stocking shelves in supermarkets?
    7. seems primitive that supermarket shelves are stocked by humans. Where are the robots coming to replace humans stocking shelves in supermarkets?
    1. The GOP now finds itself lacking an intimate’s ability to criticize productively, given its demographic and cultural divergence from the majority of the country.
    2. Reagan hagiography has stunted the GOP: “No one under the age of 51 today was old enough to vote for Reagan when he first ran for president,” the authors of the party’s 2012 election post-mortem, a reviled document in some corners of the party, wrote. “We sound increasingly out of touch.”

      So... that would be 55 years of age in 2016.

    1. The rise of Donald Trump and the shock of Brexit has sent a message to many professional commentators that globalization requires more economic protection at home.

      Duh. We knew this already.

    2. The legacy of President Bill Clinton’s reform is complicated. But most experts agree that welfare reform failed the most vulnerable by obliterating the safety net for the poorest single parents. The male participation rate has fallen more since 1996 than it fell in the 20 years before 1996. That’s astonishing, given that one goal of welfare reform was to get people to work.
    3. The emerging Republican Party is a self-sustaining machine of perpetual rage, suppressing the prospects of working-class men while being powered by their growing frustration.
    1. Rauch believes that restoring the kludgy legislative structures of the postwar era would bring back the same results those systems produced. But the 20th-century party system worked because the parties of that era were qualitatively different. Rauch’s proposal is merely one more in the latest of a series of well-intentioned but doomed plans to bring back a world that can never be restored.

      Eh... maybe.

    2. A series of polls have all found that Democratic-leaning voters want their leaders to compromise, while Republican-leaning voters do not. Many Democrats feel frustrated with the system, but they want to make it work. Republicans do not feel this way at all.
    3. The political scientists Matt Grossmann and Dave Hopkins have found that Democrats tend to conceive of their policies in concrete terms, while Republicans present theirs in ideologically abstract terms.
    4. The disconnect implies a fatal flaw in Rauch’s analysis. Since he identifies causes of illness that afflict both parties equally, while the symptoms have manifested in only one of them, what reason is there to trust his diagnosis?

      I still think Rauch is on to something. I do believe the Dems have similar vulnerabilities to the GOP.

    5. The more serious problem with Rauch’s argument is this: Virtually every breakdown in governing he identifies is occurring primarily or exclusively within the Republican Party. Democrats have not been shutting down the government, holding the debt ceiling hostage, overthrowing their leaders in Congress, revolting against normal deal-making, or (for the most part) living in terror of primary challenges. Rauch is right that Sanders has encouraged unrealistic ideas about a revolution that would make compromise unnecessary, but the signal fact is that Sanders lost.

      True, Sanders lost, but a significant fraction of the Democratic primary voters voted for him. I'm not sure the Democratic Party is all THAT immune.

    1. We reformed pork
    2. We reformed closed-door negotiations
    3. We reformed political money
    4. We reformed Congress
    5. The informal constitution’s intermediaries have many names and faces: state and national party committees, county party chairs, congressional subcommittees, leadership pacs, convention delegates, bundlers, and countless more. For purposes of this essay, I’ll call them all middlemen, because all of them mediated between disorganized swarms of politicians and disorganized swarms of voters,

      "middlemen" definition

    6. politiphobes


    7. Our intricate, informal system of political intermediation, which took many decades to build, did not commit suicide or die of old age; we reformed it to death. For decades, well-meaning political reformers have attacked intermediaries as corrupt, undemocratic, unnecessary, or (usually) all of the above. Americans have been busy demonizing and disempowering political professionals and parties, which is like spending decades abusing and attacking your own immune system. Eventually, you will get sick.

      "disintermediation" definition

    8. That kind of anti-establishment nihilism deserves no respect or accommodation in American public life. Populism, individualism, and a skeptical attitude toward politics are all healthy up to a point, but America has passed that point. Political professionals and parties have many shortcomings to answer for—including, primarily on the Republican side, their self-mutilating embrace of anti-establishment rhetoric—but relentlessly bashing them is no solution. You haven’t heard anyone say this, but it’s time someone did: Our most pressing political problem today is that the country abandoned the establishment, not the other way around.
    9. The biggest obstacle, I think, is the general public’s reflexive, unreasoning hostility to politicians and the process of politics.
    10. Academics and commentators are getting a good look at politics without effective organizers and cohesive organizations, and they are terrified. On Capitol Hill, conservatives and liberals alike are on board with restoring regular order in Congress. In Washington, insiders have had some success at reorganizing and pushing back. No Senate Republican was defeated by a primary challenger in 2014, in part because then–Senate Minority Leader Mitch McConnell, a machine politician par excellence, created a network of business allies to counterpunch against the Tea Party.
    11. Restrictions inhibiting the parties from coordinating with their own candidates serve to encourage political wildcatting, so repeal them. Limits on donations to the parties drive money to unaccountable outsiders, so lift them. Restoring the earmarks that help grease legislative success requires nothing more than a change in congressional rules. And there are all kinds of ways the parties could move insiders back to the center of the nomination process. If they wanted to, they could require would-be candidates to get petition signatures from elected officials and county party chairs, or they could send unbound delegates to their conventions (as several state parties are doing this year)
    12. on’t have a quick solution to the current mess, but I do think it would be easy, in principle, to start moving in a better direction