• 0 Posts
  • 20 Comments
Joined 1 year 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 :-)



  • Enoril@jlai.lutoNo Stupid Questions@lemmy.world*Permanently Deleted*
    link
    fedilink
    arrow-up
    4
    arrow-down
    2
    ·
    10 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
    ·
    1 year 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…


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