HNHacker News
TopNewBestAskShowJobs

leg100

566 karma · joined September 4, 2011

github.com/leg100

louisgarman at gmail dot com

submissionscomments
leg100··on Insect 'apocalypse' in U.S. driven by 50x increase in toxic pesticides: study
No, it would not; the parent comment is correct. Leave nature to determine what will grow best on the land, including the types of trees that take root. Only then will you end up with the optimal biodiversity and ecosystem.
leg100··on Holidays are good for workers and companies alike
Your argument doesn't make sense: the country historically took time off....workers can no longer afford to go away.

What changed?

leg100··on Dhall: A Non-Repetitive Alternative to YAML
> You either need a simple list of items (eg. dependencies) or key/value pairs. Use a text file or yml or json or whatever.

You clearly haven't wrestled with kubernetes configuration files.

Reams and reams of YAML, heavily indented to represent umpteen nested objects.

Templating, bash scripts, using your favourite language to roll your own config generator - these are all well trodden approaches that fail to scale.

Official shitshows like Helm have come along with nothing more innovative to offer than templated YAML. The next version uses lua to generate config, but I remain skeptical given previous design choices.

We can question whether kubernetes has pushed the dial too far towards necessitating mountains of config, but for now it is most definitely a problem for us users.

leg100··on Radiohead sells recordings to public after hacker threatens to leak them
Quite. They could have released it for free, and chose to gave a big donation to extinction rebellion themselves. It's not like they're short of cash.

https://en.mediamass.net/people/thom-yorke/highest-paid.html

leg100··on Should you be concerned about LastPass uploading your passwords to its server?
All the major git providers provide free private repos.
leg100··on The difference between ‘broke’ and ‘poor’
Seems increasingly the marginalised , feel it necessary to take it out on the not so marginalised, to police their language, to compel them to appreciate their lot, even to make them feel shitty, for wanting a pair of shoes, as if this would make their lot in life better, to make the world "more equitable".

How about the old fashioned approach of targeting the rich and powerful? Or is that considered too difficult now.

I couldn't give a damn about the difference between broke and poor. Changing their use isn't going to change a damn thing, just as changing how words are used has never changed a damn thing in the whole of history.

leg100··on Why are we templating YAML?
Fair enough. I should have said "general purpose language" rather than "real", which makes for flame-bait.
leg100··on Why are we templating YAML?
I don't get the problem with using a turing complete language to generate configuration. There's nothing wrong with maintaining and refactoring a program, that's a natural process for any program. If you don't want an infinite loop, don't write one, as you wouldn't in any other program. You can choose as much or as little abstraction as you so wish.

Give me a real language any day over dhall or jsonnet.

leg100··on Why are we templating YAML?
Because more often than not that is what the target system expects (k8s most notably).
leg100··on A Tiny Austrian Town Has the Coolest Bus Shelters (2014)
I prefer the home comforts of the Unst bus shelter: https://en.wikipedia.org/wiki/Unst_Bus_Shelter
leg100··on Ask HN: Favorite nonfiction books of 2018?
My money is on the patronising defensive presentation of the book:

> Do you think you hate Capitalism? Do you not understand why so many people love Capitalism? Have you based your opinion of Ayn Rand on second-hand commentary instead of actually reading her works? Then read this book.

All of this could easily be reversed to mandate reading all three volumes of Marx's Das Capital.

leg100··on Who Killed Prolog? (2010)
> For AI in particular - the way the world is developing, it seems logic is a weak foundation for intelligence. At this point, given that we know humans do not use logic for their intelligence, it would be a little surprising if logic is the best way to approach that particular problem.

Whoa, "humans do not use logic for their intelligence"? Hold on there. How do we know that?

I suspect the line of reasoning is something like: if machine learning is massively successfully without a great deal of logic or deductive rules, then the human mind works similarly.

Which stems in turn from thinking the brain is just like a computer, and vice-versa, which is arguable (let alone lamentable).

leg100··on Browsable History of Philosophy
Ah the four great philosophers, the very four that would roll off any one's lips: Plato, Kant, Aristotle,.....and Ayn Rand.
leg100··on Goss – Quick and Easy server validation
The idea is that you don't test the things that ansible has already declared it will do (install pkg, start service), but test the side effects, i.e. is the started service listening on the expected port, is the process of the service daemon running, etc.
leg100··on The Workman Keyboard Layout Philosophy (2010)
If you have to use these keys, then Kinesis advantage keyboard places them in more convenient positions: the left and right keys are on one side; the up and down on the other side; the home and end keys beneath the thumbs.
leg100··on The Workman Keyboard Layout Philosophy (2010)
Yup I've just installed vimium on chrome, and it seems to do the job.

I've tried out vim-mode bash in the past, but much prefer the default emacs-mode on the command line, despite being a vim user.

Either way I'm suspecting a ton of exceptions which necessitate resorting often to the cursor keys, however (like another commenter has mentioned w.r.t various GUI apps).

leg100··on The Workman Keyboard Layout Philosophy (2010)
What about using a browser, terminal usage outside of vim, and insert-mode in vim? Do you use vimium in chrome and vim-mode in bash?
leg100··on Artificial Intelligence Still Isn’t All That Smart
Since, as you say, we don't have a concrete theory on what causes mutations to occur, how can you then go onto say the reason they occur is nothing more than chance?
leg100··on Artificial Intelligence Still Isn’t All That Smart
> Human brains can evolve by chance.

What do you mean by this?

leg100··on What the Luddites Really Fought Against (2011)
I agree: it's better for the supermarket, it's not better for me.

Like the luddites, I really couldn't give a toss it costs much less resources for them while achieving the same crude goal.

leg100··on Angst Swells as Australian Population Nears 25M
Don't forget that when you care for your own parents or grow your own food, that money you've saved by not putting them in a nursing home or buying food, can either be saved, invested or spent on something else.

Lots of people spending lots of money may boost GDP in the short term, but if it isn't sustainable, then there will be a corresponding fall in GDP in future.

GDP is actually a pretty damn good measure, and if it is slowing, then it matters to us all.

leg100··on What the Luddites Really Fought Against (2011)
You're thinking about it the wrong way.

For example, one 'technological product' I cannot abide by, and for which I routinely consider reaching our for a sledgehammer, is the automated supermarket check-out. Its intelligence and UX is abysmal. It's slow, unresponsive, pedantic, intolerant, and cannot rely on itself without continual help from a bored mind-numbed shop assistant.

What is missing is a technology that is fast, responsive, tolerant, intelligent and autonomous. You might ask well how would that be possible. That's the point. We or the people that build it, don't have the know-how or wherewithal to do so.

It is clear the technology we do have is not the best that we can possibly develop; and for many reasons, there is not an interest or desire to do so.

leg100··on In Brazil, it is considered rude to be on time to a party
The implication of what you're saying is that there is no such thing as racism...
leg100··on Freezing Python’s Dependency Hell
There doesn't seem to be really fast way to check if everything is up to date or not:

  $ pipenv install numpy scipy pandas matplotlib requests
  ....
  ....installs everything
  ....
  $ time pipenv sync
  Installing dependencies from Pipfile.lock (3f6ae1)…
        15/15 — 00:00:05
  All dependencies are now up-to-date!

  real	0m7.219s
  user	0m15.645s
  sys	0m1.406s
Why does it take so long just to check a bunch of hashes? Is there a better command?
leg100··on What the Indian head wobble really says
That's not to say there isn't an 'indian head wobble'. It doesn't mean everyone or even most indians wobble their heads, or that there aren't people outside india who do so too, but that there are people in india who wobble their head, and it has come to be identified with india.
leg100··on Tech Giants Take Their Talent Hunt to Cambridge, UK
Sorry, which country are we talking about? Barring the guaranteed maternity leave I'm not seeing a helluva difference.
leg100··on Slow Reading: the antithesis of speed reading
Maybe. One could try imagining an invisible line and tracking that. It helps not to focus on the text itself, but on the space just above the page, just as the tip of pen would be hovering above the page as it sweeps across. That way the eye doesn't fixate on words and cause saccades.
leg100··on Slow Reading: the antithesis of speed reading
That's my understanding too. Speed reading is not just about reader faster, but reading more comfortably, avoiding tiring out the eyes by using them more effectively, thereby aiding both comprehension and retention.
leg100··on Slow Reading: the antithesis of speed reading
Tony Buzan's speed reading book brings this up, particularly the eye movement.

The eye has two types of movement: the one you use to move from one object to another; and then the one that follows an object. He recommends the latter when speed reading, using a pen or pointy thing as an aid, your eyes following the tip as you sweep it across the page. You can move it from side to side, or down the middle, or zig-zagging, etc.

You accompany this with a metronome, to move the pen in regular movements.

I think in time the idea is that you can abandon the pen and metronome once you've got used to reading this way.

leg100··on BBC releases its computer history archive
I watched this on iPlayer a few months ago....if anything it seemed the revolution had already taken place, revealing just how big and sophisticated an industry it was by 1978, with the supply-chain already straddling the Pacific, chips designed and fabricated in the valley, and integrated and assembled in Asia.
← PreviousPage 5 of 7Next →