• 68 Posts
  • 1.17K Comments
Joined 5 years ago
cake
Cake day: May 31st, 2020

help-circle


  • Ephera@lemmy.mltoich_iel@feddit.orgich_ieI
    link
    fedilink
    Deutsch
    arrow-up
    11
    ·
    14 hours ago

    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
    11
    ·
    1 day ago

    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.



  • I guess, one might argue that you don’t need to understand neither solution nor problem anymore, if the problem solving is done for you.

    But yeah, I’m not convinced of that. Most of the time, the actual difficulty in problem solving is working out the requirements. The AI won’t magically know your requirements either. It’ll just pick a random guess and produce a result that’s subtly wrong.


    I guess, I can also provide an anecdote for that. A few weeks ago, we were working on a time tracking software, so where the user would enter start and end time and we get to calculate how long that took.

    That’s probably gonna sound easy to someone without programming experience, but it is absolutely not. We don’t know what timezone the times provided by the user are in, so if it’s on the switchover from winter time to summer time, or vice versa, you actually cannot implement this correctly.

    So, I wanted to discuss with a colleague how we should handle that and their first reaction was to ask the AI. Which is fine, I did also do a web search to start out, to see if there’s a library that does this handling best-effort. The AI did reproduce the same non-applicable StackOverflow answer that I had found just before that.

    But this would not have been fine, without understanding the problem. If the AI would have just copy-pastad that StackOverflow code, that would have resulted in a bug.
    And I myself would not have realized that this is a problem, would not have realized the need to work out the requirements and decide how to implement it, if I would not have taken a crack at solving the larger problem myself.



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



  • Ephera@lemmy.mltomemes@lemmy.worldNopin' Right Outta There
    link
    fedilink
    English
    arrow-up
    12
    ·
    3 days ago

    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.


  • Das Video ist 56 Sekunden lang und einigermaßen witzig, also wenn du dir das Buffern geben kannst, dann kann man das schon mal anschauen.

    Aber ja, das Rezept ist ein anderes. Da wird mit Seidentofu und Hafermilch gearbeitet. Kichererbsenmehl habe ich aber zufällig zu Hause und wollte damit sowieso mal noch mehr herumexperimentieren, daher probiere ich mal dein Rezept. Danke! 🙂

    Edit: tatsächlich im Laden doch Seidentofu gefunden. Anscheinend hilft es wenn man die Augen aufmacht. Das Rührtofu mit Kichererbsenmehlkleister war aber auch sehr gut.