HNHacker News
TopNewBestAskShowJobs

johnday

1,394 karma · joined March 22, 2014

submissionscomments
johnday··on Z3 – ZFS to S3 Backup/Restore Tool
Slightly unfortunate name - z3 is the name of a widely-used theorem prover written at Microsoft.
johnday··on Clio: A functional, distributed programming language that compiles to JavaScript
The reason `fib` is a useful benchmark here is not because `fib` is an inherently parallel problem, but because the functionality is obvious and it's easy to parallelise.

Computing fib with memoisation from 1 will certainly be faster than (parallel) recursion without memoisation and data sharing.

johnday··on I self-published a paperback and eBook using LaTeX and Pandoc
A word alone on its line is also often referred to as orphaned.
johnday··on Shops return to rural Sweden but are now staff-free
> Just want to point out that the same people who say "sorry if you don't have a phone you can't shop" are probably the same who claim requiring ID to vote is "voter disenfranchisement" and that disabled people should have special exceptions made for them.

What makes you think that those are the same people? At first blush it seems like people in favour of easier access to vote and easier access for the disabled would be the same people that advocate for more inclusive access to shops.

johnday··on Conversations almost never end when both parties want them to: study
Having had autistic friends for almost my whole life, I learned that it is useful and appropriate to be direct. For example, I have many times said "I'm going to go now" or something to that effect, because it's possible to recognise that conversations do not always have a natural end.
johnday··on How an Anti-TypeScript “JavaScript developer” like me became a TypeScript fan
If anything, TS is a concretion of JS rather than an abstraction over it.

When you write TS, you are (literally) writing JS, except that you are also writing miniature contracts (types) which are shared between components of the system and between authors of the code. This helps to ensure that the JS everyone is writing is mutually compatible, and that pieces of JS that should fit together actually do.

The idea that something's not part of the web stack if you can't throw it at a browser seems a bit weak; especially as, in this case, you can throw a subset of what you write at a browser and have it perform as intended.

johnday··on Nvidia Limits RTX 3060 Hash Rate
This may look true from the perspective of a single sale, but in the long term this just doesn't hold up. NVIDIA builds a strong and long-held reputation with gamers, and are a well renowned name in the field. If they made cards for miners at the detriment of gamers, they risk losing that valuable market position.
johnday··on Metallica's BlizzCon Performance Ruined by Twitch
You may have missed the joke.
johnday··on Haxe 4.2
I have been working with Haxe for over a decade now and the language has really gone from strength to strength in its community and in enterprise use. It's always gratifying to see it appear again, and I know Gama11 (OP) (and many others) have been putting in a lot of legwork for a long time.
johnday··on Sea Levels Are Rising Faster Than Most Pessimistic Forecasts
Human beings have a standard operating temperature, and the higher the temperature rises across the world, the more people will now be born into unliveable temperatures.

We in Canada or the United Kingdom might not notice, but I'm pretty sure those in Texas or Nigeria will.

johnday··on Choosing Haskell isn’t a stand-in for good software design
I've frequented the occasional Haskell discussion on HN and the outcome is usually people refuting this point and not arguing in favour of it.
johnday··on Choosing Haskell isn’t a stand-in for good software design
There is nothing nonobvious here.

I wonder if the author has anyone heard someone make the reverse claim.

johnday··on Haskell is our first choice for building production software systems
A database connection would operate either in IO (the generic "i am now talking to an unreliable outside world") monad, or some more specific monad.

In this case you can think of a monad a bit like a computational context. If one is not present, you simply cannot[^1] instruct a Haskell program to perform those operations in a type safe way even if you give it a valid database connection identifier.

[1] Well, you can, but if you do you're explicitly taking away all the safeguards that Haskell introduces, and it would never pass code review.

johnday··on Why Clojure? (2018)
Agreed! Asking which language is "better" is a fool's errand. But talking about specific upsides, especially in comparison with other languages, is a useful reductivist tool in determining how we can improve the story for each language.
johnday··on Why Clojure? (2018)
Really nice insight, thank you! Clojure has always been a bit of a mystery to me, so this is interesting to read.

- REPL ergonomics, where every action I could think of makes sense as a REPL command, leading to very small incremental pieces.

This is the only point I would dispute. The GHC interpreter `ghci` is very powerful and offers a lot of the same upsides. Beyond this, the language server offers in-code evaluation with "-- >>> expression" syntax, which is a cool new step towards fast looping UX. Clojure is certainly great at this, but I'd say Haskell is not far behind.

johnday··on Why Clojure? (2018)
The GHC compiles Haskell either directly to assembly or via LLVM. There is a GHCJS project, which works fine, but personally I've not used it. There's not much of a story in terms of frontend Haskell.

On the other hand, there are two "child" languages of Haskell for the job: Elm, which is a frontend-focused language, and PureScript, which compiles to JS and is designed for that use case.

johnday··on Why Clojure? (2018)
Yeah, that makes sense. If the killer app is JVM interop, nothing but JVM based languages should even be on the table. The "why Clojure?" question just becomes "because Clojure is the best language on the JVM," which is not too interesting of a topic IMO.

Haskell has decent interop with C/C++ languages, but certainly nobody uses haskell because of that.

johnday··on Why Clojure? (2018)
Now I'm somewhat biased, but that complete list of advantages also applies to Haskell. [^1]

In fact, nearly all of the claims made about Clojure here can be made about haskell more strongly.

I've half a mind to do a direct comparison on every point. I'd be interested to hear the author's thoughts on the similarities and differences.

[^1] With the obvious exceptions of s-expressions, java/js interop, and "subjectively good design".

johnday··on Anesthesia works on plants too, and we don’t know why
When it comes to scientific discoveries, "how" and "why" are essentially the same question. Asking "why" usually means "for what purpose" -- and given that "purpose" is not something well defined scientifically, we tend to take it to mean "by what means" instead.
johnday··on Indian Govt proposes to buy bulk subscriptions of all scientific journals
I'm not sure why you're hunting for downsides, but...

It will create a moat between "worthy" and "unworthy" scientific journals - those which the Indian government is willing to support financially and those which it is not. There may also be some risk that Indian government will give preferential treatment to journals that publish more from their own institutions.

johnday··on Brexit deal mentions Netscape browser and Mozilla Mail
For sure, it's not a comforting thought! It simply explains why the world has not yet* fallen to total ruin.
johnday··on Grubhub sets default tip to $0
I think I can safely say that I disagree with both of those claims (speaking as someone who's no fan of capitalism).

Unless by "get rid" you mean "completely eradicate", which is not feasible under any system.

johnday··on Grubhub sets default tip to $0
Capitalism and regulation can coexist.
johnday··on Brexit deal mentions Netscape browser and Mozilla Mail
Laws are interpreted (eventually) by judges, who are given the solemn duty to exercise common sense in their interpretations.

Computers, by contrast, do exactly what they are told and no more.

This is why it takes an engineer to craft a computer program, but a politician can craft a law.

johnday··on 10 KB Club: With links to popular HN, Reddit, Lobsters threads for each website
The question is a symptom, not the cause. It's a reasonable question to ask.
johnday··on Advent of Code 2020
This is correct. I am a PhD student and I know several undergraduates who get up at 5am (or stay up until 5am) to get started on the AoC problems ASAP.

It's very unhealthy.

johnday··on Britain to ban new petrol cars and vans by 2030 on road to net zero emissions
What about houses which are not within walking distance of amenities, and do not have room for off-street parking? That's a large proportion of suburban (or even urban) housing in the UK.
johnday··on Editing the C Standard
LaTeX does report this as a problem, of course - the refrain of "overfull hbox" is near universal (and ignoring the warning is just as universal).

Where it fails is in reporting the problem in a meaningful way. This is, of course, very difficult to accomplish, since there is no nice mapping from line-of-TeX to visual error. What's more, any tool which could provide such an error would be so constrained as to be useless for typesetting.

johnday··on macOS unable to open any non-Apple application
If the only concern is the install process, I would recommend Manjaro. It has its own installer, but you still get the powerful pacman package manager and the Arch repositories which are the most cutting-edge around.
johnday··on Hacking Grindr Accounts with Copy and Paste
In the case of gmail accounts you could simply prepend +grindr or any other name to the user part of the email address to get something (relatively) unguessable.
← PreviousPage 8 of 17Next →