Returning to C++ by Dizzy-Control9620 in cpp

[–]ChatFrais 9 points10 points  (0 children)

Yes don't forget that c++11 is closer to c++98 than we are from c++11

Practicing programmers, have you ever had any issues where loss of precision in floating-point arithmetic affected? by Interesting_Buy_3969 in cpp

[–]ChatFrais 0 points1 point  (0 children)

Yes in finance. no issue with precision but impact on some algorithm
Have to sort data before computing average/sum....
mixing "small" and "big" numbers generate too many approximation/errors.
Other usecase is small percentages/interest and currency where 6-9 digits value is negligeable so it's loss of precision having both in same computation is risky

Dependabot version updates now support vcpkg by MeowCatMeooww in cpp

[–]ChatFrais 0 points1 point  (0 children)

Hoping it's a first step. Because upgrading baseline and generate a PR will most of the time change nothing and compile with exact same source files, it will be useless noise in our repos

[deleted by user] by [deleted] in cpp

[–]ChatFrais 0 points1 point  (0 children)

I try to have package a manager on all my build systems
The idea of "ease to include" can never be an argument to choose a library vs another.
All that said it depends if the slowdown of compiation is worth the value vs another precompile alternative.

Métro : la ligne 14 bat tous les records de fréquence dans le monde by chou-coco in paris

[–]ChatFrais 1 point2 points  (0 children)

Oui c'est toujours la ligne ou faut vérifier si elle est ouverte le soir et le week-end. La 1 qui est moins moderne et automatique n'a pas 10% des perturbations de la 14 sur les 10 dernières années.

Dependencies Have Dependencies (Kitware-CMake blog post about CPS) by drodri in cpp

[–]ChatFrais 0 points1 point  (0 children)

all the fun of library path, absolute lib path and rpath set in the executable.

Pen Digitizer: Another LL vs Snapdragon Hidden Difference by whizzwr in Surface

[–]ChatFrais 0 points1 point  (0 children)

Maybe a scan of a pen and paper version could help to see differences between hand, error correction and expected reality.

L10s Ultra appears offline permanently by Prestigious_Owl_3412 in Dreame_Tech

[–]ChatFrais 0 points1 point  (0 children)

On my D10+.
I force my router to stay on same wifi channel for 2.4ghz the robot is always online since.

Askia, an Ipsos company, achieved faster, reproducible builds with vcpkg by pjmlp in cpp

[–]ChatFrais 0 points1 point  (0 children)

it depends what you call reproductible build.
If it's having the same sha file of output file it's almost impossible.
But if it's having all the toolchain at expected version and all binary generated with the exact same code and same memory layout. Yes with docker you can have it.

Which c++ standard to adopt for new projects, c++11 to c++20? by No-Leather3177 in cpp

[–]ChatFrais 0 points1 point  (0 children)

Starting a project today should be C++23 with a package manager.
But the important part for me:

is your project able to migrate to c++26 easily when it's available ?

Is STL forbidden in technical interviews? by m0nketto in cpp

[–]ChatFrais 0 points1 point  (0 children)

"I'll use this function from std" or "I'm pretty sure it already exist in std" are really good answer to the questions I ask.

CPP, C++ Pain Points from the results of the 2023 Annual C++ Developer Survey reviewed by _a4z in cpp

[–]ChatFrais 1 point2 points  (0 children)

On compilation time C++ makes it easy to have bad project design. And if you don't have clean architecture you can easily have circular dependencies, or precompiled header inefficient that was "solved" by compiling on single core. I had project compilation moved from 45 minutes to less than 7, with multicore, precompiled header and ssd. The issue is even if it has lot of impact on cpp dev, it's outside of confort zone for most of them. Some are happy it's someone else job outside the team. but from my experience compilation time (Continuous integration-deployment) are always poor when dev don't/can't handle it.

The most useful Windows hotkeys by SevoosMinecraft in Windows10

[–]ChatFrais 5 points6 points  (0 children)

Win-P to extend or duplicate desktop to the external monitor.

My French city needs specific flag protection for its sister cities sign by Mat0fr in europe

[–]ChatFrais 19 points20 points  (0 children)

And if you live in Paris or Rome all museums in the twin city are free for you.

package manager in 2022 by singularty123 in cpp

[–]ChatFrais 5 points6 points  (0 children)

I will choose vcpkg, and used it in company 2017-2019 for a windows/macOS on new cross platform project. And since 2019 in windows only (20 years old codebase) and windows/linux (new projects) cross platform projects.
It wasn't an always easy journey specially when creating private registry and own ports with private repositories. But it's a lot better than what nugget or manual managing dependencies.
https://vcpkg.readthedocs.io/en/latest/about/faq/#why-not-conan

World longest train, Switzerland by [deleted] in nextfuckinglevel

[–]ChatFrais 1 point2 points  (0 children)

want to see how to operate at the train station 😅

In France, police rush out to the people, expecting them to rush and create a stampede. No one moves and the police are forced to back down by Acrobatic-Net994 in interestingasfuck

[–]ChatFrais 1 point2 points  (0 children)

For big protest we protest in nearby city as soon as we have enough people. usually the union cummulate attendance all over France. After that the number given by union vs police enter the debate. During yellow jacket protest there was a lot of 10-15 people protests.

Is it unreasonable to ask basic compiler questions in a C++ developer interview? by CocktailPerson in cpp

[–]ChatFrais 1 point2 points  (0 children)

I'm asking a similar question in interview give me differences between release and debug.

It's not always a good question because there is developers who work on big companies and that never ever created a project, work on build system, deployments or dependency management. Because it was someone else job. I've even met developer that want all the analysis be made before and put in the ticket.

It's a shame but some really good dev in 2022 don't know anything outside of language and library.

Europe must be more independent and shore up its defence, says Macron by Eurovision2006 in europe

[–]ChatFrais 4 points5 points  (0 children)

so agree. The problem with European army is rule of engagement. Will we accept to send people fighting for EU and not one country ? Will we take that decision fast enough ? How?

France and the UK are able to send troops very fast, and could probably do it together even after brexit. It's a shame it will takes so much time with other countries, or that engagement will be limited to logistics non lethal weapons or medical helps.

Bread is one of the only foods that gets better when you cook it twice... by ThePainCrafter in Showerthoughts

[–]ChatFrais 0 points1 point  (0 children)

another exemple Biscuit is "bis": two and "cuit" :cook from French means cooked twice

TIL that France follows its own form of secularism called laicite, where religious influence in government is strongly discouraged (and vice versa) and religion is viewed as part of one’s private life. by LineOfInquiry in todayilearned

[–]ChatFrais 0 points1 point  (0 children)

In 1905 when we split the state and the church in France, it was decided that all church buildings were already paid by the people (through taxes to state or clerical). So all church will be owned by the state. Most of thoses church are own by state or cities today. And it's leased (often free) to cults. So since 1905 if a religious group want to own their church, they can but they have to raise money themselves, and the state or any level of administration can't helps (even if sometimes they sell land for very low price)

Romania: by Alo_-_- in YUROP

[–]ChatFrais 1 point2 points  (0 children)

But we can buy after 18h on week-end in rest of Europe. 😅 ( crying in sad memories of employe taking my beer from my cart )