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

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





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




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







  • My guess is that due to the economic situation and also climate crisis situation, people do more things they don’t feel comfortable with morally, and so when you’re the guy who thinks about what’s morally right or wrong, your existence confronts them with their wrongdoing.

    So, it’s their own actions they don’t like, but they can just not think about it until you show up.

    That’s my pet theory anyways. Being clean-edge and vegan, I’ve had that experience a lot…






  • As the other comment said, outside the browser WASI is what does IO. As for DOM access in the browser, I doubt they want to reimplement the DOM API, because:

    • It’s insanely complex. This wouldn’t be done within one release, but rather take years to add a substantial amount of APIs.
    • No one wants to have to maintain two versions of the DOM API documentation. You’d need to basically translate the entirety of MDN to some WASM API description. And in the end, hardly anyone would read it either way, because they’re likely using some wrapper library to interact with the API.
    • If you’re using such a wrapper library anyways, it hardly matters to most people, whether this library generates JS API calls or some WASM API calls.

    I try to stay as far away from JS as possible, and I do not think it’s worth developing a WASM DOM API. With a competent framework, you can develop complex web-UIs without ever touching JavaScript, which is good enough for me.