Spyke

Posts

linux·Linuxbydjtech

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.

View original on lemmy.world
lemmy·Lemmybydjtech

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

View original on lemmy.world
fediverse·Fediversebydjtech

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

View original on lemmy.world
archlinux·Arch Linuxbydjtech

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?

View original on lemmy.world
linux·Linuxbydjtech

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?

View original on lemmy.world
rust·Rustbydjtech

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.

View original on lemmy.world
rust·Rust Programmingbydjtech

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.

View original on lemmy.world
rustlang·Rust Langbydjtech

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.

View original on lemmy.world
archlinux·Arch Linuxbydjtech

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?

View original on lemmy.world
general·General Discussionbydjtech

Discussing bans in lemmy.world

Hi, I’m the author of @nitrofuel, a semi-automated tech news bridge to different Lemmy’s communities and instances. This is not a standard bot, beacuse all links have to be review by the mantainer (at the moment, me) before the bot can post it on all communities (about 14 are registred in the main dataset); i know this is kinda spammy, but the idea is to still keep a medium content-quality threshold. The bot user just got banned, after less than an hour of running?

Is it possible to be unbaned? Is there a limit of posts/communities? Is there an higher content-quality threshold? I can change how the system works, but I wanted to ask for a possibility to be unbanned / recreate the account with infranging ToS, in order to build a better platform.

(P.S. The Nitrofuel bridge is also designed to slow the content output if the user partecipation goes up, in order to slowly fade away when a lot of other user-generated original high-quality content is posted; the final objective is to have the account officialiy deleted when the interested communities are fully-grown and there’s a sufficent amount of high-quality original content)

View original on lemmy.world
general·General Discussionbydjtech

Discuss banning in lemmy.world

Hi, I'm the author of @nitrofuel, a semi-automated tech news bridge to different Lemmy's communities and instances. This is not a standard bot, beacuse all links have to be review by the mantainer (at the moment, me) before the bot can post it on all communities (about 14 are registred in the main dataset); i know this is kinda spammy, but the idea is to still keep a medium content-quality threshold. The bot user just got banned, after less than an hour of running?

Is it possible to be unbaned? Is there a limit of posts/communities? Is there an higher content-quality threshold? I can change how the system works, but I wanted to ask for a possibility to be unbanned / recreate the account with infranging ToS, in order to build a better platform.

(P.S. The Nitrofuel bridge is also designed to slow the content output if the user partecipation goes up, in order to slowly fade away when a lot of other user-generated original high-quality content is posted; the final objective is to have the account officialiy deleted when the interested communities are fully-grown and there's a sufficent amount of high-quality original content)

View original on lemmy.world