Better HN
topnewbestaskshowjobs
Log inSign up

EngineerBetter

718 karma · joined Aug 18, 2015 (11y ago) · 209 submissions

https://github.com/DanielJonesEB/
Submissions

181.

Cloud Foundry: Open source PaaS serving millions of users(cloudfoundry.org ↗)

1 points · by EngineerBetter · 10y ago · 1 comment

comment 10y ago · link · parent

You should take a look at BOSH.

http://bosh.io

It allows the same distributed system to be defined and run on AWS, GCP, Azure, vSphere, OpenStack, tin, and more.

comment 10y ago · link · parent

Caveat: I run a Cloud Foundry consultancy.

A quick glance shows a couple of things:

* Automatic cluster scaling, so your PaaS deployment is as small as possible. Cloud Foundry doesn't have this, and I wish it did

* Flynn has built-in service discovery, in Cloud Foundry you bring your own (if you want)

* Flynn comes bundled with some data services

* Flynn has no BOSH equivalent, so there's nothing there to bring back VMs when they fail, perform rolling upgrades or manage the IaaS

* Flynn doesn't seem to offer a metrics stream, only logs

* Flynn builds apps from source, so not sure how that works for compiled Java/Go, or anything you'd run with a binary buildpack

* I couldn't find anything about role-based access control in Flynn, something Cloud Foundry has (which can be backed by LDAP for enterprises)

* Flynn only appears to route HTTP traffic, so no TCP routing for IoT workloads

* Cloud Foundry is run at massive scale in production for mission-critical workloads by banks, payment processors, IoT data ingesters, manufacturing companies, research companies, governments and everything inbetween. I can't see any evidence of the same being said for Flynn.

* Flynn is owned by one company, Cloud Foundry is owned by a non-profit organisation affiliated with the Linux Foundation and can never be transferred back to a regular company. This prevents the sort of nonsense you've seen in the Docker community recently.

comment 10y ago · link · parent

Good question - I dare say it is nowhere near as battle-tested in production.

comment 10y ago · link · parent

I expect that this is one of the reasons they're adopting Cloud Foundry: https://www.youtube.com/watch?v=u18nKAOY5mo, along with the UK, USA, and Australian governments. I think there's a few others too now.

comment 10y ago · link · parent

Speaker in the video here.

I recently gave this talk at Cloud Foundry Summit, and it's a very condensed version of a 45 minute talk that was less light with the research. The full notes detailing the sources I drew stuff from are at http://engineerbetter.com/bad

I'm not a cognitive psychologist, nor a neuroscientist. I'm an engineer at heart, with an interest in making businesses more efficient. The inspiration for the talk came from reading in my spare time, so no doubt some of the sources I've used are disputed or suffer from a confirmation bias - I read things and get excited about how they might apply to software development.

In particular I'd like to highlight that I'm aware that the presence of mirror neurons in humans is unproven, and that the mirror hypothesis is disputed.

I'm genuinely keen to hear where I've misrepresented the science, but I gave these talks in the best interests of making people's working lives better, so please be gentle :)

187.

Cognitive Psychology of Continuous Delivery and PaaS(youtube.com ↗)

2 points · by EngineerBetter · 10y ago · 1 comment

comment 10y ago · link · parent

Here's an article about VW using OpenStack and Cloud Foundry: http://www.baselinemag.com/blogs/volkswagen-group-deploy-ope...

comment 10y ago · link · parent

Disclaimer - I co-founded a Cloud Foundry consultancy.

There are numerous folks running open source Cloud Foundry in production. Most I can't name for confidentiality reasons, but the Comic Relief payments system runs on open source CF on a variety of infrastructures.

Once you've got open source Cloud Foundry deployed and managed with Bosh, and you're using Concourse to update it, you should have a reasonably easy time. Numerous governments deploy open source Cloud Foundry this way (UK, USA, Australia, with several others evaluating it currently).

You can run Docker containers on Cloud Foundry's Diego runtime. We normally encourage apps as a unit of deployment currency for a number of reasons (easier auditing, allowing developers to focus on code rather than setting up images), but Diego is battle-tested. Under the hood both apps and Docker containers are run the same way, so you don't need to worry about the Docker stuff being treated differently.

I've not heard great things about OpenStack. I know people who have run very large Cloud Foundry installations on OpenStack, and had production issues with OpenStack network drives, amongst other things. From the anecdotal evidence of people I've spoken to, you're more likely to have problems with OpenStack than with Cloud Foundry.

I'm happy to chat more - search for my username and you'll find us; I don't want to put gratuitous advertising in HN comments :D

comment 10y ago · link · parent

Is there any evidence for the provenance of this list?

comment 10y ago · link · parent

I'd love to know the point of this article, but can't bear to wade through the waffle. Is this a print article reproduced online?

comment 10y ago · link · parent

It's a tiny little utility, but handy for when you're switching between Go projects in your $GOPATH and other projects in ~/workspace, or for when you can't remember who made a Go project or what website they hosted it on. It's mostly written in Go, so is quicker than just a Bash function alone.

193.

Show HN: cdgo – Quickly cd into dir nested in $GOPATH or ~/workspace/(github.com ↗)

4 points · by EngineerBetter · 10y ago · 3 comments

comment 10y ago · link · parent

I'd rather candidates had empathy, a willingness to learn, and an appreciation of testing & CI, than the ability to implement a linked list in under 10 minutes.

In over a decade of software development including web systems, games development, command line tools and distributed systems, I've never had to implement a linked list. If you haven't used the modulo operator, FizzBuzz isn't necessarily obvious.

comment 10y ago · link · parent

You should consider getting in touch with the folks at Pivotal (http://pivotal.io/locations/london). They have a very progressive working practice, and are keen to attract diverse staff. They're based in Old Street.

196.

Ask HN: Why don't you drive an electric vehicle? If you do, which?

2 points · by EngineerBetter · 10y ago · 1 comment

comment 10y ago · link · parent

Thanks for the TL;DR. I find these magazine-style articles that start with waffle instead of the conclusion very frustrating!

comment 10y ago · link · parent

Agreed on both points. I find it interesting that the properties of Bosh are clear strengths when present in other systems; if what Bosh does is so intrinsically good, why didn't it take over the world? Because it's a PITA to use.

That's meant more of a musing than a passive-aggressive complaint BTW. As someone that's scaled the "Bosh learning cliff" I'd like to see it used more widely.

comment 10y ago · link · parent

Ha - if it was in 2014, I was probably in the office!

I don't think it's hit version 1.0 yet, which would explain its rough edges. I find it interesting that it shares a lot of philosophies with Bosh.

comment 10y ago · link · parent

They are - it's in the GitHub repositories: https://github.com/alphagov/paas-cf/tree/master/concourse

I should prolly mention that I was lucky enough to work with one of the Concourse authors, and also think it is awesome. Every other CI server I've used has induced rage!

comment 10y ago · link · parent

You haven't seen that many publicly funded technology projects, I take it? I have as it happens. Ex-colleagues happen to be working on some, which is rather entertaining as some of those involved are particular left-leaning!

Government buying policy has moved to replace the massive SI consultancies that were holding the Government to ransom with nine-figure contracts to support (and deliver) legacy systems (think 00's era EJB nonsense). GDS is part of that move to more modern working practices, and I for one welcome it.

Governments need IT systems. I would prefer they were delivered with open source platforms and agile methodologies.

I'm interested to hear your ideas for an alternative.

comment 10y ago · link · parent

(Disclosure: I worked at Pivotal for a bit, as well as a consultancy supplying services to Her Maj's Government)

Yeah, and that's a good call in my book. Concourse + Bosh makes open source CF manageable. I've heard stories of people trying to deploy OS CF without Bosh, and it ending in a world of pain.

I wish Bosh had a better user experience - in fact, I gave a talk alluding to that at CF Summit Berlin. It's got some great qualities missing in other tools, but I dare say most of the folks reading this will never had heard of it. Declarative, convergent, effectively immutable infrastructure-as-code across all the major IaaS providers.

Great to see UK Government IT modernising. Can't wait for HMRC to catch up!

comment 11y ago · link · parent

Is this why they bought Mendeley, a document-management start-up who did a lot of data mining on academic papers, including terabytes of Elsevier's?

Hint: probably. I used to work there.

comment 11y ago · link · parent

Completely inaccurate for me.

comment 11y ago · link · parent

Because people seem to be missing it, here's a quote from the project website:

"sslip.io's primary purpose is to assist developers who need to test against valid SSL certs, not to safeguard content."

comment 11y ago · link · parent

It's very clearly stated on the project's website:

"sslip.io's primary purpose is to assist developers who need to test against valid SSL certs, not to safeguard content."

"Although there's no technical reason why you couldn't use the sslip.io SSL key and certificate for your commerce web, we strongly recommend against it: the key is publicly available; your traffic isn't secure."

comment 11y ago · link · parent

A handful of games developers I know that have used Oculus Rift complained of sickness after 20 minutes or so. Apparently it's better with recent revisions of the hardware, but to put it in perspective the prior revision had one chap needing to lie down in a dark room he felt so awful!

comment 11y ago · link · parent

"Nage" is technique, and the person who applies a technique against an attacker is "tori". If the author can't get this right, I would suspect their understanding of the martial art is somewhat shallow.
1234567