@DanielaKEngert@hachyderm.io
@DanielaKEngert@hachyderm.io avatar

DanielaKEngert

@DanielaKEngert@hachyderm.io

C++ nerd, WG21, INFJ, electrical engineer, she/her, science connoisseur, jazz addict
https://hachyderm.io/@DanielaKEngert

This profile is from a federated server and may be incomplete. Browse more on the original instance.

DanielaKEngert, to cpp
@DanielaKEngert@hachyderm.io avatar

Dear Fediverse,

in case you care, I'd love if you'd vote for this issue of mine:

https://developercommunity.visualstudio.com/t/Cconstant-evaluationModules-Cons/10661450

Serious constant evaluation and C++ modules seem to live on different planets.

Thanks, much appreciated! 🩷

#cpp #cplusplus #msvc

Paxxi, to random
@Paxxi@hachyderm.io avatar

I Dunning-Krugered the shit out of this wall 😀

DanielaKEngert,
@DanielaKEngert@hachyderm.io avatar

@Paxxi I have no idea what you're doing, but you did it! 😁

DanielaKEngert, to random German
@DanielaKEngert@hachyderm.io avatar

I finally received full voting rights at at C++ plenary level as a German national body delegate.

Before that, I could vote in the groups and subgroups below (where the actual work is done), but not on the contents of the C++ standard document.

Feel free to heap all your scorn on me, I'm a partner in crime now.

video/mp4

veronica, to random
@veronica@mastodon.online avatar

I have to use Windows for work, and it sucks. It is mind numbingly unresponsive compared to what I'm used to.

I recently got the "New" Outlook and Teams, and I'm wondering if all newer Microsoft software is built on a shared framework called "Microsoft Bloatware".

DanielaKEngert,
@DanielaKEngert@hachyderm.io avatar

@veronica Sounds like something is wrong with your computer. My Windows dev machine is completely silent. May be because I've designed all dev machines in the company myself.

DanielaKEngert,
@DanielaKEngert@hachyderm.io avatar

@veronica 'autoruns' and 'myuninstaller' are my go-to tools to get rid of preinstalled junk and startup bloat.

A careful examination of malware scanning rules might help too. In particular on-demand online stuff.

On top of that, I have an 8 GB RamDrive for everything temporary. A so-called 'Dev-Drive' might help as well.

veronica, to Battlemaps
@veronica@mastodon.online avatar

Thanks. I hate it.

DanielaKEngert,
@DanielaKEngert@hachyderm.io avatar

@veronica Oh no!

Weather forecast for the upcoming 5 days is sunny, above 25°C.

While I like temperatures like these, I hate them at the beginning of April for much more fundamental reasons.

veronica, to Norway
@veronica@mastodon.online avatar

Wow, the processing of tax returns in Norway is getting really fast. I submitted my tax form on Friday, and got my refund in my bank account this morning. I even made changes for work-related travel reimbursements.

This stuff used to take months.

DanielaKEngert,
@DanielaKEngert@hachyderm.io avatar

@veronica AI FTW?

Sdowney, to random
@Sdowney@mastodon.social avatar

Off to Tokyo for the C++ ISO meeting!

14 hours in a tiny box with a 24 inch monitor. It will be just like home.

DanielaKEngert,
@DanielaKEngert@hachyderm.io avatar

@gracicot @Sdowney You mean, for Tokyo? I don't see any paper of your's scheduled for SG7 this week.

veronica, to TikTok
@veronica@mastodon.online avatar

What I don't get about the whole TikTok spying on Americans argument is that why this is different than what Meta and Google et al does? I mean, can't China (which the accusation is directed at) just buy the data from any of the numerous data brokers anyway?

Norwegian investigative journalists have show how easy it is to piece together detailed info about random individuals from so-called anonymised tracking data you can just buy.

DanielaKEngert,
@DanielaKEngert@hachyderm.io avatar

@veronica Right.
And if you can't (or don't want to) afford this data, you can do it all with a limited amount of effort.

A long time ago (relative to today's time spans of change), the German computer magazine c't conducted an experiment: what can two journalists find out about a colleague (who agreed to this experiment) and his life situation by looking only at search engines and social media, and connecting the dots. They had to stop the experiment prematurely because of the abyss they saw

DanielaKEngert,
@DanielaKEngert@hachyderm.io avatar

@veronica Thanks - interesting, but unsurprising to read!

Jeg bestemte meg å dra den engelsk nettsiden og å lese artikkelen på norsk. 🤓

daridrea, to rust
@daridrea@graphics.social avatar

deleted_by_author

  • Loading...
  • DanielaKEngert,
    @DanielaKEngert@hachyderm.io avatar

    @daridrea What I'm really fed up with: Rust crusaders who don't understand C++.

    penryu, to random
    @penryu@hachyderm.io avatar

    Any C++ experts (heheh) care to comment on this statement?

    > After all, C++ by itself has no
    > major issues with memory
    > management or a lot of
    > undefined behavior as long
    > as you keep away from its C
    > compatibility syntax.

    DanielaKEngert,
    @DanielaKEngert@hachyderm.io avatar

    @PeterSommerlad @shafik @smurthys @penryu Sean's post is UB only at block scope (and bad style to begin with).
    Shafik's post is implementation-defined AFAIK. And does the intended thing on all machine architectures.

    DanielaKEngert,
    @DanielaKEngert@hachyderm.io avatar

    @penryu @PeterSommerlad @shafik @smurthys
    This is a great example of UB:

    int arr[10];
    int * begin = std::begin(arr);
    int * end = std::end(arr);
    int * any = some_function();
    if (begin <= any and and < end) {
    // assume 'any' references an element of 'arr'
    // do something with 'any'
    }

    DanielaKEngert,
    @DanielaKEngert@hachyderm.io avatar

    @penryu @smurthys @PeterSommerlad @shafik The trouble is not in the 'compatibility' syntax. The trouble lies in the shared or inherited operation model, overemphasis on reference semantics, and interoperability.

    These three make virtually every language unsafe, including those that portray themselves as 'memory safe'

    shortridge, to random
    @shortridge@hachyderm.io avatar

    me: I haven’t ever hiked in Slovakia. You can say I… haven’t been keeping up with the Carpathians.

    them: 😕🫣😑

    DanielaKEngert,
    @DanielaKEngert@hachyderm.io avatar
    gracicot, to random
    @gracicot@mastodon.social avatar

    It's 2024, and MSVC still cannot do trailing return type correctly 😭

    DanielaKEngert,
    @DanielaKEngert@hachyderm.io avatar

    @gracicot @smurthys It's certainly not nice to fail compiling this.

    But why do you write such a monstrosity in the first place? I'd assume most people wouldn't even recognize what your template argument is and why it is valid C++. Function signatures from C++98 are well-established constructs in template contexts, and even less verbose.

    veronica, to science
    @veronica@mastodon.online avatar

    Nice. Our own little local "death star", Mimas has apparently been hiding an ocean.

    "That's not a moon!"

    https://www.nature.com/articles/d41586-024-00345-9

    DanielaKEngert,
    @DanielaKEngert@hachyderm.io avatar

    @veronica Breaking: latest "death star" comes with a built-in fire extinguisher. At the same price!

    danderson, to random
    @danderson@hachyderm.io avatar

    Ooooh so close! Got the right clang bits in place, patched out a broken part of upstream's build config, the build burns 100% CPU for a while... and then craps itself because it can't find libstdc++ headers. So close!...

    DanielaKEngert,
    @DanielaKEngert@hachyderm.io avatar

    @danderson What about a decent compiler which can handle UTF-encoded input?

    DanielaKEngert,
    @DanielaKEngert@hachyderm.io avatar

    @danderson Likely so. In other words: ill-formed input, right?

    DanielaKEngert,
    @DanielaKEngert@hachyderm.io avatar

    @danderson Could this be a matter of splicing behind the scenes which causes such havoc?

    DanielaKEngert, to random German
    @DanielaKEngert@hachyderm.io avatar

    Oh, winter is coming they say.
    Not sure about cycling to work next Tuesday 🤔

    gracicot, to cpp
    @gracicot@mastodon.social avatar

    Yay!! Again, some compiler decided to change template conversion operator rules.

    And again, compilers won't agree with what the standard says or with each other since changing the rules may break users, even though they keep doing it (even in minor versions!) 🤦

    DanielaKEngert,
    @DanielaKEngert@hachyderm.io avatar

    @gracicot Then, find the related wording in the standard and I can see if I come to the same conclusion.

    DanielaKEngert,
    @DanielaKEngert@hachyderm.io avatar

    @gracicot I get the impression from your examples that you're knee-deep in metaprogramming which highly depends on which types are instantiated at which specific point, which itself percolates through the mp-stack.

    Then, there are templated conversion operators and converting constructors involved. Those are subject to overload resolution and its arcane rules. There is a related thread on the Core mailing list that calls out Clang and GCC as non-conforming, while MSVC is.

    Pick your poison.

    DanielaKEngert,
    @DanielaKEngert@hachyderm.io avatar

    @gracicot I've immediately upvoted it for it to become more likely for timely action

    DanielaKEngert,
    @DanielaKEngert@hachyderm.io avatar

    @gracicot I noticed
    "GCC and clang compile this code correctly, clang fails with:" 🤔

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • rosin
  • thenastyranch
  • ethstaker
  • DreamBathrooms
  • osvaldo12
  • magazineikmin
  • tacticalgear
  • Youngstown
  • everett
  • mdbf
  • slotface
  • ngwrru68w68
  • kavyap
  • provamag3
  • Durango
  • InstantRegret
  • GTA5RPClips
  • tester
  • cubers
  • cisconetworking
  • normalnudes
  • khanakhh
  • modclub
  • anitta
  • Leos
  • megavids
  • lostlight
  • All magazines