• 3 Posts
  • 206 Comments
Joined 3 years ago
cake
Cake day: January 13th, 2022

help-circle



  • I don’t think, there’s currently any plans to introduce a non-JS API for accessing the DOM. It would just take an insane amount of implementation work + documentation.

    But frameworks can generate access code for you, so you don’t actually need to write any JS yourself. Rust is quite far ahead in this regard, thanks to the wasm-bindgen library.


  • I mean, so far, all of them require tons of humanly produced data.

    Discriminative AI (deep learning et al) requires humans to label data for hours on end, per use-case.
    And generative AI (LLMs et al) require just insane amounts of human works to copy from, albeit not necessarily limited to individual use-cases.

    I guess, what I’m saying is that the ratio of how much labor humans (involuntarily) invested into AIs, compared to the labor these AIs actually perform, is likely a lot higher than 70%.


  • It’s a thing here in Europe. I’m guessing, because our walls are generally concrete, we usually either throw on decorative plaster or a wallpaper, to make it feel a bit warmer and have a uniform surface which accepts paint more readily.

    It’s even quite common that if you rent an appartment, that the walls have wallpaper on them, which is painted with a fresh coat of white paint every time someone moves out and the next folks move in.
    And then some people, after they move in, will just paint (some of) the walls in a different color, if they feel like not living in pure white…



  • I have my repos on Codeberg and one of the ‘disadvantages’ is that, well, it’s a non-profit, so I genuinely don’t want to waste their resources.
    They ask you to only host open-source repos there, meaning that using it for backups of shitty personal projects, even if I would throw in an open-source license, is just out of the question for me.

    And that has weirdly been a blessing in disguise. Like, if it’s not useful for humanity to see, do I really care to keep it around forever?

    And I’ve had three projects now where I felt an obligation to push them over the finish line of actually making them a useful open-source project. Which had me iron out some of the usability shortcuts I took, made me learn a good amount of code quality stuff and of course, just feels good to complete.



  • Ah, true. Thanks.

    Theoretically, it was supposed to be pseudo-code, secretly inspired by Rust, but I did get that one mixed up.

    And I am actually even a fan of the word unwrap there, because it follows a schema and you can have your IDE auto-complete all the things you can do with an Option.
    In many of these other languages, you just get weird collections of symbols which you basically have to memorize and which only cover rather specific uses.








  • Knusper@feddit.detolinuxmemes@lemmy.worldYou should
    link
    fedilink
    English
    arrow-up
    27
    arrow-down
    1
    ·
    edit-2
    1 year ago

    What that garble of symbols does, is that it defines and calls a function named :, which calls itself twice.

    The syntax for defining a function is different in Fish, so no, this particular garble will not work:

    But it is, of course, possible to write a (much more readable) version that will work in Fish.



  • In my experience, it strongly depends. In my team at work, the biggest Linux nerd is on GNOME, basically because he doesn’t care where his TMUX session runs.
    And I’m the guy with the most elaborate desktop workflow (tiling and 40+ virtual desktops among other aspects) and I wouldn’t want to use anything but KDE, because nothing else has as many features + customizability to support me in that workflow.

    But yeah, both of us started out on such mainstream desktops, then spent multiple years checking out all other desktops and eventually found different paths back to the mainstream.