Skip Navigation
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/)DO
Posts
10
Comments
12
Joined
5 mo. ago
  • Watching this video brought back memories of when I first started using Linux. I really connected with him. Linux makes you feel like you have a lot of control – like you can change things easily. Windows, on the other hand, often feels frustrating and doesn't really help you much.

    What I noticed about the video is that he encourages you to try new things and be willing to make mistakes. He doesn't seem to get upset when things go wrong, which I think is helpful for viewers. He also admits that Linux isn't for everyone, which is a realistic acknowledgement. It's a good video for introducing Linux, but it doesn't overhype it either.

  • Today I Learned @lemmy.world
    DollyDuller @programming.dev

    TIL about a curated online music platform offering free, legal downloads of music from independent artists

    The Free Music Archive (FMA) is an online repository of royalty-free music, currently based in the Netherlands. Established in 2009 by the East Orange, New Jersey community radio station WFMU and in cooperation with fellow stations KBOO and KEXP, it aims to provide music under Creative Commons licenses that can be freely downloaded and used in other works. The service launched with an emphasis on curating high-quality works in a manner "designed for the age of the internet". Users can also "tip" musicians via donations.

    Okay, so I was wondering if there were any cool ways to find new artists. Then I stumbled across the Free Music Archive – seriously, it’s a gem! It’s got tons of music from independent bands and artists, and most of it is under Creative Commons licenses. It’s a really easy way to discover some awesome tunes and support the musicians directly. Definitely worth checking out if you’re looking for something different!

    Official website: https://freemusicarchive.org/

    Programming @programming.dev
    DollyDuller @programming.dev

    CSS Diner - The menu for today includes CSS selectors

    I'm taking The Odin Project, and one of the assignments is to complete this game. I have to say, I was really surprised, but it's been a really refreshing experience while learning all this new stuff.

  • I'm not entirely sure how it works, but I think it's read from top to bottom. If you need to control the order of execution, I'd suggest writing shell scripts and adding them to the config file. It should make things easier to manage.

  • First, make sure to include the full path to the script in your config file, like exec /home/your_username/path/start_cmus.sh or exec ~/path/start_cmus.sh. If you just use ./start_cmus.sh, there will be a complaint as it doesn't know where to look for the script.

    Another thing to keep in mind is that swaymsg is usually the better choice (man sway) when you want to send commands to sway. You can write your script as swaymsg -t command 'workspace 10; exec wezterm -e cmus' and then put the whole thing in your config file.

    To make debugging easier, I like to add some echo or notify-send commands to my script to see if it's working as expected. I'll put those in my config file, run it, and check if the debug commands are being executed correctly like echo "first: $first_output" && commands && echo "second: $second_output". It's a simple trick that can save you a lot of time. Also, don't forget to check out journalctl for more info.

  • Permanently Deleted

  • Yes, they are different because they are for different flatpak applications.

    What's in the files? Do they have a line called sockets? Is that line set to x11 or x11-fallback? Have you tried adding those options like sockets=wayland;x11;x11-fallback? I usually get an error saying I can't connect to the display or that X is missing when I revoke access to x11 or wayland. Or did you remove x11 from your system?

  • Permanently Deleted

  • It's likely because it can't access X11 or Wayland. To fix this, try editing the files in /home/your_username/.local/share/flatpak/overrides/ like I mentioned earlier. Specifically, look for the sockets line and make sure it includes wayland, x11, and x11-fallback like sockets=wayland;x11;x11-fallback;. This should help you launch flatpaks that need X11 access.

  • Permanently Deleted

  • man 1 flatpak-override

    Overrides the application specified runtime requirements. This can be used to grant a sandboxed application more or less resources than it requested.

    By default the application gets access to the resources it requested when it is started. But the user can override it on a particular instance by specifying extra arguments to flatpak run, or every time by using flatpak override.

    The application overrides are saved in text files residing in $XDG_DATA_HOME/flatpak/overrides in user mode.

    Scroll down, you will see the --reset option to remove the overrides.

    I noticed you used sudo to run the command, so I think the override files are stored in /var/lib/flatpak/overrides/. To get everything back to normal, try deleting everything inside that directory.

    If you want to override the system-wide settings, you can create files in the same format as the ones in /var/lib/flatpak/overrides/, but put them in /home/your_username/.local/share/flatpak/overrides/.

    To generate the pre-config settings for a flatpak, you can use the flatpak -m info app_id command. This will show you some info about the flatpak, and the -m option will print out the metadata. You can also save this info to a file by running flatpak -m info app_id > ~/.local/share/flatpak/overrides/app_id.

    When you edit the file, pay attention to the Context, System Bus Policy, and Session Bus Policy sections and delete everything else. By default, flatpak is set to share some resources, but you can deny access by adding an exclamation mark before the resource, for example, you could change shared=network to shared=!network.

    If you're looking for a user-friendly way to manage flatpak permissions, I recommend checking out flatseal. It's a great GUI tool that can make it easier for you in this case.

    That being said, it's always a good idea to be cautious when using commands posted online. Make sure you understand what you're doing before copying and pasting anything into your terminal. And if you're ever unsure about something, there are some great resources available to help you out.

    One of the best places to start is the Arch wiki, and I think, man is a friend everybody needs!

  • If you want to share your script with others, I think it's a good idea to make it as easy to read as possible.

    If you're just keeping it for yourself, that's fine. But if you're sharing it with me, the more readable it is, the easier I'll be able to understand what you're trying to do and how you're solving the problem. This will make it easier for us to discuss ideas and improvements together. To be honest, one-liners can be a bit confusing because they can do multiple things at once. Breaking things down into individual steps makes it easier for me to follow along and for you to understand why you made certain decisions.

    Plus, it's a good habit to get into for your own future reference - you'll be able to look back and understand your thought process more easily.

    As the famous saying from SICP goes:

    programs must be written for people to read, and only incidentally for machines to execute

  • movies @lemm.ee
    DollyDuller @programming.dev

    STORM - a sci-fi short film by Will Kindrick

    In a not so distant future, relationship compatibility is determined by an advanced algorithm enforced by the federal government. Participation is mandatory. Users must be paired with (or reassigned) to their ideal partner within one year or be transitioned to a permanent single lifestyle facility.

    This story and the idea of using a raging storm as a metaphor for the trials that test relationships has been in my mind for a long time. Two people who are perfectly compatible and 100% in love are still going to get hit with challenges out of their control. Maybe it’s health, finances, loss of a job, death of a parent, etc. There are so many factors internal and external th

  • Chalk Radio from MIT OpenCourseWare

    I really enjoy this podcast. It's great to hear that the professors at MIT share their passion and expertise with students and the wider world. One of my favorite episodes is Prof. Eric Grimson's story about making computer science more accessible to everyone. It's really motivating to think that there are so many talented teachers and resources available, which makes me feel confident and excited to keep learning on my own.

  • Linux @programming.dev
    DollyDuller @programming.dev

    ShredOS - A small Linux distribution to erase your traces

    ShredOS is a USB bootable (BIOS or UEFI) small linux distribution with the sole purpose of securely erasing the entire contents of your disks using the program nwipe.

    Programming @programming.dev
    DollyDuller @programming.dev

    Why Learning to Code is So Damn Hard

    The four phases of the typical journey into coding

    1. The Hand Holding Honeymoon is the joy-filled romp through highly polished resources teaching you things that seem tricky but are totally do-able with their intensive support. You will primarily learn basic syntax but feel great about your accomplishments.
    2. The Cliff of Confusion is the painful realization that it's a lot harder when the hand-holding ends and it feels like you can't actually do anything on your own yet. Your primary challenges are constant debugging and not quite knowing how to ask the right questions as you fight your way towards any kind of momentum.
    3. The Desert of Despair is the long and lonely journey through a pathless landscape where every new direction seems correct but you're frequently going in circles and you're starving for the resources to get you through it. Beware the "Mirages of Mania", like sirens of the desert, which will lead you astray.
    4. The Upswing of Awesome is when
  • This isn't an echo chamber. You and I are on Lemmy, and we, lemmings, love free and open-source software. But I bet you that many people still use proprietary software as their daily drivers. Many of them still use Windows as their main OS, and many are still on iOS. However, that's not the end of the story. They also use plenty of FOSS software, like Firefox, VLC (you can't deny the love of people for VLC), OBS, and qBittorrent. And that's a good thing! It's not a binary choice that you have to either go this way or this way. That's not healthy.

    Even if this is an echo chamber, so what? I see it as an effort to set a norm for the community. 'Hey, I love Linux, you should try it!' 'I have the same experience, you should give it a go.' 'I've used Linux for a long time and I love it, feel free to ask me any questions.' When there are many people willing to help, others are less scared to try new things. And when we move together, we fear nothing!

  • Technology @lemmy.world
    DollyDuller @programming.dev

    cross-posted from: https://programming.dev/post/22180123

    It is predominantly easy to just accept bad conditions when an alternative is seemingly unfeasible. "I need this software", a lot of us will say when even presented with a better alternative. A lot of us will argue to our bones that being subject to cruelty from software developers is necessary for one potential gain or another. All of which creates a feedback loop of re-enforcement of this parasitic idea that proprietary software is somehow inescapable and we need to give up trying to do something about it. But we shouldn't give up and we should fight. Not just to switch from Windows to GNU / Linux, but to make it so Windows itself will start respecting you too.

    ...

    With software a lot of people lose freedom all the time. Windows is so predominately used that I don't understand why people don't get crazy over this. Yet banning Windows would be a problem, arguably a worse problem, than all those people using it

    Opensource @programming.dev
    DollyDuller @programming.dev

    Help Us Hack The Software Industry!!!

    It is predominantly easy to just accept bad conditions when an alternative is seemingly unfeasible. "I need this software", a lot of us will say when even presented with a better alternative. A lot of us will argue to our bones that being subject to cruelty from software developers is necessary for one potential gain or another. All of which creates a feedback loop of re-enforcement of this parasitic idea that proprietary software is somehow inescapable and we need to give up trying to do something about it. But we shouldn't give up and we should fight. Not just to switch from Windows to GNU / Linux, but to make it so Windows itself will start respecting you too.

    ...

    With software a lot of people lose freedom all the time. Windows is so predominately used that I don't understand why people don't get crazy over this. Yet banning Windows would be a problem, arguably a worse problem, than all those people using it. You should have the right to use software that you want to use, the

    Technology @beehaw.org
    DollyDuller @programming.dev

    ...

    Xu says that while it is likely studies that received AI-generated responses have already been published, she doesn’t think that LLM use is widespread enough to require researchers to issue corrections or retractions. Instead, she says, “I would say that it has probably caused scholars and researchers and editors to pay increased scrutiny to the quality of their data.”

    “We don’t want to make the case that AI usage is unilaterally bad or wrong,” she says, adding that it depends on how it’s being used. Someone may use an LLM to help them express their opinion on a social issue, or they may borrow an LLM’s description of other people’s ideas about a topic. In the first scenario, AI is helping someone sharpen an existing idea, Xu says. The second scenario is more concerning “because it’s basically asking to generate a common tendency rather than reflecting the specific viewpoint of somebody who already knows what they think.”

    If too many people use AI in that way, it could le

    Technology @beehaw.org
    DollyDuller @programming.dev

    cross-posted from: https://programming.dev/post/22040366

    Abstract

    Browser fingerprinting is a growing technique for identifying and tracking users online without traditional methods like cookies. This paper gives an overview by examining the various fingerprinting techniques and analyzes the entropy and uniqueness of the collected data. The analysis highlights that browser fingerprinting poses a complex challenge from both technical and privacy perspectives, as users often have no control over the collection and use of their data. In addition, it raises significant privacy concerns as users are often tracked without their knowledge or consent.

    Methods of Browser Fingerprinting

    • A. HTTP Header Attributes
    • B. Enumeration of Browser Plugins
    • C. Canvas Fingerprinting
    • D. WebGL Fingerprinting
    • E. Audio Fingerprinting
    • F. Font Fingerprinting
    • G. Screen Fingerprinting
    • H. WebRTC Fingerprinting
    • I. CSS Fingerprinting
    • J. Ad
    Privacy @programming.dev
    DollyDuller @programming.dev

    Abstract

    Browser fingerprinting is a growing technique for identifying and tracking users online without traditional methods like cookies. This paper gives an overview by examining the various fingerprinting techniques and analyzes the entropy and uniqueness of the collected data. The analysis highlights that browser fingerprinting poses a complex challenge from both technical and privacy perspectives, as users often have no control over the collection and use of their data. In addition, it raises significant privacy concerns as users are often tracked without their knowledge or consent.

    Methods of Browser Fingerprinting

    • A. HTTP Header Attributes
    • B. Enumeration of Browser Plugins
    • C. Canvas Fingerprinting
    • D. WebGL Fingerprinting
    • E. Audio Fingerprinting
    • F. Font Fingerprinting
    • G. Screen Fingerprinting
    • H. WebRTC Fingerprinting
    • I. CSS Fingerprinting
    • J. Additional JavaScript Attributes
    • K. Advanced Techniques Using Machine Learning