HNHacker News
TopNewBestAskShowJobs

leg100

566 karma · joined September 4, 2011

github.com/leg100

louisgarman at gmail dot com

submissionscomments
leg100··on In a world of digital nomads, we will all be made homeless
Laissez-faire, free-market, liberal, anglo-saxon economics and politics. Think Adam Smith or utilitarians like John Stuart Mill. Add a sprinkling of sympathy for social justice, social democracy. Small'ish state, pro-abortion, pro-gun-control. Unquestioning of capitalism as the only game in town, with forever a rosy view of its prospects (if only politicians stop meddling).

They regularly have an article damning France and its dirigism.

leg100··on Whisky from a German Glen? The E.U. Won’t Drink to That
Quite. They even admit to it being a "pun" on the name of the local town, rather than merely 'named after'.
leg100··on Amazon EKS – Now Generally Available
So they say. No one wants to back up a comment with "...and I run twelve machines". Could still be 'world class' tho.
leg100··on Hello, GitHub
No sir, I do not. And I'd rather not have to.
leg100··on Hello, GitHub
Or tall. Or thin. Or young. Why the emphasis on what one looks like, rather than something deeper, more meaningful, like background, circumstances, class?

There are plenty of poor thin white young tall people out there strugging like most people in life.

Identity politics is dividing us all.

leg100··on Hello, GitHub
How has gitlab "continued to improve"? They are getting worse. Do you have statistics on their uptime or their performance? Because in my own experience, gitlab.com is going from bad to worse. Their API increasingly returns 503s and timeouts. Their UI is increasingly returning a stale state. One pushes a branch and they say it doesn't exist. One does a git pull and it takes so long one is used to going off and putting the bloody kettle on. They don't know what they're doing. I don't have the time or inclination is to collect demonstrative evidence, but it'll take something to say they are "continuing to improve"!
leg100··on Hello, GitHub
Today? Rest assured, they have been very, oh very slow, for a long time. Their Twitter status feed and post mortem dialogue ad infinitum is proof enougb. GitHub has nothing to worry about just yet.
leg100··on No, there is no epidemic of loneliness
How can he say, as the title of his blog goes, "there is no epidemic of loneliness"?

I can see how he has a case for questioning the statistical basis of someone who is arguing there is an epidemic.

But how does that disprove any such epidemic exists?

leg100··on The Irreproducibility Crisis of Modern Science
Academia too is subject to the laws of capitalism. It is not some siloed-off eden of labour working for itself. Anyone working in academia can attest to the same pressures you see in the free market, whether it be short termism or maddening bureaucracy.
leg100··on Kaniko: Build container images in Kubernetes
What should one replace the RUN instructions with? Say I have:

`RUN apt-get update` and then an `RUN apt-get install -y pkgX pkgY..pkgN`

I could download each package beforehand, tar em and use docker save, but I'd want the recursive dependency tree of packages too....

leg100··on U.S. judge says Uber drivers are not company's employees
> Every single driver I've ever asked (in 1000s of rides taken over 7 years) has always said they prefer the freedom of being able to work when and where they want. Students, retirees, stay at home parents, and others who do specifically do not want to have a FT job.

I always hear this line about the sheer variety of backgrounds of the drivers, and that an Uber job is a way to collect a bit of extra cash. That they have something going on that is far more preoccupying, and that the Uber job is a mere sideline.

In my experience, 9 out of 10 Uber drivers in London are 25-60 years old, from East Africa or the Middle East, and do the job full time if you include working for other mini cab companies. It's their main occupation.

Might well be different elsewhere and probably is, but I can see why Uber might prefer to push a certain story that doesn't reflect reality.

leg100··on Diaphragmatic Breathing Exercises and the Vagus Nerve (2017)
Yup, I do this as part of tai chi and qi gong (referred to as 'dan tian' breathing).

Seems to be a thing of the west to take elements of yoga, tai chi, daoism et al, and distill them - mindfulness comes to mind - and as devices they're good, but together they amount to so much more than the sum of their parts, hence the eastern penchant for a 'holistic' approach.

leg100··on Beyond CI/CD: GitLab's DevOps Vision (2017)
We're got some pretty complex pipelines, so much so that we've reached quite a few limitations.

You can do all the things you've listed. But you can't build an arbitrarily complex DAG of tasks. Instead, you must order everything into a sequential list of 'stages'. Within a stage you have a list of jobs, which are run in parallel. This might be enough for your needs, but I'd like flexibility to express dependencies for each and every task, Say `t1 -> ((t2,t3),t4 -> t5) -> t6`, etc.

And it's a pain to propagate variables from one task to another, like say setting an environment variable in one task, and getting its value in a downstream task. You end up writing scripts to write them to a file, telling gitlab to make that file an 'artifact', and then reading it downstream.

And then there's the transient errors, all of which are listed on open issues. We're using the hosted gitlab.com, and on some of our CI pipelines, we have a dozen or some stages. The chances of a transient error, .e.g. a runner getting a 503 from gitlab.com, are pretty high.

leg100··on Is vitamin D really a cure-all, and how should we get our fix?
> Even if the numbers did increase, most of the time this is due to improved detection, or shifting age distributions, ie. an older population will necessarily have more health issues.

Other than what you say about older people, it is pure conjecture to say that "most of the time" these are the causes.

leg100··on Is vitamin D really a cure-all, and how should we get our fix?
Are you saying there is no increasing incidence of diseases? Of any disease? That would be a difficult argument to make (you might want to find a citation). Note: I did not say all diseases.
leg100··on Is vitamin D really a cure-all, and how should we get our fix?
What's your 'natural skin colour'? The colour of your skin if you never go outside? Or the colour if you spend a 'healthy' amount of time in the sun?
leg100··on Is vitamin D really a cure-all, and how should we get our fix?
You can carry out your own study. Stand outside in the sun for a while. Did you get sunburnt? Ok, that's too long, and the danger of that is skin cancer.
leg100··on Is vitamin D really a cure-all, and how should we get our fix?
I'm not going to wait for a study to show evidence. The evidence is only as good as the study, and this is very hard thing to setup a study for, given the many years they'd need to study subjects and as someone else pointed out on here, its systemic nature makes it hard to pinpoint.

The explanatory arguments are more than sufficient: skin colour corresponds to the availability of sunlight - with the exception of dark-skinned Inuits who maintain a fish based diet - which indicates the importance of vitamin D to survival.

Only in the modern era do we now spend more time inside than outside, which could be an explanation for increasing incidence of diseases.

As for this ridiculous quote:

> And as Adrian Martineau, clinical professor of respiratory infection and immunity at Queen Mary University of London, points out, even in the summer, “sunshine isn’t going to be the answer, especially because there is an associated risk of skin cancer.”

No, sunshine is the answer. The risk of skin cancer is elevated if you get sunburnt, if you expose your pale skin suddenly to the sun in the height of summer. Nobody is suggesting you do that. Build up a tan gradually throughout the year, follow common sense.

leg100··on Bazel Fawlty
> This should not matter at all. The OCI specification provides an interoperable image format that doesn't care who built the image or how

The OCI doesn't, but the build tool does care about how the image was built, because of reproducibility etc. But build tools will be able to leverage the kind of stuff you're doing, rather than doing it themselves (like Bazel does).

- umoci looks pretty cool, this is how things should have been done in the first place.

leg100··on Bazel Fawlty
It eschews docker, and Dockerfiles and their non-determinism, and builds the layers itself, and uses a python lib [1] to push and pull container images.

In order to ensure reproducibility/determinism, however, Bazel doesn't have an equivalent of the RUN instruction. You have to use other Bazel rules to fetch and produce artefacts and add them to an image, and there aren't always rules for what it is you want to do (I have a spot of bother with installing pip packages, for which there is apparently alpha support).

This is, I think, the thing with Bazel: it has to re-invent everything to ensure this reproducibility and hermetic seal, because it doesn't trust existing build tools to do this, and quite rightly so if this is what you're seeking. But I suspect it's going to be painful doing things outside the mainstream supported stuff.

[1] https://github.com/google/containerregistry

leg100··on Where are all the films about poor Americans?
For me, an entertaining film says something about reality, life, something meaningful, and done so in such a way it makes the most of what you can do with that medium. I wouldn't expect anything other from an entertaining novel, say.

Of course the crap coming out of Hollywood does say something about reality, that there is no hope left other than wish fulfilment, to hope that a saviour will come and save us all in the form of a superhero; or that the only hope for yourself is to get rich or for fortune to be bestowed upon you; or something else utterly implausible. But I've heard that story a million times, it's dull.

leg100··on How New Zealand Made Edmund Hillary, the Man Who Conquered Everest
Somewhat naff and parochial attitude. Conquering Everest was a massive expedition, involved many mountaineers from across the British Empire, over 400 people in total [1]. The article makes no mention of this; seems to think Everest was conquered thanks to the spirit and mountains of NZ.

[1] https://en.wikipedia.org/wiki/1953_British_Mount_Everest_exp...

leg100··on Show HN: Interactive Ansible Tutorial
> As far as I am aware, variables, scoping rules and inheritance don't imply turing completeness and the way it does loops and conditionals could really more be characterized as configuration for loops/conditionals further down the stack (e.g. as seen here http://docs.ansible.com/ansible/latest/playbooks_loops.html#.... )

Then what does imply turing completeness?

According to the wikipedia article [1]:

"To show that something is Turing complete, it is enough to show that it can be used to simulate some Turing complete system. For example, an imperative language is Turing complete if it has conditional branching (e.g., "if" and "goto" statements, or a "branch if zero" instruction; see one instruction set computer) and the ability to change an arbitrary amount of memory (e.g., the ability to maintain an arbitrary number of variables). Since this is almost always the case, most if not all imperative languages are Turing complete if the limitations of finite memory are ignored."

[1] https://en.wikipedia.org/wiki/Turing_completeness

leg100··on Britain's Next Megaproject: A Coast-To-Coast Forest
The plan to plant trees as outlined in the article is wrong. That's not to say planting trees at all is wrong. As you say for flood defence it would seem like a good idea.

Re wildlife, yes they would need to be controlled if trees are to take root. Sheep and trees aren't natural bed fellows. I'm not a making a man vs nature argument here; support is necessary in all manner of ways, in some it means taking a hands-off approach.

As for lack of trees in some areas, that might be for a good reason. Not every bit of land is suitable for woodland. Where it doesn't take root, it's a hint. And where it takes root, I would ask how you come up with a figure of hundreds of years.

leg100··on Britain's Next Megaproject: A Coast-To-Coast Forest
> Seeding it will allow a more resilient local ecology to develop.

It will do the very opposite.

> Let's remember that plants migrate slowly!

You initially get lots of 'green stuff' if you plant it yourself. However, weeds are not as slow to take root as you might expect. If you've ever maintained a garden lawn without pesticides, you'll know that.

This plan smacks of "quick, quick lets make this work, to hell with the consequences of not thinking it through". Which is very much the mantra of today's world.

Haste makes waste.

leg100··on Britain's Next Megaproject: A Coast-To-Coast Forest
No, I wouldn't be opposed to those things you mention - per se. I wasn't establishing a general principle. I'm talking about tree planting.

> In densely populated areas, there is no nature; everything that happens or doesn’t happen gets decided by man.

Nonsense, and besides the point. In the densest of cities there is plenty of nature (beside us). And in any case this planned forest isn't being planted through the middle of manchester and leeds.

Even then, if an acre of urban land is left idle by man it will sprout all manner of weeds and, not before long, trees. Many a distopian sci-fi film will show this.

leg100··on Britain's Next Megaproject: A Coast-To-Coast Forest
Trees shouldn't be planted on this scale. The land should be left idle, and nature will take its course, sprouting species that thrive in local conditions, i.e. the soil type and microclimate.

They might be planting "local, mainly broadleaf tree species", but the principle is still wrong. Why attempt to second guess what will work, when nature will do it better than we ever possibly could, saving a lot of labour, too. I'm sure the resulting woodland would be far more interesting.

leg100··on Problems with MacBook butterfly switch keyboards
I much prefer the display on my t470s to my macbook pro retina (albeit from 2012).

Same "retina" resolution, but the matte display makes reading text a pleasure.

leg100··on Ask HN: Freelancer? Seeking freelancer? (July 2017)
SEEKING WORK - London or remote

DevOps Engineer, 15 years experience.

My most recent projects have involved a combination of AWS, Docker, Terraform, Ansible, and Jenkins.

I'm fluent in Ruby, Python, and more recently, Elixir.

My LinkedIn profile: https://www.linkedin.com/in/louis-garman-418b95/

My blog: https://spacebiter.com/

Email: louisgarman at gmail dot com

leg100··on Decades
I think they did. We talk of the 20's, 30s, right up to 90s, but not of the decades 1900-1909 and 1910-19.

Having said that, up til around then, times were grouped by the reigning monarch, at least in Britain: Georgian, Victorian, then Edwardian to cover 1901-WWI.

← PreviousPage 6 of 7Next →