Skip Navigation
Well
  • Trans rights are human rights. They are not something you can take away because people "stop adhering to the social contract", the same way we can't take access to food and healthcare away from prisoners just because they did a crime (yes, in real-life they often get taken away, but you get the point).

    Insisting on deadnaming someone also harms the whole transgender community, by pushing the point that those rights are conditional.

  • Well
  • If this post doesn't get deleted, I'm gone. This just shows again that lemmy.world is filled with transphobes and that the mods endorse them. I will look for an instance that doesn't federate with them.

  • I didn't know you were supposed to disable root user...
  • I don't understand. You will still need to do administrative tasks once in a while so it isn't really unnecessary, and if root can't be logged in, that will mean you will have to use sudo instead, which could be an attack vector just as su.

  • For which game would you most like to see a FOSS alternative?
  • I fail to see what makes games any different from other software. The piece of software can be easily studied and tinkered with, users have the power to control what exactly runs on their machine, and the software can organically be improved by people making their changes in their own derivations of that software that they make available for the whole world to use, study, reproduce, and modify.

    Furthermore, if the developer dies, the game being FOSS will guarantee that it will live on and continue to benefit future generations.

  • For which game would you most like to see a FOSS alternative?
  • IMO all software would be better if FOSS, regardless of the virtues of the developers. That's why I would love if the games that I love to play were to be FOSS as that would make them even better in my eyes.

  • Teaching the scientific method
  • I guess it's time to introduce them to a family computer, which, while heavily restricted in what websites are allowed, allows accessing wikipedia?

    Edit: I should clarify I'm not a parent

  • *Permanently Deleted*
  • Between IRC and the picture representing the idea of self-hosting, there's the XMPP logo, which like IRC, is an instant messaging protocol (but with more features than IRC).

  • *Permanently Deleted*
  • The FSF-approved distributions that are shown are: Trisquel, Parabola and GNU Guix (this one is actually quite neat, it's based on NixOS with its own ideas like the importance of being able to bootstrap an entire system from a minimal binary seed)

    The browser with logo shown is GNU IceCat, with binary blobs removed and with some extra security and privacy features (among them an addon that prevents the browser from running proprietary javascript)

    lynx is a simple TUI web browser and w3m also is a similar browser but running in GNU Emacs

    The last three are all the GNU Emacs logo.

  • [Microscope] Em relação às alterações propostas às scenes

    cross-posted from: https://lemmy.ml/post/22796680

    > De acordo com o Ben Robbins (autor de Microscope), as scenes em Microscope sofrem de alguns problemas. Ele recentemente também propôs algumas mudanças às regras para aliviar esses problemas (https://arsludi.lamemage.com/index.php/3449/a-microscope-for-the-people/). > > Alguém aqui já tentou jogar com essas novas regras? Com que impressão ficaram? Também fizeram alguma mudança às scenes ditadas (o post no blogue parece só estar a falar de scenes atuadas)? > > Acho que isto também é uma boa oportunidade para darem a vossa opinião acerca do estado atual das scenes em Microscope

    2
    [Microscope] Em relação às alterações propostas às scenes

    De acordo com o Ben Robbins (autor de Microscope), as scenes em Microscope sofrem de alguns problemas. Ele recentemente também propôs algumas mudanças às regras para aliviar esses problemas (https://arsludi.lamemage.com/index.php/3449/a-microscope-for-the-people/).

    Alguém aqui já tentou jogar com essas novas regras? Com que impressão ficaram? Também fizeram alguma mudança às scenes ditadas (o post no blogue parece só estar a falar de scenes atuadas)?

    Acho que isto também é uma boa oportunidade para darem a vossa opinião acerca do estado atual das scenes em Microscope

    0
    [Microscope] Regarding the proposed amendments to scenes

    cross-posted from: https://lemmy.ml/post/22796007

    > Ben Robbins (the creator of Microscope RPG) has laid out a few problems they see in the current state of scenes and recently some ideas to tackle those perceived problems (https://arsludi.lamemage.com/index.php/3449/a-microscope-for-the-people/). > > Has anyone tried these yet? How did these changes affect gameplay? Did you like the effect of those changes? And did you make any changes to dictated scenes (I'm asking this because the blog post seems to be mostly focused on acted scenes)? > > This is also an opportunity to give your thoughts on the current state of scenes and what could be changed. > > (I hope discussion about a specific game is allowed in this community)

    1
    [Microscope] Regarding the proposed amendments to scenes

    Ben Robbins (the creator of Microscope RPG) has laid out a few problems they see in the current state of scenes and recently some ideas to tackle those perceived problems (https://arsludi.lamemage.com/index.php/3449/a-microscope-for-the-people/).

    Has anyone tried these yet? How did these changes affect gameplay? Did you like the effect of those changes? And did you make any changes to dictated scenes (I'm asking this because the blog post seems to be mostly focused on acted scenes)?

    This is also an opportunity to give your thoughts on the current state of scenes and what could be changed.

    (I hope discussion about a specific game is allowed in this community)

    0
    How to use Jetbrains Compose with a single target?

    cross-posted from: https://lemmy.ml/post/21390036

    > I finished reading the Kotlin documentation (§Concepts) and > want to do something now. I was thinking about making a > desktop app with a GUI. For that people seem to recommend > Jetbrains Compose. > > It seems however that the guides (https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-multiplatform-create-first-app.html) to set > up such a project assume I have more than one target. I however > don't and thus don't need to divide my project into common > code, ios code, wasm code, etc. I only need to compile my project for the JVM, since I'm only intending to support > Linux and BSD. I don't have much > experience with the Java/Kotlin-centric build systems and I > would like to avoid investing too much time into it (since for > now I would like to spend more time writing that app, preferring to learn Gradle later in my journey), so I > thought about just generating a template as recommended by the guides (using https://kmp.jetbrains.com/) and to just remove everything that doesn't matter for my > project. However, since I don't have much experience with > Gradle yet, I don't know what exactly the changes are that I need to make to the build script > > ::: spoiler Generated code > kotlin > import org.jetbrains.compose.desktop.application.dsl.TargetFormat > > plugins { > alias(libs.plugins.kotlinMultiplatform) > alias(libs.plugins.jetbrainsCompose) > alias(libs.plugins.compose.compiler) > } > > kotlin { > jvm("desktop") > > sourceSets { > val desktopMain by getting > > commonMain.dependencies { > implementation(compose.runtime) > implementation(compose.foundation) > implementation(compose.material) > implementation(compose.ui) > implementation(compose.components.resources) > implementation(compose.components.uiToolingPreview) > implementation(libs.androidx.lifecycle.viewmodel) > implementation(libs.androidx.lifecycle.runtime.compose) > } > desktopMain.dependencies { > implementation(compose.desktop.currentOs) > implementation(libs.kotlinx.coroutines.swing) > } > } > } > > > compose.desktop { > application { > mainClass = "org.example.project.MainKt" > > nativeDistributions { > targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb) > packageName = "org.example.project" > packageVersion = "1.0.0" > } > } > } > > ::: > > What resources should I look at to quickly create a kotlin Compose project > targeting only the JVM? (maybe a gradle crashcourse????) > > --- > > Unrelated, but if you want you can also share your opinion regarding the use of Compose vs JavaFX vs Swing for this situation

    2
    How to use Jetbrains Compose with a single target?

    I finished reading the Kotlin documentation (§Concepts) and want to do something now. I was thinking about making a desktop app with a GUI. For that people seem to recommend Jetbrains Compose.

    It seems however that the guides (https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-multiplatform-create-first-app.html) to set up such a project assume I have more than one target. I however don't and thus don't need to divide my project into common code, ios code, wasm code, etc. I only need to compile my project for the JVM, since I'm only intending to support Linux and BSD. I don't have much experience with the Java/Kotlin-centric build systems and I would like to avoid investing too much time into it (since for now I would like to spend more time writing that app, preferring to learn Gradle later in my journey), so I thought about just generating a template as recommended by the guides (using https://kmp.jetbrains.com/) and to just remove everything that doesn't matter for my project. However, since I don't have much experience with Gradle yet, I don't know what exactly the changes are that I need to make to the build script

    Generated code

    ```kotlin import org.jetbrains.compose.desktop.application.dsl.TargetFormat

    plugins { alias(libs.plugins.kotlinMultiplatform) alias(libs.plugins.jetbrainsCompose) alias(libs.plugins.compose.compiler) }

    kotlin { jvm("desktop")

    sourceSets { val desktopMain by getting

    commonMain.dependencies { implementation(compose.runtime) implementation(compose.foundation) implementation(compose.material) implementation(compose.ui) implementation(compose.components.resources) implementation(compose.components.uiToolingPreview) implementation(libs.androidx.lifecycle.viewmodel) implementation(libs.androidx.lifecycle.runtime.compose) } desktopMain.dependencies { implementation(compose.desktop.currentOs) implementation(libs.kotlinx.coroutines.swing) } } }

    compose.desktop { application { mainClass = "org.example.project.MainKt"

    nativeDistributions { targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb) packageName = "org.example.project" packageVersion = "1.0.0" } } } ```

    What resources should I look at to quickly create a kotlin Compose project targeting only the JVM? (maybe a gradle crashcourse????)

    ---

    Unrelated, but if you want you can also share your opinion regarding the use of Compose vs JavaFX vs Swing for this situation

    0
    Flashing the Kindle Paperwhite with a custom ROM

    This is a of a post made during a time where outgoing federation for lemmy.ml was broken. I hope lemmy.ml readers will forgive me for shoving my filthy little words under the shining gaze of their precious and observant eyes for a second time.

    ---

    I have a Kindle Paperwhite (7th generation). (Stallman weeps) It appears people generally customize their kindle beyond Amazon's original design by jailbreaking it. But I was wondering if I could replace the entire system on the kindle by a new one, for even more hacking fun.

    It appears Kindle Paperwhites run on ARM processors, so there should be plenty of compatible software. However, it appears flashing the ROM of kindle only appears in the context of something called the Kindle Fire. Why is that? Is there any reason ROM flashing for the paperwhite kindles isn't common? The only reasons I could think of is that disassembling and reassembling the kindle paperwhite is kinda annoying (especially with the glue holding the case together) and that maybe not everyone has a board to externally flash ROMs. I've also thought that maybe the ROM is write-protected or that the software is signed and that the Kindle will refuse to boot off of anything that hasn't received Jeff's blessing. Is there any existing guide on flashing a custom ROM? Have any ROMs been created already?

    Maybe my foolish self has not searched good enough and hasn't found the discussions on ROM flashing of other kindle models, but in any case I think it's good to have this discussion on here on Lemmy too even if it potentially already exists somewhere else on the internet, so that other fools like me may come across your wisdom and be enlightened.

    If this is complete and utter nonsense what I'm babbling about, can I at least somehow download the firmware and software running on the kindle from the device, so that I may poke and probe it with my disgusting, dirty little fingers, defiling Amazon's intellectual property?

    ---

    I hope that you have a good day and that the following days be good too. If I am stupid for even mentioning the idea of a good day, I wish that some day our suffering may end and that a good day be something we all can look forward to.

    15
    Red Pill @lemmy.ml Faresh @lemmy.ml
    Time for your breakfast.
    0
    RTL test איך בין אַ פֿיש

    װיפֿל האָסטו באַצאָלט פֿאַר די קאָמפּאַקטלעד? איך קען נישט לײענען מײַנע בליצבריװ! Meine Zähne sind Menschen! עס װעט באַלד שנײען! דו האָסט נישט געגעסן די געפֿילטע פֿיש! איך האָב פֿײנט מײן אַרבעט!

    2
    People who struggled with procrastination and now stopped, what made you stop procrastinating?

    People who struggled with procrastination and have now stopped, what made you stop procrastinating? What do you think were the factors leading or contributing to your past procrastination and how did you stop or improve the situation?

    Please don't answer with the "I'll tell you later" joke.

    39
    Learn Programming @lemmy.ml Faresh @lemmy.ml
    How to write unit tests for software that reads files, has a GUI or uses the internet?

    Most introductions to unit testing give very simple examples of functions that simply receive some arguments and produce a result. However a lot of software has to read input from external sources, such as from the internet, from the file system, or from the user during its execution. How does one write tests for such software?

    For simple software that only reads a few files from the file system, I imagine can be tested by writing some files for the test to give to the tested program, but what if it becomes more complex? Or what if you are trying to test a web scrapper for a website, would the tests run a web server and simulate the targetted website? Or for the GUI, how would one test that the user can see what they are supposed to see, when they click a certain way at a certain time?

    Maybe the parts that read the data shouldn't be tested and only the functions that code relies on should be tested? I don't know.

    0
    How to download Android backup from Google Drive to Desktop?

    I don't see the backups in my drive, but I also want a copy of them on my desktop.

    0
    Elections for the supreme people's assembly in the DPRK: two questions

    cross-posted from: https://lemmy.ml/post/410209

    > I have two questions regarding the election of the deputies to the supreme people's assembly in the DPRK. > > --- > In the English translation of the nation's constitution I'm using (article 34.) it says: > > The Supreme People's Assembly is composed of deputies elected on the basis of > universal, equal and direct suffrage by secret ballot. > > And in the translation of the law document Deputy Elections for People's Assemblies at Each Level Law of the Democratic People’s Republic of Korea (2010) (article 5.) it says: > > Deputy elections for People's Assemblies at each level shall be done by the method of secret ballot. Constituents shall be guaranteed the freedom of voting for or against. No one may require the publication of the fact of having voted for or against a constituent, and may not place pressure on or retaliate against someone related to the vote. > > And again in article 64.: > > Votes shall be done by method of secret ballot. If constituents agree, they shall not make a marking, and if they oppose, they shall horizontally strike out the name of the candidate. > > And most most relevant to my question in article 65.: > > In cases where constituents agree or make a mark of opposition in their vote, no one may enter or look into the polling rooms. > > All these articles seem to indicate to me that the vote is secret, and at the time of the casting of the vote no one else but the voter is allowed to be in the polling room. > > However in videos depicting these elections we see some citizens entering the booth and casting their vote. This means there is a camera in the same room they are casting their vote. Doesn't this violate the principle of secret ballot stipulated by the constitution? One could argue that the citizen could have chosen to approve or reject a candidate in a separate room from where they cast their vote, but article 56. says this: > > Polling rooms shall be set up by 3 days before the election day so that the confidentiality of votes can be guaranteed. The polling room shall have a polling box and writing supplies. Election halls may be decorated with things like flags and flowers. > > If writing supplies and a polling box are supposed to be in the same room then that means that they are supposed to choose to approve of reject a candidate in the same room they cast their vote, so that means that in the video we are able to see whether they approved or rejected the candidate (one leaves it empty to approve a candidate and crosses out their name to reject), which means the principle of secret ballot was violated. > > The citizens seen in the polling room all were wearing medals or pins, which leads me to believe they were members of a party or had some official position. Could that be the reason we see them, considering it's pretty obvious whether they are going to approve or reject a candidate? > > Q: Why do we see citizens in the video casting their vote, if the ballot is supposed to be secret? > > --- > In many news it is said there is only one candidate per electoral precinct: > - https://www.bbc.com/news/world-asia-47492747 > - https://www.scmp.com/video/asia/2189528/everyone-votes-there-no-choice-north-korean-elections > > Where can I find a source for whether or not there was more than one candidate up for election in each precinct? > > The document I mentioned earlier seems to indicate that there can be more than one candidate in a precinct up for election (otherwise why even make the election, besides serving as a census of the population?) (article 42 (Number of candidates for deputy to be registered at the electoral precinct)): > > The number of candidates for deputy registered with each electoral precinct at deputy elections for People’s Assemblies at each level shall not be restricted. > > If there was only one candidate up for election in each precinct, why weren't there more? Article 35: > > Candidates for deputy for People's Assemblies at each level shall be recommended directly by constituents, or recommended jointly or alone by the Party or by social organizations. The person making the recommendation must inform the recommended candidate for deputy to the district election committee. > > Article 36: > > Candidates for deputy recommended for People's Assemblies at each level may only be registered as candidates for deputy in the relevant electoral precinct by going through a deliberation over their qualifications at a meeting of more than a hundred constituents. The constituent meeting for the deliberation on qualifications of candidates for deputy shall be organized by the district election committee. > > Article 39: > > The registration of candidates for deputy by People's Assemblies at each level shall be decided by the agreement of more than half of the participants at the constituent meeting for deliberating on the qualifications of the candidates. > > Assuming that in article 35 "constituents" here means means members of the 100+ people chosen by the election committee (I'm assuming they are random citizens of the precinct, but I don't see anywhere anything about how those 100+ members of the constituent meeting are chosen, so this could be the source of my confusion), then citizens could bring up a potential candidate that they consider better represents them than the one brought forth by the DFRF. I would be surprised if that were the case and not have even a single instance where there was more than one candidate up for election (even if the country were to have an extremely unanimous view on who best represents them, I find it hard to imagine there isn't a single case where there was more than one candidate up for election). > > If we consider that the potential candidate has to be approved with a vote with an approval greater than 50% by the constituents in order to be registered as a candidate, then maybe one could say that maybe there were more potential candidates brought up but in the end it was decided to approve only one person to be registered as a candidate. But wouldn't that be an abuse of the system? I am interpreting the role of that constituent meeting to be the filtering out of candidates that do not meet the requirements to run for election, not to choose for the whole population of the precinct what candidate should win. > > Q: Do these elections really only have a single candidate up for election per precinct, and if yes, why aren't there more?

    0
    Elections for the supreme people's assembly in the DPRK: two questions

    I have two questions regarding the election of the deputies to the supreme people's assembly in the DPRK.

    --- In the English translation of the nation's constitution I'm using (article 34.) it says: > The Supreme People's Assembly is composed of deputies elected on the basis of universal, equal and direct suffrage by secret ballot.

    And in the translation of the law document Deputy Elections for People's Assemblies at Each Level Law of the Democratic People’s Republic of Korea (2010) (article 5.) it says: > Deputy elections for People's Assemblies at each level shall be done by the method of secret ballot. Constituents shall be guaranteed the freedom of voting for or against. No one may require the publication of the fact of having voted for or against a constituent, and may not place pressure on or retaliate against someone related to the vote.

    And again in article 64.: > Votes shall be done by method of secret ballot. If constituents agree, they shall not make a marking, and if they oppose, they shall horizontally strike out the name of the candidate.

    And most most relevant to my question in article 65.: > In cases where constituents agree or make a mark of opposition in their vote, no one may enter or look into the polling rooms.

    All these articles seem to indicate to me that the vote is secret, and at the time of the casting of the vote no one else but the voter is allowed to be in the polling room.

    However in videos depicting these elections we see some citizens entering the booth and casting their vote. This means there is a camera in the same room they are casting their vote. Doesn't this violate the principle of secret ballot stipulated by the constitution? One could argue that the citizen could have chosen to approve or reject a candidate in a separate room from where they cast their vote, but article 56. says this: > Polling rooms shall be set up by 3 days before the election day so that the confidentiality of votes can be guaranteed. The polling room shall have a polling box and writing supplies. Election halls may be decorated with things like flags and flowers.

    If writing supplies and a polling box are supposed to be in the same room then that means that they are supposed to choose to approve of reject a candidate in the same room they cast their vote, so that means that in the video we are able to see whether they approved or rejected the candidate (one leaves it empty to approve a candidate and crosses out their name to reject), which means the principle of secret ballot was violated.

    The citizens seen in the polling room all were wearing medals or pins, which leads me to believe they were members of a party or had some official position. Could that be the reason we see them, considering it's pretty obvious whether they are going to approve or reject a candidate?

    Q: Why do we see citizens in the video casting their vote, if the ballot is supposed to be secret?

    --- In many news it is said there is only one candidate per electoral precinct:

    Where can I find a source for whether or not there was more than one candidate up for election in each precinct?

    The document I mentioned earlier seems to indicate that there can be more than one candidate in a precinct up for election (otherwise why even make the election, besides serving as a census of the population?) (article 42 (Number of candidates for deputy to be registered at the electoral precinct)): > The number of candidates for deputy registered with each electoral precinct at deputy elections for People’s Assemblies at each level shall not be restricted.

    If there was only one candidate up for election in each precinct, why weren't there more? Article 35: > Candidates for deputy for People's Assemblies at each level shall be recommended directly by constituents, or recommended jointly or alone by the Party or by social organizations. The person making the recommendation must inform the recommended candidate for deputy to the district election committee.

    Article 36: > Candidates for deputy recommended for People's Assemblies at each level may only be registered as candidates for deputy in the relevant electoral precinct by going through a deliberation over their qualifications at a meeting of more than a hundred constituents. The constituent meeting for the deliberation on qualifications of candidates for deputy shall be organized by the district election committee.

    Article 39: > The registration of candidates for deputy by People's Assemblies at each level shall be decided by the agreement of more than half of the participants at the constituent meeting for deliberating on the qualifications of the candidates.

    Assuming that in article 35 "constituents" here means means members of the 100+ people chosen by the election committee (I'm assuming they are random citizens of the precinct, but I don't see anywhere anything about how those 100+ members of the constituent meeting are chosen, so this could be the source of my confusion), then citizens could bring up a potential candidate that they consider better represents them than the one brought forth by the DFRF. I would be surprised if that were the case and not have even a single instance where there was more than one candidate up for election (even if the country were to have an extremely unanimous view on who best represents them, I find it hard to imagine there isn't a single case where there was more than one candidate up for election).

    If we consider that the potential candidate has to be approved with a vote with an approval greater than 50% by the constituents in order to be registered as a candidate, then maybe one could say that maybe there were more potential candidates brought up but in the end it was decided to approve only one person to be registered as a candidate. But wouldn't that be an abuse of the system? I am interpreting the role of that constituent meeting to be the filtering out of candidates that do not meet the requirements to run for election, not to choose for the whole population of the precinct what candidate should win.

    Q: Do these elections really only have a single candidate up for election per precinct, and if yes, why aren't there more?

    0
    Collaborative editing on Emacs across editors/IDEs?

    Is there any way to use Emacs for collaborative editing, while there is at least one person who doesn't use emacs, but rather some popular IDE? It should also be possible to edit multiple files at the same time.

    Other solutions seem to expect all people to be using Emacs.

    0
    A community for people who love to cook! @lemmy.ml Faresh @lemmy.ml
    What meals do you know which aren't too time consuming to prepare (or if they are last for a very long time), are cheap and whose ingredients are easy to acquire?

    Bonus if it isn't just mainly carbon-hydrates and if the ingredients don't need to be used immediately (unless the meal itself when done can last for many days).

    I'm getting tired of tuna masala spaghetti.

    7
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)FA
    Faresh @lemmy.ml
    Posts 25
    Comments 612