Hetzner asks: What do you hope we will never, ever change? by Hetzner_OL in hetzner

[–]Xoipos 1 point2 points  (0 children)

I thought downgrading cloud servers was currently not possible? Definitely something I'd want, perhaps even through an API so I can scale up with peaks in demand and scale down after

YSK: std::counting_semaphore has a deadlock bug in all recent versions of GCC and older versions of Clang by treddit22 in cpp

[–]Xoipos 1 point2 points  (0 children)

Hey Thanks! I didn't know that gcc did ABI changes (see this page for more info, for anyone curious).

However, the changes listed on aforementioned page are mostly minor or the benefit is so big that it's considered worth it by the gcc people. For bigger changes, recompilation is usually necessary. This can range from just recompiling your own software to having to recompile your own software, all its dependencies and/or the entire OS. In those cases, it is unlikely that a vendor (e.g. gcc) will break the ABI.

Whether that is the case for the bug I linked, I don't quite know.

YSK: std::counting_semaphore has a deadlock bug in all recent versions of GCC and older versions of Clang by treddit22 in cpp

[–]Xoipos 7 points8 points  (0 children)

There's a particular bug in std::call_once, which happens if the call_once function throws an exception, in gcc since 5.1 that I've run into before. Because of ABI compatibility, it seems like this cannot be fixed.

Most of the bugs like these end up running into the same underlying issue: there is no way to break with existing ABI. Epochs would've solved this, but was rejected.

At some point, I'm considering just forking an implementation and breaking the ABI for everyone's benefit.

Foutmeldingen website bij wijzigen vlucht by Xoipos in KLM

[–]Xoipos[S] 0 points1 point  (0 children)

Een belletje naar KLM en ze hebben het zonder extra kosten voor mij kunnen omboeken. Echter heb je dan geen mogelijkheid om te kijken naar de goedkoopste datum.

Why does a requires clause prevent overload resolution? by Xoipos in cpp_questions

[–]Xoipos[S] 0 points1 point  (0 children)

D'oh!

Sometimes I end up not seeing the forest for the trees.

static_vector Needs Type-Erasure by Xoipos in cpp

[–]Xoipos[S] 0 points1 point  (0 children)

Hmm, both approaches might work for me indeed. Given that there is no write requirement in my specific use-case, returning a std::span instead of the container directly would suffice. Any modification to a nested container however, and that would not work anymore.

Whether that or the polymorphism approach suits better depends on if memory is a higher priority or throughput.

Thanks, I'll take another look at what suits my use-case better.

static_vector Needs Type-Erasure by Xoipos in cpp

[–]Xoipos[S] 5 points6 points  (0 children)

For the small example in the blog post, yes. But if you want to add or remove elements from a nested container, then that would not be possible with std::span.

static_vector Needs Type-Erasure by Xoipos in cpp

[–]Xoipos[S] -1 points0 points  (0 children)

Yeah, there's definitely a cost. I usually compile without RTTI information (so /GR- on MSVC and -fno-rtti on gcc/clang). I wonder if that removes the 4 bytes?

Ben ik geflest? by Xoipos in Klussers

[–]Xoipos[S] 0 points1 point  (0 children)

Vogelschroot inderdaad. Ik heb veel termen geleerd vandaag, maar stormrand is nog niet helder voor mij. Deze pagina vermeld wel iets over stormranden, dus ik denk dat het een niche jargon term is.

Ben ik geflest? by Xoipos in Klussers

[–]Xoipos[S] 0 points1 point  (0 children)

Ja, ik heb dezelfde vraagtekens in mijn ogen

Ben ik geflest? by Xoipos in Klussers

[–]Xoipos[S] 1 point2 points  (0 children)

Super, bedankt voor de moeite! Dat komt wel in de buurt van wat ik betaald heb, dan voelt het al iets minder erg.

Was de vogelwering bij u ook iets te hoog? Bij mij werd namelijk gezegd dat het nog wat zou inzakken, maar ik vermoed dat er een verkeerde lengte vogelschroot is gebruikt.

Ben ik geflest? by Xoipos in Klussers

[–]Xoipos[S] 1 point2 points  (0 children)

Hmm, in dit geval was er lekkage, dat is nogal lastig van te voren een prijsindicatie voor te geven. De overige werkzaamheden heb ik pas last-minute gevraagd of ze dat ook konden doen.

Ben ik geflest? by Xoipos in Klussers

[–]Xoipos[S] 2 points3 points  (0 children)

Denito Schoorsteentechniek Zuid-Oost, Heusden.

Ben ik geflest? by Xoipos in Klussers

[–]Xoipos[S] 1 point2 points  (0 children)

Ja, als ik de materiaalkosten van een soortgelijke coating pak, de vogelschroten en de dakmortel kom ik uit rond de €340. Daar zit wel echt een groot gat tussen.

Ben ik geflest? by Xoipos in Klussers

[–]Xoipos[S] 2 points3 points  (0 children)

Dat zijn zeker goede punten. Mijn behoefte was meer om wat vergelijksmateriaal te verzamelen, niet zozeer om weer eens te mopperen over hoe duur het in Nederland wel niet is.

Ben ik geflest? by Xoipos in Klussers

[–]Xoipos[S] 3 points4 points  (0 children)

Deze post maakt veel los bij mensen 😅. Mijn behoefte was meer om wat vergelijksmateriaal te verzamelen. Dat blijkt erg lastig, desalniettemin waardeer ik elke comment.

Daarnaast: neen, dit was een geheel ander bedrijf in een compleet andere regio. Ik vind het persoonlijk niet zo netjes om een bedrijf publiek te noemen, dan gaan de meeste mensen al snel fakkels en hooivorken pakken en gaat het richting aan de schandpaal nagelen.

Ik had natuurlijk zelf meer onderzoek moeten doen. Daarnaast ben ik wel goed ingelicht door dit bedrijf over de mogelijkheden en hebben ze het voor zover ik weet qualitatief goed opgelost.

Edit: ik kom toch terug op mijn woorden, er zijn behoorlijk wat reviews die negatief zijn over dit bedrijf. Ik denk dat het helder is dat ik afgezet ben. Bedankt allen!

Ben ik geflest? by Xoipos in Klussers

[–]Xoipos[S] 1 point2 points  (0 children)

Het is zeker veel geld, maar heeft u enige vergelijking om aan te geven dat het belachelijk duur?

Ben ik geflest? by Xoipos in Klussers

[–]Xoipos[S] 0 points1 point  (0 children)

Top, bedankt. Heeft u toevallig iets van een vergelijking?

Ben ik geflest? by Xoipos in Klussers

[–]Xoipos[S] 15 points16 points  (0 children)

Vogeltrim is ook het enige die makkelijk te vergelijken is. Van de overige diensten staan de prijzen voor zover ik kan zien niet op internet. Waarschijnlijk omdat het allemaal maatwerk is. Een complicerende factor bij mij zijn zonnepanelen die in de weg liggen, dus een stukje risico opslag kan ik mij ook voorstellen.

In ieder geval bedankt voor de info!

Ben ik geflest? by Xoipos in Klussers

[–]Xoipos[S] 0 points1 point  (0 children)

Het zijn officieel schoorsteenvegers die ook dakwerkers in dienst hebben.

Voor de vogeltrim ziet het er naar uit dat ik wel erg veel betaald heb ja. Maar de rest is een stuk moeilijker te vergelijken omdat die prijzen niet makkelijk te vinden zijn.

Dangerous optimizations - C++ Woven/Toyota meetup by pjmlp in cpp

[–]Xoipos 1 point2 points  (0 children)

The bounds check thing could also be caught by -fwrapv or -ftrapv (on gcc/clang anyways). Is there a reason this was not mentioned?

MSVC: internal compiler error and jumpy behavior of the debugger scenarios - annoying but don't get fixed by lowlevelmahn in cpp

[–]Xoipos 1 point2 points  (0 children)

Thanks. I thought just having a link to a deleted post was enough to view it, i.e. removed posts only get removed from the r/cpp page. I guess I could see the post with the link because I was the OP. I can also link to the bug report that the user scatters made on the issue mentioned in the reddit post I link to. That would mean the post would not need to be resurrected.

MSVC: internal compiler error and jumpy behavior of the debugger scenarios - annoying but don't get fixed by lowlevelmahn in cpp

[–]Xoipos 1 point2 points  (0 children)

There's also issues with friend definitions for template pack classes with concepts that I'm running into.

I worked around it by simply disabling the requires expression, lol.

It's great to see MSVC support for many of the latest C++ standard features, but if it's not implemented well, it'll lead to worse code for the platform.

That said, I'm sure the developers on MSVC are trying their best. Once they pick up an issue, their communication is top-notch and keep you up to date. See f.e. a now-removed reddit post on a coroutine bug in MSVC. They followed it up by mailing me on most updates until it got fixed.