[-] djtech@lemmy.world 6 points 9 months ago

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.

80
submitted 9 months ago* (last edited 9 months ago) by djtech@lemmy.world to c/linux@lemmy.ml

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.

173
Feed me, human! (media.mstdn.social)
submitted 9 months ago by djtech@lemmy.world to c/cat@lemmy.world
[-] djtech@lemmy.world 13 points 10 months ago

Fork the feature one, get the diff of the commit that patches the bug and apply the diff to your fork.

Now compile and test.

[-] djtech@lemmy.world 9 points 10 months ago

For rendering high quality images in the terminal, check out the Kitty graphical protocol. I don't know if they are any python libraries to use, but I think that they are. P.S. This seems to work well https://stackoverflow.com/questions/58138638/how-to-display-graphical-images-in-kitty-terminal-using-python

[-] djtech@lemmy.world 5 points 10 months ago

So... emacs?

[-] djtech@lemmy.world 45 points 10 months ago* (last edited 10 months ago)

mhhhhhhhhhh

The project is trolling fs

109
A great mechanic (lemmy.world)
submitted 10 months ago by djtech@lemmy.world to c/funny@sh.itjust.works
149
A great mechanic (lemmy.world)
submitted 10 months ago by djtech@lemmy.world to c/funny@lemmy.world
678
Nice parenting tip (lemmy.world)
[-] djtech@lemmy.world 24 points 11 months ago

But if it has all those limitations, why would anyone buy it?

[-] djtech@lemmy.world 14 points 1 year ago

The best way to install is to use a LIVE edition. This is useful beacuse you have a nice installer intergrated and you can try it before you have to install the OS on the computer.

For download of this edition, see www.debian.org/CD/live

From there, if you come from Windows, I would raccomend KDE, as it is stable and customizable. Search "KDE screenshot" to see what it looks like, and if you like it.

If you want this, here the direct URL to download: https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-12.2.0-amd64-kde.iso

Debian should also be lite enough for older machines, and it is the most stable distro I've tried. With this OS, there are already web browser, media player, office suite,... but you can also download Steam, emulators and lots of software

For help you can DM me.

12
submitted 1 year ago by djtech@lemmy.world to c/lemmy@lemmy.ml

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).

35

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).

[-] djtech@lemmy.world 9 points 1 year ago

I can see, in some rare-but-actually-possible conditions, all of those elements happen, but not the last one.

Why would Adobe and Microsoft release software for WebAssembly/Web environments, when Microsoft wants to keep you locked in their shitty environment?

What I could see is that the FOSS alternatives keep getting updated (some of them, like LibreOffice, are full alternatives to close-source software and they have been like that for years), the user population expands (expecially with Adobe and MS wanting to put subscriptions everywhere) and using FOSS software as alternatives for Office, Premiere, PhotoShop, ... becomes the norm.

56
submitted 1 year ago by djtech@lemmy.world to c/lemmy@lemmy.ml

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.

[-] djtech@lemmy.world 9 points 1 year ago

This is exactly how I think about this argument, thanks for bringing it up.

[-] djtech@lemmy.world 21 points 1 year ago

Saying that ALL politicians between the 1920s to the 2010s in Italy is wrong. You can search about De Gasperi, Berlinguer, Giolitti (I know, different eras) and others. I'm not saying everything they did was right, but they not all politicians are as bad as your comment is depicting.

[-] djtech@lemmy.world 6 points 1 year ago

Sorry, this is the output: [ 8306.605559] mmc0: cannot verify signal voltage switch [ 8306.901332] mmc0: error -110 whilst initialising SD card [ 8307.544364] mmc0: cannot verify signal voltage switch [ 8307.837385] mmc0: error -110 whilst initialising SD card [ 8308.488564] mmc0: cannot verify signal voltage switch [ 8308.789314] mmc0: error -110 whilst initialising SD card [ 8582.217859] mmc0: error -123 whilst initialising SD card [ 8584.685053] mmc0: cannot verify signal voltage switch [ 8584.982799] mmc0: error -110 whilst initialising SD card [ 8585.628028] mmc0: cannot verify signal voltage switch [ 8585.926901] mmc0: error -110 whilst initialising SD card [ 8586.573009] mmc0: cannot verify signal voltage switch [ 8586.870849] mmc0: error -110 whilst initialising SD card

The reader can't initalizie the SD card, so no "/dev/sdb" (nothing on lsblk also, obvioulsy).

I'll try cleaning it better, but I already used a napkin.

4
submitted 1 year ago by djtech@lemmy.world to c/archlinux@lemmy.ml

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?

33
submitted 1 year ago by djtech@lemmy.world to c/linux@lemmy.ml

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?

0
submitted 1 year ago by djtech@lemmy.world to c/rustlang@lemmyrs.org

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?

5
submitted 1 year ago by djtech@lemmy.world to c/rust@lemmy.ml

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?

view more: next ›

djtech

joined 1 year ago
MODERATOR OF