Skip Navigation
Idea for a new project: reblued
  • Thanks for your reply; i won't work with firmware-level aspects of the stack, as my plan is to write the userspace daemon, while keeping the kernel-levels modules identical and to communicate to them via HCI sockets, as they are implemented by Linux and with them I can talk directly to the bluetooth controllers.

    I'll check out Android's project and double-check for security vulnerabilities in older version of the protocols tho, so thank you again for replying.

  • Idea for a new project: reblued

    Hi everybody,

    i'm a long time Debian user and, while i've always loved the Linux experience, the bluetooth side of things was always a little bit... painful.

    Lately, i've been digging on how bluetooth on Linux works (i knew about BlueZ, but i didn't know about HCI sockets, standard protocols for bluetooth controllers, ...). Seeing how Android manages to work fine with bluetooth (yes, i know, money and company support, blah blah blah), i was thinking about re-writing the bluetooth daemon, in order to be modern, modular, safe (written in Rust), stable and retro-compatible (exposes the same D-Bus APIs as BlueZ) I already found some documents about HCI socket in Linux, HCI communication with bluetooth controllers, HID standards for Bluetooth, etc...

    My questions are:

    • is this a good idea?
    • does somebody want to collaborate?

    Thanks for reading.

    EDIT: The repository is https://github.com/djtech-dev/reblued but at the moment is pretty much empty, just the project's skeleton, license, README and disussions for collaborators.

    11
    Feed me, human!
    2
    I've started building a TUI for Lemmy
  • A quick research tells me that there aren't patches for other emulators, but the protocol seems well described, so making those patches is possible. I could also take a look at Alacritty source code and deicide if I could make this project work.

  • Flatpack, appimage, snaps..
  • What do you mean by AppImage permissions? A sandboxing feature like "access only those directories, those /dev devices, ..."

    EDIT: obviously this isn't just for AppImage, but I tested it with AppImage and it work well. Another tip: if you want a package manager for managing AppImage installations try zap (https://github.com/srevinsaju/zap)

    In that case, take a look at bubblejail. (https://github.com/igo95862/bubblejail)

  • Microblog Memes @lemmy.world djtech @lemmy.world
    Nice parenting tip
    22
    Super weird error, what's happening?
  • Run "journalctl --lines 200" and send photos of output.

    NOTE: This is all of the logging of the computer, and it's long (that command select the last 200 entries), so you might have to scroll down using the PageDown key (or arrow down) in order make the photos of everything

  • Super weird error, what's happening?
  • The Shell where you typed "systemctl reboot" and "exit".

    If you are running KDE neon, try "apt update" and "apt upgrade". If It doesn't work do "sudo apt update" and "sudo apt upgrade"

  • LXD now re-licensed and under a CLA
  • Yes, but I can still play steam, any Valve game and atm any Linux steam game on X11.

    I don't hate Wayland as a project, I just don't like Wayland as it current state. Give me better stability, better support with multiple monitors and a compositor with more customization, and I'll be happy.

    But, in my opinion, Wayland is by design opinionated. Some ideas are good, such as the security model, some are both good and bad, such as the Compositor VS Server+WM debate (both good systems in my opinion), some are just bad (no unified screen management option; obviously there are LOTS of protocol extension, but not all are supporting everywhere)

    So, imo, WayLand just needs a stable, (really) customizable Compositor with all useful extensions and designed to put other components together; I'm still on my X11+awesomewm+rofi+polybar, and I want a customizable, stable and module approach on Wayland.

  • LXD now re-licensed and under a CLA
  • Yes, but I can still play steam, any Valve game and atm any Linux steam game on X11.

    I don't hate Wayland as a project, I just don't like Wayland as it current state. Give me better stability, better support with multiple monitors and a compositor with more customization, and I'll be happy.

    But, in my opinion, Wayland is by design opinionated. Some ideas are good, such as the security model, some are both good and bad, such as the Compositor VS Server+WM debate (both good systems in my opinion), some are just bad (no unified screen management option; obviously there are LOTS of protocol extension, but not all are supporting everywhere)

    So, imo, WayLand just needs a stable, (really) customizable Compositor with all useful extensions and designed to put other components together; I'm still on my X11+awesomewm+rofi+polybar, and I want a customizable, stable and module approach on Wayland.

  • LXD now re-licensed and under a CLA
  • I actually stopped caring about what the fuck Canonical is doing. Matter of fact, the only REALLY good company for the Linux ecosystem as of right now is Valve; Canonical fucks us with snap, Red Hat kills X11, Google is closed and nVidia is closed and buggy.

    The community should own everything. I know how important the company's contributions are, but sometime I'm just pissed off from how incompatible is what there are doing with the FOSS philosophy.

  • An idea for more content on Lemmy (and the fediverse): Relly (Relay+Lemmy)

    crosspostato da: https://lemmy.world/post/7542906

    > So, Lemmy is sometime missing content. I don't regret switching from Reddit to Lemmy but, expecially for niche communities, the content isn't always here. > > My idea is to fix this is a Fediverse-based content relay named Relly. > > Relly allows you to select RSS feeds, Mastodon users, Mastodon hashtag and Mastodon instances (so, the top posts on that instance) as sources for content, and post them to your favourite Lemmy community. > > There are several features which make Relly better and anti-spam: > - Limits for a source (example: only up to 5 posts a day from this RSS feed) > - Limits for a community (example: only up to 5 posts a day to !archlinux) > - Global limits (example: only up to 10 posts made each day) > - Opt-out for servers & communities (instance and community moderators will be able to ask to be put in the UNLIST, which blocks by default Relly on your instace/community; this isn't an anti-spam, as it is more a tool for avoiding common users to use Relly in a malicous and spammy way) > - Order posts (so, if i have 10 RSS posts and 10 Mastodon posts and a global limit of 15 posts, you can either have the 10 RSS posts and the 5 most upvoted Mastodon posts, or some RSS posts and some Mastodon posts [always the most upvoted]) > - Multiple communities (post the same content to different communieties, or set up a fraction [ex. 50%], so that each post has a certain percentage to be posted on a certain community) > - Dynamic limits: You can set an objective of active users/post made in the last 24 hours, so that the limits (either for a specific source, a specific community or globally) will be reduced. Example: if you set a objective of 50 posts, and 25 are made, the limits of Relly will be 50% of what they were originaly set to be; this allows Relly to completly stop posting on a community if the objective was already reached. > - Do not repeat: before posting a link, checks if it was already posted in the community in a specific time period (by default, 48 hours) > - Modularity: new post sources and post outputs can be implemented; an example could be an e-mail output, so that you can run Relly in local and recieve an e-mail everyday with your favourite news) > > Relly is designed to be used by moderators of communities, but users can also use it. > A user should always ask the moderator if it is OK to use it. > A moderator should always ask the admins if it is OK to use it. Moderators, if they are the one using it, should also make public the list of sources, and allow the community to discuss possible edits to the list. > The admins should put in the sidebar notes if Relly is OK to use for moderators of communities. > > At the moment, Relly is just the idea that I presented here; I want to hear the community's feedback, and if the community is OK with this project being made, I will start working on it (I will make it in Rust and release under the MIT License).

    4
    An idea for more content on Lemmy (and the fediverse): Relly (Relay+Lemmy)

    So, Lemmy is sometime missing content. I don't regret switching from Reddit to Lemmy but, expecially for niche communities, the content isn't always here.

    My idea is to fix this is a Fediverse-based content relay named Relly.

    Relly allows you to select RSS feeds, Mastodon users, Mastodon hashtag and Mastodon instances (so, the top posts on that instance) as sources for content, and post them to your favourite Lemmy community.

    There are several features which make Relly better and anti-spam:

    • Limits for a source (example: only up to 5 posts a day from this RSS feed)
    • Limits for a community (example: only up to 5 posts a day to !archlinux)
    • Global limits (example: only up to 10 posts made each day)
    • Opt-out for servers & communities (instance and community moderators will be able to ask to be put in the UNLIST, which blocks by default Relly on your instace/community; this isn't an anti-spam, as it is more a tool for avoiding common users to use Relly in a malicous and spammy way)
    • Order posts (so, if i have 10 RSS posts and 10 Mastodon posts and a global limit of 15 posts, you can either have the 10 RSS posts and the 5 most upvoted Mastodon posts, or some RSS posts and some Mastodon posts [always the most upvoted])
    • Multiple communities (post the same content to different communieties, or set up a fraction [ex. 50%], so that each post has a certain percentage to be posted on a certain community)
    • Dynamic limits: You can set an objective of active users/post made in the last 24 hours, so that the limits (either for a specific source, a specific community or globally) will be reduced. Example: if you set a objective of 50 posts, and 25 are made, the limits of Relly will be 50% of what they were originaly set to be; this allows Relly to completly stop posting on a community if the objective was already reached.
    • Do not repeat: before posting a link, checks if it was already posted in the community in a specific time period (by default, 48 hours)
    • Modularity: new post sources and post outputs can be implemented; an example could be an e-mail output, so that you can run Relly in local and recieve an e-mail everyday with your favourite news)

    Relly is designed to be used by moderators of communities, but users can also use it. A user should always ask the moderator if it is OK to use it. A moderator should always ask the admins if it is OK to use it. Moderators, if they are the one using it, should also make public the list of sources, and allow the community to discuss possible edits to the list. The admins should put in the sidebar notes if Relly is OK to use for moderators of communities.

    At the moment, Relly is just the idea that I presented here; I want to hear the community's feedback, and if the community is OK with this project being made, I will start working on it (I will make it in Rust and release under the MIT License).

    35
    What does Lemmy lack?

    Just wanted to ask: what do you not like in Lemmy (Lemmy as communities, server and clients)?

    This is just a way for me to get some feedback from the community.

    74
    Impossible to read microSD card

    crosspostato da: https://lemmy.world/post/2246549

    > Hello everybody, > > I'm trying to read a (probably damaged) microSD card from my computer (tried with two different computers, both Arch Linux, which can read other card without any problems). > There isn't any singal of life (no /dev/sdX, nothing with GParted, testdisk, ...); the only thing that I found was in dmesg. > Here's the output of sudo dmesg | rg "mmc0": > > > > > Any idea on how to resolve?

    3
    Impossible to read microSD card

    Hello everybody,

    I'm trying to read a (probably damaged) microSD card from my computer (tried with two different computers, both Arch Linux, which can read other card without any problems). There isn't any singal of life (no /dev/sdX, nothing with GParted, testdisk, ...); the only thing that I found was in dmesg. Here's the output of sudo dmesg | rg "mmc0":

    Any idea on how to resolve?

    18
    Problems with borrowing Traits

    crosspostato da: https://lemmy.world/post/1916287

    > > > Hi everybody, I'm new to Rust. > > So, I have a struct Panel which contains a data widget which implements the trait Widget > I have to implement a function for Panel that uses another function that requires a type that implements Widget. > > I tried Box<T>, Rc<T>, Box<dyn Widget, &T, but nothing, always compiler errors. > > How can I fix this?

    7
    Problems with borrowing Traits

    crosspostato da: https://lemmy.world/post/1916287

    > > > Hi everybody, I'm new to Rust. > > So, I have a struct Panel which contains a data widget which implements the trait Widget > I have to implement a function for Panel that uses another function that requires a type that implements Widget. > > I tried Box<T>, Rc<T>, Box<dyn Widget, &T, but nothing, always compiler errors. > > How can I fix this?

    2
    Problems with borrowing Traits

    Hi everybody, I'm new to Rust.

    So, I have a struct Panel which contains a data widget which implements the trait Widget I have to implement a function for Panel that uses another function that requires a type that implements Widget.

    I tried Box<T>, Rc<T>, Box<dyn Widget, &T, but nothing, always compiler errors.

    How can I fix this?

    2
    Allowing to add functionalities in Rust

    crosspostato da: https://lemmy.world/post/1578379

    > Hi, > I Just started working on a Emacs-inspired text editor in Rust. > > Being insipred by Emacs, the most important part Is the possibiliy to implement new components. > > My ideas were: > > - Rust-based scripting language, like Rhai > - RustPython (slower, but more compatible and lots of people know Python) > - PyO3 (Bigger executable and not that fast) > - Wasm/Wasi (Cross-platform, but I don't know if the compatibility with Rust's hosted functions and structs is good) > - Other binded language, like V8, Lua or SpiderMonkey > - Compiled plugins, like .so or .DLL (Fast, but not compatible; there should be Rust plugin frameworks for implementing this, but I don't remember the name) > > The elements to analyze are: speednees (consider it's a text editor, so...), easy-to-develop and Cross-platform (if possible, not that important), but the possibility to execute functions in the host Rust program is EXTREMELY important. > > Thoughts? > > Thanks in Advance. > >

    4
    Allowing to add functionalities in Rust

    Hi, I Just started working on a Emacs-inspired text editor in Rust.

    Being insipred by Emacs, the most important part Is the possibiliy to implement new components.

    My ideas were:

    • Rust-based scripting language, like Rhai
    • RustPython (slower, but more compatible and lots of people know Python)
    • PyO3 (Bigger executable and not that fast)
    • Wasm/Wasi (Cross-platform, but I don't know if the compatibility with Rust's hosted functions and structs is good)
    • Other binded language, like V8, Lua or SpiderMonkey
    • Compiled plugins, like .so or .DLL (Fast, but not compatible; there should be Rust plugin frameworks for implementing this, but I don't remember the name)

    The elements to analyze are: speednees (consider it's a text editor, so...), easy-to-develop and Cross-platform (if possible, not that important), but the possibility to execute functions in the host Rust program is EXTREMELY important.

    Thoughts?

    Thanks in Advance.

    7
    Not correct suspension.

    On Arch Linux on Dell Latitude 7480 (Intel i5 7th Gen) the suspension features works when i close the computer, and it wakes up when i reopen it.

    While on Ubuntu LTS / Debian Stable everything worked as normal, but on Arch when the computer is suspended the display's backlight is on and there's a probability that the CPU isn't in an idle mode beacuse the fans remain pretty loud. This obvioulsy drains the battery, making imossible to really suspend the computer.

    Any help?

    0
    Community for ye Fans: !kanyewest

    Just launched a community on lemmy.world for ye Fans leaving Reddit reachable at !kanyewest@lemmy.world

    2
    Problems with Arch's mirror

    When I try to install mariadb via yay:

    errore: impossibile scaricare il pacchetto 'mariadb-clients-10.11.4-1-x86_64.pkg.tar.zst' da archlinux.mirror.server24.net : The requested URL returned error: 404 errore: impossibile scaricare il pacchetto 'mariadb-10.11.4-1-x86_64.pkg.tar.zst' da archlinux.mirror.server24.net : The requested URL returned error: 404 errore: impossibile scaricare il pacchetto 'mariadb-libs-10.11.4-1-x86_64.pkg.tar.zst' da archlinux.mirror.server24.net : The requested URL returned error: 404 attenzione: troppi errori da archlinux.mirror.server24.net, ignoro il resto dell'operazione errore: impossibile scaricare il pacchetto 'liburing-2.4-1-x86_64.pkg.tar.zst' da archlinux.mirror.server24.net : The requested URL returned error: 404 attenzione: impossibile scaricare alcuni file errore: impossibile eseguire l'operazione richiesta (impossibile scaricare alcuni file) Si sono verificati degli errori, nessun pacchetto è stato aggiornato. -> error installing repo packages

    This is in Italian, but basicily requesting the packages from archlinux.mirror.server24.net returns 404.

    0
    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/)DJ
    djtech @lemmy.world

    Experience programmer. Moderator of the human-managed news scraper @nitrofuel

    Posts 17
    Comments 58
    Moderates