davidagain

joined 2 years ago
[–] davidagain@lemmy.world 2 points 3 hours ago (1 children)

And the US has demonstrated time and time again that it has the manpower and the infrastructure to rebound quickly under strong, competent leadership.

A lot of the manpower has been sacked. Replacing those people and getting them to a point of strong competency will take years and years and a lot of money.

[–] davidagain@lemmy.world 2 points 3 hours ago* (last edited 3 hours ago)

Did Biden ever have a majority in both houses? I know Obama had it for the first two years and that's how he got Obamacare through. Neither of them had SCOTUS stacked in their favour and ruling them immune from their own intervention.

[–] davidagain@lemmy.world 2 points 3 hours ago

Biden wasn't typically referred to as a progressive.

[–] davidagain@lemmy.world 3 points 8 hours ago (1 children)

It's just links to imgur at this end.

[–] davidagain@lemmy.world 1 points 9 hours ago

It will never cease to amaze me how much even ostensibly left wing Americans give the Republicans a free pass to be as awful as they like and not get criticised at all.

[–] davidagain@lemmy.world 1 points 9 hours ago

No, they blocked the UK because they we threatened with a fine for selling children's browsing habits (that they themselves had tagged as children). Rather than simply filter out the children they geoblocked the whole country. This was before the porn registration legislation came into effect, but they like people to think it's that because that sounds like they're heroes rather than creeps. Imgur corporate thanks you for continuing to spread this disinformation.

[–] davidagain@lemmy.world 2 points 9 hours ago (3 children)

"Content not available in your region". Do you have an open access link from something less corporate?

[–] davidagain@lemmy.world 2 points 1 day ago* (last edited 1 day ago)

elm is easily the loveliest programming language of any paradigm I've ever come across. Imagine if you enjoyed maintaining an old codebase, or that five years later adding a new feature wouldn't take you half a day to get your had round the insane tangled spaghetti of your project, because the spaghetti and the meatballs and the sauce were always kept separate until cooked and served on the dish by the compiler. You find the spaghetti straight and in bundles because that's how you like them laid out and no one tried to get you to soften them in the warm sauce and thread them through the raw meatballs. Imagine if the compiler did your whole project in about three to five seconds, and was genuinely helpful when something is going to bite you later.

Get your monad burritos here: https://byorgey.wordpress.com/2009/01/12/abstraction-intuition-and-the-monad-tutorial-fallacy/

[–] davidagain@lemmy.world -1 points 1 day ago* (last edited 1 day ago) (2 children)

I've been through phases when I could explain it, and in far simpler terms, less jargony, than endofunctors

A monad is when you can do shit and return stuff. There are two things you can do in absolutely every doShitAndReturnStuff:

  1. andThen, also known as ; in less flexible languages and >>= in more esoteric languages.
  2. And return also known as
    function ret(const a)
    { ret = a
    } in other languages.

There are two rules:

  1. (a then b) then c = a then (b then c), which sounds obvious, but I skipped a couple of values being passed (I'm using the kleisli category), and it can actually go wrong, which means that if you don't have a monad but behave like you do, all sorts of subtle and very hard indeed to debug errors can sneak in. See "software complexity problem" for details.
  2. ret then somethingrother = somethingorother = somethingorother then ret, which would seem obvious to you if you spotted that ret does nothing, but for fun, it turns out that in a language with a sufficiently advanced/flexible/accurate type system (eg Hindley-Milner stuff), of you manage 2 you get 1 for free, which is totally awesome.

"But what's the point?" I hear all the Python devs say "We already got rid of the curly brackets. What more do you want?" (Which starts a flame war with the C syntax folk while the elm programmers shake their head and wonder why anyone is manually formatting their code whether it's with curly braces or not in 2026).

Well, the point, my dear internet Lunatics that have persisted with this fairly unhelpful and daft re-expression of monads, the point is: what if you could redefine ; locally to totally rewire your programming language and everyone was used to that and understood what you were doing from context? Yesterday it was making database requests, but today it's answering queries on a server. Or authenticating users from the other side of the globe. Maybe now it's a recursive descent parser or a non-deterministic, expanding list of possible future moves in a game.

It's totally awesome and powerful and you just don't know that you're missing it because you have no idea unless you already know, but that's not really helping anyone that doesn't already understand monads, sorry. Not that this was a plausible attempt at that. It's more just a bit of humour if you already came across monads. Famously a monad is like a burrito more than anything else.

But unfortunately there are also monad transformer stacks. And... ..operator soup for lenses and prisms. And trust me, you don't want to go there, you really, really don't. Just don't go there, I'm telling you, don't. DID YOU LIKE BEING SANE? I WARNED YOU, REMEMBER.

[–] davidagain@lemmy.world 4 points 2 days ago

Actually, you're right.

[–] davidagain@lemmy.world 7 points 2 days ago* (last edited 2 days ago)

Why would musk stop his pet ai doing what he wants it to do? He's never done that in the past.

[–] davidagain@lemmy.world 42 points 2 days ago (4 children)

“It is one thing to just not deliver,” she said. “But to act in the way that he has, which is so dehumanizing, so cruel… this is why we are seeing the beginnings of real cracks with this president and his base.”

The beginnings of real cracks? WTF? He doesn't need you any more! You elected him already. Why would he possibly care? If he's president beyond the end of this term, it won't be because a free, fair and legal election took place! Why would he fucking care one ounce of a fart what you, a powerless nonentity, think of him? There's nothing you can offer him in the future. He only ever cares what you can do for him. He has never cared what he can do for you. Ever.

were lied to

No shit, Sherlock! The world's most famous, prolific and egregious liar whose desperately stupid lies were pointed out to you many, many times, and just today you realised he was lying to you too? How utterly stupid are you?

 

Brutal. Absolutely brutal.

I've absolutely had enough of adults telling children to be what they've preconceived they should be, and traumatizing them in the process.

 

Taking about disgraced pedophile former prince andrew:

“I feel very badly,” Trump said. “It’s a terrible thing that’s happened to the family. That’s been a tragic situation. It’s too bad. I feel badly for the family.”

 

That thing you did…
that battle you faced…
that negativity you swerved…
that thing you found hard and had to take a break from…

Well done. Keep going,

 

Black presenter on racist TV channel saddened and disappointed to be fired for saying that a racist politician was being racist.

 

(Repost of my OC to support the new community.)

Amazon: The same 31 products you don't want, again and again and again and again and again and again and again and again and again

Does anyone else go looking on amazon because they used to have loads of stuff, but now there’s just a few things over and over and over and they’re not quite what you wanted. It’s so full of promoted content and you keep thinking that somewhere on one of the pages there might be something new, but no, it’s these same products again and again.

 

Does anyone else go looking on amazon because they used to have loads of stuff, but now there's just a few things over and over and over and they're not quite what you wanted. It's so full of promoted content and you keep thinking that somewhere on one of the pages there might be something new, but no, it's these same products again and again.

 

Remember, you are 10 times more awesome than you think you are, and 1000 times more awesome than some shitty hater made you feel.

Summary: You are awesome.

Reminder: Awesome.

 

It gets used online for things, and there are whole communities devoted to shitposting, but I can't find a clear set of rules for something to count as a shitpost. I remember querying whether a post on a shitposting community was witty enough to be a shitpost rather than just a shitty post, but of course not all the responses to that were terribly helpful!

 
view more: next ›