• 0 Posts
  • 19 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…



  • 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…


  • 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.



  • 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.








  • it’s even worse.

    • he delayed the research of the site by providing wrong information (while he knew perfectly where the crashed plane was… because he walk to it to get the videos footage)
    • payed an helicopter to extract the plane scrape to a secret location (while ntsb was still looking for the crash site)
    • then destroyed the evidence, so the ntsb could not perform any checks

    i could add also that he had a fire extinguisher hide in his pant (to be able to access the footage if the plane was still on fire i presume), the original motor was may be replaced before the crash, the plane door was not properly lock (to facilitate his jump)… ha and yes, he had a jumpsuit (no fitting a normal pilot activity)…

    Well, all of that was badly done. He’s a piece of shit that should never flight again.


  • Yes, but as soon all jumped, the aircraft dive to land and load the bext batch of skydivers.

    The plane is usually already on the ground, loading, before the previous batch touch ground.

    BUT the plane must dive far from the skydivers obviously. Was probably not the case here. More you go fast to land, better is the profit (quick rotation = more people = profit)

    Edit: whoua, just read the french articles about this. The pilot didnt had a valid license at the time of the accident. He was not fit (in term of health) to fly any plane that day…


  • Comparing LA with Paris and saying is easier in Paris is quite a statement!

    • LA have large roads, grid configuration and a relative recent age: 250 years. And lot of people around.

    • Paris have 2000+ years of history with layers of people coming around too, no grid configuration but roads created for pedestrian and horses, with some of them existing since thousand of years. And we have a big river in the middle (la Seine), unstable basement with many caves making the creation of any subway a living hell. And on top a lot of historical buildings are protected making demolition for new road impossible.

    But despite that, we have good transportation alternatives on top of classic and totally full car roads: trains, subway, bus, cycle. Not perfect, lot of improvements still needed but things change, step by step… And people has been relocated multiple time to allow that. But it easier when the costs are payed by our global taxes and some LONG term plan. we have also the concept of public interest project to relocate people and businesses if they are in a place useful for a future transportation plan.

    In LA, i don’t see the change really empowered at the political level, at town level. With large road like yours with no hard turn, you could put so many alternatives transportation:

    • rail track for tram or automatic train
    • dedicated bus line
    • bike protected line with tree separation in the middle and free ticket to encourage the use of public transportation.

    Does LA mayor / administrators promote this kind of alternatives? Because it’s what all big towns in France are pushing since decade’s already.


  • We have 2 types of Police here.

    The town police (Police municipale) usually not armed with lethal weapons as they manage local issues (theft, “ligth” violence like neighbors conflicts, noise complaints, familyconflicts… this kind of stuff… very local ). Some can be armed but it’s quite rare and with restrictions. You have a little group of policemen per town. Mine have 3 guys for around 10k people and last time i saw one, he was asking details about a neighborhood dog who was making lots of noise…

    And we have the National Police (Police Nationale), who manages bigger threats like murder, dealers, kidnapping, car accidents with fatalities, etc… usually in medium to big towns. All have lethal weapons with them and you saw them for more serious and dangerous topics. Their perimeter are mainly in the big towns.

    For towns outside big populated areas, we have the military equivalent of national police: the Gendarmerie (with their best elements in the gign for very serious threats and interventions). Same mission than Nationale Police, they also do prevention topic (car speed controls, alcohol tests…) but their perimeter is all the territory.