• 0 Posts
  • 29 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle




  • DrM@feddit.detolinuxmemes@lemmy.worldsystemdeez nuts
    link
    fedilink
    arrow-up
    38
    arrow-down
    1
    ·
    3 months ago

    I updated my sources.list to something non-existing at some point and run sudo apt update && sudo apt dist-upgrade -y && sudo apt autoremove once and it also basically uninstalled everything. But that didn’t even matter, I popped in a recovery disk and could reinstall everything. Pretty great to be able to do all that with Linux, fuck everything up in an instant but after a few hours everything is back again






  • DrM@feddit.detoEurope@feddit.deSauna dress-code across Europe
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    6 months ago

    I don’t know how it’s outside of Germany, but at least in Germany in every public sauna there are signs saying “No sweat on wood!” (or in German: “Kein Schweiß aufs Holz!”)

    What this should mean is that too keep the wood from getting too much salt exposure, you should always sit or lay on a big towel which prevents your body from touching the wood.

    Of course the experience is extremely sweaty, thats the reason to go there, so you’re correct on that part :)


  • The restaurant in my local Therme is in the Sauna area. Of course it’s not a naked restaurant, but a “wear a bathrobe or get something to wear” restaurant. But let me tell you: it’s really weird that there are people with clothes on around you in that restaurant. Not uncomfortable, but weird. And the sauna is a place to relax, so I really think it’s better that everyone has to be naked so that nobody can feel uncomfortable. For most people it might not matter, but for some people it does matter.


  • DrM@feddit.detoEurope@feddit.deSauna dress-code across Europe
    link
    fedilink
    English
    arrow-up
    11
    ·
    6 months ago

    Can confirm the german part: In my gym there recently was an outrage because a Muslim member went to the Sauna with bathing clothes multiple times, which in the end resulted in his contract being terminated. Being naked in the sauna is almost the law here (but in the end nobody cares if you wear your towel or put it below you. Just remember: No sweat on wood!)









  • DrM@feddit.detoProgrammer Humor@lemmy.mlAverage TS developer
    link
    fedilink
    arrow-up
    13
    ·
    edit-2
    8 months ago

    The main problem with JavaScript and TypeScript is that there is such a little entrybarrier to it, that way too many people use it without understanding it. The amount of times that we had major issues in production because someone doesn’t understand TypeScript is not countable anymore and our project went live only 4 months ago.

    For example, when you use nest.js and want to use a boolean value as a query parameter.

    As an example:

    @Get('valueOfMyBoolean')
    @ApiQuery(
      {
        name: 'myBoolean',
        type: boolean,
      }
    )
    myBooleanFunction(
      @Query('myBoolean') myBoolean: boolean
    ){
      if(myBoolean){
        return 'myBoolean is true';
      }
      return 'myBoolean is false';
    }
    

    You see this code. You don’t see anything wrong with it. The architect looks at it in code review and doesn’t see anything wrong with it. But then you do a GET https://something.com/valueOfMyBoolean?myBoolean=false and you get “myBoolean is true” and if you do typeOf(myBoolean) you will see that, despite you declaring it twice, myBoolean is not a boolean but a string. But when running the unit-tests, myBoolean is a boolean.