• 0 Posts
  • 42 Comments
Joined 11 months ago
cake
Cake day: August 10th, 2023

help-circle
  • Was going to say that.

    @OP:

    One of the main skill a developer must have is being able to troubleshoot properly how their code behave.

    Break your code in small pieces, check all of them with unitary test (formal or not) to validate their behavior then move to the next step. Never test everything in one shot or you will be overwhelmed by side effect bugs whom will distract you from the real root cause.

    Being a programmer is not just coding but also testing and deploying (even locally).

    That won’t avoid you being blocked by a silly mistake for hours, everybody did that at some point in their career, but that will reduce your frustration against yourself when you discover why the bug existed.

    Do a pause, go walk, change the topic and the next time you look at your code, you will spot the obvious bug :-)


  • On avait jusqu’à 2027 pour trouver une stratégie pour contrer Putin, FN & co…

    Maintenant, on fout en l’air notre democratie au pire moment, galvanisant les fachistes qui étaient déjà bien mobilisés, tout en s’assurant que les groupes non majoritaires - qui galèrent pour financer quoi-que-ce-soit - n’aient pas les ressources, ni le temps pour s’aligner et communiquer proprement.

    Et on fout dans la merde l’Ukraine dans un mois alors que cette année était déjà à risque avec les USA en Novembre… C’est SUPER. Gros stratège à Paris. Comme la gauche sera incapable de s’aligner en 4 jours, va falloir voter à droite pour contrer l’extrème droite.

    Sauf que ça va pas marcher car lorsque l’on fait des paris en politique, ça te péte toujours à la gueule…



  • Polling has rules to follow to became valid in France. Their are laws that make sure the poll is fair and manipulations can’t apply, in the way questions are asked (neutral tone, full range of answer possible, etc) and where and to who, the minimal amount to have, the medium to use to receive the vote, etc…

    If you do that, you are what i call here a professional neutral poller.

    In this case, it’s not the case. How i know? Well, it’s an internet poll! So no way to really check the reality of people behind (nationality, age, etc).

    I put the officia text informing us than Internet poll can’t be used as real poll because you don’t have a representative sample of the population and result can be manipulated.


    Les enquêtes sur internet

    La commission a été saisie du problème des simulations de votes effectuées par certains journaux sur des panels d’internautes.

    Ce type d’enquête n’est pas mené auprès d’échantillons représentatifs de la population. Ils ne constituent donc pas des sondages au sens de la loi du 19 juillet 1977.

    Ces enquêtes doivent donc être accompagnées de précautions de présentation, appelant l’attention les lecteurs sur la prudence nécessaire à leur interprétation.





  • Switched to arch linux last november, didn’t had to launch my backup VM Win10 at all. I even managed to play at StarCitizen with better performance than under Win 10…

    Just wow the progress of Linux, Wine & co since my last linux try (Ubuntu, around 2010).

    I just need now to find a linux way for my music stack and all the VST (my steinberg usb card is recognized and play properly oO) and Windows will be history at home…



  • except if you compare it with windows 11.

    My Win11 was so bad (compared to Win10) than I’ve switched to ArchLinux. I’ve won around 10~20fps without doing anything particular (and also gain some better loading time as the nvme sequential access performance was much much better under linux).




  • Indeed, you can achieve a better result with less verbose naming convention. And choose better variable name to make it obvious than 0 Hp is death. While i don’t like having too verbose variable name (as it impacts the readability and quick understanding of the function), i’m not against that for the function name… without going too far of course!

    Best is too have proper datamodeling of the object manipulated on top of some classic basic comments. Good interface contract is also a minimum. Best is to have full datamodeling of all the services, objects, in and out interactions between them, etc.

    Documentation is a mandatory piece of the code delivery (with tests being the other important part) far too much forgotten if you don’t enforce it on your teams.







  • In EU, we know the cost of any wars and the fact creating a new circle of violence doesn’t resolve anything.

    We don’t have one village without a monument commemorating the dead people from the past wars. Everybody have at least a family member who fight or died because of a war… Just go one or two generations in the past (in my case my grandmother lost 2 sisters in WW2, my grandfather was captured and sent in acamp for 2 years and managed to escape and walk back to south of France. My other grandfather family moved to France because of Franco repression in Spain, another cycle of violence…)

    All my ancestors have fought for the land i’m currently on during thousand of years… We have thousand of years of war history behind us… against germany, against the UK, against the whole EU at some point “thanks” to Napoleon, and i could go to the medieval time, or even before when we fighted against Rome… And you know what? I work everyday with Germans, British, Italian people… I didn’t kill them because they are not responsible of their leaders actions and country history…

    You prosecute the responsibles of an attack (in the worse case you sent a little squad to assassinate the leaders if they hide and plan to harm you again) BUT you don’t murder all the civilians around to achieve this result. This is madness and incompetence. And that create a new cycle of violence that your children will have to pay at some point…