17 August 2018

Thought For The Day - 17 August 2018

As if one needed yet more reporting on Turkey basting and the US Buck's supremacy. Not to mention all those trillions looking for hefty returns at low risk, we get some briefing.com words(7:55):
Looking at other markets, the Turkish lira is down 4.2% against the U.S. dollar this morning, on track to end its three-day rebound, but still remains a ways above its all-time low, which it hit on Monday. Meanwhile, U.S. Treasuries are higher, pushing yields into the red, with the benchmark 10-yr yield down two basis points at 2.85%.

Or, as we say (or so I'm told) in the Navy, "Dive motherfucker!! Dive!!!" Yeah, there's no advantage to being the world's reserve currency.

15 August 2018

New Gold - Part the Sixth

The Manchurian President continues braying that the USofA is the victim of bad the international monetary and trade deals. Day after day. While these missives have explained why it is that the US Buck being the world's reserve currency actually gives us the royal flush in spades hand. The Manchurian President is either too stupid to figure that out, or he's just lying to cover his ass. Blame the global elites and their Democratic enablers. And so on.

Well, today brings yet more reporting that the USofA is gutting lots of the world.
A crumbling currency inflicts many damaging consequences: Companies that borrowed in dollars — the global reserve currency — have to come up with steadily more money in their local currencies to repay U.S. dollar debts. Having to do so also raises risks for the banks that lent to them.

That's the kind of squeeze that ignited the catastrophic 1997-1998 Asian financial crisis. A currency disaster in Thailand infected the entire region, and East Asian economies absorbed devastating damage.
[my emphasis]

We're the victims. Yeah, sure.

And, how might other countries manage this:
And emerging-market countries learned lessons from the debacle two decades ago. Many piled up reserves to fend off speculative assaults on their currencies. At the start of 1997, emerging-market countries' reserves amounted to barely 6 percent of their economic output. Now, they equal nearly 18 percent, according to the Institute of International Finance, a banking trade group.

Guess what?? All the US Buck reserves came from our current account trade deficit. No trade deficit, no expanding New Gold stock, no expanding world market, world market deflation. You don't want to live in that kind of world. Arithmetic doesn't lie. Yummy.

13 August 2018

New Gold - Part the Fifth

Here we go again. There are upsides and downsides to the US Buck being the world's Reserve Currency, aka New Gold. One of the side-effects, in both directions, is on domestic interest rates. Many's the time these missives have called out the repercussions of rate inversion. Well, here's some more reporting on where we are.
It has been a long bull run for both stocks and bonds, and borrower defaults have been at historically low levels for years. As has the spread -- the difference between the yields -- of Treasury-backed securities and riskier bonds. But as interest rates continue to rise, and some companies and other borrowers fail to meet their debt obligations, defaults will inevitably increase along with the spreads.

The implication, of course, is that longer term private debt has been written at artificially low rates, and thus high prices. Again, there's nearly $2 trillion in idle money just on corporate balance sheets (see recent missives). Not to mention the 1% and .1%. All seeking 10% and no risk.

So, that reporting was a few days ago. Today we hear another siren, sounding in Turkey, of all places. Much the same as China over the last decade or so, lots of real estate building. As the saying goes, there's only so much time and so much land. You'll never get the former back once it's gone, and there's no more of the latter. Easy money in real estate.
Mr. Lee noticed that Turkish banks were borrowing in dollars to make other loans to fast-growing Turkish companies. He also saw that, over all, Turkey's economy was growing more reliant on financing from foreign investors. It struck him as similar to what had happened to Thailand in the years before the Asian financial crisis in 1997.

Gold giveth and gold taketh away. As with the Great Recession, lots of idle money, unable to find productive homes in physical capital, chases real estate.

09 August 2018

Blues for Donald in D# Major

The most important news out of Tuesday, not widely discussed that I've seen, is that right-to-work got drowned by a blue tsunami in Missouri, the 'Show Me State'. It seems that lots o folks there have figured out that The Manchurian President has been lying all the time. As Rachel Maddow tells us, "watch what they do, not what they say".

The Manchurian President keeps taking from the many poor and giving to the few rich. "Vote for George O'Brien, get Charley off the MTA".

Real growth can only happen if aggregate demand grows, and that has never happened while income and wealth concentrate as they have over the last few decades. Rich people don't buy/spend as much of their moolah, per dollar, as the poor. They chase instruments, and they've had a big appetite for high-return/low-risk such; not that such actually exist, naturally. Which gave us the Great Recession. What will be next? I don't have a firm answer. May be soon.

Along that line, we have this reporting that Treasuries are inching toward 3%, and the pundits are losing their minds. Let's see. Warren is sitting on $116 billion. How much is corporate America sitting on? $1.9 trillion as of the end of 2017. The Smartest Guys in the Room can't figure out how to make real investment. In due time, not much IMHO, they'll go back to chasing Treasuries and driving up price once again. Rates will collapse.

Why? Well, my frenemy Neil Irwin reveals why he's sorta, kinda Luddite.
I think most digital technology is more mature than we think. People have been using personal computers since the 1980s, and smartphones for more than a decade. And the thing about a mature product is that improvements tend to be marginal rather than transformational.

What these missives have been naming, 'The Asymptote of Progress' for a long while. Marginal 'improvements' don't generate significant growth or return, naturally. The latest iPhone doesn't have the impact of the steam engine. That pesky asymptote gets flatter by the day.

02 August 2018

Fool's Goal

Are you old enough to remember pets.com? Cute Lamb Chop-ish sock puppet spokescritter. Lots o fun to watch the adverts. Didn't last all that long.
It began operations in February 1999 and liquidated in November 2000.
[the wiki]

Before I looked it up just now, I hadn't realized just how short its life was. Poor doggy. Got hit by bus.

Today's missive is about a similar ploy: dinner over the internet. There's in the neighborhood of half a dozen such outfits. Today's report is for (7:09)Blue Apron:
Reports Q2 (Jun) loss of $0.17 per share, in-line with the Capital IQ Consensus of ($0.17); revenues fell 24.6% year/year to $179.6 mln vs the $188.51 mln Capital IQ Consensus.

Customers decreased 24% year-over-year and decreased 9% quarter-over-quarter as the Company progresses through the aforementioned transition period. Average Revenue per Customer was $250 in the second quarter of 2018 compared to $251 in the second quarter of 2017, and $250 in the first quarter of 2018.

Going the way of the sockpuppet doggy? Only time will tell.

26 July 2018

Words Have Meaning?

Them Cheatin Canadians

Well, I suppose the truth had to come out eventually. Turns out the seat of Tech Growth isn't where you might expect, if you drink The Manchurian President's Flavor Aid. It's Toronto. Those wily Canadians are using currency manipulation and open border to drain our precious bodily fluids. We must attack before it's too late. Once a friend, now an enemy.
The capital of Canada's Ontario province created 28,900 tech jobs last year, up 14 percent from 2016. Toronto's more than 241,000 tech employees represent a 52 percent increase during the last five years, according to CBRE.

25 July 2018

The Doctor Is In

Recall the mentioning of that old saw, Dr. Copper? Well, a major American copper corporation had this to say (8:09):
Despite the recent decline in copper prices associated with the uncertain impact on the global economy of recent international trade actions, we remain positive on the outlook for copper prices given limitations on supply and the important role of copper in the global economy. To date, we have not experienced a decline in demand for our products, but will be prepared to adjust our plans if necessary to respond to market conditions.

I guess all is well. "What you're seeing and what you're reading is not what's happening."

Here's what's happening to the good Doctor. A bit of whistling past the graveyard. Ya think.

22 July 2018

Thought For The Day - 22 July 2018

'60 Minutes' is in re-run mode, so we've just seen the piece on Hubble. I'm a sucker for such science. One might wonder whether The Manchurian President gives a hearty shit? Probably not. Real Americans don't care about real science.

18 July 2018

Thought For The Day - 18 July 2018

Dear Dear Leader:

It's not about how kissy face you are with Vlad the Impaler, or other dictators; it's about doing what's best for the USofA. Sucking up to Vlad may get you your Trump Tower Moscow, but that's not in the USofA best interest. And, what's this about the SS blocking subpoenas for Jared?? So, I guess you've decided that The Family is above the Law?

16 July 2018

Thought For The Day - 16 July 2018

Well, given the events of today, now would be the right time to apply to the Small Business Administration for a fat loan for my start up, The White Boy Brown Shirt and Jackboot Co. Ya think?

10 July 2018

Quant's Hubris - part the third

Once again, we find quants being utterly, and arrogantly, innumerate. Here is a piece telling quants how to build a "database". It's not, of course. Just a flat file your Grand Pappy would be happy with. Gad. We're into serious civil regression.
Commandment 1: all your data shall fit into one single dataframe

And it goes on to be worse. Sigh.

09 July 2018

Quant's Hubris - part the second

"Regular reader, by now, knows one of the mantras: "the bane of the capitalist is capital". Meaning, of course, that using capital to get rich by substituting machines (hardware and/or software) for people reaches a tipping point. Not just the wall of diminishing returns, but the abyss of unremitting sunk cost. That's just a fancy way of saying that automation methods become more expensive, as unit cost."

Thus begins Part the First (not then known to be yet another serial) of the capitalist's dilemma. Capital, the real physical kind at least, makes its value-add either (or both) by replacing labor while keeping output static, or by increasing output with the same labor. The problem for the capitalist is that as automation (not to mention robotics) moves ahead, labor is gradually (or instantly) removed, thus removing yet more folks from earning and no further benefit from labor substitution. The only way for the capitalist to win when the labor component reaches that tipping point, is to push more output with all those magnificent machines. But can that be done as labor continues to be ejected? Fewer folks earning, whatever happens to GDP, inevitably leads to diminishing demand. Macro, anyway. The reason there's a fraction of the coal miners today vis-a-vis 1940 is not the EPA or other effete bureaucrats, but massive changes in how coal is mined. More machines, less underground extraction (aka, hill topping), poof! There went the jobs. The Kenyan President had nothing to do with it.

Quite the same thing has happened in general manufacturing. First, New England manufacturers departed for the labor antagonistic South. Still aiming to sell to the remaining higher wage North, of course. Thence to Mexico and Central America and Caribbean. And thence to Asia, China as poster child.

There's been a paper making the rounds of the innterTubes for a while now, and makes another appearance today. The in-your-face number is $8.46 as the China specific value-add to an iPhone7. Naturally, one can go find whining that such a number is way too low, but that's not the main point of this missive.

The main point is that amount of direct labor in making an iPhone is teeny, no matter the dollar value. Most of the value in such things is delivered by automated processes; almost no humans touch semi-conductor in production these days. Robots, even. And, of course, China didn't steal American jobs, Steve Jobs and his friends sent them away. And, of course, Apple's source isn't even a Chinese (the big one on the continent), but from that little island called Taiwan.

The authors, without resorting to irony (I would, fur shur), say that Foxconn got about $3,000,000,000 (or may be $4,000,000,000) to make a plant in Wisconsin. Welfare queen. Taxpayers shouldn't pay for sports facilities, either, but that's another show. If you want a rundown, here's one.
To land the massive Foxconn factory, Gov. Scott Walker has committed the state to paying more than eight times as much per job as Wisconsin will provide under similar job creation deals struck last year, a Milwaukee Journal Sentinel analysis has found.

So, the next logical question: does capital hang around after such incentives end? Way back in 2012, the Failing New York Times published an extensive piece on corporate extortion. Worth the read.

A more caustic review, and newer, is here.

What's being discovered, but only occasionally acknowledged, is that the farm-to-factory paradigm of the 20th century no longer holds. Back then, factories absorbed displaced farm hands since skill level wasn't an impediment. Today, we've two problems: 1) new jobs are a fraction of those eliminated, and 2) new jobs simply can't be done by those displaced.

The answer, of course, is socialism, wherein the net winners compensate the net losers. GDP grows, demand is maintained, and technology can continue. If technology reaches a point where it serves only to eliminate macro-demand, it's game over. Reducing price through cost reduction of automation is meaningful only to those who remain with income sufficient to afford the new, lower price. As income concentrates, the number of demand units, aka people, diminishes. Jay Leno may have hundreds of old cars, but that doesn't do much for Ford or GM.

06 July 2018

Let The Battle Begin

It should come as no surprise that I remain a Bayes skeptic. Imagine my amusement (of a macabre nature, naturally) reading this review of Biogen's latest Alzheimer's trial.
Study 201 used adaptive randomisation to enrol 856 subjects with mild Alzheimer's disease across five dose levels. It used a complex Bayesian statistical model to yield a faster result than traditional designs.

You should read the article through. There are issues, in the author's view, beyond the use of Bayes. One might infer that some or all of these other issues are, to steal a word, co-linear with the choice to leverage Bayes.

Alzheimer's is a dread, particularly for those of us past 40 or so. Finding clinical trial failure supportive is perverse, to say the least. On the other hand, sponsors shouldn't (and should really be prevented from) "torture" data to defend a compound. And in this kind of case where the history, even of this compound, with the target is universally negative. What's worse, Biogen isn't some pump&dump nano-cap San Diego bio, either.

Go to your corners and come out fighting!

02 July 2018

RC and A MoonPie

One of Dr. McElhone's more fun adages went, sort of: "breakfast is an RC Cola and a MoonPie". At the time, I don't think I'd ever seen a MoonPie, New England and all that. Just to confirm, I consulted The Wiki, happily discovering I remembered correctly. The little grey cells aren't all done.
There is a custom for eating Moon pies with RC Cola, although the origin of this is unknown.

He also had a long held antipathy for pie charts. That's more common these days. Thanks to the folks at MicroSoft we get an R version of a different kind of "pie" chart. Not only is it a really effective way to present data, but look closely. Orange Julius Caesar is gulling you. Again.

01 July 2018

I Still Hate Neil Irwin - part the eleventh

This time, just go read the piece. As Crooked Hillary said, her votes came from the counties that produces 65% of GDP. In other words, well fed, well educated, healthy folks do better. As pointed out here many times, the pool of white grievance is the result of unfed, uneducated, unhealthy fish belly folks voting in governments which grind them under the boot heel. And, of course, they blame Democrats. Low information voting at its finest.

Just go read the piece. I will note that Virginia, led by the DC suburbs, is throwing off the burden of Dixie. West Virginia, not so much.
Individual proposals aside, experts haven't formed a consensus on how to make economically moribund places feel more like economically dynamic ones. But it is clearer than ever that this divergence explains much of what ails the United States' economy, and just maybe its politics, too.

Quant's Hubris

Regular reader, by now, knows one of the mantras: "the bane of the capitalist is capital". Meaning, of course, that using capital to get rich by substituting machines (hardware and/or software) for people reaches a tipping point. Not just the wall of diminishing returns, but the abyss of unremitting sunk cost. That's just a fancy way of saying that automation methods become more expensive, as unit cost. And it's not just cheap Chinese hands beat robots; it's that robots aren't necessarily adept. We all do remember the smartest guys in the room? Will Musk end up a latter day Lay? We'll see what happens.

Well, Tesla is an exploding data point (oddly, the NYT version???).
Ron Harbour, a partner at the consulting firm Oliver Wyman, noted that in his annual survey rating auto plants worldwide, the most efficient ones use a lot of manual labour. "The most automated ones are at the bottom of the list," he said.

The money quote:
Two assembly lines inside the plant already exist to handle at least some of those tasks, but they have proved troublesome and perform the work more slowly than Musk had hoped, in part because Tesla used robots for tasks that are better left to humans.

Tesla engineering executives acknowledge that the company overestimated the rate at which it could produce cars and designed a production system that proved to be too complicated — a problem that Musk lamented at the company's June shareholder meeting.

"One of the biggest mistakes we made was trying to automate things that are super easy for a person to do but super hard for a robot to do," he said. "And when you see it, it looks super dumb. And you are like, wow! Why did we do that?"

As the title says, the quant's hubris.

Here's the other thing to consider. We've built a global economy on petroleum just because we've found gobs and gobs of it. In order to replace the internal combustion engine with some sort of electric (battery?) vehicle, we must needs have an equivalent supply of some other substance. Lithium? World reserves of it are speculative, but
And if that happens, the 365-year supply would be less than a 17-year supply (13.5 million tons of reserves divided by 800,000 = 16.9 years).

And, of course, that assumes we could economically mine, refine, and produce such batteries. Good luck with that.

27 June 2018

Don't Let the Big Chunks Get Stuck

Over the years there have been commercial zero gravity rides. Whether NASA or otherwise, the name vomit comet applies. I imagine it's quite unsettling. Tender readers will recall the numerous times these missives have pointed out the coming rate inversion (that missive nearly two years ago) will have dire consequences. At one point, I offered up that when it happens it will snap your head off. Blow big chunks. Or something like that.

At long last, the mainstream sees fit to write about it. Took ya long enough, boy.

The Money Quote:
If enough investors begin to grow concerned about a recession, they will most likely put more and more money into the safety of long-term government bonds. That buying binge would likely help flatten, or invert, the yield curve.

Then people will write articles about the curve's sending a stronger signal on recession. And that could, in turn, drive even more people to buy into long-term bonds. Rinse. Repeat.

The fact remains, that American capitalists long ago ran out of new ideas how to spend all those trillions of Uncle Sugar Bucks. Risk aversion is just the polite way of saying they're greedy idiots. They've pissed away the additional trillion they got from Orange Julius Caesar on share buybacks, M&A, and dividends. None of which improve productivity, wages, or employment. Fact is, historically, M&A in particular has been a job destruction exercise. MAWA!!

25 June 2018

Splainin Trump

What follows is, so far as I know, new. It is, too, what Dr. McElhone described as intuitively obvious to even the most casual observer. I have expected that one of the mainstream pundits would get around to offering it up real soon. Real soon hasn't happened, so here we go.

What we know so far is that Orange Julius Caesar and his followers are motivated by white paranoia and white grievance. What we don't know is why it works. Certainly the message is 'Make America White Again' before we're no longer the one race majority. This is what appeals to the lower class white folk, whose only solace in their poverty is the certainty that black and brown folk could be treated even more poorly; there is 'an other' identified to be below them on the totem pole of society. But what motivates the Koch cabal? Ain't no black folk coming to take their billions. They don't need such reassurance. What gives with them, and pretenders to their throne?

Well, it seems pretty obvious. Consider how government is run. Citizens pay taxes of various sorts, and government spends such funds on public goods. Now, when income is more or less equal, each citizen pays more or less the same amount into the kitty. A progressive income tax, which we allegedly have, weighs the wealthy more than the poor out of a sense of fairness. No one, or group, has cause to complain. It is shared sacrifice for shared benefit. Prior to the income tax, most Federal revenue was from sin taxes and tariffs, the latter being in effect a national sales tax. Some assert that the income tax (by way of amendment) coinciding with prohibition wasn't a coincidence, rather an offset to revenue source.

Which brings us to now. What we know is that income and wealth continue to concentrate. We need only recall Romney's 47% admission. It turns out that among the 47% are some quite well off citizens. But the effect remains: as income becomes more concentrated, those at the top see little reason to pay taxes for services they expect they'll never need. After all, they've got plenty of money. In order to keep the government running as it has been, requires $X. But with fewer citizens having sufficient income to be subject to the tax, those privileged ones must needs contribute more to meet the $X requirement. And they just don't want to do that. So Orange Julius Caesar lowered their taxes overwhelmingly. In due time, he'll call for raising taxes and cutting benefits on those of the 47% who aren't well off. "The American taxpayer can't afford it!!"

This is the driver for the 'Donor Class' that pushes Orange Julius Caesar and Trumpism: revenge of the privileged class.

20 June 2018

Phat Country

"My girl left me, my dog died, and my truck won't start." Or something like that is the essence of country music. Now we can add, "I's so fat,I cain't see my dick no more."

The reality of the fat country sluggard is true; let's go to the videotape. Not that anyone paying attention should be surprised. Orange Julius Caesar rode white grievance and white entitlement to his throne. Most of his voters were so conked out on opiates that they likely didn't know what, exactly, Orange Julius Caesar was up to. They just knew he'd put those darkies in their place; while he picks their pockets, to be sure. Make America White Agin. May be enough will croak before the next election? Thinning the herd; just what Stephen Miller wants. Just not his herd, naturally.
Country folk are being hit harder by the U.S. obesity epidemic than city dwellers, two new government studies show. Nearly 40 percent of rural American men and almost half of rural women are now statistically obese, U.S. Centers for Disease Control and Prevention researchers reported Tuesday.
...
For example, people who had a college degree were less likely to be obese or severely obese.

So, here's the question: how much longer will the heads of CDC and the unit(s) doing the research still be employed? I bet they're gone by the end of the week.

Not On My Watch

The outrage over asylum seekers' treatment by Orange Julius Caesar and his xenophobic cabal is genuine. But the wailing that "this isn't America" and such is nonsense. For most of its history, my country has been xenophobic and racist. Moreover, fish belly white folks, who came from countries considered lower than England and Scotland, the Irish as one example, got what Orange Julius Caesar is dishing out today. (This is source.)
Many native-born Americans claimed that "their incessant childbearing [would] ensure an Irish political takeover of American cities [and that] Catholicism would become the reigning faith of the hitherto Protestant nation."

Sound just the bit familiar? Do you want Muslims and brown people taking your country away from you? This is not new. If you don't read the wiki article through, that was in the mid-1800s during the Irish potato failure. For much of the 1800s, job postings carried, not EOE, but NINA. No Irish Need Apply. Orange Julius Caesar is just channeling age old xenophobia.

Site Launch

What's intelligence? What's insight? I'd say a close enough definition is the ability to see a real world truth before there's measurement. This was how Einstein figured out special relativity; observing a bell tower from a tram. Some refer to this process as intuition. Others as real intelligence, vis-a-vis the artificial version.

Which brings me to a David Leonhardt from the last week. One of the bones I've had to pick with the Right, who know they're lying, is their assertion that small business was, is, and will be the savior of American economy. Orange Julius Caesar went on a tirade at a small business conference yesterday. All one need do, over the last three or four decades is see what has happened in one's town, city, or state. The Big get Bigger and the Small get crushed. As Leonhardt says, mainstream punditry, and analytics as well it seems, hasn't been measuring. So he set out to do so. Good on him. I already knew it, of course. But it's heartwarming to see my insight validated.
Today, companies with at least 10,000 workers employ more people than companies with fewer than 50 workers.

There's a, as the Brits put it, knock-on effect of behemothing (that's now a word) of American business. In times past, economists and other analysts have made the point that the blue collar middle class emerged due to the confluence (or symbiosis) of big business and big unions. Auto workers made a middle class living because The Big 3 had oligopoly power, and the unions had the legal clout to force a sharing of that power in a form of enforced profit-sharing. The workers got a share of the vig. So, between the Right Wing destruction of unions and off-shoring of jobs (no, China didn't steal them, American corps. sent them), the blue collar middle class no longer exists. And those knuckleheads are convinced that a big city con man will make it all better? Here's the first paper that came up in a simple search.

You really want to MAGA? Bring back strong unions. With more market power held by large corporations, there's more 'rents' to share with workers. "Vote for George O'Brian. Get poor Charlie off the MTA!"

Ah, Truth

One of my many pet peeves with the right wing set is that they claim the increase in life expectancy since the beginning of Social Security is proof positive that SS is unsustainable. Just look at how many years have been added!!!!!! Well, as has been reported here a number of times, life expectancy increase, measured from any time before about 1960 (and any place), is not due to people of 60 or so living all those many years longer. Au contraire! It's been that young folks, from birth, now make it through young adulthood standing up. Vaccines and sulfa drugs and cleaner water and a host of other public health measures mean that an American baby in 2018 is better off than an American baby born in 1932. But not better than most OECD countries.

Here is a fellow thinker.
Life expectancy is calculated directly from death rates. And mathematically speaking, changes in infant mortality have a much greater impact on life expectancy than do changes in death rates in any other year.

Or, put more starkly:
More realistically, if death rates in the first year went up to 250 out 1,000 (which would be around the worst current day level, but well within historical ranges), life expectancy comes down from 79 to around 50, despite death rates at all other ages staying the same as in 2015 France.

17 June 2018

Thought For The Day - 17 June 2018

Just finished Bourdain's next but last (so far, CNN hasn't said how many season 12 episodes were finished and if so would be broadcast) episode, and did some innterTubes looking about, and came across a CNN piece where an anonymous CNNer allowed has how they should continue the show with a replacement reporter (or whatever Bourdain was; he denied being a journalist). I vote for Paul Theroux. I doubt he would do it, but he's as close to Bourdain as I've encountered.

Other nominations welcome.

13 June 2018

Neo Barnum

There are times, sometimes too many, when quant looks sheepish. This is one of those days. I have a few rules of thumb. One is that biopharma from the Boston-Cambridge axis is legit, while that of the San Diego version is garbage. I don't recall an instance where the latter has failed. But here's a case of the former proving false.
The biotech industry's Arctic ice-cube salesman Cristoph Westphal managed to raise $86 million Wednesday night in an initial public offering to develop a treatment for leg cramps made from food ingredients commonly found in your spice drawer and refrigerator.

That's one guy's assessment from three years ago. Here's today's results
... announced that the Company is ending its ongoing Phase 2 clinical trial investigations of FLX-787 in amyotrophic lateral sclerosis (ALS) and Charcot-Marie-Tooth (CMT) due to oral tolerability concerns observed in both studies, in a subset of patients being treated, with the oral disintegrating tablet formulation at 30 mg, taken three times a day.

What was it Barnum said...? It should be noted that cinnamon, by folklore, is a cure for diabetes. And my PCP swears by magnesium, not potassium, for cramps. Works for me.

09 June 2018

Phil and Tony

In the early 1960s, Bobby Zimmerman left Lake Wobegon, became Bob Dylan and was annointed the angry young man singer-songwriter doing protest songs. In due time, we all figured out that he was just another pop singer. About the same time, a real protest singer, in the folk tradition, emerged. His name was Phil Ochs. In 1976, age 35, he hanged himself in the bathroom of his sister's house. His records, when he could get them made, didn't sell. Live gigs had dried up. He despaired of making a living. You can get his 'greatest hits' from Amazon. And you should.

Friday Anthony Bourdain did the same, only in a five-star hotel in Kaysersberg, France while recording an episode of "Parts Unknown" with Eric Ripert, one of his best friends. He had his crew with him. He was not isolated. He was wildly successful. But he left for parts unknown. Regular readers recall that I've said his show the best thing on the TeeVee, so it's unnerving to consider TeeVee without him.

You'll find all manner of tributes, including one I missed on CNN last night; I didn't know it was on. It'll be run Sunday at 10pm. You should watch. The scheduled episode will go on at 9pm. Whether the remaining completed episodes will be shown, I don't yet know. It is a bit unsettling watching the 'favorite episodes' as I write this. Still, it would be a shame if CNN withholds completed episodes.

JOOQ

I can't say I know much about JOOQ. Seen it referenced here and there, but this piece just appeared, and I am heartened to see someone in the java world make a strong case for 'database first, code last'. There is hope for Western Civilization.
The real "truth" of your database schema, and the "sovereignty" over it, resides with your database. The database is the only place where the schema is defined, and all clients have a copy of the database schema, not vice versa. The data is in your database, not in your client, so it makes perfect sense to enforce the schema and its integrity in the database, right where the data is.

The only point missing from the article: an Organic Normal Form™ schema will be, to some small epsilon, immune to schema update modification problems, since tables/columns in normal forms are, more or less, orthogonal. They can be, if one wishes, fully orthogonal, and when so, there exist no side-effects. The re-generated client code will be restricted to the manifestation of such tables. Easy peasy.

Going database first does demand that rogue coders aren't welcome in development. Database first development demands careful thought aforehand, an approach not welcomed by the coding community. Coders want to keep making mistakes, finding them in the debugger, patching. Rinse repeat. There is a better way.

And, there isn't any such thing as impedence mismatch. That's been dealt with here more than once. This is spectacularly true in the java world of actionObject/dataObject. It's a witch hunt.

04 June 2018

A Hop, A Skip, and A Jump - part the fifth

Yet another carrot for the stew, a paper from last year directly discussing RDBMS on PM. Of all the references so far in this series, this one is *a must read*. Really. Not just because it validates every notion flowing from my noggin. No, not at all.
In this tutorial, we provide an outline on how to build a new DBMS given the changes to hardware landscape due to NVM.

Yum. And it's from what was Carnegie Tech (which accepted me, but I ended up going elsewhere), one of the first Computer Science curriculums!
In the case of memory-oriented DBMSs (e.g., VoltDB, MemSQL), they contain components for overcoming the volatility of DRAM. Such components may be unnecessary in a system with byte-addressable NVM with fast random access.

Exactly why the announced kludges for *nix/Windows aren't the end. The OS/400 turns out to be the winner. In some form.
Peloton is an open-source HTAP DBMS that we are building that is designed from the groundup to use NVM. Our intended audience are developers, researchers, and practitioners with knowledge of DBMS internals. They do not need any in-depth background or experience with NVM.

Here we see another step closer to the OS/400 model:
To cope with these shorter NVM latencies, Microsoft and Linux are adding support for direct access storage (DAX) in Windows Server 2016 [48] and Linux 4.7 [1], respectively. With DAX, a DBMS directly allocates and uses NVM without an intervening filesystem. This requires only one copy between the file and the user buffers, thus improving the file I/O performance by an order of magnitude compared to block-oriented filesystems.
[my bold]

Recall an earlier part of this series' mention that transaction semantics will be different with PM? Make it so:
The write-ahead logging (WAL) protocol supports efficient transaction processing when memory is volatile and durable storage cannot support fast random writes [58, 39, 33]. But this assumption causes unnecessary performance degradations in a DBMS with NVM storage [14]. Consider a transaction that inserts a tuple into a table. A DBMS first records the tuple's contents in the log, and it later propagates the change to the database. With NVM, a DBMS can employ a logging protocol that avoids this unnecessary data duplication. The reason why NVM enables a better logging protocol than WAL is two-fold. The write throughput of NVM is more than an order of magnitude higher than that of an SSD or HDD. Further, the gap between sequential and random write throughput of NVM is smaller than that in SSD and HDD. Hence, a DBMS can flush changes directly to the database in NVM during regular transaction processing [15, 14, 12, 64, 40, 62, 80].

The Future is Now.

A Hop, A Skip, and A Jump - part the fourth

During my near awake status, it occurred to me that the I5 System (nee, AS/400) would be the perfect candidate for PM. The machine after all, doesn't use a file system in the *nix/Windows sense, but an object store (in the pure data sense). It's machine designed, however well applications exploit it, to be Relational.

Turns out, some folks already have. And not just with the Optane announcement.
But key here is that when the object gets created, it is also created in a system-wide address space that IBM i calls Single Level Store (SLS). In the context of this article on persistent storage, it happens that SLS is also persistent; if you restart the OS — say after a power failure — the objects remain with the same address. Said differently, every byte of data out on your hard or solid-state drive has a corresponding location-independent high-level address used by the OS. If your program wants to reference that byte in whatever object, your program just uses the byte's address, no matter how many times the OS was restarted.

Some folks consider IBM to be a hidebound dinosaur. And, to some extent that's right. But here's a bit of history of the I5 OS:
IBM's design of the single-level storage was originally conceived and pioneered by Frank Soltis in the late 1970s as a way to build a transitional implementation to computers with 100% solid state memory. The thinking at the time was that disk drives would become obsolete, and would be replaced entirely with some form of solid state memory. IBM i was designed to be independent of the form of hardware memory used for secondary storage. This has not come to be, however, because while solid state memory has become exponentially cheaper, disk drives have also become similarly cheaper; thus, the price ratio in favour of disk drives continues: very much higher capacities than solid state memory, very much slower to access, and much less expensive.
[my bold]

A few years ahead of his time.

03 June 2018

A Hop, A Skip, and A Jump - part the third

Some more spelunking. Turns out that linux and Windows have existing mechanisms to leverage persistent memory under the covers of block-mode IO; i.e. mmap and DAX. Such might be sufficient to get by in the short term. Here's Intel's report.
Both Windows* and Linux* support memory-mapped files, a feature which has been around for a long time, but is not commonly used.

Interestingly, the BDFL of Progress database said, around 1990, that if your database didn't use mmap, get another database. That long ago.

Intel also has a FAQ, which has some interesting tidbits.

02 June 2018

A Hop, A Skip, and A Jump - part the second

Do you remember that Date, at least by his last version (re-gifted previous ones along the way so I can't vouch for them) of "Introduction..." included a section called "ACID dropping" in chapter 16? I wasn't convinced way back in 2003 when the edition was published. With hardware prior to Optane, updates are a serial process, thus the need for ACID.

With what's now being named "Persistent Memory", of which Optane is Intel's version, we have to re-think transaction semantics. Let's assume, for the sake of argument, that 4TB Optane machines with a slot or two of DRAM and an SSD for OS and applications storage (herein, Godzilla) are the norm in Server World. Who are the losers? I'll argue that ACID and MVCC are the most obvious candidates for being no longer relevant.

With HDD as permanent storage, the hop, skip, jump process is required to process updates. ACID is the mechanism to manage concurrency in a locking protocol (MVCC still locks, just late rather than early). With Godzilla as the platform for RDBMS systems, Codd's "all at once" is natural; no hop, skip, jump. Will it be faster than hop, skip, jump in all cases? I've no idea. We don't yet have on-the-record speeds for Optane. But my suspicion is that most of the code in relational/SQL engines goes away, particularly for schemas that are in Organic Normal Form™. Explicit locking, in the engine, won't be needed, since the OS takes care of memory locks, and that's all there are. Since updates become visible essentially immediately, the locking avoidance of MVCC is, also, not needed.

Godzilla won't be birthed for a while. *nix/Windows and datastore based applications will need to be modified, or more likely forked, to support/exploit Persistent Memory. File system no longer matters, objects (in the older sense) are all that exist. Search can, and should, be relational! No more silly one-way to the bottom hierarchies. And, that's not far fetched, since such machines existed in the past (not sure if the current progeny are the same), called AS/400, itself a development from earlier machines. The OS included an embedded RM-ish object engine, which got renamed DB2/400 for a while. In one incarnation of my employment, an AS/400 hosted application lost to one on an early RS/6000 and Progress. Worked out OK, since that company is still running the code.
Unlike the "everything is a file" feature of Unix and its derivatives, on IBM i everything is an object (with built-in persistence and garbage collection).
Remember, the hierarchy file system was concocted to support a server/terminal hosted word processor: Unix. Since Bell, as most any corporation, was built as a top-down org chart, so too was its word processor. All before Codd had released his first version, and when the state of the art datastore was IBM's mainframe IMS. Yes, the iconic hierarchical "database".

31 May 2018

A Hop, A skip, and A Jump

Free at last, Free at last, Thank God almighty we are free at last.
-- Martin Luther King

OK. So what does such a quote have to do with a site, titularly at least, devoted to the RM, stats, and data generally? Well, this new report on Intel's Optane DIMM.

[On a side note, the earlier piece on Optane SSD has a comment from the author to the point that the byte addressability of Optane is of no value for files. That's true for fixed sector non-mainframe HDD, and later SSD, but not true for CKD DASD:
IBM CKD subsystems initially operated synchronously with the system channel and can process information in the gaps between the various fields, thereby achieving higher performance by avoiding the redundant transfer of information to the host. Both synchronous and asynchronous operations are supported on later subsystems.
]

Current SQL engines do their work with a hop, skip, and a jump. Optane, with proper motherboard, chipsets, and (heavily?) re-written applications can go from cpu to datastore. We could, then, do what Dr. Codd said: "all at once". Yum.

The current paradigm is from cpu registers to on-chip cache to memory to SSD/HDD; more or less a hop, a skip, and a jump. Now, for SQL databases (or any serious datastore), what generally happens is that the engine writes to the trans log (more or less synchronously), which is at some later time flushed to the "permanent" datastore on SSD/HDD. A system/application crash is supposed to only lose open transactions; all commited trans exist in durable storage either in the trans log or named tables. Wouldn't it be cool if transactions commit to durable storage immediately?

As the piece says:
Intel has been laying the groundwork for application-level persistent memory support for years through their open-source Persistent Memory Development Kit (PMDK) project, known until recently as NVM Library. This project implements the NIA NVM Programming Model, an industry standard for the abstract interface between applications and operating systems that provide access to persistent memory. The PMDK project currently includes libraries to support several usage models, such as a transactional object store or log storage. These libraries build on top of existing DAX capabilities in Windows and Linux for direct memory-mapped access to files residing on persistent memory devices.

Application re-write may be non-trivial:
Intel will be offering remote access to systems equipped with Optane DC Persistent Memory so that developers can prepare their software to make full use of the new memory. Intel is currently taking applications for access to this program. The preview systems will feature 192GB of DRAM and 1TB of Optane Persistent Memory, plus SATA and NVMe SSDs. The preview program will run from June through August. Participants will be required to keep their findings secret until Intel gives permission for publication.

But for the RM world, Optane offers the ability to do what Dr. Codd said, "all at once".

One might ask, in a semantic sense, how a SQL engine on such a machine might do its work. Let's chew on that.

First, what about the divide between trans log and named tables? Do we still need a trans log? The blockchain example, which is a database-less trans log, suggests we do. For audit purposes, it is needed, too. Does the trans log still need be the bottleneck to the named tables? Not with such Optane storage. The engine would just do immediate writes to the log and the table(s); that's the duration of the transaction.

Second, do we still need buffers? May be, but may be not. The purpose of buffers is to mediate between fast memory and slow disk, now SSD, but still slower. According to the report, 512GB DIMMs will be available. Current boards go to eight slots, which works out to 4TB. How many applications need more than that? Google and Amazon and Facebook. Commercial applications? Not so much. Taking into account the data reduction side-effect of 3 or 4 or 5 normal form, may be most would be happy with that much storage.

Third, typical applications don't keep all data in hot storage even now, so 4TB looks to cover many, if not most, use cases.

Fourth, some DIMM would be normal DRAM to hold OS and application code and code's invariant data; this appears to be supported according to the report and comment stream. It would certainly make sense to do this.

So, how would a SQL engine work with such a machine? The engine and its data would reside in DRAM, while the tables and (active) log in Optane. By active log, we mean that the engine would flush completed transactions to SSD as needed; in reality, only long running transactions (you don't write such monsters, do you?) would be in the active log. There would be no need for memory buffers, but the notion of locks needs to be considered. Current practice whether locking or MVCC relies on memory buffers to "improve" performance. Simple, single row, update would be written directly to table and log. Normal memory locking would suffice. Multi-row/table update? Umm. In the MVCC case, it depends on multiple images of rows to segregate transactions, but would there still be any point to MVCC semantics with Optane storage? For now, I'd say not. Since update (could/should) happens "all at once", collision doesn't occur; each client sees the current state of each row all the time, modulo duration of actual write. Isolation amounts to memory locks. Cool.

Years ago, diligent reader will remember, I had occasion to work with TI-990 machines. One ran a Ryan McFarland COBOL application on a TI machine while the other ran the chip version on a custom board/OS/language (ah, those were the days). What was (nearly?) unique about the 990 architecture was that it was registerless, sort of. All code and data resided in memory, and there were three cpu registers, one of which was a pointer to the current application's base address in memory. A context switch required only resetting these registers. Each application retained its context in situ. I wonder whether TI will resurrect it?
The TI-990 had a unique concept that registers are stored in memory and are referred to through a hard register called the Workspace Pointer. The concept behind the workspace is that main memory was based on the new semiconductor RAM chips that TI had developed and ran at the same speed as the CPU. This meant that it didn't matter if the "registers" were real registers in the CPU or represented in memory. When the Workspace Pointer is loaded with a memory address, that address is the origin of the "registers".

Whether Optane has much value-add for most applications, I don't know. But for heavy multi-user/single datastore applications such as SQL engines, yeah man!!

This, of course, is merely first-pass thought experiment. More to come.

25 May 2018

The Object of My Affection

Return with us now to the thrilling days of yesteryear. If you're old enough, you remember that as the intro to "Lone Ranger" episodes. One might also see that as the devolution of application development. So, here goes.

Recall the Holub Mantra (my description), this "Bank of Allen" tale. The signature observation:
The maintenance manager is happily sleeping in the back office instead of running around changing ROMs.

Holub is talking about regular application development, independent of datastore. But the principle applies in spades to databased applications.

The development of the relational model was driven by maths, specifically predicate logic. It was not, as many infer, data reduction; which does come as part of the package. But the whole point is data integrity. The primary way to ensure data integrity is to limit the number of hands who can mess with it. As Holub points out, if one models an ATM network based on object capabilities, the datastore is the controller of the data. That is how it must be. In time, Holub gave in to the innterTubes meme, alas. That might have been defensible back before highspeed connectivity, but not now.

If there is just one point of control, then there's just that one point of modification and maintenance. That's why the manager doesn't have to run around changing ROMs. But the driving point of object oriented design and programming is that an object encompasses both data and function, aka methods. What has happened, especially in the java world, was the re-invention of the language, called either javBOL or COBava. Same old procedure/data protocol from the 50s. Swell.

Every now and again, one sees a crack in the wall of reactionaries. Here's a recent example. The author doesn't reach the logical end of the argument, but does show more insight than usual.
Too often, though, business logic is built and added late in the process, forcing it into whatever nooks and crannies are available. While this duct-tape approach sometimes works, it makes the resulting system difficult to maintain when the business logic is spread across many moving parts in the data architecture.

The standard response from the COBava folks is, "it's impossible to design an application in the first place, so let's just build it like a Frankenstein monster." Or, parts is parts. Remember, all code logic comes down to data compares. Period.

22 May 2018

Your Tax Dollars at Work

Remember all that braying about how corporations would use offshore profit to add more workers if/when they brought it back? You do remember? Did you believe it? You shouldn't.
16:17 CW Curtiss-Wright to utilize $50 million in repatriated foreign cash to expand 2018 share repurchase program (133.92 +2.03)

Board of Directors has authorized an additional $50 million for share repurchases in 2018, to begin immediately via a 10b5-1 program, by using cash that the Company has begun repatriating from its foreign subsidiaries.

Earlier this month, the Company repurchased more than $12 million in shares opportunistically through a supplemental share repurchase program and has ~$36 million remaining under the current share repurchase authorization. Since early 2014, the Company has repurchased more than 7 million shares for an aggregate purchase price of nearly $550 million

19 May 2018

Mask of The Red Death

Have you noticed that the "unmasking" meme has fallen away from the Orange Julius Caesar cabal's whining? Why might that be? Reporting that the FBI had an informant talking to Page, Papadopoulos, and Clovis very early in the investigation has created the spy meme. Hmmm. May be they were warned that such talk will only speed up the inevitable end.

Last night's MSNBC nightly feed included Maddow's refreshing of the Nixon Enemies List, in the context of Orange Julius Caesar's secret attempt to coerce the PO into doubling(!) Amazon's delivery charge. That shouldn't be surprising. What I noted was Maddow's use of video and audio from the Watergate investigation. The tapes proved that Nixon, et al, really did subvert the law. The outing of the Amazon/PO corruption was offered as today's version. But I disagree.

From the moment that Comey told us that the FBI had an open investigation into Trump/Russia, I inferred the jig was up. Maddow came this close to closing the circle. Have I mentioned in the course of these missives that I spent some time working for Jack Anderson? Well, yes. And you can find the articles I worked on if you look hard enough. This was after Anderson was co-opted by Reagan, but he had long since quit doing much reporting or writing, leaving that to the staff. I got to meet some spooks. That was fun.

My time in DC convinces me that the intelligence community, the NSA in particular, has the Trump Tapes. It's perfectly legal for NSA/CIA/FBI to sweep up Americans who engage with foreigners in treasonous activities. Doesn't matter where their feet are at the time. The cabal knows what it did, and was counting on not winning to keep their activities from public view. Thus the FISA nonsense. They just wanted the money. Just as Jared extorted from Qatar. In due time, the community will release the tapes. Whether Orange Julius Caesar spends time in prison is the only question.

07 May 2018

The Book I Didn't Get Around to Writing

On more than one occasion, I've bemoaned the silliness of Big Data. So have some others, every now and again. This morning's email brought a spiel from Amazon, with some books I might like. There is one: "Big Data, Big Dope".
While others have written about the dangers of Big Data, Stephen Few reveals the deceit that belies its illusory nature. If "data is the new oil," Big Data is the new snake oil. It isn't real. It's a marketing campaign that has distracted us for years from the real and important work of deriving value from data.

Exactly. OTOH, I worry that BLS/Census survey efforts have been corrupted by Orange Julius Caesar's minions in the agencies. Remember, it was the political appointees who made the case for WMD, not the grunts doing the work. When something is too good to be true, it likely is. One doesn't need all the population to make appropriate data-driven decisions. But it is easier to put a thumb on the scales when sampling is involved. It was bad stratification that led Crooked Hillary to believe she had it in the bag.

06 May 2018

You Must Read This

Finally, a more famous than I data nerd tells the truth.
Instead of learning, I was spending 2-3 hours a day mindlessly scrolling through Facebook looking at cat videos and political hate speech. I was also posting family pictures of our adventures and eagerly awaiting the dopamine reward of getting likes from friends and family. My attention span was getting shorter and shorter by the day.

Now, lo those many decades ago, one of my graduate profs noted that you'll know you're working a profession when you spend 80% of your time thinking. And the greatest asset you acquire while a grad student is your library. Not so much these days.

28 April 2018

What's a Blit?

It was many years ago today that Dr. McElhone came to say a new word (to me, anyway): blit. What's a blit, you might ask? Well, I'll tell you: five pounds of shit in a four pound sack. Being from Texas and Nevada, it was sack and not bag. Kind of the same vein as, "Girl, you're as dumb as a sack of hair!" So, what's up with blit and hair? The death spiral of capitalism.

"Robert, you're out of your bleeing mind!"

Could be. But follow along with me. More than once, these pages have described the problem of heavily capitalized production, namely the strait jacket of amortization and the need for stable, if not growing, demand. As more cost is claimed by capital, the more difficult it is to manage average cost, and thus price (modulo customer discrimination). Ya gotta pay the vig. In the Olde Days, as demand softened you just fired employees. Average cost dropped to more closely match market clearing price. Capital heavy production makes that anywhere from difficult to impossible, since they ain't no bodies to fire.

"But Robert, that never actually happens!" Thanks to all the news that's fit to print, we get a case study.
The Headline:
For Cancer Centers, Proton Therapy's Promise Is Undercut by Lagging Demand

Can't get more on point than that. Proton therapy is a five pound cost in a four pound sack of demand. The shit drips over the top. Yuck.
But about 30 years after the Food and Drug Administration first approved proton therapy for limited uses, doctors often hesitate to prescribe it and insurers often will not cover it.

That means there simply may not be enough business to go around.

Or, as has been argued in these pages more than once: if only the 1% have healthcare, even they won't be able to afford it. Another bone oft picked here: Say's Law, aka supply creates it's own demand. Laffer being the modern zealot of that knucklehead idea. Were it true, we'd never have recessions, much less panics and depressions.
At Indiana, he added, "we began to see that simply having a proton center didn't mean people would come."

What's even worse is that such machines seem to be no better than regular treatment.
But its pinpoint precision has not been shown to be more effective against breast, prostate and other common cancers. One recent study of lung-cancer patients found no significant difference in outcomes between people receiving proton therapy and those getting a focused kind of traditional radiation, which is much less expensive.

Remember 2005, when all the smart people in the room told us that skyrocketing house prices were the new normal and that there had never been, and could never be, a nationwide stall in home sales? Remember?

26 April 2018

Old Guys Finish First

Well, now we know, again, that youth ain't all that neat. Jim Keller is now at Intel. Hardware guru is a fair description. At 58, he's had the time to see and do a bit of work. Be still my heart.

We Save Lives

The constant refrain from the most profitable industry (not counting the FIRE parasites), "we need sky-high prices because we save lives", is, once again, belied. Here's the story.
Those who received pumps (785) survived a median of 67 months, compared with 44 months for patients who did not get them (1,583). The result was especially striking, Dr. D'Angelica said, because patients who got pumps were sicker to begin with.

May be there'll be enough backlash to throw the critters out of the swamp.

25 April 2018

Skew You Buddy

A recurring theme in these endeavors: data analysis is helpful only when there's a stable underlying data generation process. Among other things, this makes stat as a tool for macroeconomic policy analysis fraught with danger. The members of that branch of study have been arguing over the structure of analysis. The quants against the historicals. On the whole, historicals have been right. On the other hand, there's the old saw, "economists have accurately predicted 10 of the last 5 recessions!" As an example, here's an interesting post. I'll leave it to the reader to decide whether the effort is Type III error.

An even more egregious error happens when median/mean is relied on. It's also worth noting that one of the few shorts was explicit: they didn't believe an MoA existed. Ouch.
This time around, Celldex had comparison data that strongly suggested its lead candidate, glemba, could provide a survival benefit over chemo for patients with a difficult-to-treat form of breast cancer. Unfortunately, the data came from a subgroup contained within an otherwise failed trial. In retrospect, it looks like several outliers resulted in a lot of wasted resources.
[my bold]

Outliers, on one side of the median/mean, will skew you dead. Not to mention: subgroup post-hoc "analysis" is the Very Big Red Flag biostats. On often wonders why a legit math stat would get within a barge pole's length of such companies. But they do. I guess the money's not bad.

It is all too common for small bios to go all in, given that they have, in general, small pipelines. If I had a nickel for every one of these that generated traffic like, "but there's one guy still alive after 5 years taking WhizzBang250", I'd be sipping tequila on a Caribbean island. ImmunoOncology is one of the bigger deals these days, but there're even spontaneous remissions in cancer and always have been.

With PhARMA constantly braying that it costs $X billion to get "a drug to market" so drugs have to be really expensive to pay for all that, it's worth pondering whether the moolah is funnelled into R&D or mgt. pockets?

20 April 2018

The Asymptote of Progress - part the ninth

Yesterday morning was going to be a Carnac day, in which a missive stating the prediction that FAA/NTSB would demand stepped up inspection of high-cycle engines was to be offered. Never got around to it and, naturally, such was reported later in the day. Which brings us to today's reporting where we get some fruitful quotes about jet engines.
Like the engine on the Southwest jet, two others — one used on the Boeing 787 Dreamliner and another on some Boeing 767s — developed cracks. On Tuesday, the same day as the engine failure on the Southwest plane, the Federal Aviation Administration said Boeing 787 Dreamliners powered by Rolls-Royce engines could no longer be flown on ultralong, over-water flights.

The engines are produced by three different manufacturers, but the fact that all three have developed safety issues is prompting questions about the engines' design, operation and their inspection procedures.

The worry is that the flaws are part of a trend as manufacturers push to develop ever more powerful and complex machines.

"We've gotten smarter," said Richard Giannotti, an aerospace engineer. "We can design things to a very low margin with a lot of reliability data to back it up. But when we get to the ragged edge, it doesn't take much for things to go wrong."

Sound like turbofans have reached the wall? Along with Li-ion batteries?

16 April 2018

The Asymptote of Progress - part the eighth

This hot off the presses (7:56):
VALE Vale S.A. reports Iron ore production reached 82.0 Mt in 1Q18, 4.2 Mt and 11.4 Mt lower than in 1Q17 and 4Q17, respectively (13.12 )
Iron ore production reached 82.0 Mt in 1Q18, 4.2 Mt and 11.4 Mt lower than in 1Q17 and 4Q17, respectively, mainly due to management's decision in 2Q17 to reduce production of lower grade ore, reinforcing the positioning of Vale as a premium producer and resulting in higher price realization and better margins since 1Q17. The more intense rain season also affected production in 1Q18.

So, let's make America Great Again with imported iron ore, since we haven't enough in the ground worth digging for. Such a Wonderful Idea.

15 April 2018

The Deplorables - part the second

Yet another series, with unknown length, impelled by the Trumpistas. I'm going to guess that Bevin hasn't the faintest idea that he's indicting his state's redneck deplorables. And he's implicitly demanding that public school teachers be domestic violence cops, in addition to gun-totin', rootin-tootin eraser cleaners. Hillary is lookin righter by the day.
I guarantee you somewhere in Kentucky today a child was sexually assaulted that was left at home because there was nobody there to watch them. I guarantee you somewhere today a child was physically harmed or ingested poison because they were home alone because a single parent didn't have any money to take care of them.

13 April 2018

The Case for Public Goods

Since Orange Julius Caesar is the illegitimate love child of Ayn Rand and Benito Mussolini, we've seen (I'm talkin Pruitt, Ryan, et al) the rise of Social Darwinism to never attained heights. Which brings us to this "study".
When curing a disease with gene therapy is bad business

The answer, naturally, is that such science has no business being a business. Especially in the cited cases where the "cures" are for truly rare diseases, and not the faux types which Pharma is jumping into with both feet.

So, where's the moolah going to come from?
Novartis's projections that the treatment could bring in several billion a year in revenue also suggest that the company might charge unheard-of prices, perhaps $2.25 million according to Wall Street bankers.

Society as a whole, through whatever damn gummint insurance exists and "taxing" the privately insured, should shift mountains of money for some basic science?? Time to wake up and smell the coffee. There are public goods, and there's no benefit to piling on gobs of empty profit to the price. The science will out, no matter.

09 April 2018

The End of The World as We Know It - part the second

In today's news
According to Mintel's research, 43 percent of adults eat cereal as a snack at home. Of people who eat cereal, 30 percent choose cereal that tastes good regardless of how nutritious it is.

Stupid is as stupid does. Or as Mrs. Darcy says at the end of that 'Law and Order' episode,
Girl, you're as dumb as a sack of hair.

R.U.R. - part the second

The first installment in what is now another series of data analysis made this point:
The standard whipping boy of the lunatic right, who are clearly conflicted, is the unionized auto worker. On the one hand, they've spent decades demonizing such folks, just the Rust Belt angry white folks who're now out of work. But, now of course, Kim Jong-Don claims that he's their savior. Baloney, of course. Here's a detailed analysis of the way the world really was, at the time of the auto rescue.
A final note on all this: Labor costs only account for about 10 percent of the cost of producing a vehicle.

Today we get the news that Der Trumper Bankster, aka John Cryan CEO du Deutsche Bank, is out the door. Couldn't happen to a nicer guy. But, he's not the only one likely to get FIREd in the coming times. Last fall, we heard this:
AI has, however, piled pressure on costs by automating mundane and repetitive tasks. The implication is that employees like the accountants singled out by Cryan as "doing work like robots" are living on borrowed time.

Which raises that nasty existential question yet again: if high-value, high-wage, high-education FIRE jobs are on the bonfire, how is it that education is the key to prosperity? Will we really need millions of new EEs in the coming years? And if so, can your average MBA actually earn the lowly BSEE? My wild ass guess? Not in a million years. It's that Pareto gut punch, yet again.

08 April 2018

The Asymptote of Progress - part the seventh

Another note of asymptote existence. Anandtech just reviewed the latest SSD from Western Digital. For the first time in a while, they implemented their own controller. One of the comments complained that the review didn't reveal the entire design/implementation of said controller. Billy Tallis replied (in part):
We asked repeatedly, and all we could get was that it isn't RISC-V. But every other NVMe controller used in consumer SSDs uses Cortex-R, and there's no reason to suspect WD is doing anything different. There aren't many alternatives.

Which comment points to, at least, two asymptotic factors:
1) CPU availability (not the whole controllers, of which there are legion) boils down to something ARM or RISC-V
and
2) The designers assert that new principles are becoming rare in instruction set design, as the most successful designs of the last forty years have become increasingly similar. Of those that failed, most did so because their sponsoring companies failed commercially, not because the instruction sets were poor technically. So, a well-designed open instruction set designed using well-established principles should attract long-term support by many vendors.

That second is from the wiki article on RISC-V. This is the quote's link. That old Zeno problem, stepping halfway to the wall. Or as stated in recent missives, CPU is a manifestation of maths, and in the end there will be one "best" resolution to a maths problem. You really should read the whole thing. One, therefore, might wonder how much microarchitecture "evolution" is pointless wheel spinning?
If you are one of the few hardware or software developers out there who still think that instruction set architectures, reduced (RISC) or complex (CISC), have any significant effect on the power, energy or performance of your processor-based designs, forget it.
Not to say that engineering of chip production has hit the wall (it is close, though). (And an amusing stackoverflow discussion.)

The commoditization of even CPU and OS might lead one to ask the next question. What becomes the high-value/high-wage occupations? Do we really need to repeat the fiasco of FIRE burning down the global economy? But if real science/engineering becomes unnecessary (in the creation and production of consumer goods; cosmology need not apply), how should we educate all those little grey cells (yes, that's not original, and you should look it up) for what sorts of work? The soft questions are always the most difficult to answer.

And, it turns out, that RISC-V machines are being made. Not all is peaches and cream, naturally. A short tour of the innterTubes will dig up criticism. But CPU was, is, and always will be a manifestation of maths, and as every other type of maths, there's one best way to do it. Guido says so.

06 April 2018

Parts is Parts

"Parts is parts"
-- Wendy's ad making fun of Mickey D

I've been waiting for some time for the primetime pundits to figure something out. Which is that much of China's "exports" to the USofA isn't visible as such. So today, (I hate) Neil Irwin and Paul Krugman both point to the real issue. Which is that red-blooded, God fearing American corporations use Chinese labor and capital to a significant extent. That iPhone is a Chinese "import", even as Apple is an "American" company.

Irwin:
When Apple assembles an iPhone in Zhengzhou and sells it in Shanghai, that doesn't count as international trade, though the profits accrue to the benefit of a California-based company. The Chinese government has any number of tools to try to weaken that business if it wishes. It could decide that phones made by a foreign company are a national security threat, or shut down plants because of minor regulatory problems.

Krugman:
China is the Great Assembler: it's where components from other countries, like Japan and South Korea, are put together into consumer products for the U.S. market. So a lot of what we import from China is really produced elsewhere.

Just as American capital fled New England for the Rebel South, and then Mexico; they now decamp to China. The impact on American labor is not subtle, which fact played into Orange Julius Caesar's paranoid mind (note to self: some praise paranoia), and he lied on it to the Throne. As previously noted, the USofA no longer has the raw materials to make primary steel or aluminum in quantity. The salvation of redundant coal miners and steel workers is socialism. Taxing, which is what tariffs do (just read up Smoot-Hawley), just makes things worse for everyone. The right wingnuts, naturally, cry "but Pareto says you can't redistribute!!". There are only two choices; 1) let them perish or 2) support them. Socialism makes the support explicit and efficient. Tariffs and other market meddling only rewards the 1%, mostly.

Here's some arithmetic about the issue (2011):
[T]he total wholesale value of the iPhone — for the 3G model it was about $180 — goes on the Chinese import side of the trade ledger. As a result, says economist Rob Feenstra of the University of California, Davis, "The U.S. trade deficit with China tends to be exaggerated."
...
In a much-talked-about paper, Chinese economist Yuqing Xing took a stab at the figure. "If you look at the manufacturing costs, China's contribution is $6.50."
He says that figure represents the actual cost of assembling each iPhone. And he concludes that if that number were used instead of the entire wholesale cost, the U.S. trade deficit with China would shrink by roughly $2 billion.

So, we know that the net Chinese imports, and by net we mean product fully created within China with Chinese materials and capital and labor, is far less than the $375 billion (yes, Orange Julius Caesar brays $500 billion) that even the mainstream pundits state.

The moral of the story: figures don't lie by liars figure.

03 April 2018

The Left Behind - part the second

Every now and again, I get the feeling that Krugman reads me as much as I read him. He gets paid to do so. Alas, I don't get paid on either end of the process. Nevertheless, today brings a timely example discussing the left behind phenomenon. Not surprisingly, he reaches much the same conclusion, and offers up some useful quotes from others.
On the economic side, some parts of America, mainly big coastal cities, have been getting much richer, but other parts have been left behind. On the political side, the thriving regions by and large voted for Hillary Clinton, while the lagging regions voted for Donald Trump.

See, he even says "left behind". I should have copyrighted that. Likely would have been sued by that nutball Christian cult, though.

The most interesting part of the text is taken from recent academic writings (I know; that makes it Fake News to the rednecks) on regional economics.

He references a 2012 book "The New Geography of Jobs" which I haven't known,
As a result, these regions are experiencing a virtuous circle of growth: Their knowledge-intensive industries prosper, drawing in even more educated workers, which reinforces their advantage.

And at the same time, regions that started with a poorly educated work force are in a downward spiral, both because they're stuck with the wrong industries and because they're experiencing what amounts to a brain drain.

Crooked Hillary got roasted, of course, when she stated the obvious: her voters represent 65% of US GDP. Now you know the details.

The most astounding finding: from the socialism of FDR and subsequent Democratic administrations which saw the poor Red states move upwards, we've had them fall very much back near where they were (in a relative measure) prior to FDR thanks to their voters' insistence on installing right wingnut governments at the local, state, and Federal level. At some point you just have to say, "well, you want to live in shit, so be it".

Once again, with feeling: since Reagan (that's 38 years and counting) the Right has controlled
House: 20
Senate: 22 (Cheney effect)
White House: 20 (if Orange Julius Caesar finishes, which is not quaranteed)
Supremes: 38

To put it more succinctly:
Reagan had: 2 out of 3 for 6 years
Poppy Bush had: 1 out 3 for 4 years
Clinton had: 2 out of 3 for 2 years
Dubya had: 3 out of 3 for 6 years (Cheney gave control)
Obambi had: 2 out of 3 for 2 years
Orange Julius Caesar has: 3 out of 3 for 2 years, so far

In that period, only Dubya and Orange Julius Caesar have had Congress for more than a single session. And the Right has had the Supremes for the whole time. Those left behind have done it to themselves. Whenever they've made some progress, it was the Democrats that gave it to them. Low informatin ingrates, all.

31 March 2018

Thought for the day - 31 March 2018

Am I the last person on earth to be sick and tired of **everything** being sold as 'curated'? It doesn't even mean anything.

30 March 2018

The Left Behind [update]

The Orange Julius Caesar zealots have a world of grievances, primary among them that the coastal Blue States get all the breaks while they live in backwoods poverty. The reason, which they steadfastly refuse to admit, is that they have, from the beginning of the USofA, voted for fascist governments in their states. Which governments certainly treat education as a burden on the taxpayers. Since such states have radical upward income distributions, the rich get their own private schools while the rest get the crumbs.

Well, another Red state is beginning to understand that teachers are an enemy of the state. So to speak.
Shoring up the pension system has been a priority of [Republican governor Matt] Bevin's since taking office in 2015. But his efforts have met with difficulties. Thousands of teachers and public workers marched recently at the Capitol, and lawmakers balked under the pressure. Frustrated, Bevin called opponents of his plan "selfish" and "willfully ill-informed." His comments earned rebukes from Republican legislative leaders and galvanized the opposition.

As is usual with rightwing bait and switch, Kentucky didn't bother to put money into the pension fund along the way, too much taxpayer money of course, so now it has an actuarial shortfall of $41 billion. Or so. Keep 'em stupid and breeding.

[update]
Well, it turns out that most folks (although I'll guess that 'most' skews from Blue areas) understand that teaching is a short-changed occupation.
but Democrats (77 percent) and independents (69 percent) are more likely to say this than Republicans (54 percent).

28 March 2018

Sheeple

It should be getting clearer to civilians that all those "free" apps out there on the innterTubes aren't for them. They aren't the clients, but the product. Throughout history, the 1% have sought to keep the 99% in check. Orwell's greatest dissembling was his re-inforcing the notion that Big Brother-ism would be brought by the damn gummint. Orange Julius Caesar has said that he couldn't even collude with the rest of his campaign, much less the Russians. It appears that Manafort and Gates sure could.
Documents filed by special counsel prosecutors reveal that former Trump deputy campaign chairman Richard Gates was knowingly working with an individual with ties to Russian intelligence during the campaign, CBS News Paula Reid reports. In a late Tuesday court filing late, the special counsel alleged that this unnamed person worked for one of former Trump campaign chairman Paul Manafort's companies and was in touch with Gates in September and October 2016.

Big Brother is the 1% and corporations. And this was demonstrated years before most humans currently on the planet were born. In 1957, Vance Packard exposed the power of Madison Avenue. The book isn't a comedy. The social network cabal of today is advertising of Packard's day on giga-steroids. Cambridge Analytica is just the top of that totem pole. So far.
Packard explores the use of consumer motivational research and other psychological techniques, including depth psychology and subliminal tactics, by advertisers to manipulate expectations and induce desire for products, particularly in the American postwar era. He identified eight "compelling needs" that advertisers promise products will fulfill.

Just the sort of psychographic analytics that Cambridge Analytica claims to peddle.

Doesn't that sound a bit like "Make America White Again"? Of course it does. And documented 60 years ago.
Oh, when will they ever learn?
Oh, when will they ever learn?

You want to be a quant? Check your morals at the door. Just do it.

26 March 2018

The Sad Truth

One doesn't often see the pharma press actually be fully honest. Turns out that Merrimack Pharmaceuticals recently upped the sample size of a trial. The share dipped significantly; relative to 1Y high, nearly crashed. Here's an explanation:
The company plans to increase the number of participants to 100 from 80 citing rapid enrollment and "robust clinical interest." Frequently, however, a sponsor increases enrollment to improve the chances of a statistically valid result.

Ooo! Did baby bump his head on the floor?

22 March 2018

Here Come Da Judge

More gaga news.
In addition to the new dual-rank 64 GB RDIMM module, Samsung is set to develop quad-ranked 128 GB RDIMMs and octal-ranked 256 GB LRDIMMs. Today's servers running AMD's EPYC or Intel's Xeon Scalable M-suffixed processors feature 12 or 16 memory slots - if the processors were capable of fitting all 256 GB modules, this could lead up to 4 TB per socket. This should be a massive advantage for applications like in-memory databases, virtual desktop infrastructure, and so on.
[my bold]

Such a machine, though costing a bit more than a generic white-box, could handle 99.44% of R use case data sets without the onerous cost of SAS/SPSS. I suspect such a machine could pay for itself in software license cost avoidance in a year or two?

21 March 2018

Iron Fisted Rule

Regular reader may recall a recent missive offering data on iron and aluminum ore reserves here in the USofA. It is not a comforting picture for those eager to return to the 19th century's industrial model. Today, Eduardo Porter reports on further research regarding tariffs on steel and aluminum vis-a-vis their use. The main point being: how many jobs are affected by tariffs in steel making and steel using industry. Not surprising, the numbers still say that the USofA workers (net, all of them) take it in the neck as do consumers of USofA manufactures.
For every job in Tupelo producing steel or aluminum, there are 200 jobs in industries that consume them that could be put at risk as tariffs push up the prices of these metals, according to research from Jacob Whiton and Mark Muro of the Brookings Institution.
Take a look at those colorful maps: the redneck knuckleheads, once again, voted for suicide. They don't need no education.

This finding is not an outlier, by any means. Total employment in steel and aluminum has been dropping like a rock since the end of WWII, when we gobbled up vast quantities of the Mesabi Range ore
While the Mesabi Range had single-handedly supplied the iron for steel during World War II, it essentially dug its own grave. The Range totaled output of over 188 million tons of ore during the course of the war, and exhausted itself of natural hematite until the process of making taconite into iron was discovered into the 50's and 60's. The Mesabi Range lived like a star, dimly lighting the industry, and going supernova when it was most needed, provided for the country and gave everything it had until it had nothing left. In being the key for us winning the war, the Mesabi Range gave its life force, becoming just another casualty of the war.

The USGS has a report on the levels of mining, production, and reserves. It agrees with other data from that previous missive.

Stupid people make stupid choices. That fact has always, and will always, be true.

16 March 2018

Shame

There are times when one couldn't say it better (scroll to 3:11 PM - 14 Mar 2018):
17 people die in a high school and a month later there's a nationwide protest to get the attention of lawmakers. One dog dies on an airplane and there's a bill in the Senate rectifying it within 48 hours.

As pointed out here many times, this is of a piece with HRC's "deplorables" and 'the states I won are 65% of GDP', IOW, the left behind knuckleheads are in that situation just because they insist on electing fascist governments. The coastal states mostly do otherwise. You elect government that treats you like chattel, you'll be left behind. And it's your fault.

HRC has been excoriated for telling the truth, even by pundit Democrats. The truth hurts some times.

14 March 2018

Jobs R Us

Here's the headline: "Toys "R" Us liquidation could cost tens of thousands of jobs"
Toys "R" Us is expected to start court proceedings to liquidate as soon as Thursday. That's a first legal step in moving to close all of its 850 brick-and-mortar stores in the U.S. -- and to lay off up to 33,000 workers.

So, let's see if Orange Julius Caesar thinks they're worth saving; the way coal miners and steel workers are. Ya think may be not????

13 March 2018

Predestination - part the second

Ben Casselman's at it again. As regular reader may recall, these missives have pointed out that macro and micro data are very much brothers from different mothers. Micro data is, within a teeny epsilon, population while macro is samples. Today's piece is filled with quotes from important pundits, which make the points seen here.

First
"We have trouble measuring any of these things," said Tara Sinclair, an economist at George Washington University and for the job-search site Indeed. "This is definitely one of those situations where you can feed in the data and get out whatever response you're looking for."

IOW, the wiggle room in the data is sufficiently large that one can make any argument, plausible or not. Just take a look at the technical section of the Monthly Report to see the admission that the numbers are of Gumby.
BLS analyses are generally conducted at the 90-percent level of confidence.

For example, the confidence interval for the monthly change in total nonfarm
employment from the establishment survey is on the order of plus or minus 115,000.

Let that warm and fuzzy sink in. OK, back to Casselman's quotes.

Second
Despite the familiarity of the average hourly earnings figure, however, economists say that it is among the least reliable indicators, especially in the short run.

Third
Most government statistics, for instance, have failed to adapt to the rise of the so-called gig economy and other trends that are changing the relationship between companies and workers. The hourly earnings measure in the monthly jobs report excludes Uber drivers and similar contractors.

Now, does that bit of missing data mean; A) higher earning folks are being missed or B) lower earning folks are being missed? The answer, naturally, is B. IOW, the data/report are, to an unknown degree, rosy.

Fourth
Moreover, Americans are increasingly refusing to respond to government surveys. The response rate to the monthly Current Population Survey, the data source that underlies the unemployment rate and many other key statistics, has eroded in recent years. Of the households that do respond, about a third refuse to provide information about their earnings, a rate much higher than for most other questions. Similar problems have affected other government and private-sector surveys.

Without accurate macro data, all we get is demogogic policies. Demagogues prefer to ignore data, but when the data is known to be wonky, pushback gets tougher.