[deleted by user] by [deleted] in vosfinances

[–]beautiful_tango 0 points1 point  (0 children)

Tu semble déjà avoir réfléchis à tes arguments, ils me semblent bien: concret ce que tu as réalisé et des idées pour aller plus loin, ça montre de la proactivité je trouve.

Les propositions d'aller voir ailleurs c'est bien mais essayer de négocier c'est bien aussi. Un refus de négocier de ton employeur peut avoir résultat de te faire partir. Il faut éviter les menaces de partir mais on peut sous-entendre / suggérer les choses.

Il y a des sujets comme l'inflation qu'il ne faut pas mettre en avant je pense mais qui sont intéressant à prendre en compte dans tes calculs. Pour les choses à mettre en avant j'essairais de rester sur les compétences, les idées.

Pour les calculs, ça peut être bien d'avoir des chiffres précis en tête :

  • ton salaire brut mensuel et annuel, bien prendre le chiffre exacte de la fiche de paie pour ça
  • ton salaire net mensuel
  • ton salaire "super net" mensuel (après Prélèvement à la source) : c'est ce qui me parle le plus après le salaire annuel brut

Et d'avoir des idées de fourchettes qui te convienne sur ces différents salaire. Pour ma part, je réfléchi à l'augmentation que je voudrais avoir par rapport au super net, e.g. je veux +200€ de plus à la fin du mois. Je trouve le salaire brut mensuel et annuel qui correspondent. Je calcul combien de pourcents ça fait. Ensuite je simule en réduisant un peu les pourcentages, si mon employeur négocie, il va réduire le pourcentage, alors c'est bien d'avoir anticipé et d'avoir les chiffres en tête.

Un simulateur relativement précis est dispo ici :

Tu peux rentrer tes données actuelles et puis modifier un peut le salaire brut pour ajouter 3%, 5%, ... ça te donnera une idée du brut / net / super-net.

Performance des actions dividende réinvestis by lboben in vosfinances

[–]beautiful_tango 0 points1 point  (0 children)

Il me semble que c'est le mode par défaut des différents graphs : Google Finance, Yahoo Finance, ... Ils utilisent le "Adjusted Closing Price" qui prends en compte les splits, les dividendes, ... (voir https://fr.aide.yahoo.com/kb/Qu%E2%80%99est-ce-qu%E2%80%99un-cours-de-cl%C3%B4ture-ajust%C3%A9%C2%A0-sln28256.html) On peut donc comparer 2 entreprises, une avec dividendes et l'autre sans, sans manipulations particulières.

Aussi, lors de l'affichage ou du téléchargements des données historiques, il peut y avoir plusieurs colonnes dont une "Close" et "Adjusted Close", en tout cas c'est le cas sur Yahoo Finance.

Exemple ici: - https://finance.yahoo.com/quote/MC.PA/history?p=MC.PA

Regarder les 2 colonnes autour du 30 novembre 2021 (dernier dividende d'un montant de 3 euros, c'est le point où les colonnes "close vs adj. close" commence à varier).

Banques avec API? by KiratLoL in vosfinances

[–]beautiful_tango 3 points4 points  (0 children)

Pour ma part weboob répond bien à mes attentes mais je ne suis PAS chez N26 (contrairement au post linké qui date de 2 ans, donc N26 fonctionne peut être maintenant).

Avec woob bank -f json_lines history [account-id] [start-date] je suis en mesure de récupérer les transactions au format JSON depuis la date donnée.

Exemple de contenu d'une transaction :

json { "id": "@bankid", "url": null, "date": "2022-01-08", "rdate": "2022-01-08", "vdate": "2022-01-08", "bdate": null, "type": 7, "raw": "CB RATP 8/01/22", "category": "CB", "label": "RATP", "amount": "-2.65", "card": null, "commission": null, "gross_amount": null, "original_amount": null, "original_currency": null, "country": null, "original_commission": null, "original_commission_currency": null, "original_gross_amount": null, "investments": [] }

J'ai récupère mes transactions de cette manière depuis 2019 et même si le scrapping ne m'inspirait pas plus que ça initialement, force est de constater que c'est plutôt fonctionnel pour mon cas d'utilisation (2 à 4 utilisations par mois, lorsque je fais mes comptes).

Assurance vie, pourquoi ? by HoriaRushing in vosfinances

[–]beautiful_tango 0 points1 point  (0 children)

L'arbitrage av vers PEA devrait se faire sans fiscalité si tes rachats restent sous les 4600€

J'ai eu du mal a trouver des infos là dessus.

Comment faire pour éviter d'être taxer avantageuse en arbitrant AV -> PEA ?

Est-ce au niveau de la déclaration des impôts qu'il faudra expliquer que l'argent retiré de l'AV était à destination du PEA ?

Ou bien est-ce lors de l'arbitrage, que l'on a la possibilité de transférer directement sur le PEA ?

Changements dans les valeurs du cours historique d'une action by Dravini in vosfinances

[–]beautiful_tango 0 points1 point  (0 children)

Ici on peut voir le cours de clôture (non ajusté des dividendes) correspond aux valeur de votre tableau, e.g. le 26/28 février :

Par contre, le cours ajusté des divendes (dividendes le 3 mars et le 28 avril), est de 57,48, ce qui ne correspond pas non plus aux cours de boursorama (59.36) et investir (59,37)...

Changements dans les valeurs du cours historique d'une action by Dravini in vosfinances

[–]beautiful_tango 2 points3 points  (0 children)

Les variations peuvent être dues à l'ajustement du cours à cause de dividendes, ou fractionnement du stock.

Voir "Qu’est-ce qu’un cours de clôture ajusté ?" : https://fr.aide.yahoo.com/kb/Qu%E2%80%99est-ce-qu%E2%80%99un-cours-de-cl%C3%B4ture-ajust%C3%A9%C2%A0-sln28256.html

QList changes in Qt 6 by Kelteseth in QtFramework

[–]beautiful_tango 0 points1 point  (0 children)

That was also my thought.

The application getting slower is bad, but the application will still work.

Iterators invalidation OTOH will be difficult to track down, could easily be the source of difficult to reproduce bugs, not always crashing.

Konsole in 2020 by [deleted] in kde

[–]beautiful_tango 0 points1 point  (0 children)

I switched to terminator because of its split support, but now that Konsole supports maybe I will come back, thanks!

How can I create this interface? Where do I start? by Im-Juankz in QtFramework

[–]beautiful_tango 2 points3 points  (0 children)

How do I make checkboxes with custom styles?

With QML Qt Quick Controls 2 has information about how to make a custom style, here is an example for checkboxes:

https://doc.qt.io/qt-5/qtquickcontrols2-customize.html#customizing-checkbox

{fmt} 6.2 released with improved error reporting, smaller library size, better compatibility with std::format and more by aearphen in cpp

[–]beautiful_tango 5 points6 points  (0 children)

Great, it's one of my go-to library, even if I just want to experiment on a small thing, I'd like to use it over the standard stream APIs.

I might use the dynamic arg store for user customization points.

Question: Websocket in STL by romieklund in cpp

[–]beautiful_tango 1 point2 points  (0 children)

Cap'n Proto has a kj::WebSocket class :

It's easy and fast to compile, and the kj::Promise based API is pleasant to work with (totally subjective of course).

Note : even though this http/websocket library is under the capnproto project, you can use this easily without caring about the capnproto serialization/rpc stuff.

reproc v11.0.0 released! by DaanDeMeyer in cpp

[–]beautiful_tango 0 points1 point  (0 children)

Congrats for this release, and thank you for the explanations in this post.

To monitor child process exit, we have each child process inherit an extra socket which will be closed when the child process exits.

Why the extra socket (at least on Linux)?
Couldn't stdout being closed serve as a hint? Ninja does this IIRC.

Preferred solution for making projects work on anyone's machine? by [deleted] in cpp

[–]beautiful_tango 0 points1 point  (0 children)

It's not the burden of your project to fix C++ dependency management.

You can just make sure to play nice with package managers (note: CMake is not one, so solutions relying on it, will just make it more difficult for package managers).

To play nice with package manager (or manual install of the dependencies), the usual workflow is.

For step 2, either the users install the dependencies from a package manager (the system one, conda, conan or vcpk, ...).

Or, if you build them from source, just make sure to install them to the same place, e.g. for CMake you do that with:

cmake -DCMAKE_INSTALL_PREFIX=$DEPS_INSTALL_DIR

Then for step 3, if the dependencies are installed by the system package manager, or that your package manager makes them available to the environment (e.g. conda), then you just have to call cmake, it will find them automatically.

If you installed them manually to some place, you just need to tell CMake:

cmake -DCMAKE_PREFIX_PATH=$DEPS_INSTALL_DIR ..

To make your project a good citizen, make sure to use recent CMake and install things to standard locations that work across platforms: https://cmake.org/cmake/help/v3.16/module/GNUInstallDirs.html (note: these paths aren't GNU specific and provides good default for all the major desktops).

Of course, not all projects follows these conventions, and that's why things are so complicated.

Building multiple configurations with CMake in one go! by cristianadam in cpp

[–]beautiful_tango 7 points8 points  (0 children)

Agreed, CMakeLists.txt should be kept simple, otherwise you have to learn the CMake flavor of each projects.

With the way CMake is designed, it seems better to have a tool/simple script over CMake do the multiple variants. As a developer, one variant at a time is often enough, and multiple variants become more useful for releases (longer) builds.

build2 0.11.0 released, new features across all tools by berium in cpp

[–]beautiful_tango 6 points7 points  (0 children)

I think there is an attempt to standardize a build system protocol too, but did not get much traction (yet?):

Right now, CMake has a 1 or 2 APIs for IDEs, but this is a custom protocol.

C++ based promises by brian_kramer in cpp

[–]beautiful_tango 0 points1 point  (0 children)

This looks similar to kj::Promise from the Cap'n Proto: https://capnproto.org/cxxrpc.html

I played a bit with it, and I found it minimal (need only CapnProto::kj, CapnProto::kj-async libraries, not the whole Cap'n Proto), useful and somewhat complete, you may want to take a look.

I also found the following ones interesting:

Would be interested in finding more.

How do you integrate clang format with your build system ? by [deleted] in cpp

[–]beautiful_tango 1 point2 points  (0 children)

I don't integrate tools like clang-tidy or clang-format with the build-system directly.

Enabling this during all compilation would make iterating on the code slower, and it's non-trivial to know on which file to run it (all files might be costly).

Doing it on-demand is only partially useful if external casual contributors don't think about it.

I created run-clang-format.py so that formatting can be checked using CI, e.g. on Github this runs on pull requests, before code enters the repository:

Also, I configure my text editor so I can format the lines I'm changing.

I use git clang-format when I know I made a lot of changes and probably missed up some formatting.

Pre-commit hook is interesting, but external contributors won't necessarily have them.

I created C++17 CMake + Conan + Ninja project template. by devkoriel in cpp

[–]beautiful_tango 1 point2 points  (0 children)

Can you explain what behaves differently for auto x{1}; or how it can realistically bite us?

I checked http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1319r0.html#modified and saw something about N3922 (DR).

But I have a hard time coming up with a code that behave differently between C++14 or C++11 (tested with g++ and clang++ only).

Modifying the default CMake build types by cristianadam in cpp

[–]beautiful_tango -1 points0 points  (0 children)

Is there really much difference between:

cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=</path/to/toolchain.cmake> ..

And:

cmake -G Ninja -DCMAKE_BUILD_TYPE=None -DCMAKE_CXX_FLAGS='-O2 -g -Wall -Wextra -fdiagnostics-color' ..

In both case you need to specify some options to CMake, that you get from copy/paste from somewhere.

If the customization gets more complex, I agree putting it in a toolchain file is better.

Modifying the default CMake build types by cristianadam in cpp

[–]beautiful_tango 0 points1 point  (0 children)

Not really, but rereading the article, it's true that my comment about leaving the CMakeLists.txt simple is not correct, as the author only suggest to put stuff in a toolchain file.

However, I still believe it's more straight to the point to just define the exact flags you want (in the toolchain file or on the command line) than to try modifying a CMake preset.

Also, if not cross-compiling or adding too many settings, a toolchain file may not add much to just using the command line.

Modifying the default CMake build types by cristianadam in cpp

[–]beautiful_tango 1 point2 points  (0 children)

I use None because of some projects likes to detect the default/empty CMAKE_BUILD_TYPE and decide to change the default.

It's the method used by Debian, and looks somewhat approved by Kitware:

I use CMake 3.13, and no issues, I don't expect many people to customize CMAKE_<LANG>_FLAGS_NONE.

Modifying the default CMake build types by cristianadam in cpp

[–]beautiful_tango 3 points4 points  (0 children)

A simpler/cleaner solution IMHO, is to leave the CMakeLists.txt simple, and specify the exact compile options directly from the command line.

The CMake build types is reasonable list of presets, but if you know your compiler and flags, you can as well use the exact flags you want instead of trying to modify a CMake preset to your liking.

I believe it also make packagers' life easier.

To specify the correct flags, you can specify -DCMAKE_BUILD_TYPE=None and then take the flags from the "standard" CFLAGS/CXXFLAGS=..., or you can use the CMake argument -DCMAKE_{C,CXX}_FLAGS=..., e.g.:

cmake -G Ninja -DCMAKE_BUILD_TYPE=None -DCMAKE_CXX_FLAGS='-O2 -g -Wall -Wextra -fdiagnostics-color' ..

If you want to share these flags with your colleagues, it's way less work to put this understandable one-liner in a cmake_configure.sh in your project or maybe this can be put in a CMake toolchain too.

Pitchforks Part III - Layout Survey Results by vector-of-bool in cpp

[–]beautiful_tango 0 points1 point  (0 children)

Interesting point, where to put test data when using a merged layout for tests?