Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ChrisSD
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
96 ms
·
931.
▲
The Typestate Pattern in Rust
(cliffle.com)
1 points
by
ChrisSD
7y ago
|
1 comments
932.
▲
by
ChrisSD
7y ago
Most people are not cops either. Most cultures (aside from some sometimes vocal subcultures) do appear to consider their abuses unwanted anomalous behaviour.
933.
▲
by
ChrisSD
7y ago
I'm unsure what your point is? You can make the same claims about criminals and indeed many people people do. Criminals are in fact normal people.
934.
▲
by
ChrisSD
7y ago
If the wind falls below 2.5 m/s across the entirety of Britain's coast... that would be an unusual event to say the least. But in the incredibly unlikely event that happens, the UK can buy electricity from the continent (and vice
935.
▲
by
ChrisSD
7y ago
I think this just goes to show how ridiculously expensive Nuclear is to build in the first place, even before the ongoing costs, waste disposal, decommissioning, etc. The deal took over a decade and not only includes upfront costs but also
936.
▲
by
ChrisSD
7y ago
> Or at least if it's a bug, it's a bug in the HTML spec. Then again the HTML5 spec is based on what browsers already did, bugs included. Whether or not it's desirable behaviour or a bug is a moot point now. HTML is the wa
937.
▲
by
ChrisSD
7y ago
The issue I have with Powershell is it's full on objected oriented. Personally I'd like something in between. Structured data where the "methods" are the utilities themselves.
938.
▲
by
ChrisSD
7y ago
It's the BBC News web style to have relatively simple sentences, and each paragraph be made up of one sentence. The sentences do often become more complex further down an article. Partly this was done so as to be readable on the old Ce
939.
▲
by
ChrisSD
7y ago
In python a dictionary key can be any `hashable` object. In practice this means almost any immutable type can be used (e.g. unicode strings, bytes, tuples, etc). However, unicode strings are by far the most common dictionary key and the cor
940.
▲
by
ChrisSD
7y ago
The reason options are often shunned is that they exponentially increase the complexity. Every option needs to work with every other combination of options. Testing this can be very time consuming especially if it doesn't lend itself t
941.
▲
by
ChrisSD
7y ago
As mentioned on another thread, the UK enforces such an API for the largest banks (it's voluntary for the others at the moment) https://www.openbanking.org.uk/ This is part of a wider "challenger bank" initia
942.
▲
by
ChrisSD
7y ago
Huh, last time I hit a cloudflare website on Tor it directed me to https://www.google.com/recaptcha/api/fallback?k=.. . Perhaps that's just a cloudflare thing.
943.
▲
by
ChrisSD
7y ago
Is that not because Firefox currently pays for itself (via Google search revenue)? If the idea is to change that equation, there's surely no reason why money couldn't flow the other way?
944.
▲
by
ChrisSD
7y ago
reCaptcha has a noscript alternative with iframes and checkboxes. Once completed you have to manually copy an authorisation string to a field and submit it.
945.
▲
by
ChrisSD
7y ago
That would be weird considering they accept donations on behalf of thunderbird https://donate.mozilla.org/en-US/thunderbird/
946.
▲
by
ChrisSD
7y ago
Well if HN users do want to try to lessen that percentage here's the donation page: https://donate.mozilla.org/
947.
▲
by
ChrisSD
7y ago
The irony is they tried diversifying their income. But people don't want their browser to ask for donations (that's nagging). They don't want their new tab page pre-populated with websites on a new install (even if their brow
948.
▲
by
ChrisSD
7y ago
Oh I see. UTF-16 is the preferred encoding for all new applications: https://docs.microsoft.com/en-us/windows/desktop/intl/unicod... Basically, in Windows land, unicode means UTF-16 unless code pages are
949.
▲
by
ChrisSD
7y ago
https://docs.microsoft.com/en-us/windows/desktop/FileIO/nami... > the file system treats path and file names as an opaque sequence of WCHARs. In essence I think you should use UTF-16 encoded strings w
950.
▲
by
ChrisSD
7y ago
Windows is tricky. You can't have certain names like "con" (or "con.txt", "con.png", etc) and some symbols aren't allowed either, like *, ?, etc. Also names can't end with a dot. Other than some
951.
▲
by
ChrisSD
7y ago
> One issue to consider is that strings typically feature random access indexing of code points True but I find it's much rarer to actually need random access to arbitrary code points. Most of the time I either use strings as opaque
952.
▲
by
ChrisSD
7y ago
On an article titled "Plaid Launches in the UK" I would assume the most relevant territory is "the UK". But if instead the question is "what's the alternative" the answer is "government intervention&q
953.
▲
by
ChrisSD
7y ago
Yes this link was not what I initially expected. My first thought was that Plaid Cymru was expanding to the whole of the UK, not just Wales.
954.
▲
by
ChrisSD
7y ago
https://blog.plaid.com/aisp/ They are PSD2 compliant which means they're using the Open Banking API I linked to in my other comment.
955.
▲
by
ChrisSD
7y ago
Have you read about https://www.openbanking.org.uk/ The nine largest banks and building societies are required to participate. Many others do so voluntarily.
956.
▲
by
ChrisSD
7y ago
The difference is this time lessons have been learned. Browser vendors are now actively working together. The HTML5 project has done a great job in collecting and codifying real world behaviour. No browser will ever implement the current sp
957.
▲
by
ChrisSD
7y ago
Sure. IMHO one solution might be to have a HTML standard specification that is stable, which can then be built on. Extensions can be proposed so long as they don't break the standard. This would allow new elements and attributes to be
958.
▲
by
ChrisSD
7y ago
Sure but that's a different issue. It's not the fault of the standard if a major browser doesn't implement it. In practice I was using display table in some designs in the mid 00's but also using conditional stylesheets
959.
▲
by
ChrisSD
7y ago
Ooph yes. I had forgotten how they were rewriting HTML essentially from scratch and this time basing it on XML. In fairness, it wasn't a completely dumb idea as HTML had picked up a lot of warts from its long history and anyway almost
960.
▲
by
ChrisSD
7y ago
`display: table` has been around since around 2001/02, for exactly that reason. However IE didn't support it until IE8.
More ›