Better HN
topnewbestaskshowjobs
Log inSign up

tomatocracy

1,576 karma · joined Sep 23, 2014 (12y ago) · 903 submissions

Submissions

comment 2w ago · link · parent

PIV keys can also be forwarded through an agent. The only thing to be aware of is that the agent process will effectively cache your PIN if you do this.

ssh-add -s <pkcs11.so>

To mitigate that you can add -c to the ssh-add command. That will make the agent prompt for confirmation (on the host with the PIV key) every time something asks to use it. Doesn't quite get you the same security as just not caching the PIN to start with but it's OK.

comment 2w ago · link · parent

I don't have a book recommendation but in terms of topics, I would definitely suggest Shamir's secret sharing scheme as a good one to cover. It is pretty accessible mathematically (if you stick to prime finite fields) and "different" enough to the usual conception of a secret code or cipher to make it fun to play around with as well.

comment 2w ago · link · parent

Charity shops actually get pretty decent footfall at least in my experience (but maybe that's just where I live). More than that they have a few structural advantages other than tax breaks which means they are able to compete where traditional retail can't - things like low staffing costs (if they use volunteers), no/very low inventory cost, and they are usually able/willing to sign up to lease terms which more commercial enterprises would either struggle to secure, or would be unable to live with (eg almost no security of tenure).

comment 3w ago · link · parent

Yes - it's much closer to the original novella than the other well known stage/TV/film adaptations and the range Stewart displays (playing more than 30 characters) really does show how good an actor he was. Reportedly it was inspired by Dickens's own readings of the story in the 19th century.

I saw him performing this show when it was revived for a run at the Old Vic in London in 2005 and it was even better seeing it in person. I'm so glad I was able to do that, it's still memorable more than 20 years later.

comment 3w ago · link · parent

I have used contact lenses in the past (though I didn't really like them for everyday use so I just wear glasses now) and/or a camera an optical viewfinder with diopter adjustment, which is sufficient for my long sightedness, but I'm lucky in that the eye I tend to use on the viewfinder is the "better" one as well.

You used to be able to get aftermarket eye pieces to attach the the camera as well which either put more distance between the back of the camera and your head in order to make room for glasses, or (more rarely) had or could accept additional correction lenses.

I'm not sure if those are a thing still for the newest cameras though - the move towards EVFs make it even more of a niche item.

comment 1mo ago · link · parent

The "fish disco" for the Hinckley Point C nuclear power project is also real and cost millions.

https://en.wikipedia.org/wiki/Fish_Disco

comment 1mo ago · link · parent

That is partly true but it's a downstream consequence of the ultimate cause. Those running and pushing the project in the early stages desperately wanted it to be a 400+kph route for "prestige" reasons.

If they hadn't been so focused on that, they could have built the new rails largely alongside the existing West Coast Main Line which would have been quicker, cheaper and much less controversial.

But because they wanted those very high speeds, the route had to be flatter and straighter than the existing WCML, which means many more tunnels, longer and more complex construction, more people objecting, inconvenienced etc and ultimately much more cost however you look at it.

comment 1mo ago · link · parent

That's a different question though. It's in society's interest to ensure couples (or at the least couples who have children) are compatible enough long-term to not end up divorcing/separating.

The societal costs otherwise aren't just the obvious direct costs - there are other things like (in divorces where there are children involved) negative effects on labour force mobility.

comment 2mo ago · link · parent

Worth being aware that one of the potential problems with flooding (at least in the UK) is that it often leads to waste pipes or sewers becoming blocked and/or sewage mixing with flood water. This can still make replacing the building the most economic recovery option even if it's structurally fine.

comment 3mo ago · link · parent

Both the US and the Soviet Union actually experimented with "nuclear fracking" in oil/gas fields. The Soviet Union also used atomic bombs to put out fires in gas fields as late as 1981.

comment 4mo ago · link · parent

Yes, I do something similar (with Amazon SES in my case) but only for domains I know are problematic (Microsoft-hosted domains are the main difficulty - I've never had issues with eg Gmail).

comment 4mo ago · link · parent

That's (mostly) true for "primary legislation" (Acts of Parliament) but "secondary legislation" (regulations, orders, rules and so on) can be challenged and potentially overturned/similar in the courts. This partly reflects the fact that secondary legislation usually receives significantly less parliamentary scrutiny (and in some cases none at all). The legal challenge which Wikimedia brought here was to secondary legislation - regulations made under the OSA by Ofcom - not to the OSA itself.

comment 4mo ago · link · parent

Maybe it's a cultural difference but I remember before smartphones on the tube in London as well and noone talked to each other during the morning/evening commute.

I think the biggest difference is actually the lack of newspapers now. Plenty of people were plugged into headphones via iPod/Walkman/whatever was era appropriate. The people who stare at their phones today were staring at newspapers in the pre smartphone era.

comment 8mo ago · link · parent

The idea is that some of the current hereditary peers will be given new life peerages under existing rules which would enable them to stay in the chamber. Granting new life peerages is mostly within the gift of the Prime Minister (although there are committees which vet appointments and conventions about allowing opposition parties to nominate some), so this is not part of the legislation but a back-room deal by which the votes were secured by the government.

comment 8mo ago · link · parent

"Important" is quite a high bar in this case though if the House of Lords is insistent enough to actually vote something down. The cost in terms of parliamentary time for the government these days of using the Parliament Acts is very high (especially for things which government would normally do via secondary legislation), and it also requires at least a one year delay; by extension the potential political cost to the government of using the Parliament Acts to pass something unpopular or controversial is set at a high enough bar that it's an effective veto.

This feels like quite a sensible safety valve to me.

comment 8mo ago · link · parent

The thing is, the reason for the delays and inefficiencies is not really juries. It's mostly much more mundane things like the prison service not sending defendants to court at the right time, translators not turning up when they are supposed to, buildings which are falling apart, technology not working properly, and court time being double-booked. It's an administrative failure, not a problem with the system.

Alongside removing the right to trial by jury, perhaps more alarmingly the government are also planning to remove appeal rights from "minor" cases (from magistrates to the Crown Court). The current statistics are that more than 40% of those appeals are upheld.

The planned changes won't fix any of these things, but it will cause fundamental damage to trust in the system and result in many miscarriages of justice.

comment 10mo ago · link · parent

This is exactly how it works in the UK for purchases worth £135 or less which are shipped directly from outside the UK. The retailer has to charge UK VAT as if it were a domestic sale at the point of sale, and there is then nothing to pay at customs so no hold-up for that. It's only consignments worth over £135 where it ends up being stopped for payment at import.

On top of that, Amazon and other large online retailers also have a huge distribution and warehouse network domestically in the UK already so for higher value items mostly they import themselves to their warehouses before sale and then sales are purely domestic.

comment 11mo ago · link · parent

The partial closure of parts of the criminal justice system during COVID led to a backlog which in turn appears to have pushed the system to a point it has been unable to properly recover from - there are some very interesting statistics here [0].

As to why that is - the explanations I've seen generally feature incompetence amongst various parts of the system and a degree of underfunding (or perhaps poorly managed funding) - including the fact that there is a shortage of criminal barristers due to poor pay. Juries themselves don't seem to be cited as a huge problem.

0. https://www.gov.uk/government/collections/criminal-court-sta...

comment 1y ago · link · parent

Driving too fast for the conditions (but within the limit) would usually be considered Driving without Due Care and Attention even if you don't crash (although the likelihood of anyone being around to enforce it on a deserted country road is pretty low).

comment 1y ago · link · parent

The slide feeder is good but it's worth being aware that if you have slides mounted on cardboard (I had a lot of old family photos like this I used it for) it will often grab a couple at once. You can fix that by clipping eg a driver's licence in the right place to narrow the gap it pulls the slides through, but it will still need some manual supervision.

If you get one, have a look at VueScan on the software side - the original software needs (I think) a Windows XP virtual machine to drive it.

comment 1y ago · link · parent

All businesses used to get votes in local elections in England and Wales (by virtue of being ratepayers) and boroughs/cities had separate Aldermen and (Common) Councilmen. The City of London (ie the square mile, not the metropolis) retained the old system when it was abolished elsewhere (in favour of only residents voting and a single type of councillor) because the number of residents in the City then was absolutely tiny by comparison to the number of people who use the City daily (after much of the residential population left, partly due to war damage during WW2).

What changed more recently was the allocation of which individual people get to exercise those votes - "business votes" became "workers votes".

The election of the Lord Mayor and the Sheriffs is separate though. This is still done at Common Hall (and the franchise is still Liverymen), but that election is very very rarely contested.

comment 1y ago · link · parent

Not sure but I think I read a while ago that they were removed due to unreliability (it's a while since I've been there myself).

It was very clever how they did the acceleration/deceleration - the "tiles" of the walkway fit together in such a way that each could slide on top of the next one, and at the two ends the tiles would gradually slide closer together (decelerating) or further apart (accelerating).

comment 1y ago · link · parent

At least some of the problem is the level of costs which are spent on admin activities instead of teaching (research is supposed to be separately funded although in reality it's messy). That's where I'd start.

comment 1y ago · link · parent

> To work legally currently you need an NI number

More than this, employers are already required to verify right to work when they employ someone, either by physically seeing a passport or by means of an existing government system which allows them to verify visa status with an online "share code". They can be fined if they don't.

There's zero reason to believe employers which currently ignore this requirement (and likely minimum wage etc as well) will suddenly start complying because there's a "digital ID" instead.

comment 1y ago · link · parent

The physical card is sufficient to prove you have permission to drive. This code is for them to check how many points you have on your licence and what for. There used to be a paper counterpart to the card which showed this which they withdrew a few years ago.

In reality I've never been asked for the code when renting cars (outside the UK), the physical card seems to generally be sufficient for the hire companies.

comment 1y ago · link · parent

I think you've missed a big part of maths - yes knowing those things is necessary. But then you also need to be able to see how a difficult or complex problem could be restated or broken down in a different way which lets you use those techniques. Sometimes this is something as trivial as using the right notation or coordinates, sometimes it's much more involved.

comment 1y ago · link · parent

Solar has this problem to a much greater extent though. If you have a market where solar is >100% of demand during the day then it will be dispatching at or below $0/MWh for almost all of its life.

But of course the marginal market is not the whole story. In reality solar largely receives effectively fixed prices in most markets (via CfDs or PPAs). Nuclear does the same and can also take capacity payments and sell into flexibility markets where those exist.

comment 1y ago · link · parent

The article doesn't really explain what the lawsuit was over. It's about rules for private sector investment fund reporting. What the court ruled on is whether nuclear (and gas) can be classified as "sustainable investments" under the "EU taxonomy" rules[0].

This may mean that more private investment capital will end up in nuclear power, although my guess is that the impact of the EU taxonomy in driving investment decisions on this type of thing is likely quite small (I suspect the few funds which are out there which have hard requirements around EU taxonomy likely wouldn't invest in nuclear anyway).

0. https://en.wikipedia.org/wiki/EU_taxonomy_for_sustainable_ac...

comment 1y ago · link · parent

Run-of-the-river hydro in all but a handful of sites tends to be quite dependent on rainfall levels. This means production levels can vary quite meaningfully both seasonally and more importantly year-to-year.

It's definitely reliable in the sense that hydro stations can basically last forever if properly maintained (there are plenty of hydro stations operating today which are more than 100 years old) but it's not quite a silver bullet.

12345
31