Skip Navigation
Jump
wtf I hate using AI for programming, but today it was useful for Rust
  • I haven't tried it yet, but GPT4ALL looks intetesting. You can run a number of models, surely not as many parameters as OpenAI's top tier models, but a decent enough accuracy it seems.

    1
  • Jump
    rm -rf /
  • You can probably use something like

    git clean -xdf
    

    To get rid of all the artifacts not tracked by git, in this case it's virtually the same as deleting the repo and re-cloning it.

    NOTE: Make sure everyhing is staged, otherwise that data is gone

    4
  • Jump
    Can i actively send mail from an alias in Proton Pass?
  • I never tried this myself, but you got me curious. Since Proton uses SimpleLogin to handle aliases you should be able to use this from their docs to achieve this (you can login into SimpleLogin via proton if you never did) https://simplelogin.io/docs/getting-started/send-email

    3
  • Jump
    Why enterprises use .NET and C# technologies?
  • .NET has been around for two decades. It's a well established technology with plenty of resources, documentation and libraries and frameworks. I guess these are in part the reason it's still thriving.

    You're thinking about .NET Framework reading your opinions on it, .NET (Microsoft is terrible at naming) is the "newest" standard and it's fully open source and cross platform. They removed Windows only APIs and embraced the open source way.

    While Microsoft is indeed full of shit they did a great move with .NET in the last 10 years.

    You don't even need Visual Studio, I use Rider for instance and I love it! I cannot stand Visual Studio either, mostly because I hate its UI/UX.

    At the end of the day is matter of preferences, I like .NET and C# and I work with these technologies daily for instance.

    26
  • Jump
    Golang be like
  • Some people simply ignore warnings, that's the main issue. Trust me, I saw this way too often.

    If you cannot compile it than you have to fix it, otherwise just mark unused variables as 'not an error' via _ = someunusedvar.

    3
  • Jump
    Protests erupt in Italy over cuts to poverty relief scheme
  • It isn't indeed, most people that are actually working in Italy don't want it. It doesn't help, it just gets people stuck not working indefinitely

    -14
  • Jump
    [I Made] Spaghetti Carbonara with charred garlic scapes
  • Italian here, I don't care lol. This isn't surely the classic recipe, but nobody is entitled to tell you how to cook. If you like it, others can just fuck themselves.

    4
  • Jump
    Dear past me, use the flags
  • Similarly, you can leverage this to wire traffic to DB replicas for instance. This if you need to handle traffic to DBs under specific scenarios (DB problems, burst of traffic, bugs, etc). So basically a purely technical feature flag (paying attention to authorization as always)

    3