Skip Navigation
Enoril Enoril @jlai.lu
Posts 0
Comments 46
The experience that made me hate programming, but that's all on me
  • 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 :-)

  • Pourquoi, concrètement, dissoudre l'Assemblée Nationale ?
  • 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...

  • "Bougez avec La Poste" 💀
  • Leur nouvelle version de suivi des colis ou lettre est une pure chiasse! Ils mettent des publicités totalement inutile entre les étapes qui rende sa lecture terriblement confuse...

    Genre un paquet rentrant dans une boite aux lettres...super c’est déjà livré? Ha non, c’est une publicité pour une boite aux lettres homologuée...si tu attends un(e) colis/lettre à une adresse, tu as évidement déjà ça, que c’est nul et mal pensé...

  • Windows 10 is EOL in October 2025
  • Honestly even the as-is directX with Wine is already quite good. With Vulkan, game over :-)

  • Windows 10 is EOL in October 2025
  • 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...

  • US threatens ICC, warning 'If they [prosecute] Israel, we're next!'
  • They are worried about their holidays in the countries who apply ICC juridiction (a lot of good holidays places...). Can you imagine ? The audacity of ruining my holidays because i did (or supported by providing weapons, veto, etc) a little genocide ! Poor me, bad ICC.

  • Quel était votre rêve d'enfant?
  • ça fait toujours sourire mes parents mais je voulais être éboueur quand j’étais petit (7 ou 8 ans).

    Pensez donc! Se tenir à l’arrière de son véhicule (en se tenant d’une seule main, la classe!), avec un véhicule débordant de gyrophares, de bip bip et boutons lumineux activant une machinerie capable de lever de grosse charge! Whouaaa trop cool (depuis ma fenêtre de gamin bien au chaud et sans l’odeur associée)

    Bon plus tard, j’ai du choisir entre étude informatique ou électrotechnique. J’adorai l’informatique mais je trouvais qu’en terme d’emploi ben ça me paraissait plus risqué. Et je préférai garder l’informatique en plaisir/loisir/gaming.

    Aucun regret, l’electrotechnique m’a ouvert une carrière dans l’aéronautique et il y a plein de boutons lumineux dans un avion! Win-Win!

  • Arch Linux for gaming?
  • 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).

  • Vladimir Putin not welcome at French ceremony for 80th anniversary of D-day
  • When the first stage of the invasion started, Macron was the president of Europe. So he had to play his role and present the view of the european leaders, even if it was not aligned with our internal views.

    I don’t like him, didn’t vote for him the first time (2nd time i did vote for him to avoid marine le pen election, founded by russian banks btw...) but you can’t use his behavior (amenable), trying to avoid escalation, as "yeah i’m your buddy putin, go ahead" or "i totally trust you’.

    Our head of intelligence was fired because HE didn’t present the invasion as realistic (based on normal logic it really silly)... but the whole intel community was fully aware of putin desires. President included. He knew Putin was playing with him. Everybody knew.

    But he had to play his role, as EU leader at this time.

  • Vladimir Putin not welcome at French ceremony for 80th anniversary of D-day
  • Well US bases and operations (fligths etc) are not welcome here since general DeGaulle so they would be intercepted when entering our countrie borders.

  • Trying to ditch windows
  • Exactly what i did. Help also to not mix work and private life by having 2 distinct VM: one with ArchLinux for Gaming/Private apps, one with win10 for work

  • How are nvidia gpus with wayland nowadays? I read a while ago it was terrible, has it improved?
  • I’ve spent some time reading this page and the associated exchanges between these people/devs. Amazing work and professional behavior. I'm impressed.

  • Aaargh....my eyes......my eyes......
  • 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.

  • Aaargh....my eyes......my eyes......
  • I don’t see the benefit of this long naming convention...

    It still allow bug to exist... like the fact that, with this code, the player can still play with 0 Hp.

    Should have been better to put a "if(health <= 0)" instead of "< 0"

  • NSFW
    XXX
  • You don't get it... Why we should be afraid of someone breaking our house?

    Thiefs don’t carry weapons. If they were arrested with deadly weapons (including knife), that would add decade of prison time for them. It’s being like that since centuries...

    Also: they breaks home when we are not home.

    So weapons are useless. You are not more safe with them. It’s just a way to escalate a dangerous situation to a deadly situation.

  • How can a person be very sad, irritated or angry and still not show it on their face ?
  • /agree

    After some time, you just shield yourself automatically with several layers of mental protection and you have several ready-to-use answers so everything is fine (spoiler: it’s not)

  • Attention lapinou !
  • Il n’est pas impossible que ça soit aussi un clin d'oeil volontaire même si tube pour métro n’est pas vraiment quelque chose qu’on associerait en premier. Il me semble que tube pour metro est plutôt une association anglo-saxonne.

  • Attention lapinou !
  • Ce mot existe depuis 1900 apparement et a peu évolué depuis. Son 1er sens est toujours lié au fait qu’on se fait enfumer, tromper.

    Tubar, ça veut dire fumer et à l'origine, fumer la pipe. Par conséquent, entubar ou entuber signifie enfumer et donc au sens figuré: égarer, tromper.