• 39 Posts
  • 2.67K Comments
Joined 5 年前
cake
Cake day: 2020年5月31日

help-circle


  • Ephera@lemmy.mltoich_iel@feddit.orgich_ieI
    link
    fedilink
    Deutsch
    arrow-up
    9
    ·
    11 小时前

    Habe vor 'ner Weile meinen Wasserkocher entkalken wollen und deshalb Zitronensäure und etwas Wasser reingemacht und stehen gelassen.

    …vielleicht ein, zwei Wochen zu lange stehen gelassen.

    Und joah, anscheinend gibt es Schimmelpilze, die Zitronensäure wohl richtig geil finden.


  • As for When to abstract, you particularly want to deduplicate code that implements logic (as opposed to boilerplate code).
    It’s much more likely for this kind of code to require changes or bug fixes over time and therefore for the separate versions to drift apart.

    I’ve also found that you should still lean strongly towards deduplicating code, because it isn’t just you who needs to know to change both versions of a code snippet. Your colleagues need to know, too, including those who join the project later. And the chance of this working out as intended, is practically zero. If you have duplicated code, you need to assume that multiple versions of it will exist.


  • Ephera@lemmy.mltoich_iel@feddit.orgich👦🏻🃏iel
    link
    fedilink
    Deutsch
    arrow-up
    9
    ·
    1 天前

    Gestern mit Eltern und Co. beim Essen gewesen und meine Mutter hatte beim Reservieren nachgefragt, ob die etwas für mich haben, was eben vegan+glutenfrei ist. Antwort war exakt ein (1) Gericht.

    Als dann die Bedienung mich fragte, was ich möchte, habe ich dann zu ihr gemeint, dass ich das eine (1) vegane+glutenfreie Gericht möchte, und dass ich glaube, dass das irgendwie ein Salatteller mit Gemüseküchlein sein müsste.

    Die Bedienung war so verunsichert, als sie auf ihrem Bediengerät das Gericht auswählen sollte, dass sie angefangen hat zu zittern und dann einfach wortlos davon gelaufen ist.
    Vermutlich, um in der Küche nachzufragen, ob das Gericht denn vegan+glutenfrei gemacht werden kann, aber wir hatten dann schon gewitzelt, dass sie jetzt gleich in’s Auto steigt und einfach Feierabend macht.

    Irgendwann haben die anderen dann ihren Salatteller als Vorspeise bekommen. Hinter mir haben zwei Bedienungen gequatscht und gemeint “Ist das der vegan? — Ja”. Hatte dann keine Vorspeise bekommen.

    Was irgendwo Sinn macht, falls ich einen Salatteller als Hauptgericht bekomme, aber tatsächlich wusste ich immer noch nicht so sicher, was ich überhaupt bekommen werde.

    Nochmal etwas später hatten dann zwei Bedienungen hinter mir gequatscht und gemeint “Der bekommt die Glasplatte”.
    Und joa, dann hatten wir exakt den gleichen Witz gerissen, dass ich vielleicht tatsächlich einfach eine leere Glasplatte bekomme, weil die tierfrei+glutenfrei ist.

    Lustigerweise hatte mich die Bedienung auch schon bei den Getränken aus Versehen übergangen, obwohl sie da noch gar nicht wusste, dass ich Veganer bin. Muss wohl so ein Berufsinstinkt sein. 🥴






  • Pretty sure my work laptop tells me every time that I’m not getting some security upgrades, because I’m not using Ubuntu Pro.

    I believe, there’s some semi-reasonable justification, that they’re only holding back upgrades for packages which they wouldn’t normally maintain anymore, but yeah, it still looks horrendous from an end-user perspective.




  • Ah, I’m not saying there’s a different force being applied to feather vs. hammer. The meme above doesn’t mean that they “fall faster” in the sense that the hammer falls at a higher velocity. It’s rather colloquial usage of “faster” to mean “finishes sooner”. Because what does happen, is that the hammer collides sooner with Earth, since the hammer pulls the Earth towards itself ever-so-slightly stronger than the feather does.

    I guess, for this to work, you cannot drop hammer and feather at the same time in the same place, since they would both pull Earth towards themselves with a combined force. You need to drop them one after another for the stronger pull of the hammer to have an effect.

    So, this is also going off of this formula:

    F = G * mass_1 * mass_2 / distance²
    

    But setting mass_1 as Earth’s mass and mass_2 as either the feather’s or hammer’s mass. A higher mass_2 ultimately leads to a higher force of attraction F.



  • I guess, you didn’t necessarily say otherwise, but there’s still a high chance that the app offers worse accessibility, even if you’ve configured everything correctly. Being able to freely manipulate the rendering in your browser, rather than having to live with what the app/OS devs allow you to configure, is crucially important for many accessibility needs.