HNHacker News
TopNewBestAskShowJobs

johnday

1,394 karma · joined March 22, 2014

submissionscomments
johnday··on Improving Software ‘Numbers’
From the (extremely readable) Haskell Report, §6.4:

> The results of exceptional conditions (such as overflow or underflow) on the fixed-precision numeric types are undefined; an implementation may choose error (⊥, semantically), a truncated value, or a special value such as infinity, indefinite, etc.

So you're right, it's a choice made by GHC. Indeed, by the Report, it would be legal for a Haskell implementation to simply refuse to answer, and never return a value.

johnday··on HTTPS Everywhere to Be Deprecated
Nothing visibly broke - in particular, Steam seems to chug along just fine in the absence of its own checks.
johnday··on HTTPS Everywhere to Be Deprecated
One thing I have recently tried out is to prevent all outbound traffic headed towards a port 80. This doesn't necessarily block all HTTP traffic but it blocks any standard http setup.

My expectation was that this would break a lot of the web and a lot of peripheral desktop applications, which I thought would phone home via port 80 to ask for updates and so on. In fact, almost nothing broke at all! So I've kept that turned on. Can recommend doing this if anyone wants peace of mind.

It's very easy to set up with the Windows firewall. Not so sure about other firewalls. (Note the difference between "block outbound traffic on port 80" and "block all traffic destined to port 80 on the remote machine" - I did the latter)

johnday··on Existential Comfort Without God
> you are ready to deny your own conscious experience of reality

No, I just don't agree that it qualifies as truth.

johnday··on Ask HN: I hate vertical scrolling. How can I paginate the web?
Use the page-down key?
johnday··on Existential Comfort Without God
> deep down we are keenly aware that it is not.

I'm afraid I disagree with that.

> Yet, if you are like most people, you know for a fact this is not true

Likewise, I do not know for a fact that it is not true. I'm not sure that 'fact' even makes sense in that context.

johnday··on Existential Comfort Without God
That's a response, but it's certainly not an answer to the question that was asked. Unless your suggestion is that it's because people are acting illogically, and there is in fact no reason to ask the question in the first place?
johnday··on Spy tech that followed kids home for remote learning
Not to register an account, but any video flagged as any kind of explicit, suggestive or problematic content requires age verification. There was some flack recently as YouTube was requiring age verification for LGBT+ support videos.
johnday··on Pieces of Shit
This isn't referring to housing. Rent-seeking is a broader term related to charging people for something that they have no reason to pay for and no ability to avoid.

I see why the confusion arose though, "actual" housing is also mentioned in the article in a different context.

johnday··on For the first time in history, St Andrews outranks Oxbridge
To be precise, colleges are usually sixth-form colleges for 16-18 year olds.
johnday··on Amtrak might add more routes, but they won't be faster than a car
> We're not more than 5-10 years away from a time where travelling by car could mean sleeping (or working on a laptop) in the back seat until the end of the trip is possible.

There is no reason to think that this is true beyond marketing and sheer optimism.

johnday··on Z3 approach to discover that “q_rsqrt” is in Copilot's slur list
Reminds me of the old joke "He was imprisoned for 12 years for killing his wife, but let out early for not doing it since".
johnday··on Wikipedia Is Trying to Transcend the Limits of Human Language
I was using the singular example from the parent comment. If it would convince you more, I will provide others - though I'm sure you could think of some yourself, if the mood took you.
johnday··on Wikipedia Is Trying to Transcend the Limits of Human Language
The point is that "mayors of San Fransisco" does not have a single answer, and therefore any answer WikiData provides will be glossing over a mountain of nuance and important distinctions in terminology.

The same is true of a million million different individual and aggregated data points all across WikiData.

johnday··on CSS Nesting Module
It still does what you want! This is an issue of syntax, not semantics.

Avoiding unbounded lookahead is not "premature" optimisation - if introduced, it would never be possible to remove due to the algorithmic complexity involved.

johnday··on Windows 11 available on October 5
The taskbar for me is the thing which makes Windows 11 completely ruinous:

1. No drag and drop support, so you need to drag + alt-tab in order to find the right window to dnd into.

2. Windows in the same program always collapse into the same item, with no option to have them split out. To find the one you want, you have to use the flyout previews, which do not have titles. Clicking the taskbar button itself nondeterministically chooses which window to open.

3. No text on the taskbar. Got two programs with similar icons? Tough.

4. The Start button is now completely useless once the crapware is removed. Clicking into the start menu's search bar actually switches you to a different, more useful menu (the search menu). There is no way to make the search menu the default.

5. The default menu size is enormous, taking up about 8% of screen retail for the sake of 5 or 6 buttons. Had to resort to registry hacks to get it down to a usable scale.

Those are just a few of the things that I stumble over daily, after about 6 weeks of using Windows 11. Windows 11 is NOT ready for general release and they seem to be actively punishing power users by removing the features they need in favour of "simplifying" the surface-level.

johnday··on The PineNote is an e-ink notebook that runs Linux
If you had read the sibling comment to your own posted four hours previous, you would have seen that that will also be true of the Pine Note on general release.
johnday··on The PineNote is an e-ink notebook that runs Linux
> $400 might be cheap compared to, say, a remarkable2

A reMarkable 2 costs $399 brand new, so I'm not sure what you're on about.

johnday··on EU to make Bitcoin traceable, ban anonymous crypto wallets
The value of MXN is going down relative to BTC and to USD at the same time. There is no arbitrage opportunity, beyond the obvious slow drip of money moving between the two and maintaining this balance.
johnday··on Where the Gay Things Are
I find this article to be extremely concerning. It paints "mainstream gay and lesbian culture" as mercenary, regressive and right-wing. The thesis seems to be supported by naming a few particular wealthy individuals who are themselves gay/lesbian - I hope I don't need to tell readers here that this does not constitute a defence, so much as an attack. Indeed the entire article seems to be positioned as if every fault that America currently has is down to the people who supported and fought for gay marriage.

I hope that the editorial team at Current Affairs are not under the impression that supporting free speech is akin to printing anything that anyone wants to say - in this case such an outpouring of vitriolic unkindness and bigotry might have been better confined to the dustbin.

johnday··on Framework Patterns (2019)
I agree - the author's use of "framework" here betrays the article a bit, and "inversion of control" is a much more accurate portrayal of what they're actually getting at. Of course this is a natural side-effect of what happens when terms are born without proper definitions.

It's almost as if the author has defined "blue" as "any RGB colour where B>0", and then their first example is magenta. Yes, it's a nebulously defined concept (both "blue" and "framework"!), but this means that trying to impose a rigid definition on top is bound to fail.

johnday··on Framework Patterns (2019)
I have to say, any definition of "framework" that claims the general concept of higher-order functions is a subset of frameworks, does not seem particularly useful in the day-to-day.

In this case, `map` is given as an example of a micro-framework. While it does illustrate the author's point, I think all it does is showcase that the separation really isn't as clean as they want it to be, and it undermines rather than reinforces their philosophy.

johnday··on Microsoft confirms taskbar in Windows 11 no longer supports drag and drop
> The Windows 11 Taskbar sounds pretty bad from your description.

Alas, it is.

There's a short thread on Twitter about it here: https://twitter.com/dixonary_/status/1409852434609020933?s=2...

johnday··on Microsoft confirms taskbar in Windows 11 no longer supports drag and drop
The person you're responding to has changed the defaults.

For what it's worth, Windows 11 supports none of these things, which is incredibly frustrating. I have the icons set small, which is good because the taskbar is smaller - but you cannot have two rows, nor can you have titlebar text available on the buttons "long-form style" as was an option in Windows 10.

Additionally, there is no way to ungroup items like Win10 had, so you have only one button per application rather than per window, as I would prefer.

johnday··on Ask HN: Did anybody apply for UK Global Talent visa? How did it go?
> Julian Assange would disagree with that.

For all that he has suffered, I'm not sure he would. The bar is low.

> It is cheap, but it sure isn't as effective as private healthcare.

The UK also has private healthcare.

> The taxes are very high, the public services you get back are shoddy, certainly shoddier than what you'd be able to afford with your job in the US.

The taxes are quite high; the public services are certainly not shoddier than you can find in most cities in the US.

> The US is the obvious one, but even working remotely from most central or eastern European countries is going to be a better experience and lifestyle than the UK.

It depends what you value (personally I would like to be around people who speak the same langauge, for a start); and as I qualified in my post, whether you are part of any social minorities.

johnday··on Tesla’s ‘Full Self-Driving’ Beta Software Used on Public Roads Lacks Safeguards
Ah, but you can lose your car much quicker than that, if you make an error in driving.
johnday··on Ask HN: Did anybody apply for UK Global Talent visa? How did it go?
The UK has a favourable human rights record compared to almost everywhere else in the world. It is a significantly better place to live than most countries on earth if you are in any minority category.

Civil amenities are also significantly improved, as well as one of the most effective (physical) and cheapest health care services.

For all the crap it has received over the last decade, much of it justified, it is still an excellent place to be.

johnday··on Ask HN: Did anybody apply for UK Global Talent visa? How did it go?
It's current $1.37, which isn't too bad. Depending on how the next couple of years go, it may go either way. Sadly (for me), I think it's going to head towards $1 rather than $2.
johnday··on Is This Prime?
The prime numbers are critical in cryptography. Almost all of our current digital security infrastructure is based on the concept of multiplying large numbers together modulo suitably big prime numbers.

Any major step towards understanding them (such as a closed-form equation for primes) would have major mathematical knock-on effects which may or may not undermine these methods, or provide us with a basis for even stronger cryptographic mechanisms to make use of in the future.

johnday··on Elm Compiler Written in Elm
Perhaps what we need is a dialect which compiles to typescript and supports (or better, enforces) the immutability you suggest.
← PreviousPage 6 of 17Next →