HNHacker News
TopNewBestAskShowJobs

johnday

1,394 karma · joined March 22, 2014

submissionscomments
johnday··on GDPR and the Lost Generation of Innovative Apps
Environmental Protection Orders and the Lost Generation of Innovative Chemical Plants
johnday··on Racket v8.5
In my experience, this is already possible (though it might be cribbing from elsewhere). AI Dungeon has made some pretty excellent jokes while i've been playing.
johnday··on We think this cool study we found is flawed. Help us reproduce it
This is the wrong question. Think instead about whether a sequence like 1111111 is more likely to be produced by a fair die or a loaded one.
johnday··on We think this cool study we found is flawed. Help us reproduce it
Neither the prompt nor statistics told anyone it was independent. The prompt just says a 20-sided die, not a fair one.
johnday··on We think this cool study we found is flawed. Help us reproduce it
I'm not sure that counts as "in your head", though. If such things were allowed, just look at your watch and mod the seconds by 6 (or whatever).
johnday··on Cargo sous terrain – Underground cargo train in Switzerland
With no disrespect, there's something quite funny about a freight corridor moving tons of freight every day. In the "there are dozens of us!" way.
johnday··on How to use (or not use) a hyphen
I have some bad news for you about the common words "ebook" and "ecommerce", among others.
johnday··on Show HN: gq – like jq or zq, but you use Go
I'd give it maybe a day and a half before `hq` makes its way onto the front page.

No guesses which language the `h` stands for :)

johnday··on Zq: An easier and faster alternative to jq
Suppose you write a shell script which is intended for use among colleagues as part of a pipeline.

In many cases, the most appropriate and useful tool for the job would be jq - one line in the shell script corresponding to the required data transform, calling out to `jq`, which already has a reasonable user base and documentation, and could be trivially replaced by anyone if the business needs change.

johnday··on Zq: An easier and faster alternative to jq
No kidding!

This part in particular jumped out at me:

> To work around this statelessness, you can wrap a sequence of independent values into an array, iterate over the array, then wrap that result back up into another array so you can pass the entire sequence as a single value downstream to the “next filter”.

This is literally just describing a map. A technique so generally applicable and useful that it's made its way into every modern imperative/procedural programming language I can think of. The idea that this person fails to recognise such a common multiparadigmatic programming idiom doesn't fill me with confidence about the design of zq.

johnday··on Is my advice too mercenary?
> It was invented by a Nazi over 120 years ago

That'd be a good trick, given that there were no Nazis until 1920.

johnday··on Heresy
Because it is the role of a teacher to educate, and it's entirely possible that some children enter the classroom with a set of values incompatible with modern life?

In other words, for the same reason that a teacher should have "a position" on any other civil rights.

johnday··on Heresy
Because it is the role of a teacher to educate, and it's entirely possible that some children enter the classroom with a set of values incompatible with modern life?
johnday··on The world’s most ambitious climate goal is essentially out of reach
If the world's most ambitious climate goal was well within reach, I would suggest we would need more ambitious climate goals.
johnday··on Show HN: Tilepieces – An open source project for visually editing HTML documents
> The "package manager" (https://tilepieces.net/documentation/panels/package-manager....) is not only used for projects, but also to create / load / export components (https://tilepieces.net/documentation/data-structures/compone...), and to set the global properties of the application.

Is there a reason to have that functionality exist in the same view? It feels like the benefit of a window ("panel") based UI is that you can dedicate each group of functions to one window and not need to combine different jobs into the same panel.

johnday··on Show HN: Tilepieces – An open source project for visually editing HTML documents
Well done, seems like a cool project!

A couple of comments right out of the gate on the UX/UI:

- Why is the place where you create and browse projects called the "package manager"? I opened that expecting to find plug-ins or similar. (Might just be a language barrier issue.) "Projects view" or similar would be a better term.

- The window-centric design aesthetic is quite unwelcoming to new users, especially if you have to start by opening some specific subset of the windows. Prefer some automated layouts, and preferably some kind of way to snap windows into panels photoshop-style.

- If you are going to stick with a windows-first aesthetic, it's important that those windows behave as ergonomically as possible. For example, if I click within a window, that window should come to the front if multiple windows overlap.

Best of luck with continued development!

johnday··on Show HN: Flight Penguin – Like Hipmunk, but a browser extension
There's another one when you go to uninstall the application on Chrome - it asks "were you able to subscribe?"
johnday··on Things the CSS spec folks got right
> Why does every site need to guess my preferences for these important properties?

You are more than welcome to create a browser extension which disables all externally rendered CSS. Of course, even the semantic-html-centric would look like garbage, because what is "appropriate" for one site would look absurd on another.

johnday··on Imprisoned for Your Safety
> Any government that puts people on a blacklist for buying over n pounds of fertilizer, peroxide, whatever is a bad government.

Do you think these regulations just sprang up fully formed without reason? Legislation like this is written in the blood of those who came before it.

johnday··on What Color Is Your Monad
I was half expecting by the end that the punchline of WCIYF was going to be either IO (the Haskell data type) or Java's checked exceptions, the latter of which is mentioned in WCIYM.

Before we get to the end of WCIYF, we could freely substitute in async (promises); the possibility of exceptions (Java-style checked exceptions in particular); outside-world interactions (Haskell IO); or anything else.

Of course, what we experience in Haskell and other strongly-typed functional languages is that we colour our functions all the time! Not just red and blue; but sometimes green, or yellow, or a combination of several colours at once!

Why is it so ergonomic in a language designed around this concept? What we see in JavaScript is that having the colours (effectively, the monadic wrappers) isn't enough. We also need tools for abstracting and generalising these notions, so that composition goes from being a syntactic disaster to a semantic convenience.

johnday··on If it were my home
I'm not sure it's "arbitrary" that people living longer is considered an upside.
johnday··on Tell HN: We have a responsibility to speak out against blockchain technologies
The position of web3 is that we should be using "chairs" to run websites.

The infrastructure of crypto is blatantly inappropriate for the domains people are trying to apply it to. Which leaves open the question, why are they pushing for it?

The answer should be clear to anyone with a passing knowledge of the crypto scene.

johnday··on Tell HN: We have a responsibility to speak out against blockchain technologies
The OP doesn't say complain to crypto users. It says that we need to inform the general public so that they are immunised against the draw of these schemes.
johnday··on BBC licence fee to be abolished in 2027 and funding frozen
Sure, but there's a meaningful difference between "left leaning" and "left biased", is there not?

It seems entirely possible for a person sympathetic to the left to create content which is unbiased, or even biased in the other direction, based on external pressures.

The claim made wasn't that most journalists lean left, which may or may not be true (I think your assessment is probably a decent first approximation); but that "most media and journalists have a left bias", which is so far from being true in the UK that I suspect that GGP may not be arguing with facts in mind.

johnday··on BBC licence fee to be abolished in 2027 and funding frozen
This is not feasible. In the UK we have Freeview [1], a free-to-access television platform which manages ~all terrestrial output.

The BBC administrates this system along with the other major broadcasters (ITV, C4, ...).

If the BBC did not put out its own output under Freeview, not only would Freeview collapse but the BBC would effectively be wiped off the face of British television.

[1] https://en.wikipedia.org/wiki/Freeview_(UK)

johnday··on BBC licence fee to be abolished in 2027 and funding frozen
This is not the first occurrence of a scandal from this government; and it's not the first time that they have thrown out as many back-burner ideas as possible in the rush to replace the headlines with something more palatable.

In a notable previous instance, the prime minister's wife announced her pregnancy in the hours following a scandal breaking. Months later, they announced the birth of the child shortly after another scandal broke out.

Hence this fairly amusing parody tweet:

https://twitter.com/BorisJohnson_MP/status/14808339950216929...

johnday··on BBC licence fee to be abolished in 2027 and funding frozen
Jobs at the BBC are often seen as having more value than pure pay, because of two related factors:

(1) The BBC is a British institution and supporting it is seen as a worthwhile act. The same effect is what keeps teachers' and nurses' pay artificially low;

(2) Jobs at the BBC have historically been seen as "for life", because of the entity's perceived stability.

I'll be interested to see what happens to both of those factors over the next decade.

johnday··on BBC licence fee to be abolished in 2027 and funding frozen
> Media and journalists mostly have a left bias

This is an astonishing comment. Can you justify it?

johnday··on Ask HN: What do you think of the Wordle guy not monetizing it?
> Flappy Bird had no such problem

Flappy bird was free on release.

johnday··on Humble subscription service is dumping Mac, Linux access in 18 days
Steam Link is a bit more general than that - it also includes the mechanism that Steam uses to stream games to NVIDIA Shield, mobile phones, and between computers.

But the parent did indeed mean the Deck.

← PreviousPage 4 of 17Next →