[-] sunbeam60@feddit.uk 4 points 12 hours ago

Arguably Zig has a simpler approach to memory management (which can also lead to more errors, arguably) which makes the transition from C somewhat easier. Downside is that the language is still under heavy development and you definitely have to be up for the ride.

[-] sunbeam60@feddit.uk 5 points 16 hours ago

Tbf beats 99% if the slop you read today.

[-] sunbeam60@feddit.uk 1 points 17 hours ago* (last edited 17 hours ago)

My comment is unable to simultaneously address “it’s a slop generator” and “it’s highly effective at writing code because it’s stolen other developers hard work”.

I was merely addressing the “AI is slop” by saying “for code AI is not slop”.

[-] sunbeam60@feddit.uk 3 points 1 day ago

But with respect Linus is talking about AI for code generation, bug finding etc. For that purpose specifically AI is remarkably efficient at converting intent into workable code.

[-] sunbeam60@feddit.uk 20 points 1 day ago

That's the announcement. It isn't the story.

AI writing detected in an article about the evils of AI. It’s like rain on your wedding day.

[-] sunbeam60@feddit.uk 6 points 5 days ago* (last edited 5 days ago)

Denmark had a joke candidate who won a term in parliament 1994-1998: Jacob Haugaard.

He ran representing the Party of Intentionally Workshy Elements (slogan: If Employment is Healthy, Give it to the Sick), on a programme of:

  • More tailwind on cycle paths [clearly a Danish issue]
  • A standard work day of 8 hours spare time, 8 hours of sleep and then 8 hours of rest.
  • Army field rations to include Nutella.
  • Shorter supermarket queues

When he got in he was clearly terrified, but over time he did participate and take part. I don’t think he could quite believe it.

I loved his parting shot, after his term ended, when his portrait (like that of all MPs) was hung in Parliament and he said: “Let this serve as a warning that any idiot populist can get elected”.

[-] sunbeam60@feddit.uk 8 points 5 days ago

The best summary of “the real world” vs principles.

[-] sunbeam60@feddit.uk 38 points 2 months ago

This is legit the biggest lol. Yes I’m aware this is the PS/2 path only and today it’s actually polling on USB or Bluetooth keyboards but this really tickled me. The face of that CPU bird!

[-] sunbeam60@feddit.uk 43 points 3 months ago

“Due to COVID we are temporarily suspending the trolley service in your train”. Never returned.

“Due to COVID, we have temporarily removed your inflight magazine”. Never returned.

“Due to COVID, we now temporarily only clean your hotel room if you request it”. Still have to request a room clean.

“Due to COVID, the salad bar has been temporarily suspended”. Still no salad bar.

“Due to COVID, you now have to book a slot to go to the tip”. Still have to book a slot.

“Due to COVID, the sleeper train has been temporarily suspended”. Never returned.

These are just the examples I can think of.

[-] sunbeam60@feddit.uk 39 points 4 months ago

Been there, so many times.

Late in Perfect Dark Zero’s development (a complete shitshow to get launched for X360 day 1) we added something called “kill planes”, behind which all entities would get nuked. The aim was that you would physically move through the world and eventually get to “no turning back” points, behind which we could remove all entities to save some cycles.

Turns out there were a large amount of places that assumed that once they had a pointer to an entity that pointer would remain valid.

So yeah, code that was like “I’ll just flip this bit on this entity I kept track of” was now flipping random bits on memory.

These were fun to chase down.

In the end we inplemented NoTaD pointers (“notified on target destruction”, essentially weak pointers but this was back in the day when weak pointers and smart pointers weren’t really well defined) that would discover when the thing they took a precious pointer to was actually no longer valid.

[-] sunbeam60@feddit.uk 44 points 4 months ago* (last edited 4 months ago)

What if I told you that by regulation, the EU age verification system has to be anonymous and that it’s only the AUKUS countries that are moving forward in a way where anonymity is “a nice to have”.

Denmark’s system, which is a front-runner implementation in the EU, is going to be fully ZKP.

And yes it’s basically built with tokens.

You identify with a government system in an app. The services issues you signed tokens that are anonymous. You hand these anonymous tokens over to the sites that demand proof of age.

[-] sunbeam60@feddit.uk 95 points 5 months ago

Yeah but the party prefers their brown shirts.

2
submitted 5 months ago* (last edited 5 months ago) by sunbeam60@feddit.uk to c/microsoftflightsim@lemmy.world

My PC setup isn’t big and when I’m not flying I have to store the gear somewhere. Finally sorted a proper method. Added a zigbee humidity sensor to notify me when the silica bags have suffused.

16
submitted 6 months ago by sunbeam60@feddit.uk to c/askuk@feddit.uk

Since manufacturers have swapped out spare wheels for tyre emergency kits, I’ve had three punctures. I’ve never gotten a foam repair kit to actually work. 3 attempts, 3 failures.

Has anyone actually got a success story with a foam repair kit?

I’ve bought a spare slim emergency wheel and put it in the wheel well now. Simply cannot be bothered trying and failing with another reinflation foam kit next time a flat tyre occurs.

view more: next ›

sunbeam60

0 post score
0 comment score
joined 8 months ago