• 0 Posts
  • 21 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 :-)



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


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



  • Enoril@jlai.lutoNo Stupid Questions@lemmy.worldXXX
    link
    fedilink
    arrow-up
    4
    arrow-down
    2
    ·
    3 months ago

    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.






  • Enoril@jlai.lutoLinux@lemmy.mlLinux Boomers
    link
    fedilink
    arrow-up
    32
    arrow-down
    1
    ·
    6 months ago

    Totally useless “article”. You learn nothing, you have to navigate between poor writing with high usage of explectives. It’s like reading a 11 years-old rebel child blog.

    tdrl: he use Arch linux, boomers…


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