Is there a setting page on the lemmy instance where I can download all my data?

12
9
Audiophiles of Fedi, how do you like to listen to your music?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebear2B
    2br02b
    Now 100%

    Moved from Spotify to Tidal last month and will never go back.

    Will you consider moving back if Spotify bring HiFi as it announced? I mean no once can beat it's catalog.

    1
  • *Permanently Deleted*
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebear2B
    2br02b
    Now 80%

    I wasn't bored till the end or anything but felt it simply wasn't enough.

    It felt like a pilot of a TV show. So many questions it didn't really sink in for me.

    3
  • www.bbc.com

    Warning: This article contains details of violence that readers may find upsetting

    103
    7
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSC
    Scams Now
    Jump
    *Permanently Deleted*
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
    Jump
    Self Learning: Harry tries this code to toggle a CSS class when a button is clicked, but it doesn’t work. Why?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebear2B
    2br02b
    Now 100%

    Maybe the clue is in this question:

    This works, but Harry feels it is cheating a bit.

    What if the listener hadn’t produced the button as event.target?

    Is there a situation where listener wouldn't produce the button as event.target? How is this cheating?

    1
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
    learnjavascript 2br02b Now 100%
    Self Learning: Harry tries this code to toggle a CSS class when a button is clicked, but it doesn’t work. Why?

    I have been reading this book "Modern Javascript for the Impatient", chapter "Object-Oriented Programming". At the end there is an "Exercise" section. This is a question from it I need help answering: *** Harry tries this code to toggle a CSS class when a button is clicked: ``` const button = document.getElementById('button1') button.addEventListener('click', function () { this.classList.toggle('clicked') }) ``` It doesn’t work. Why? Sally, after searching the wisdom of the Internet, suggests: ``` button.addEventListener('click', event => { event.target.classList.toggle('clicked') }) ``` This works, but Harry feels it is cheating a bit. What if the listener hadn’t produced the button as event.target? Fix the code so that you use neither this nor the event parameter. ***

    2
    2
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
    Jump
    Self Learning: Rewrite this code in Javascript without using inheritance.
    [Opinion] Why Distros Should Stop Theming Apps
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebear2B
    2br02b
    Now 100%

    However, GTK developers are working on a way of allowing distros to specify color schemes, so they can make apps look more consistent with the look and feel of the distro without needing to change the stylesheet. Apps will always use Adwaita, but you can optionally support color themes using a special API.

    One of developers said

    spoiler

    don't hold your breath on that

    .

    2
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
    learnjavascript 2br02b Now 100%
    Self Learning: Rewrite this code in Javascript without using inheritance.

    I have been reading a book on JS. This is one of the questions at the end of a chapter that stumped me; don't know where to begin. So please help me out: _Question_ A classic example for an abstract class is a tree node. There are two kinds of nodes: those with children (parents) and those without (leaves). ``` class Node { depth() { throw Error("abstract method") } } class Parent extends Node { constructor(value, children) { . . . } depth() { return 1 + Math.max(...children.map(n => n.depth())) } } class Leaf extends Node { constructor(value) { . . . } depth() { return 1 } } ``` This is how you would model tree nodes in Java or C++. But in JavaScript, you don’t need an abstract class to be able to invoke n.depth(). **Rewrite the classes without inheritance and provide a test program.** So, how to write this code without using inheritance in JS?

    4
    3
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebear2B
    Now
    6 18

    2br02b

    lemmy.ml