addie

joined 1 year ago
[–] addie 4 points 7 months ago (1 children)

"Essentially at random, and it may change with build flags, compiler version updates, static v. dynamic linking, and who knows what else?" Can't rely on it, I'm afraid. What you can rely on is static init of local variables:

  static auto this_is_safe = QuilanType{};
  return this_is_safe;
}```
... Which will always give you a properly initialised 'global'.
[–] addie 2 points 7 months ago (1 children)

Depending on what OP is trying to do; swapping out the internal implementation with array and then decaying to the old terrible .data() 'pointer that could be anything' when having to cross interfaces and boundaries could be a winner. At least their own stuff gets the benefits of known size, bounds checking and being a real class, and the code improvements can be done a little at a time. I'd almost consider this the main use case for array - unless for some reason you just absolutely must allocate on the stack, then vector is better in every way.

Same argument for smart pointers. If some legacy code returns an owning pointer, then get it wrapped up as soon as possible. At least your own code won't leak.

[–] addie 5 points 7 months ago (2 children)

I used to work with a Greek guy called Argyros Argyros - cool guy, but suspect he was an outlier. Named after his dad, so certainly some people are named that way. Icelandic for instance would traditionally use "Given Name" "Patronym from father" - Magnus Magnusson was quite famous in the UK; Björk Guðmundsdóttir might be the most famous internationally, but she's not a "double". There's quite a few cultures - Hungarian, Chinese, Japanese, ... - that write their names as "Family Name" "Given Name" as opposed to the other way around, if that's what you mean?

[–] addie 3 points 7 months ago

And in order to get the 'all emotes' cheevo, you need to summon all of these useless bastards. Two thumbs up, John.

[–] addie 5 points 7 months ago (4 children)

Not that I'm the biggest fan of CMake's syntax, but they are fairly concise and standardised. The XZ backdoor hid in amongst thousands of lines of autotools jank that very few people would be able to audit. A short CMakeList that generates a Makefile is a much harder place to hide something nefarious.

[–] addie 27 points 7 months ago (3 children)

End of the day, you can only cast people who are still working in any upcoming film. Ain't going to be casting Cary Grant or Liz Taylor in any of these roles. But I'd agree this selection is, eh, superficial - it's as if he'd been asked to make the least interesting choices possible.

[–] addie 5 points 7 months ago

But will that stop me from rebinding it as my 'compose' key? Normally I use AltGr for that, but more modifier keys are always welcome...

[–] addie 3 points 8 months ago (1 children)

Okay - so it was cleverly hidden. Real question is what the binary blob does, so we can properly assess the damage...

[–] addie 30 points 8 months ago

That's because Arch is the best, so any additional comparisons are just wasting everyone's time ;-)

[–] addie 13 points 8 months ago (1 children)

Ah, that sounds a bit unfortunate. I've run AMD CPUs on Linux desktops with Bulldozer / Piledriver / Ryzen 7, my current laptop is a Ryzen 7 as well, never run into that at all. Hopefully the Arch wiki will sort you out. If not that, the third option would be 'install Linux on an M-series Mac' - don't know how feasible it is at the moment, and paying the 'Mac premium for hardware and software integration and then overwriting the software' doesn't make a lot of sense to me.

[–] addie 7 points 8 months ago (2 children)

Going back a bit, but that old Bruce Willis 'classic' Hudson Hawk. The projector film broke about an hour in, and everyone cheered and about half the people in the cinema took the opportunity to walk out, never to return.

[–] addie 8 points 8 months ago (2 children)

Principality of Sealand means it's that loony that lives on the old WW2 platform that looks like an oil rig in the English Channel. So 'lord' is probably right. Didn't think he had so many square feet to give away, unless it's at the bottom of the sea, in which case, good luck.

I've one of the 'whisky distillery' ones that supposedly makes me a laird and entitles me to a dram if I rock up. But yes; much like having a star named after you, it's a pretty bit of whimsy to hang on the wall, no more.

view more: ‹ prev next ›