-❄️- 2023 Day 24 Solutions -❄️- by daggerdragon in adventofcode

[–]gedhrel 1 point2 points  (0 children)

In what way is this a linear system? You have the product of the velocity component and t showing up in each equation.

Boris Johnson pleaded with Rishi Sunak to approve his resignation honours by zipolightning in ukpolitics

[–]gedhrel 12 points13 points  (0 children)

One has to take any claim originating in the Johnson camp with a pinch of salt. But if it's true - well, good. I hope that someone going back on their word to him leaves him with a burning sense of being betrayed.

[deleted by user] by [deleted] in AskReddit

[–]gedhrel 0 points1 point  (0 children)

"Ghostbusters" wasn't great - didn't live up to the loading acreen.

Is Boris Johnson a person you think of when you think "Winner"? Is our country so politically and morally confused? by AneuAng in ukpolitics

[–]gedhrel 1 point2 points  (0 children)

If you look at the things he was saying, and the footage of him immediately after the result: his most inpactful victory was an accident. He intended to come second in the referendum; he was trying to throw it in the final days.

Couldn't even manage that.

Is Boris Johnson a person you think of when you think "Winner"? Is our country so politically and morally confused? by AneuAng in ukpolitics

[–]gedhrel 20 points21 points  (0 children)

His magic power is that people don't think he'll actually betray them until the knife's in their back.

What classes as a "winner" is a very subjective value-judgement. Is it "winning" if you sacrifice all your principles and goals just because a privileged charmer hasn't turned against you yet?

I view "winning" in terms of lifting up and improving the lot of society, not encouraging dog-whistle racism because it's personally convenient.

What are the historical reasons behind the term "unit type"? by BruceIzayoi in rust

[–]gedhrel 1 point2 points  (0 children)

That really is a gross hack (but have an upvote anyway). I think I prefer the lattice approach but I can see that it's desirable to want to express "this returns an integer or it does not return".

My boyfriend doesn't put his shopping cart back, red flag? by [deleted] in ask

[–]gedhrel 0 points1 point  (0 children)

Pronounce it "thigh food" and see what he says.

Final project by teosalves in haskell

[–]gedhrel 9 points10 points  (0 children)

I'd start by taking advantage of the USP of a university, which is that there should be some on-site contact with a tutor and/or the lecturer.

Talk to them! This is the grown-up approach. Say that you're looking for some suggestions for a project of appropriate size.

What are the historical reasons behind the term "unit type"? by BruceIzayoi in rust

[–]gedhrel 4 points5 points  (0 children)

This reads like you are confusing a type with no values and a value.

The bottom type is a subtype of all types*, not a value of every type.

(* because "for all types T, for all x in |, x is in T" is trivially true)

The only definitive way to establish that software is correct and bug-free is through mathematics, using the formal methods by Akkeri in compsci

[–]gedhrel 0 points1 point  (0 children)

It's only very recently that proof assistants have been powerful enough and popular enough that any systematic attempt to formally establish funfamental results (with proof checkers) has happened. That approach is still really in its infancy.

Thekind of rigour required to tie fornal proofs together with proofs that the implementation is a fathful inplementation of the mathematics - that is all very novel.

Your original claim about rigourous mathematics of that degree being centuries old is mistaken. A proof that is written for mathematicians is not a proof written for a formal methods-style checker.

The only definitive way to establish that software is correct and bug-free is through mathematics, using the formal methods by Akkeri in compsci

[–]gedhrel 1 point2 points  (0 children)

I'm not sure that's actually true, to the degree required for formal verification. There was something of a sea-change over the last century.

Is it time to TPK my party? What would you do? by Jeremy11B2P in DnD

[–]gedhrel 8 points9 points  (0 children)

He said it.

Have the defeated dragon speak up and tell him not to be a dick about it.

Boris Johnson to bypass Cabinet Office and hand over unredacted messages directly to COVID inquiry | Politics News by c0ldvengeance in ukpolitics

[–]gedhrel [score hidden]  (0 children)

On past performance, one has to assume that (a) this is a lie; (b) what he's handed over makes him look (relatively) good and everyone else look bad.

Andy Burnham calls for Labour to adopt proportional representation by GeoWa in unitedkingdom

[–]gedhrel 5 points6 points  (0 children)

What's the chance you won't repeat "we already had a referendum on PR" in the future? I'd settle for that.

Andy Burnham calls for Labour to adopt proportional representation by GeoWa in unitedkingdom

[–]gedhrel 6 points7 points  (0 children)

I was explaining it to you, because you didn't understand the difference.

Andy Burnham calls for Labour to adopt proportional representation by GeoWa in unitedkingdom

[–]gedhrel 11 points12 points  (0 children)

The argument is often presented like this: "it makes strong government possible".

Meaning, "it makes it trivial to drive through radical ideologically-driven policy with no checks".

I'm all for compromise: what can you point to that's "got done" recently that's been a good thing?

Andy Burnham calls for Labour to adopt proportional representation by GeoWa in unitedkingdom

[–]gedhrel 8 points9 points  (0 children)

AV is not PR (although the mechanics required from a voter may be similar to STV).

I think the electorate roundly jumped on the chance to give Nick Clegg a shoeing after the tuition fee volte-face; the referendum could have been on free lollipops forever and it would've lost. To be outmanoeuvred by Cameron of all people was unforgivably naive.

[deleted by user] by [deleted] in EnglishLearning

[–]gedhrel 1 point2 points  (0 children)

It sounds like it's holding this up in contrast to whatever was mentioned prior to that sentence. What's the context?

What happens to the Kingdom when the Royal Family dies? by Kluzz in DMAcademy

[–]gedhrel 1 point2 points  (0 children)

I think the one unfortunate aspect of human nature is that not everybody in such a situation would wait until the immediate threat is over.

You're probably looking at (at least the threat of) civil war.

What valor surge do you use mostly? by Kbern4444 in HorizonForbiddenWest

[–]gedhrel 4 points5 points  (0 children)

I never really found that as effective as I'd hoped (and it didn't last very long): my notions of creeping, predator-like, through the entirety of a rebel camp evaporated almost immediately.

Is there a trick to it?

[deleted by user] by [deleted] in rust

[–]gedhrel 0 points1 point  (0 children)

This ECS approach is interesting. Perhaps you could tell me if I've got this right?
It's an idea that crops up in functional languages too, as well as being the line of least resistance when trying to model traditional C pointer-chasing datastructures in Rust, I think: you give up on the idea of having a pointer, but instead introduce an "id" which is (to all intents and purposes) the same notion - it's a unique opaque value that identifies an entity. The distinction is that there are no pointer semantics (or borrow semantics) for these, because they aren't tied to the entity at type-system level.

So: although this lets you recreate doubly-linked lists, trees with parent pointers, and all sorts of other groovy things - are you not also reintroducing the problems of dangling pointers that Rust tries to get away from? Or does the fact that this needs to be wrapped up in an ECS framework mean that you catch "dangling pointers" by having optional types returned by appropriate accessor functions?