Unsolicited “good morning message” - is that what it’s called now?
- 0 Posts
- 268 Comments
gedhrel@lemmy.worldto UK Politics@feddit.uk•Downing Street urges people not to take part in protest in support of Palestine Action1·16 days agoThey are. Arrested doesn’t even imply “charged”; it’s a threatening tactic, but the pilice and the cps know nothing will get very far in court.
gedhrel@lemmy.worldto Programming@programming.dev•We Asked 100+ AI Models to Write Code. The Results: AI-generated Code That Works, But Isn’t Safe2·19 days agoI’m primarily transfixed, not by the example in your comment, but that you don’t voice the “th” in “with”.
It won’t (using your example explicitly) but in general what you’ve discovered is that:
- Variables hold values
- Some of those values are references to shared mutable objects.
Lists fall into the second category. There are ways to copy lists if you want distinct behaviour.
list2 = list1[:]
will perform a “shallow copy”. If you have a list of lists, however, the nested lists are still shared references. There is
copy.deepcopy
available to make a complete clone of something (including all its nested members).
gedhrel@lemmy.worldto Technology@lemmy.zip•Zuckerberg says people without AI glasses will be at a disadvantage in the futureEnglish4·22 days agoSnowcrash.
gedhrel@lemmy.worldto Python@programming.dev•From Async/Await to Virtual Threads (Python)2·23 days agoYeah, a more modern take on mutexes (as boxes for values) and support for structured concurrency would be fabulous. Those are somewhat orthogonal to the goal of being able to write straight-line code without function colouring. Long ago, eventlet provided something like this [although it had smoe subtle and deep bugs that took a long time to track down].
Potentially, a major stumbling-block would be providing machinery so that interleaved FFI & python calls can cooperate (if that’s determined as being in-scope, which it ultimately should be).
gedhrel@lemmy.worldto Python@programming.dev•From Async/Await to Virtual Threads (Python)4·23 days agoThe writer is not wrong about the awful ergonomics of having to deal with async. Project Loom took a long time to land but it really demonstrates how to do this kind of thing right.
gedhrel@lemmy.worldto Technology@lemmy.world•UK Government responded to the "Repeal the Online Safety Act" Petition.English4·25 days agoI’m surprised their response wasn’t, “you’re all on the side of predators; it’s as simple as that”.
gedhrel@lemmy.worldto World News@lemmy.world•Scotland streets fill with protestors as Trump arrives to play golfEnglish21·26 days agoYou’ve managed to pivot from idiot to twat. Take a breather.
“…the barrel.” Apples don’t come in bunches, but at the time the saying was coined they were carted around like that. (Also it only took one, not a few.)
(I suppose the modern version is “one nazi spoils the bar.”)
Even the standard formulation of newtonian dynamics admits nondeterminism. (This requires a non-Lipschitz setup to work; and in any case it doesn’t describe the world we live in. Also it’s a mathematical description, not the real thing.)
gedhrel@lemmy.worldto UK Politics@feddit.uk•Former head teacher arrested under terror laws – for holding up Private Eye article7·1 month agohttps://www.bbc.co.uk/news/articles/c0mnnje4wlro
“One of the officers was taken to hospital with injuries to her back and has since been discharged, while the other officer received medical treatment at the scene after being struck on the back of his legs.”
If you’re going to take direct action, then you do so and if the police turn up you get arrested and go through the system; that’s kind of the traditional “British way” of doing direct action - it’s still pretty polite. So the six arrested here sound like right arseholes, Samuel Corner not the least (see https://www.bbc.co.uk/news/articles/c20l0vzpn1mo). Having said that, I can’t read “assaulted people with sledgehammers” without conjuring up images of life-threatening and life-changing injuries. So I think that whilst he’s a knob, this sounds like a scuffle rather than the picture that immediately springs to mind. I guess there’ll be more detail in November.
That being said: that was a year ago. The recent prohibition immediately followed someone spray-painting some planes, and that’s the thing in the public mind. I think most people associate that sort of thing with chucking soup over the frame of a painting - there’s not been a direct line drawn in the media between the burglary last August and the recent activities. I don’t think there’s been a claim of further assaults by P.A. or that it’s their general MO. Certainly the thing that hit the press recently appeared to be “victimless” in that regard (we’d have heard about it otherwise).
So the public outrage is at the outlawing of an organisation that probably summons a mental image of the Campbell Soup brigade rather than a kneecapping; that and some well-publicised awkward policing is what is behind the protests. I don’t think that anyone protesting this would be anything but appalled at thuggery.
gedhrel@lemmy.worldto A Boring Dystopia@lemmy.world•In 6 hours it will be illegal to say "I support Palestine Action" in the UK, with a sentence of up to 14 years in prison.5·2 months agoThere appears to be something of a rebrand to “Yvette Cooper”.
gedhrel@lemmy.worldto Linux@lemmy.ml•Three Years of Nix and NixOS: The Good, the Bad, and the Ugly1·2 months agoI’m not quite sure why you fetishise a bit-for-bit over semantic equivalence. Doesn’t it turn “it works on my machine” into "it works on my machine as long as it has this sha: … "?
gedhrel@lemmy.worldto PC Gaming@lemmy.ca•Cyberpunk 2 director says "mature games" used to mainly be about killing and sex, but The Witcher 3 was part of a "broader process" to change that as devs grew olderEnglish9·2 months agoYes. Any normal person would be in it for the Gwent.
gedhrel@lemmy.worldto UK Politics@feddit.uk•Keir Starmer confirms No 10 is offering concessions to Labour welfare rebels1·2 months agoConcessions, or sinecures?
gedhrel@lemmy.worldto Ask Lemmy@lemmy.world•What's a random line from a movie that fans of it will instantly know?1·2 months agoI am no messenger.
But I do bring you a message:
the message - of death!
If the claim is that his obnoxious behaviour is nothing to do with his drug habit, I’m prepared to accept that.
gedhrel@lemmy.worldto memes@lemmy.world•Live long enough to see yourself become the villain21·2 months agoNow you mention it, the Mars thing was - and continues to be - another unscientific pipedream. The examples I gave were all plainly stupid and/or disgusting at the time.
I kind of expected a lot of this; I remember the sendmail 4 book from back in the day when O’Reilly had that, DNS and BIND, and Perl as the entirety of its corpus.