sonymegadrive

joined 1 year ago
[–] [email protected] 11 points 5 months ago

What a shame. He was a good man

[–] [email protected] 5 points 6 months ago

This is dangerous

Well, they say you do have to be over 18 to use Concepts

[–] [email protected] 16 points 6 months ago (2 children)

C++: Nuh, uh ...

template 
concept Crackable = requires(T obj) {
    { obj.crack() };
};

auto crack(Crackable auto& nut) {
    nut.crack();
}
[–] [email protected] 22 points 7 months ago (2 children)

Has “laying off staff to focus on AI “ become a common euphemism for “we hired too many people”?

[–] [email protected] 9 points 10 months ago* (last edited 10 months ago) (13 children)

That means cryptographic keys under one government’s control could be used to intercept HTTPS communication

Could someone smarter than me explain how this would be possible? Wouldn’t the browser still be able to enforce privacy between the client and origin? Or is it the case that certificates issued by these CAs could in theory only support weaker cyphers?

Edit: Some really useful explanations. Thank you!

[–] [email protected] 2 points 11 months ago (1 children)

Does this compile with -Wall -Werror? (might not be an option if your dependencies’ headers contain warnings)

Looks like it may be embedded code for a SoC or similar. The only things I can think of is that the tool chain you’re using maybe non-standard… or you’re invoking the dreaded Undefined Behaviour somewhere :(

[–] [email protected] 3 points 11 months ago (3 children)

Clang won’t tell you if you’re missing a return statement.

Is this C++? Have you got some code examples?

I’ve been writing C++ for 20+ years and the last compiler I encountered this with was Borland’s. In the late 90s.

[–] [email protected] 5 points 1 year ago

As someone who’s team has to go on 1st line support rota every few weeks; The ticket queue has a metric shit-ton of these reports that just never get “fixed”. Can relate.