Featured Post

It's an ex-uBeam...

Just shy of its 10th birthday and with between $40 and $48 million of investment (estimated), it appears uBeam (recently Sonic Energy ) has ...

Sunday, July 31, 2016

PC Build. New Home Office System. M2 RAID for Boot/OS

It's been a while since I posted anything, it's been a funny month. Work end-of-quarter things (yes, I know the date), personal and work travel, and then following Brexit and its effects it was just so depressing to even write anything. Fortunately on that front there are plenty of far better writers than I arguing with the same kind of intensity I like to see - I'd recommend Alistair Campbell as someone to follow there. I started playing Fallout 4, and there went a couple of hours a night (just one more mission...), but I was also spending some time researching and building my new home office PC. Now for those of you looking for business or startup commentary, stop reading here, because the rest of this post is about building a PC. No kidding.

My current PC is getting a bit old, nearly 5 years. I've gone that length of time between building brand new systems before, but in those cases they have been slowly evolving, single parts changed at a time, until usually by the end it's nothing but the case that remains from the start. In this situation though, it's basically been the same hardware the whole time. It seems to be a sign of the maturing of the industry that the refresh on computer hardware is now moving to more than 3 years, when it used to be that 18 months was enough you felt you were falling behind. Mobile is now where the rapid obsolesence is, though even there the cycle time is slowing and with some phones becoming modular, we could see a similar shift in patterns and move to upgrades rather than new purchases.

My home use involves a mix of the usual web browsing, email, and docs/spreadsheets, but also some work in numerical simulation, CAD, and visualization, and it was in those latter three that I was really noticing the age of my system. That old system is going  to get repurposed as a basic work machine, or maybe a Plex server for the house - even at 5 years old it's still pretty good. The Sandy Bridge chipset was a solid base, an i7 CPU at 3.4GHz, I had one of the early SSDs in it, and a 6 series nVidia graphics card. So where was it falling down? 

Interestingly it was not really in the CPU that the problem lay - the new CPU is 4GHz compared to the 3.4 of the old, both are 4 core with hyperthreading, even with the new IPC improvements you get in each generation, you're looking at only a ~25% improvement in raw power. Pretty much I could have stuck with the old CPU and not noticed too much difference, however it's in all the other parts that I wanted an improvement.

Visualisation needs a good graphics card, CAD seems to eat up any improvements to power (similar to the old "What Intel giveth, Microsoft taketh away"), and the 6 series nVidia card was just not cutting it anymore. Further, GPU computing is really where leaps are being made now, not in CPU, and there have been major improvements here over the last few generations (not just scientific computing, but machine learning/AI), with multiple new architectures. nVidia just released their 10 series with the Pascal architecture, so for the GPU computing and to be working with the newer capabilities, I got one of their 1070 cards (I wanted a 1080, but paying nearly double for about 30% better performance just wasn't going to happen). To get that card I needed a motherboard that could support PCIe 3.0 16x lanes, slots/PCIe lanes for future GPU SLI (a second graphics card in parallel), and a PSU that could deliver all that power - my current system couldn't do that, and any upgrades would have been as expensive, and likely less effective, than going new.

I'm also fedup waiting for large datasets to save and load to disk. While I was using a Samsung 850 SSD, read and write speeds are around 400 MB/s which is way better than HDD (around 100 MB/s), it still gets annoying when you deal with 10GB of data writing to and from the disk. They also connect through SATA III and so are limited to 6Gbps. Fortunately the newer NVMe M2 SSDs now read at up to about 2.5GBps and read at 1.5GBps (yes B for 'bytes' not b for 'bits'), and because they connect through PCIe, a 4x lane 3.0 setup will in theory limit at around 32 Gbps. So a new M2 SSD will at most use around ~35 to 60% of the available bandwidth and not be limited.

Intel's Z170 chipset seemed to be the right choice, with up to 40 PCIe 3.0 lanes (20 chipset, 20 CPU), and support for USB 3.0 and RAID. Looking at the various motherboards that used it, I liked what I'd been seeing and hearing about ASRock, and so looked at their Extreme7+ board. It had all the features I needed for now with room for expansion, an additional USB 3.1 port (doubles the transfer speed), Thunderbolt,  boot from NVMe, and interestingly not one but three M2 sockets for SSDs. Anandtech had a good review of it where I saw this RAID option, but didn't cover how well it worked, so now I started wondering if I could put multiple M2 SSDs in a RAID0 volume and triple the bandwidth? 

Digging deeper, there was nothing that said that it wouldn't work, though also nothing concrete showing that it would. The 4x PCIe lanes are shared, so it would be a 32Gbps limit, likely less than that, and even if more lanes were available it all goes through the DMI which would bottleneck it at <32Gbps (though shared with anything else talking to the CPU so definitively lower than that). Three Samsung 950 Pro SSDs (the 512 GB ones, not the 256 GB, they have 1.5GBps and 0.9 GBps write speed respectively) would theoretically be up to 7.5 GBps read (60Gbps) and 4.5GBps write (36Gbps), while two would be 5 GBps read (40 Gbps) and 3 GBps write (24 Gbps) - so three SSDs would saturate the available bandwidth, two kinda straddles the limit. Given my budget, I decided to go with two of them as three probably would see the full gain, plus it was a risk in doing something I didn't know would work, and with two at worst I'd have a second fast storage drive. So I ordered the parts and built my first PC of the decade.

Motherboard: ASRock Z170 Extreme7+
CPU: Intel i7-6700K 4GHz
SSD: Samsung 950 Pro PCIe3.0x4 512GB x2
HDD: WD Black 5TB
Memory: 2x16GB PC3400 G.SKILL
PSU: EVGA SuperNOVA 650W Platinum, Modular
Case: Phanteks Enthoo Pro PH-ES614PBK
Fan: CoolerMaster 212 EVO
DVD/CD/BD Drive: LG Black WH16NS40


A few notes on the parts. I made sure not to go with a Founder's Edition of the GFX card, you pay more for lesser performance (yep). Memory matched from the motherboard manufacturers recommended page, and PSU large enough to handle future disk and GFX expansion. The Phanteks case had good reviews, and while larger than my existing case seemed to be designed for good cable management and ease of access when building (which it really was). And finally an anti-static wrist strap so I don't zap any of my new expensive components while handling them. I ordered from NewEgg - I looked at Amazon but the GFX card wasn't in stock until August.

All the manufacturers did a nice job of packaging their products, they put the effort in with presentation and little extras to make them look like premier suppliers, and it worked. I'm too used to just getting brown boxes with nothing but the OEM part like the WD Disk in the middle there. Putting it together was really pretty straightforward, these days all the cables seem to nicely labelled, and I only had to look at the MB manual to see the pin orientation for the power on and reset buttons.

One thing I did get caught with - the graphics card had two 8 pin power connectors (GFX cards draw more than the 75W allowed by PCIe so need additional), while each of the two VGA PSU connectors had an 8 (6+2) and a 6 pin connector. I hadn't expected that, so I ended up connecting to the one GFX card from the two PSU outlets. This is fine for now, but should I later put in another GFX card in SLI, I won't have the power connector. The manufacturer lists it as a 220W card so two 6 pins should be enough, and a 6 and an 8 should be more than enough (300W). Two full 8 pin power connectors for the GFX card seems excessive, so I don't know if it's really needed or not - more investigation needed here.

The M2 slots for the SSDs are on the motherboard, it's not the old world of running a SATA (or IDE) cable to them anymore.They sit parallel with the motherboard itself, inbetween the PCIe slots. I chose to put my two SSDs in slots 1 and 3 as slot 2 was directly under the graphics card and I wanted both easier access and no possible heating issues. I was concerned I might have to move them if the RAID option didn't support skipping a slot, but it worked out fine. Use of the M2 slots does come at a cost - some of the SATA ports get disabled for each one used. By leaving M2_2 unused, that meant I had SATA3_2, 3_3, and EXP1 free, all others were disabled. This was fine, I only had the Bluray drive and the single HDD, but if you're planning on doing this and having multiple extra HDD's, then plan on using the ASMedia chip SATAIII ports (4 of them) or a PCIe add-in card. 

As a side note, it's interesting now how small the storage has become, while the graphics cards are enormous (basically it looks to be almost all cooling that takes up the bulk of the volume, same as with the CPU/cooler combo).


Once it was all put together, I powered it up. Fans spun, a few lights flashed, but nothing else. The nice little LEDs on the motherboard reported error 53, which indicated a memory issue. I checked the memory was in the right slots (A2 and B2 according to the manual), then reseated it. This time the system POSTed and I got to the BIOS, which said I had only one memory DIMM. Power off, reseat the other one again, and restart. This time all memory was seen. And that was it for fiddling with connectors - so far all the USB ports, disks, sound etc have all worked fine, so nicely done to the various manufacturers for making the labeling that good.

Now came the fun part - it is fun, even though you curse it at the time - where I spent near 6 hours trying to get the system to see the SSDs in RAID. I got there eventually but it was a bit of a tortuous route, hopefully what I write here will remind me what I did if I have to do this again, and save someone else the headache of doing it themselves if they find this. First, make sure you have a spare USB drive and another PC to work with as you jump back and forth troubleshooting.

My motherboard was on BIOS v2.0, latest is 3.0 (as of July 16), so first of all flash the BIOS. You can get the latest for this board here, and it not only updates the board BIOS but the Intel Rapid Storage Technology firmware too which is a key part. Put it on the thumb drive, then in the BIOS go to the 'Tools' section and there's a utility to flash. It does both the Intel Management Engine and the BIOS. Reboot and then it should be able to do the next needed steps for putting the SSDs into a bootable RAID.


In the Advanced version of the BIOS, go to the Storage Configuration option. Set 'SATA Mode Selection' to 'RAID', 'OpROM Policy' to 'UEFI Only', and Enable the relevant M2_x slots. I saved and exited at this point (F10), though I don't think you need to, but I was overdoing that to be sure that wasn't the problem.


Then to the Boot menu and scroll all the way down, there a 'CSM(Compatibility Support Module)' entry, go in there and change everything to 'UEFI Only'.



Then back to the 'Advanced' tab, and now into the 'Intel Rapid Store Technology' option, which should list your SSDs and the option to 'Create Volume'. Click that.


Then name your volume, select the disks (X) and it should default to the maximum size available. You have RAID0 (stripe) and RAID1(Mirror) options. Mirror buys no performance or storage gain, but heavy redundancy, RAID0 offers no redundancy (slightly increased chance of things going to hell as when one of the two SSDs dies, that's it for everything), but increased performance and storage size. I went with RAID 0. Click 'Create Volume' and it should be done. I left the strip size at 16kb, what limited information I could find showed that it was not a concern for performance.


Now back to Boot tab, and set the primary boot to UEFI version of whatever you want to boot from, in my case the Bluray drive. At this point I did *not* see the M2 RAID array as available as an option in the BIOS which had me fooled for a bit. Pop in the installation media, and save/restart.

From here I'm going to talk only about Windows10 installation, I didn't do Linux yet so can't make comment. Once it restarts, you should get the 'press any key to boot from DVD' message, do so and the standard Windows installation begins. Walk through as normal until you get to the "Where to install" option - where you will most likely not see the RAID array as an option. Instead, use the option to browse media for drivers, and have the appropriate ones loaded onto the USB thumbdrive. This part caught me out for quite some time - the drivers are here (for Win10 64 bit), it took me a while to work out which were the right ones (SATA Floppy and Intel RST), but every time I tried to use them it would find them, work for a while, then refuse to install. Eventually I noticed that the drivers on Intel's own site, here, were v14.8 compared to v14.5 on ASRock's site. Once I was using the latest Intel RAID drivers with the latest BIOS, then everything went smoothly with the Win10 install.

When installation was complete, I then also had the LAN drivers from ASRock's site on the USB and updated them before connecting to my network. I use wired, the house is wired with Cat5e so I get gigabit and it's much more reliable than WiFi, which I leave for truly mobile devices. Similarly, I had the latest nVidia drivers and sound drivers and updated them, before connecting to the network and downloading updates.

Last steps were then to take a couple of restore points (before and after AV installation), and create a recovery USB drive - while I do have original Win10 media, a recovery drive is kinda handy to have for when things go wrong. I then partitioned the HDD to include a 1 GB section that I'm going to use to regularly backup the contents of the M2 SSD RAID array - remember it's RAID0 so vulnerable to total data loss should one of them fail. This is some backup, but not ideal - however backup should really be on a different system, so for now it will also go to an external NAS (until I build a ZFS NAS, but that's another project for later in the year). So consider yourself warned if you do this that your data is at risk!

So how did it perform? Below is a CrystalDiskMark disk result:


You can see it's topping out near 3GB/s which is what I was expecting, and seemed to point to DMI as the limiting factor. I'll be running more tests later and seeing if I can glean more details. Anecdotely however, this thing is really fast and smooth, large files just go to and from the disk like they were tiny - which isn't surprising when I just had a near 10x improvement in disk bandwidth!

And as to the graphics, well I loaded Fallout 4, set it to native 1440 instead of 1080, turned everything to the max, and it handled it very smoothly - there's a noticeable improvement in quality and experience, so probably a near 10x improvement there too, image below. I have no idea, though, how that pack brahmin got up on the roof...



Update Oct 29th 2017: The Windows 10 "Creator's Fall Update" caused me no end of issues installing. Blue Screens of Death (BSOD) every time. The first was "CLOCK_WATCHDOG_TIMEOUT", which apparently, or so Microsoft tells me, is due to me overclocking my CPU. Except I'm not. I tried a couple of things, first of all updating the motherboard BIOS to the latest, which had no effect, then updating drivers. I had a ton of them to update, and I eventually gave up doing it manually and went with the paid up version of "Driver Easy", which I know I can do it all for free myself, I'm just at that point my time is worth more. That did the trick and cured the watchdog timer, except now I got a different BSOD, this time "SYSTEM_SERVICE_EXCEPTION". It took me a few days, but in the end it turns out that this update has an issue with NVMe boot disks, especially the Samsung 950 Pro - the installer is looking everywhere but there during the reboot, can't find a disk, and so fails. Solution - in the BIOS Boot section, disable all options other than "Windows Boot Manager" and also physically disconnect all other drives (in my case the DVD drive, the HDD, and a USB memory stick I had in there). Maybe just one of those actions would have worked, I did them both. And everything installed first time.

So thanks, Microsoft, for making this a giant pain to install. Oh, and with the Windows 10 Creator's Update, it looks like all privacy settings are reset to the default "Let everything access everything" level - type "Privacy" in the search bar in the bottom left and reset them to your preferred level (mine is "nothing"). So screw you MS for that. Oh, and Paint was deleted, now it's "Paint 3D". Screw you for that too.

Tuesday, July 5, 2016

Self Driving Cars - It's That Safety Mindset Again

There's been some attention to the safety aspects of technology in the last week, as reports of a fatality of a driver while using Tesla's 'Autopilot' feature in their Model S. The company reported this in a blog post, and they made sure to highlight that Autopilot was still in beta and it was the first known fatality in 130 million miles of driving, compared to an expected death toll of 1 per 96 million miles. They are at pains to point out that the customer's use of Autopilot "requires explicit acknowledgement that the system is new technology and still in a public beta phase before it can be enabled.", and that neither the system nor the driver noticed the truck, so it's clearly not their fault, time to move on.

We've been hearing about self driving cars for some years - Google have been at the forefront of this, with all the other care manufacturers trying to play catchup, Tesla included. The promise of infallible computers taking control and driving us, eliminating human error, drunk driving, falling asleep behind the wheel, and other causes of injury and loss of life is a enticing. It's something we've seen in science fiction films for decades, and at some point in the future it will be a reality - but there are no companies selling cars that are fully autonomous - in fact on the NHTSA scale of 1 to 5 (4 to 5 being what most people would consider autonomous), Tesla's system might rank at '2'.

Combined Function Automation (Level 2): This level involves automation of at least two primary control functions designed to work in unison to relieve the driver of control of those functions. An example of combined functions enabling a Level 2 system is adaptive cruise control in combination with lane centering.

Google's self-driving car is listed as possibly a '3'. Google itself notes that:

There are test drivers aboard all vehicles for now. We look forward to learning how the community perceives and interacts with us, and uncovering situations that are unique to a fully self-driving vehicle.

So even though the NHTSA rates Google's car as more autonomous than Tesla's, Google do not allow the public to drive it, and make sure there is a test driver there at all times (presumably as paying full attention as part of their job) and are trying to encounter all the unique situations the car is likely to find itself in. The LA Times has an article going into more detail on this here, and why calling a feature 'Autopilot' may lull consumers into a false sense of security. I would place a bet that the engineering teams had a fit when marketing decided to use that term, but were not listened to.

So what's wrong with Tesla putting in these new advanced features? Absolutely nothing, in fact it's a great thing that they are looking to improve the technology in their cars, however I feel they have made some major mistakes in their introduction and their marketing that fail to take into account consumer safety. I've blogged before about "disruptive" way to get new products into the hands of consumers, to have them 'beta test' for you, has moved from apps and games where it's non-critical and so a good approach, to healthcare and other critical infrastructure - such as Theranos and their blood testing - where it's not. There's a generation of tech business leaders and investors who have never dealt with safety critical products, and they fail to approach them in the correct manner medical and other safety critical industries traditionally have - industries where the suggestion of 'beta testing' a new feature with impact on safety would be met with horror, and where if a user died there would be no hiding behind statements like "well, we did put a warning somewhere in the manual".

We accept that nothing is 100% safe, even walking down the stairs can result in a fatal fall, eating your dinner can result in choking to death, but the chance is so low that we don't even think about it, and act as if it's completely safe. In the USA in 2010, prior to any autonomous vehicles, there were 33,000 deaths, 1.5 million injuries, from 5.5 million accidents, and around 1,500 car trips per person per year for near 500 billion journeys over 3 trillion miles. That means 99.9997% of all car journeys in 2010 resulted in no injury at all, and 99.99999% of all trips didn't result in death - yet that's still 33,000 people taken from families and an estimated economic cost of $231 billion per year even though we consider driving 'safe'. Autonomous vehicles can reduce that cost, but how to develop and introduce this capability is still in question.

How safe should something be before it is released for use? There is no set number here to work from, but typically you start by viewing the necessity of the product and who will be using it. For example a new drug goes through many medical trials, FDA approval, and still remains under the control of a qualified doctor before being prescribed to a patient, but a new wireless router undergoes basic FCC and UL testing before being released to consumers.  If the feature being introduced can't cause harm, then a risk of failure is reasonable, but for safety critical it must exceed the performance of the existing system and you must be able to prove that.

Tesla state that 130 million miles have been driven on Autopilot, and this is the first death compared to an expected 96 million miles - proof it is more than safe, it has already saved a life! Except it isn't proven. 130 million miles may seem like a lot, but compared to 3 trillion miles driven a year, it's nothing - merely 0.004% of the yearly total. You would have to drive much more than that to get anything statistically significant, and that's what matters here, statistics. You need to prove that it's safe, that more than 99.9997% of journeys result in no injury (at minimum), by gathering the data in sufficient quantity that all possible conditions are covered, and showing your system is better than the existing before replacing it. 

That is an enormous task, requiring many times the data that Tesla has gathered so far, and highlights the difference between Google and Tesla - one is taking their time, gathering information and data before taking steps forward, the other is working from the belief that their product is safer than before (which it may well be), however they do not have the data to prove it. The data they need to prove it, is currently being gathered, though in a somewhat uncontrolled manner, as Tesla owners drive their cars and use their Autopilot. Imagine the following scenario:

A pharmaceutical company creates a new drug that they really believe reduces heart disease after their lab tests on 5 people. They immediately sell it over the counter to millions of people, with instructions in the packet about not taking with antacids and that it's in 'beta', and monitor everyone taking it. After a few years they have the data and show everyone they were right - it did save more lives than died from taking it incorrectly or side effects.

Was the hypothetical drug company vindicated and right to do that, or reckless in their approach and lucky it worked out well? By our current laws, they'd be shutdown and executives in jail for doing that. We need roll back this recent thinking of safety as something that is suitable for a beta test, and make sure that the critical things we rely on in our lives are proven safe and effective before they reach consumers.

Tuesday, June 28, 2016

Brexit: Who's to Blame?



It is the common fate of the indolent to see their rights become a prey to the active. The condition upon which God hath given liberty to man is eternal vigilance; which condition if he break, servitude is at once the consequence of his crime and the punishment of his guilt.


You may have missed it, but last Thursday the UK voted in a referendum and the people have said, 52/48, that they want to leave the European Union. EU membership has been a contentious issue in the UK for decades, and following economic crises and a large influx of immigrants over the last decade, there have been calls to leave, mostly from within the Conservative Party. The Prime Minister, David Cameron, had to promise a referendum to keep his revolting party in check.

The 'Remain' camp focused on the benefits of the EU, logically pointing to the studies showing the net positive effect on GDP, jobs, trade, freedom of travel. Their numbers, when presented, were generally considered to be accurate and a fair representation of the costs and benefits of membership. The overall net cost of around 15 billion pounds out of a 1.9 trillion pound economy, or around 0.75% of GDP. Access to a single market of 500 million people, and freedom of movement and working rights in 28 countries was guaranteed as part of this.

While there are real arguments to be made regarding the benefits of the UK leaving the EU, the 'Leave' campaign ignored them concentrated on four main topics:

1) Unelected EU bureaucrats determining UK policy
2) The membership fees can be used for other things in the UK like the National Health Service
3) Immigration was out of control and needed to be stopped
4) The UK economy will be stronger out compared to in

Generally the numbers presented by the Leave camp were derided as fantasy and plain lies, and sure enough following the vote their key figures admitted that the NHS wouldn't be receiving 350 million pounds more a week, nor would immigration fall as a result of leaving the EU, and that a recession is now likely in the UK if not much of the rest of the world.

Their entire campaign was based on lies and an emotive call for the UK to 'take control' and to have its own "Independence Day". There was nothing of actual substance, no plans, no specifics, just promises that everything would be better if we can just get away from the nasty foreigners. To quote Tony Blair's take:

“There are two odd things. One is the desire to shake up the system, even if when you ask what shaking up the system means people aren’t clear; so there’s this populist tide left and right which says ‘the system is broken, and I’m gonna fix it’, and when you say how, they say ‘this country is gonna be so great’.”

There is a laugh in the room. “That is literally what the Brexit case was, by the way,” Blair adds.

Boris Johnson and Michael Gove led the 'Leave' campaign, and you can see following their victory that they couldn't possibly be happier about the result.
Or, rather, they look like two men who thought that they could jump on the bandwagon, make political points with the Leave constituency, while knowing that the 'Remain' campaign will win and they'd never have to actually deliver on their promises. Promises they themselves didn't believe in. They're having to face up to the facts that all those 'experts' that Gove dismissed were actually right and 'Project Fear' was not scaremongering but an accurate portrayal of the consequences of Leave.

Come the 'Leave' vote win on Friday, and what does Johnson say? "No need for haste. We cannot turn our backs on Europe. We are part of Europe." regarding invoking Article 50 and starting the exit. They don't just look glum because they know the horrendous problems they've just caused for the UK, the EU, and the world - but because Prime Minister David Cameron resigned, reportedly saying to aides "Why should I do all the hard shit?", and placed the problem of their creation squarely in their laps. It's the one thing in the last few years David Cameron has done that I agree with - Leave need to deal with the consequences of their actions and there's no avoiding it.

Here's the problem with that - there is no plan. They had no idea they would actually have to do the work, that it would happen. Perhaps the single biggest event of the last 60 years for the UK, and no one had a plan. Nothing.

IT WAS a troubling exchange. On live television Faisal Islam, the political editor of SkyNews, was recounting a conversation with a pro-Brexit Conservative MP. “I said to him: ‘Where’s the plan? Can we see the Brexit plan now?’ [The MP replied:] ‘There is no plan. The Leave campaign don’t have a post-Brexit plan…Number 10 should have had a plan.’” The camera cut to Anna Botting, the anchor, horror chasing across her face. For a couple of seconds they were both silent, as the point sunk in. “Don’t know what to say to that, actually,” she replied, looking down at the desk. Then she cut to a commercial break.

So now the country has a lame duck soon to be ex-Prime Minister and a looming leadership election within the Conservative party, with Boris Johnson touted as a favorite. I'm not quite sure why anyone thinks that, as he will be utterly despised by 48% of the electorate, minimum. George Osborne, the pro-Remain Chancellor disappeared from Thursday until Monday, when he made a rather weak speech on Monday to calm the markets, but also ruled himself out of the running for leadership and Prime Minister. Sensible man, it's a poisoned chalice after all.

The mechanism for choosing the new Prime Minister is wholly from within the Conservative Party itself, so the amusing thing is that while "imposition of leaders and laws" from the EU was a big point for the Leave side, the UK will now likely get a Prime Minister it never elected into office.

On the opposition side, Jeremy Corbyn, leader of the Labour Party, is now under attack from his own party. Just as leadership from him was needed, his own shadow cabinet mounted a campaign against him - as of now 23 of the 31 cabinet members have left, and there is a move to unseat him as leader of the party. Perhaps the Labour party sense an impending election, and want a different leader, one they feel is more electable - but regardless, at this time of crisis they have made themselves irrelevant as leaders.

Of all the national politicians in the UK, I've seen just one that has acted as a leader and a statesman, and that's Nicola Sturgeon of the Scottish Nationalist Party, First Minister of Scotland. She has remained absolutely calm (or at least appeared to), issued clear statements about the situation, reassured the public that while things are uncertain Scotland would continue to be governed well, and that people from the EU are welcome in Scotland. Her statement last Friday seemed to indicate that she knew the impending vacuum of leadership that would exist in the UK.

"The final point I want to make this morning is this one. The Scottish government will be working hard to protect Scotland's interests in the period ahead and in the wake of the referendum result.

"But as we do this, we will not be taking our eye off the ball of the day to day business of government. As Westminster is engulfed in political turmoil and as a vacuum of leadership develops, I want to make clear that Scotland is led by a stable and effective government.

"We are focused on making sure that Scotland's interests are protected but we are also determined to continue our work and further improve our schools, our hospitals and our economy.

"As First Minister, I am focused entirely on governing this country in the interests of all of the people of Scotland. That is my overarching priority."

As good a job as she is doing, the First Minister can only speak for Scotland. It's clear that England has no effective leaders (with the exception of Sadiq Khan, Mayor of London, who appears to be fighting hard for his city), no-one with plans, no-one with both authority and the desire to take control and move things forward. It's no easy task - there are no good choices, no 'win-win' solutions. It's a terrible set of choices, all of which have major consequences for the UK. And there should be consequences - multiple governments allowed this situation to arise, multiple warnings were ignored. Something of this magnitude can't be allowed to occur without cost as a warning to future generations that everyone in your country matters, that voting matters.

So, at this time of the greatest crisis the UK has faced since WWII, who is in charge for the UK? The answer is "no one", and that lack of leadership is not so much the effect of the Brexit vote as it is the cause. We're in a world where things have been 'easy' for decades, where stances can be taken not on principal or because they are right or best, but because they advance a politician's career. It's a game to be played, and the consequences are minimal - until they're not.

We need not just a change in leadership, but how we as voters demand accountability from our politicians. I actually believe that most politicians are there trying to do their best for their constituents - they may not be very good, they may hold differing views, but they are trying to do what's right. And then you have the Johnsons and the Goves, who risked national and global economic meltdown to advance their careers. We have to learn to see which of these is which, and swiftly remove those who are disingenuous while supporting those who work for their communities.

We simply cannot afford to tar all politicians with the same brush, to ignore them, and to leave no-one in charge. Someone has to negotiate, to make the laws, to speak for the people. We need them, and it's our responsibility as voters to make sure they are the best we can get, that we research their claims, we understand the reality and if they lie to us, then vote the bastards out.

So to answer the question - "Who's to Blame?":

We all are.

Monday, June 20, 2016

Brexit - What the UK Vote on Leaving the EU is Really All About


It's hard to have missed in the news the recent discussions on 'Brexit' (British and Exit) - the referendum on the 23rd June by the UK population on whether the country should Remain in or Leave the European Union. This is a major issue determining the future of not just the UK, but potentially the EU itself as a British exit could start the same process in multiple other European countries. There are many factors that are driving this, and the ones that get highlighted most often are the "self determination" and "economic control", but what rarely is covered is the reality of why this is happening. In the end it comes down to the same old thing - money and power of the privileged few using the cry of "for the people" to line their own pockets.

First some background - skip down to 'The mechanism to make Brexit happen' if you're familiar with the history of the EU. The European Union was birthed in 1957, with West Germany, France, Italy, Luxembourg, Netherlands, and Belgium creating the European Economic Community (EEC) for the purpose of some economic integration. In 1961 the UK, Denmark, Norway, and Ireland applied to join, however France vetoed their entry nominally on the concern that they would increase US influence on the EC, but was suspected to simply be that France didn't want to be supplanted in importance in the organisation by the UK. Those countries joined in 1973, to be joined in the 1980's by Greece, Spain, and Portugal.

In 1993 the EEC became the European Union (EU) and the political and economic ties between the countries strengthened, with the member countries being subject to some amount of EU law, but also a large reduction in trade barriers and importantly was the right of all citizens of the EU to free travel - that is any EU citizen can travel, live, and work in any other EU country with no legal restrictions. This alone was a huge benefit to the citizens - normally capital is free to move across national boundaries, but labor is not, and this was a huge leveling of the playing field for the average citizen who suddenly had a much larger market in which to apply for work.

There was also monetary union for many of the member states, and in the early 2000's the Euro became available. This was a single currency for all the member states, and tied the interest rates of those countries to the European Central Bank rather than their own central banks. The UK elected not to join the single currency and kept the pound, as the UK's economy was more service oriented and didn't match the economic cycles of the rest of the EU, and to surrender interest rate policy would not be financially prudent. In 1992 there had also been a run on the pound and the UK had been forced to remove the pound from the European Exchange Rate Mechanism (ERM), and this was still in the minds of most politicians.

The last major expansions of the EU in 2004 and 2007 added many eastern European countries to the membership, and Hungary, Romania, Poland, and others gained all the benefits of membership, including the right of their citizens to travel and work in the EU. These were definitively poorer countries and there was a large migration of their workers to the richer EU countries, and the UK took a large share of them. Many of the lower paid jobs such as shop work, manual labor, cleaning services and so on were taken by these groups, as well as an influx of skilled trades such as joiners and plumbers. Like many immigrants, they would work harder, for less pay, and in worse living conditions that the natives and suddenly there was competition for these positions. Poorer locations in the UK started to become eastern European areas, and this change raised further ire among natives especially in times of recession and high unemployment. Basically, just what you see the world over when there's a large sudden immigration, such as when Italians or Irish emigrated to the USA.

The post 2007 financial crisis then highlighted flaws in the EU monetary union system - some of the countries that had been allowed to join the EU had done so when they weren't truly ready to do so, and when the crisis hit places such as Greece and Ireland, they had no way to control interest rates to benefit their population. Instead, they had to deal with policies essentially set by the larger countries of France and Germany who had no incentive to help at the expense of their own people. This led to severe austerity in these countries, and stressed relationships as it became clear that it was still far from a unified Europe when things got difficult. It's also worth noting that banks such as Goldman Sachs were behind the scenes, helping cook the books and in the end making things far worse for the ordinary citizen.

The UK had never been as committed to the EU as France or Germany, and in particular the Conservative party under Margaret Thatcher in the 1980's made it clear they weren't going to play nice. Over the years there has been some resentment between the UK and continental Europe, in part because the UK still acts in many ways like it runs an empire as in the pre-WWII days, partly because as one of the larger economies they contribute more in direct payments than they receive back, and that France in particular manipulates the system to benefit itself (as should any country, but there's just a certain animosity between the two). Much of it though was based on the populist press in the UK, the "Red Tops" like The Sun, who realised that headlines that enrage their readership always result in more sales. Unlike the US, these papers in the UK had great sway over the public, and their blessing could win elections for parties, or destroy politicians they disliked. 

The Conservative party have never been truly united on being in Europe, and have always had a wing of the party pushing for separation. The current Conservative Prime Minister, David Cameron, needed to placate his anti-Europe wing and called for a referendum as part of his manifesto last election cycle. Hence the vote.

Here endeth the history lesson...

The mechanism to make Brexit happen

So what fuels the real pressure for the Brexit vote? The mechanism by which it will happen is the voting public and the ballot box, and first we should look at the conditions that drive around 50% of the public to vote for leaving. First has been the diet of "faceless EU bureaucrats dictating your lives" stories in the press, but that has been going on for decades and is just a different faceless bureaucrat from one in London. What is really different now for most voters comes down to three things - globalization whereby jobs can be shipped offshore and productivity gains of those still working go to the already rich and not them, a growing distrust of major institutions and "politics as usual" (something seen the world over), and a sudden increase in immigration from poorer nations. These are perfect conditions for the rise of nationalism, and parties such as the UK Independence Party (UKIP) gain votes on thinly disguised xenophobia, while groups such as Britain First use the guise of "Taking Our Country Back" to cover their racism. They have good marketing departments, but these are essentially the modern version of the National Front, led by small people who take great pleasure in being able to manipulate the anger and resentment of others, but pretending to do it for the benefit of others. Sadly, as with Donald Trump's manipulation of a similar type of abandoned voter in the US, it can lead to aggression and violence, as was tragically seen in last Thursday's murder of a Member of Parliament, Jo Cox. These people are angry about the takeover of their country by certain groups, and are looking for someone 'to do something about it'. The best description of this I have heard is:

The UK is being brought down by an evil conspiracy of single mothers, poor people, and immigrants, trying to subvert her sovereignty. Fortunately the country can be saved by a plucky group of ex-Eton schoolboys, billionaires, and media moguls who are valiantly resisting them.

Any time the poor and powerless are being blamed for major issues, you know someone is trying to distract you - and so we turn our attention to the real cause of Brexit - the billionaires and media moguls.

The real causes of the Brexit referendum

As mentioned earlier, the UK is heavily influenced by the newspapers, in particular the Red Tops like The Sun, owned by Rupert Murdoch. He's used to having access to the highest levels of the UK government, acting as Kingmaker in elections, and influencing policy in his favour. He has little such access, however, across the rest of Europe, and fears that further integration in the EU will limit his influence. He has been quoted to have said

When I go into Downing Street they do what I say; when I go to Brussels they take no notice.

And that, in a sentence, is why one of the most powerful media moguls in the world is pushing for a reduced role of the EU in the UK. Not for the betterment of the UK, or for its people, or because of an injustice - it's power, influence, and the associated money, plain and simple. 

This also applies to many of the characters leading the Brexit 'Leave' campaign side such as Boris Johnson (ex-Eton schoolboy, former London Mayor, and leader of the Leave side) and Nigel Farage - men who are known and are of some importance in the UK, but somewhat meaningless in Europe. Too small to play on the big stage, these small fish would rather ensure the entirety of the UK remain in a small pond for their benefit. Perhaps they even believe their own publicity, but Martin Fletcher of The Times newspaper summarises Boris Johnson's history with the EU here, and points out his pettiness, willingness to fabricate negative stories of the EU, and his pleasure in the attention such lies brought him.

Johnson later confessed: “Everything I wrote from Brussels, I found was sort of chucking these rocks over the garden wall and I listened to this amazing crash from the greenhouse next door over in England as everything I wrote from Brussels was having this amazing, explosive effect on the Tory party, and it really gave me this I suppose rather weird sense of power."

Quite simply Boris Johnson is continuing the power trip he started nearly 30 years ago, but this time gambling with the future of a continent and even the world economy. It has led to a remarkable attack from former UK Prime Minister calling Johnson 'dishonest' and the Leave campaign 'deceitful'.

Finally we come to the billionaires. The UK has an outsized financial sector, contributing a large % of the overall economy, and dominating industry especially in the capital - Financial Services contributed around 12% of taxes in the UK in 2012. London is the financial capital of Europe, rivaling New York and in some ways exceeding it, with differing and some would say laxer regulations on what can go on. For many years it has been the recipient of money coming from all over the world, particularly from Russia and the middle east, with suspicions as to the legality of the source of much of it. As with all major financial centers, there is plenty of fraud going on - and the EU is more likely to place legal restrictions on this. Money hates feeling it is restricted, and regardless of the costs to others, believes that the influence it has on London and UK politics far outweighs what it can achieve in Europe as a whole. By ensuring a British exit from the EU, parts of the finance industry in London wants to make certain it can continue without restrictions it fears.

Interestingly, this desire to leave is not universal in the financial sector - many of the larger banks and financial institutions fear reduced access to EU markets and a diminished role in time. Jamie Dimon, CEO of JP Morgan warns of 'massive dislocation' should Brexit occur. The split in opinion seems, similar to the differences with the political characters, to be between the small and the large. To quote the Financial Times:

Smaller groups and the people who have spent their lives working in them are much more likely to want to leave; bigger, international institutions overwhelmingly favour remaining in the bloc.

It's not often I find myself agreeing with the large banks, often I use that as a warning sign, but in this case I agree with them. 

So to summarise - while you may hear the Brexit is all about self-determination, controlling immigration, or economic freedom for average citizens, remember that is simply the smoke screen and justification for the real agenda. It's for the oldest possible reasons - money, power, and ego.

Wednesday, June 15, 2016

And now Twitter

I've started my "Lies and Startup PR" Twitter account - you can check it out here. It's "LiesNStartupPR", I had to abbreviate the 'and' to 'N' due to the 15 character name limit.

I'll be Tweeting when I have a new blog post, and other stories of interest.

Sunday, June 12, 2016

Not Everyone is "The Next Theranos"

I've written a lot about Theranos in previous posts, principally because they are the poster child (in my opinion) of pretty much everything that's wrong with the startup/tech press/VC ecosystem. I'm not alone in the press for doing so, as "apparently falsifying health tests in order to boost company value" is fairly straightforward to understand. It's such a compelling story that there will reportedly be a Hollywood movie about it, starring Jennifer Lawrence as Elizabeth Holmes. Given who the director is, I'm thinking it will not be too flattering to Ms. Holmes. 

It seems everyone wants to write about 'The Next Theranos' and the phrase is bandied around without much consideration for the flaws of that company. To me, Theranos need to be highlighted for a number of reasons:

  • Company defining the press narrative - a 'story' company
  • Hagiography of the Founder/CEO, with an exaggeration of their technical talents
  • Technical claims bordering on the impossible
  • Claims that all the technical hurdles are solved, and productization is here or 'imminent'
  • An apparent disregard for ethics, regulation, law, and safety
  • A software like "ship it then fix it later" mentality
  • Reported legal intimidation of critics and former employees
  • Apparently being less than 100% truthful with investors

Theranos are a particularly egregious example of the "boost valuation by any means until you sell to a greater fool" mentality prevalent in Silicon Valley as it directly affects people's health. Their methods are what exist in other Silicon Valley companies, they just took it to the extremes and made it obvious to all. Many of these points, taken on their own, are reasonable for a company to do. It wants good press, and it can't be expected to speak negatively of their own products in public, and it has to do what it can to raise money as bills need paid - however they are expected to remain inside the bounds of the law, to not fabricate results, or to lie to investors and customers. That last part is what's going to cause the biggest issue for Theranos and its officers, as the Justice Department, FDA, and SEC investigations look likely to be turning up some damning evidence, and their only commercial outlet, Walgreens, ending its contract with them.

Beyond the legal and safety activities of Theranos, my frustration with them is that not only did they deny the funding they got to other, potentially useful, technologies but they have "poisoned the well" for future investment in blood testing, biotech, and made it harder for legitimate technical companies to make headway (especially those led by a younger female founder) with investors and customers.

On the positive side, it has highlighted many of the excesses and problems in the startup world, hopefully causing the tech press to be somewhat more skeptical and less willing to publish a company press release as fact, for investors to be more careful and demanding in their due diligence, and for companies to be more restrained in their claims.

So when I see stories talking about "The Next Theranos", I look for the hallmarks of what I list above, and that's why stories like Vanity Fair's "Is Google's Biotech Division the Next Theranos" had me spending some time investigating to see if there was anything to that claim.

For those of you who are unfamiliar, Verily is Google's biotech division, now under their Alphabet company. It was spun out from Google X, the company's research division whose goal is to "Tackle Big Problems", and aims to transform life science. Wikipedia lists some key projects as:
  • Contact lenses that allow people with diabetes to continually check their glucose levels using a non-intrusive method
  • A spoon for people with tremors
  • The Baseline Study, a project to collect genetic and molecular information from enough people to create a picture of what a healthy human should be
  • A disease-detecting nanoparticle platform
  • A health-tracking wristband
  • Advancements in surgical robotics, in partnership with Johnson & Johnson
This seems to be a fair mix of short, medium, and very (very) long term projects, with items like the tremor reducing spoon already available, health-tracking wristbands being a staple of the wearables market, and examples of surgical robots in actual use today. The Baseline Study seems to be technically possible but a Herculean task, though more importantly there have been questions raised over the ethics of this data collection and its actual practicality. The nanoparticle disease detection and contact lens efforts are on the verge of science fiction and what draw the greatest concern in the press.

The nanoparticle disease detection was hailed as the equivalent of Star Trek's Tricorder, and the details of it are explained here by Andrew Conrad, the CEO. To summarise, magnetic nanoparticles are injected into the body, and float around picking up information on what's going on, and as they pass the wristband (or collected there magnetically) then the information is uploaded and analysed. One of those "simple in concept, hideously hard in practice" things, and questioned by experts in how it can be readily productized, but not lacking in grand vision or societal value should it be made to work. Further, from what is reported in the press, and from what I hear from colleagues in the business, there is an impressive team of scientists and engineers behind it all.

While some find Conrad's statements to be too bold, I found his statements in the above YouTube link, and other sources, pretty reasonable for a CEO and not over selling. The company itself states the project to be:

a "very early-stage” project, “ambitious and difficult,” with “unsolved technical challenges. It’s our aspiration, with our partners, to solve these challenges, even if it takes years.”

Similar questions are raised about the contact lens project, aimed at monitoring glucose levels through tears with many pointing to the science showing the superiority of blood testing, but Novartis, their partner describe it as "in the research phase." Their Chief Medical Officer, Jessica Mega, goes further and says

Verily is not a products company... But it’s a company really focused on trying to shift the needle when it comes to health and disease.

Overall, Verily don't seem to be ticking off too many issues from my list, and the company and their partners seem to be aware of the realities of the work they are doing. They are not providing test results to doctors with which healthcare decision are made for patients, they are not passing off another company's tests as their own, have a range of products and research that by their own admission is challenging. While they do need to be watched to ensure that they treat the information they gather legally and ethically, the fact that they are taking on huge problems is overall a great thing. It's been a long time since industry invested so heavily in blue sky research, with the likes of Bell Labs producing key technological developments much of our modern world is based on. That a private company, with their own money - not a pension fund, not crowdfunding, but their own money - should be encouraged.

Too often a company has to be focused on the next quarter and puts aside long term development, leaving that to national level funding such as from the NIH or NSF, and if they maintain honesty with the public and their management about difficulties, timelines, and realistic expectations, then grand goals are to be encouraged. Just this month, Elon Musk spoke of sending a human to Mars in less than 10 years, and has received applause for his grand vision, and I don't see anything different here.

So to summarize:
  • The CEO talks about the company mission - Tackling Big Problems - not himself
  • They make technical claims ranging from the straightforward to extremely hard
  • Make clear that these challenges may take years to solve to both the public and partners
  • So far have not been accused of bypassing regulations or breaking the law
  • Products shipped appear to work, and are not life threatening if they break
  • Have not intimidated those who speak negatively of them, including former employees
  • Are using their own money, not that of investors
I'm not seeing a problem here. Let's not throw the baby out with the bathwater, not every company is the next Theranos. 

Friday, June 10, 2016

TED Talks

I could write a post on the deficiencies of TED talks and how they're giving the appearance of detailed scientific education for the masses while simply allowing poorly thought through ideas to be propagated to the public, causing legitimate and well conducted research to be sidelined, but instead I give you John Oliver, and TODD Talks. 


The TODD talks starts at 15:48, however just watch the whole thing. As with pretty much every topic he covers, he just nails it.

Monday, June 6, 2016

The Safety Mindset

In the startup world there is the extensive use of the word "Disrupted" when it comes to describing your company. It's hard to be heard unless it's somewhere in your pitch, and there are even books on startups using it for their title. "Disrupting" implies shaking up the status-quo, bringing the white heat of technology to an old inefficient market and turning it upside down, reaping huge financial rewards in doing so. A good example of this is Amazon.com, starting as an online seller of books disrupting the traditional book selling market, and within 20 years of founding is now both a bigger retailer than Walmart, and the world's largest supplier of cloud computing. It really has disrupted multiple industries, and created entirely new ones as it has done so.

Another disrupter is Uber - the "ride sharing" service that tries to pretend it's everything but what it actually is, a taxi service. Taxis in most US cities are heavily regulated, with medallions (licenses) sold by the city for sometimes exorbitant sums - a New York city medallion used to fetch $1,320,000, but is now dropping to $750,000 and below with no end in sight thanks to Uber - and when money like that is to be made, it's tightly controlled. This high medallion price, however, was no guarantee of good service and in most locations in the US taxis were regarded as transport of last choice. Uber bypasses the purchase of a medallion, and introduced a simple to use phone app that worked for calling the taxi, seeing its location when en-route, and seamless paying regardless of what city you were in. Suddenly, a taxi was actually reliable, clean, and affordable, and this was a fantastic thing. Offer customers a service they want at a price they are willing to pay, and you grow quickly, and Uber have grown to a near $63 billion valuation in just 7 years.

But let's be clear - they did this by breaking the law. Calling it "ride sharing" or any other term is just marketing, and it's a taxi service that bypasses all local taxi laws. There are legal battles all over the US, and other parts of the world, with Uber spending huge amounts of money in trying to overturn local taxi laws, and seeming to win more than they lose. The taxi services in the US really needed disrupting, and most people cheer them on because they provide a service we want, and we all know that the whole "medallion" system was just about rich people charging rent for them and not really about public safety. Personally, I love Uber as a service, and love that they are breaking up the old taxi business, but I do have concerns over their ethics and concern for privacy, the dangers of the "gig economy", and ignoring other laws such as those for the disabled, but equally importantly for the example it is setting to other companies regarding "break the law and fix it later" mentality.

Companies in the new tech area tend to be a little lax when it comes to doing things carefully - Mark Zuckerberg, founder and CEO of Facebook, tells us all to "Move fast and break things", which I have to agree is a great way to innovate and learn when your product does nothing of actual importance at all. It doesn't matter if you don't get your silly cat videos, or can't post pictures of your holidays, because your business payroll doesn't run on it, your medication isn't delivered by it, nor is your aircraft navigation based on it. Real consequences of a Facebook blackout are near zero.

Much of the software boom of the last few years has been in companies like Pinterest, Snapchat, Twitter, LinkedIn, WhatsApp, and Facebook which have concentrated on connecting people, creating communities, sharing pictures and text, but nothing truly vital to health or financial well-being. There is a mentality of "minimum viable product" (which to repeat is a good approach in such unimportant areas) that has taken hold and has been rewarded. The incentives have been to companies that released quickly and did their alpha testing on customers, those who took the time to get it right before release sank into obscurity.

So is it any wonder that eventually a company like Theranos would appear, promising to disrupt the boring world of blood testing by using only a finger prick and small "nanotainers" for a battery of tests, yet releasing a minimum viable product quickly and doing testing on the patients? After all, it's just a blood test, that can't have consequences! Except it does, and when around 1.6 million test results are recalled, that has real effects on people's lives - treatments they had that were unnecessary, or necessary treatment that was never performed. I'm sure we'll be hearing in the coming months, through the various civil and criminal lawsuits Theranos will face, about the employees who tried to raise the alarm and were ignored, intimidated, silenced, by those who had the "move fast and break things" mentality and faced no consequences to a lack of care about safety and efficacy. That thinking has been so heavily rewarded, for so many years, that it seems now to be the default, even in industries that should put safety first.

It's been bizarre for me to see this thinking grow, particularly in the last 5 or so years as I worked in and consulted with a number of new tech companies, and heard stories from friends and colleagues of similar. My engineering background had at first been in manufacturing and heavy electrical motors and generators, where there was real danger of physical injury, chemical exposure, and electrocution, and the emphasis on your personal safety and those of your coworkers was intense and was an important lesson in the mentality of safety that has stuck with me throughout my career. Following that, I was heavily involved in medical ultrasound, where there are stringent tests and validation required before it's even to be allowed to be used on a small number of test subjects. (I did also work in some tech companies whose founders and staff had a history in healthcare and similar, and the difference was noticeable in the care they took, and how pro-active they were in working to ensure safety and security.)

In both these industries the mentality was "we must make sure this is safe" and the idea of reducing or skipping safety is never considered, but I do not see the same thinking in many of these tech companies. I have literally heard "what's the minimum we have to do?", "we don't have proof it's a risk", "that sounds time-consuming and expensive. We should do <pointless but fast/cheap thing> instead", and "well if it goes to court our lawyers say they have good arguments". The people running many tech companies have simply never operated in a safety conscious, or heavily regulated, environment. The consequences of their lack of care is not a coworker losing fingers in a press or being electrocuted in front of them, but is remote in both time and space, easy to put out of mind.

The safety rules in factories we enjoy now came only after horrific accidents from the time of the industrial revolution on. Medical treatments and drugs were previously unregulated, but even though regulation is not perfect, are now much safer than they once were. These improvements came at a great cost to many people's health and lives, as we developed laws and regulations, but a way of thinking that put safety first was developed. That thinking does not exist in many of the companies that used to send funny home movies over your phone, but are now accessing your healthcare data, your bank account, and the online webcams monitoring your children. 

Safety is not a set of checkboxes, it is a mindset, and until there are significant consequences for those that ignore safety there will continue to be more and more Theranos-like stories.

Saturday, May 28, 2016

Disrupted: A Resonant Tale


History Does Not Repeat Itself, But It Rhymes
Mark Twain (maybe)

I finally managed to get some time off last week, and had a great time in Vancouver meeting up with an old friend, followed by taking a cruise back home. This was the first time I'd been on a cruise ship, and I can guarantee you it will also be my last. I have a hard enough time boarding an aircraft, with slow people who wander aimlessly, can't get out of the aisle, and are seemingly unable to follow even the simplest of instructions - however that's nothing compared to a cruise ship. 

Imagine 3000 people, from families to your local retirement home outing, trying to board one ship, all in the space of a couple of hours. While I have some sympathy for the cruise lines in trying to deal with all this, being herded like cattle from pen to pen is not what I consider a fun time. It didn't get much better once on the boat, but fortunately I had a couple of good books with me and I pretty much sat on the room balcony and read them through. The first was "Disrupted: My Misadventure in a Startup Bubble" by Dan Lyons.

"Disrupted" is a book that hit home for me, and I read it cover-to-cover in one sitting. Here was a person who had built his credentials through 'traditional' companies, a focus on high-tech, had looked on with incredulity through his career as the most ridiculous companies were funded then sold, and eventually jumped into that world only to learn that it's more ridiculous than you could have imagined, and that in the end you just can't stop being who you are. 

Lyons was a former tech journalist who had joined "HubSpot", a company producing software tools for "Inbound Marketing". This attempts to have the customer come to you, not the old fuddy-duddy approach of having farms of workers cold-calling from paper lists and reading scripts to grab a sale. HubSpot were "disrupting" the old way of doing business and receiving huge valuations based on that fanfare - yet behind the scenes were using those "boiler room" techniques to promote their own product, and appeared to be pushing the appearance of growth at any cost to ensure the money kept flowing.

HubSpot is also famous for its Culture Code, their set of rules for a workplace designed to attract and keep the best talent. When I first read it (along with the Netflix equivalent) I was really pleased to see the main themes (minus the touchy-feely bits) were what I had tried, as best I could within the confines of a larger company, to employ when I ran a small division selling high tech software. Sadly, it turns out they were more "aspirational" than "actual" and mostly geared to reducing company financial liabilities such as paid vacation. I'll be coming back to these Culture Codes in a future post.

Lyons' experience had both similarities and differences to mine. Being on the inside of a startup and watching the insanity is something I'd had to deal with myself, and there were plenty of parts where with a simple name change to the characters it could have been something that happened to me. On the other hand Lyons joined later in the company growth, where it was nearly $100 million raised with 500 people in the company, and watched more from the 'regular employee' viewpoint, whereas I had been there from pre-funding, developed large parts of the core technology, and was involved (at least as an observer) in most business decisions for a period, giving me some insight into the interactions with the investors. (I'll add this experience was at more than one company.)

One of the themes that's clear in Lyons' writing is that the ageism in HubSpot was rampant - the idea that "younger people are just smarter" and do better for the business, when in reality it simply means "too inexperienced to realise they're being taken advantage of" and both cheaper and disposable. Hardware engineering, compared to marketing, makes this business ploy almost impossible to pull off. Most hardware problems are so interdisciplinary, and require so much understanding of the technology, processes, planning, and the realities of development that it's really only achievable with experience and talent. They also require time to move through to completion, often four or more years, plenty for naive new hires to wise up. Generally, once they're put into a real world hardware development role, even the most capable and arrogant engineer quickly learns not just that experience matters, but the problems are so large that there's no way to solve it on your own - you have to work in a team, and know your role in it. That ageism, fortunately, isn't something I have really encountered.

Another aspect of his experience that doesn't match with mine was with the "Kool-Aid" drinking of his co-workers. At HubSpot, the young staff truly believed they were working on something world-changing, that they had a mission, and they were part of a glorious revolution, prophets of a new religion that it was their destiny to bring to the masses. It seems apparent from his writing however that the founders and leaders of the company knew exactly what they intended to do, and it was a cold calculated method to game the system and make the company look attractive for an IPO. 

If anything my previous experience has tended to the opposite, where the Board and "C" level are the Kool-Aid drinkers, the true-believers, who ignore technical reports that point to failures, issues, and problems, as they are just the work of "heretics", or incompetent/lazy engineers. The average engineer, however, is under no illusion as to the real status of the company and the work - if they are any good, then facts and evidence are paramount to an engineer. Measurements, numbers, statistics all matter more than perseverance and pig-headedness. Maths and physics don't lie or bend to management directives. 

If C-level directives fly in the face of sensible technical choices, it's noticed and questioned. Sometimes you accept a poor engineering choice due to business reality of cost or timing, but if it's purely fantasy and you're being told to accept an impossible/stupid engineering choice then it simply forms an "us and them" mentality. It creates an odd situation where the lunatics are running the asylum, one where the patients are all sane and know it.

Lyons on the other hand was the sole sane man in the asylum, constantly surrounded by the insane, with no-one to turn to and laugh with. You can tell from his writing that at some points he questioned his own sanity, and was it he himself that was wrong and out-of-touch? It chips away at his self-belief, which had already taken a hit due to his earlier layoff from Newsweek. The whole process is insidious, as by breaking their self-belief, the company culture prevents someone from the clarity of thought and confidence to simply walk out, leaving the person feeling trapped and powerless - which I've learned over the years is something a lot of bosses like to have in their employees. You want to scream "Just get out!" at him, and fortunately he does have some friends simply tell him that. 

The psychological turning point for him seems to have been landing the gig writing for the show "Silicon Valley", spending weeks talking and working with other sane, rational people and laughing at the insanity he was dealing in with his regular job. At that point, he regains his self-belief and it's just a matter of time before he leaves, but he does what always amazes me about abused staff and shows a remarkable professionalism even in the face of egregious behaviour by his management. He continues to work and deliver product until it all finally blows up, and resigns giving them plenty of notice, but unsurprisingly is "graduated" (fired) immediately (definitely familiar to me).

Where the book really meshes with my experience though is in the observations of the startup and funding ecosystem - the game whereby VC's and founders manipulate the metrics not to produce better product or to satisfy customers, but to garner the appearance of growth to inflate valuations, and sell on to a greater fool, be it another larger VC, or the general public in the form of an IPO. It's not about creating an effective product, or improving productivity, it's about manipulating the employees, the unquestioning tech press, and the investment analysts into keeping the charade going long enough that someone has put so much money into it that either it's not allowed to fail, or you've banked the gains before it collapses. To quote from Disrupted:

"The one thing people do not appreciate is that these companies are incredibly fragile. There is so much less than people believe... The whole thing is based on companies trying to achieve escape velocity before they blow themselves up."

The book resonated with me on two main levels - the first being that Lyons is our "everyman" in a bizarre world, and he reacts as a sane man should, though often questioning his sanity. He reminded me of the titular characters in "Life of Brian" and "Blackadder", simply trying to make his way through life and doing what he can in the weirdest of circumstances. 

The second, stronger, resonance for me is his tying of the experience to the startup ecosystem, pointing out that, like the financial crises of the past, these valuations and investments are based more on sizzle than the steak itself, and that it's impacting our society in significant ways. Chapters like "Glassholes", "Escape Velocity", and "The New Work: Employees as Widgets" are really where the meat of the story is - a small fraction of the book but highlight the insidious effect "The New Work" is having on all our lives. These chapters alone made it worth reading, and the humour of the rest keeps your attention - go buy it. 

I'll leave you with a final quote from the book that in a few sentences perfectly covers what I have been trying to put into words. I doubt I'll ever be able to phrase it better than this:

"I've been in the Valley a long time. As far as I can tell, nobody here ever feels guilty about anything they do. What I have observed from these guys is that they have a strong sense that they are moral actors. They believe very strongly that they operate with high integrity. They believe they are the most moral folks on the planet. But they are not."

These are the people who claim they are making the world a better place. And they are. For themselves.