• 0 Posts
  • 24 Comments
Joined 11 months ago
cake
Cake day: December 30th, 2023

help-circle



  • Nice I guess it’s time to check if my daily used libraries have stable 3.12 releases already.

    I guess the free-threaded mode and the JIT compiler will be the most important features from what I read, but their significance is out of my expertise.

    My absolute favorite with this update is the new REPL! It features Multiline-editing and a paste mode for easier pasting code. It also added the spaces automatically in my example.

    Sometimes I want to make some quick tests on some data in the terminal without installing IPython to my environment first, this is great news!

    This new error message will also be very useful for beginners and relieve StackOverflow:

    AttributeError: module 'numpy' has no attribute 'array' (consider renaming '/home/me/numpy.py' if it has the same name as a third-party module you intended to import)
    
    


  • We do geodata science and rely on some pretty specific C++ libraries that are only distributed via conda. While on unix-based systems it’s possible to get some of them from other channels or even building them from source, we mostly have Windows machines in production where we are not that flexible. Docker is unfortunately no solution due to security concerns.

    If you are asking why I hate it: It’s bloated, uses more space than needed and it’s rare I can reproduce an environment from the environment file without running into errors. Using it feels unintuitive, I still google command after years. It was very slow until recently, when the libmamba solver was finally integrated. Last but not least licensing is a pain in the ass.



  • Since you wrote you are in Austria, I’ll write German as this topic is too important for misunderstanding.

    Was du hier hast ist ein klassischer 230V-Anschluss mit 3 Kabeln:

    • Schutzleiter PE (grüngelb)
    • Neutralleiter N (blau)
    • Phase (Schwarz)

    Der Schutzleiter oder auch Erde führt in der Regel keinen Strom, sondern leitet Strom im Falle eines Schadens der Isolierung ab, bspw. damit dir das Metallgehäuse deiner WaMa keinen Schock verpasst.

    Wichtig: Wie bereits erwähnt können Fehler bei der Verkabelung der Hauselektrik nicht ausgeschlossen werden - die Farben geben nur Hinweise, verlassen kannst du dich nur darauf wenn du mit einem Multimeter nach misst. Ansonsten musst du davon ausgehen, dass der freiliegende Kupferdraht Strom leitet.

    ! 230V Wechselstrom können tödlich sein !

    Die beiden Leiter sind ordnungsgemäß mit einer Wago-Klemme abgeklemmt. Bevor du irgendwo rumspielst, unbedingt die Sicherung für die Dose rausmachen und auch den FI-Schutzschalter, sollte deine Wohnung einen haben.

    Jetzt zur eigentlichen Frage. Ich bin kein ausgebildeter Elektriker und erzähle prinzipiell Unsinn, als random guy übernehme ich keine Verantwortung.

    Das Ding sieht safe aus, mach dir keinen Kopf. Schau dass du die Dose zeitnah abdeckst wie bereits vorgeschlagen. Wenn das deine Badezimmer ist lüfte gut durch und lass da keine Feuchtigkeit eindringen. Das ist der selbe Anschluss, an dem du Deckenlampen anschließt. Nur an Drehstrom (E-Herd) darfst du als Laie nicht dran.




  • As a long time vegetarian this is exactly what I noticed in the last years. 15 years ago it was almost impossible to get good vegetarian products in the supermarket. I’m talking about something like a vegetable spread, tofu sausages weren’t a thing. Over the years there were more and more competitors and now the spreads are cheap (cheap as in fucking expensive like everything else).

    This was also true for Tofu etc. It started with super niche ecological brands, now there are cheap no name products available. This is what will finally also happen to the fancy burger patties that are on the market for some years now.

    But you can be sure everyone in the chain will make their margin on the way except for you.

    Edit: Beware US citizen, I am speaking for my home country which is Germany.


  • Bacteria are living organisms and like humans they (most of them) cannot survive high temperatures, their proteins denaturate and their cell structure disintegrates. On the other hand, often it is not the organism itself that is dangerous but the toxins they excrete, which could be much more stable. Imagine food that is all covered by mold - you can probably cook or “wash” it as long as you want, you will end up with serious food poisoning.

    I can only recommend to anybody reading this, do not ingest meat that smells suspicious, you can seriously harm your health. And also maybe you’d like to try out a vegetarian diet, just because you read this until the end?