HNHacker News
TopNewBestAskShowJobs

leg100

566 karma · joined September 4, 2011

github.com/leg100

louisgarman at gmail dot com

submissionscomments
leg100··on Liverpool stripped of UNESCO World Heritage status
> Liverpool has seen more peaks and troughs than most, and it's a city which has changed immeasurably since 2004 when the World Heritage Status was conferred.

> Back then, there was no Liverpool One shopping centre, no hint that Everton would consider building a multi-million pound waterfront stadium and its year as European Capital of Culture hadn't happened. The city has changed.

Who gives a flying toss. Pretty much every city on earth has a ubiquitous monolithic shopping centre. It doesn't mean shit. Nor does a big football stadium (and how does "considering" building a stadium "change" a city?).

leg100··on I quit my job to focus on SerenityOS full time
Windows NT/9x/2000 represented the high point for aesthetics.

Light grey, rectilinear, clear delineation, all contributed to being easy on the eye and functional.

Glad to see it make a comeback.

leg100··on The Ultimate Guide to Inflation
The idea that workers were lording it over the rich from the 1930s through to the 1970s is preposterous. Unless the words political and control have been twisted to mean their polar opposites.
leg100··on Elon Musk, master promoter
Quite. When he said on SNL "I re-invented electric cars", I thought yes, you and 1000s of very smart engineers at Tesla did, not you alone.

The leaders at the top of these companies get way too much credit for "having the vision". The vision too mostly likely came from many individuals who are not in the limelight and don't have the connections nor the cash.

Musk otherwise comes across as vulgar and insecure.

leg100··on Pulumi 3.0
Magic modules is a strange beast. It relies on manually writing YAML, containing serialized Ruby objects. You then invoke rake tasks to generate Go code.

And even then, magic modules only covers some of the resources in the GCP provider. The remainder are completely written by hand. Presumably because the Ruby objects are not sufficiently expressive to cover all the edge cases.

leg100··on Pulumi 3.0
This is good news. This will reduce the barrier to entry to all sorts of software leveraging Cloud APIs, not only Pulumi. (I believe crossplane.io might be following a similar approach).

Much sweat and tears has gone into hand writing Terraform provider code. The vast majority of which has come from and continues to be maintained by volunteers.

To have had to replicate this manual effort all over again just to create a competitor would have been silly.

There will surely be a lot of wrinkles to iron out with this 100% automated approach. But indisputably this is a positive development.

leg100··on Pulumi 3.0
It would mean Pulumi has better coverage than CFN and terraform. Indeed as their blurb states, Pulumi would have 100% coverage.

But I'm skeptical.

leg100··on Pulumi 3.0
According to [1], "Native providers are built directly and automatically from the cloud provider’s API...", and are not hand-coded, unlike Terraform's providers.

I'm surprised this is possible. If it was, why didn't Terraform follow this approach a long time ago?

The cloud providers' APIs provide the endpoints for creating, updating, reading and deleting resources. Terraform and Pulumi's value is to provide an idempotent abstraction on top of that. And that abstraction is not straightforward to write, because it has to handle numerous nuances and anachronisms in the underlying APIs. For example, in the event of updating an existing storage bucket, the abstraction has to determine whether the bucket can be simply updated, or if it needs to be re-created (say if you were changing the name or location). And the underlying API will not necessarily reveal this kind of information.

Hence one would think completely avoiding handwritten code is incredibly difficult if not an insurmountable problem.

[1]: https://www.pulumi.com/blog/pulumiup-native-providers/

leg100··on Bank of England to explore a potential Central Bank Digital Currency
Don't forget the guinea: equal to a pound and a shilling, or 21 shillings, for the purposes of bidding for a racehorse.
leg100··on How do we know the history of extreme poverty? (2019)
I found this very painful to read, it's painfully slow to get to the point...actually, it doesn't even answer the question posed in the title.

> Just as we need to adjust for price inflation, accounting for non-market sources of income is an essential part of making meaningful welfare comparisons over time.

The article never says how they account for non-market sources of income, i.e. those things without a price. I'm sure there's a dozen links to various papers, but I expect the question posed in the article to be answered in the article, rather than be fobbed off with pat tautologies such as "historians know about history"!

leg100··on Richard Stallman Removed from the GCC Steering Committee
Well you both seem to think it's acceptable to start a sentence with a lower case letter, so I think you'll get along just fine.
leg100··on WallStreetBets members adopt 3,500 gorillas in six days
“But we all know the wag’s definition of a philanthropist: a man whose charity increases directly as the square of the distance.”

― George Eliot, Middlemarch

leg100··on GitHub, fuck your name change
Once you agree that one word is apt for removal then you agree with the agenda that the article author roundly rejects.

By going down the road of agreeing to some words to be removed you're then imposing a presumption of guilt on anyone who refuses to remove said words. If I maintain some software that uses the word slave or blacklist and I don't accede to making the changes to remove it, or agree to approve a PR that does the same, then it's presumed I am stubborn or worse still, racist. Despite the usage of the word being completely innocent.

Of course, context is everything, which only proves the point. You cannot systematically ban certain words.

leg100··on I Shipped, Therefore I Am
I'm pretty sure he didn't mean everyone had to share the same red shirt, passing it on between presentations.

I for one would not have liked to wear it after Ballmer.

leg100··on Show HN: Split Keyboards Gallery
I really persevered with a kinesis but the thumb keys were awkward regardless of the posture of my hands and wrists.

I really liked the arrow key placement though. They are badly placed on mainstream keyboards for touch typists.

leg100··on Go 1.16 Release Notes
In tandem with https://github.com/cortesi/devd I've found it a good setup for web development.

Modd watches file changes and rebuilds, while Devd enables livereload, letting me make changes in my text editor and then see the rendered changes in the browser, side-by-side, in near real-time.

This is for go web development but I'm pretty sure these two tools are language-agnostic.

leg100··on Building Rich Terminal Dashboards
Does anyone have a recommendation for implementing an equivalently flashy terminal dashboard in golang?

https://github.com/gizak/termui ?

https://github.com/mum4k/termdash ?

leg100··on VM Manager: Operate large Compute Engine fleets with ease
VM Manager is three separate services, one of which is "OS config management", which is more akin to Ansible (or Puppet, Chef, etc), i.e. provisioning software on a system. The other two services look after themselves TBH.

The OS config mangement in practice is a daemon that polls for "guest policies" every 10 minutes. Their example policies will give you a good idea of what it does:

https://cloud.google.com/compute/docs/os-config-management/c...

Or better still, the `google_os_config_guest_policies` terraform resource:

https://registry.terraform.io/providers/hashicorp/google/lat...

(Essentially it's pretty basic stuff: configuring package repos, installing packages, running scripts, and copying artefacts).

leg100··on New six-film series from Adam Curtis
> Get You Out Of My Head is an epic history that shows how and why that happened. How we made this particular world. And that it was not inevitable.

Oh no he won't. He never explains why or how anything happened. He might attribute the present state of affairs to the bankruptcy of new york city in the seventies. Or to shady deals the west made with middle Eastern regimes. But none of it adds up to a coherent argument. It's just a long lamenting binge.

I'll still watch it of course.

leg100··on 'Too negative ': Welsh seaside images (1979)
Humanity has gone to hell in a handcart since then. So we marvel over such pics from the past: the nostalgia, the simplicity, how natural people are with themselves and each other, that we now consider them wonderful glimpses of a bygone age, myself included. But life is and always was a struggle, and I don't blame people at time considering the images too negative. They wanted something better and things were getting better, for a brief time. They had the future to look forward to. No more.
leg100··on Two Worlds: So Much Prosperity, So Much Skepticism
> The article pretty clearly points out that for large swaths of the economy things are absolutely just fine, that in aggregate things are just fine, that aggregate measures of debt and savings are both looking quite rosy.

That's manifestly untrue. Aggregate measures of debt are at an all time high, measuring across government, households and non-financials [1]. Household savings have gone up but that has to be placed in the context of massive state intervention. Essentially you're not only taking money from one hand and giving to the other but a massive mortgage has been taken out too, to come due on future generations at the expense of future GDP.

[1]: https://www.fitchratings.com/research/sovereigns/us-non-fina...

leg100··on Two Worlds: So Much Prosperity, So Much Skepticism
> A hard thing to wrap your head around in economics is the idea that two opposite things can be true at once.

> Consumers are in the best shape they’ve been in, ever.

> A huge portion of consumers think that’s bogus because they’re in the worst shape they’ve been in, ever.

> Both are true.

They're not. Workers, whether they've materially done well through the pandemic, or not, are sufficiently lucid to see that this all has to be paid for. And they're the ones who will pay for it.

Unlike the author, who is blindsighted by, and even marvels at, the "huge" numbers, unable to see more than a few months down the line.

A worker may be in a house that's booming in value with a tech salary and buying lots of nice things from Amazon and deliveroo but he can see the world outside.

Workers aren't atoms spread apart in a vacuum. They know people friends and family who aren't doing as well as themselves, or vice versa.

So there is no contradiction in terms. Things are bad full stop.

leg100··on London put in emergency lockdown as U.K. fights new strain
> I don't consider collectivist to be a pejorative term and don't know of any context where it is. You picked a synonym, selfless.

Oh I don't know, socialism scares republican voters shitless, I wouldn't be surprised if collectivism did too.

leg100··on London put in emergency lockdown as U.K. fights new strain
"Authoritative collectivist monocultures"...That sounds like you're insulting them three times over :)

You could call them sensible, mature, selfless societies.

Either way one cuts it, the UK is neither.

leg100··on Stanford apologizes after vaccine allocation leaves out medical residents
Source? The article irritatingly doesn't say.
leg100··on Cloudquery: Easily ask questions about your cloud infrastructure
Looks like there are two steps to this tool:

  1) Fetch data and put into a sql db
  2) Query sql db
Wouldn't it be better, performance aside, if there was just one step, i.e. querying the cloud with SQL, essentially an SQL-to-cloud-APIs interface. Otherwise you're always operating on out-of-date data.
leg100··on Progress Over Perfection
It's a desperate attempt at profundity. Particularly when a very short sentence follows in the next paragraph to declare some great insight.

Like this.

leg100··on Face masks considerably reduce Covid-19 cases in Germany
Does one not need to be infected to effectively transmit the virus? I.e. if you're infected your body is actively multiplying the virus. If you're not infected, then you're just passing on whatever virus you happen to be contaminated with. There's a massive difference between the two I should think.
leg100··on Oxford University breakthrough on global COVID-19 vaccine
Classical British understatement.
leg100··on Moderna Covid vaccine candidate almost 95% effective, trials show
Or...the USA could have followed the likes of Taiwan et al and rolled out exemplar non-pharmaceutical interventions early and thoroughly, resulting in no more than a handful of deaths.

Even at this point it'll take months and months to roll it out to the population at large, over which time 10s of thousands more will most likely die.

← PreviousPage 3 of 7Next →