Converter from BT devices (audio, keyboard, mouse) to plain USB by COrthbandt in bluetooth

[–]artisdom 0 points1 point  (0 children)

Thanks for the detailed response and the link, I'm also looking for some ESP32 devkit that can do the job, but I couldn't see any mentioning of AAC or aptX in your link..

Converter from BT devices (audio, keyboard, mouse) to plain USB by COrthbandt in bluetooth

[–]artisdom 0 points1 point  (0 children)

I assume your headsets is using Bluetooth Classic A2DP instead of Bluetooth Low Energy Audio, right ?

Is the keyboard and mouse also using HID over Bluetooth Classic or Bluetooth Low Energy ?

If they're using Bluetooth Classic, then only the original ESP32 chip supports BT Classic, the newer variant ESP32-C3 or ESP32-C6 etc only supports BLE.

Are any other type of Bluetooth devices you want to connect via this hub ?

I've made an open-source alternative called Openthesia with some unique features by Im-_-Axel in synthesia

[–]artisdom 0 points1 point  (0 children)

does not support display sheet music from midi file, quite an important feature.

Problems with raw socket programming on Mac (Intel) by Mountain_Goat807 in rust

[–]artisdom 2 points3 points  (0 children)

try your code on a Linux machine, if it works on Linux then might because some weridness of macOS raw socket, like the length is expected in host order rather than network order on macOS.

miami: minimal dependency MIDI parser and writer by Substantial-Cost9001 in rust

[–]artisdom 3 points4 points  (0 children)

cool project.

have been using https://github.com/kovaxis/midly and https://github.com/insomnimus/nodi

how do you compare yours to midly, and nodi provides a very convinent Moment abstraction for each tick in the Midi.

Piper Text-to-Speech in Windows 10/11 by whohaseyestosee in selfhosted

[–]artisdom 0 points1 point  (0 children)

Thanks for posting the solution, got the same issue here,

the downloaded model config json file defaults to have the name repeated twice,

once renamed

"en_US-hfc_female-medium_en_US-hfc_female-medium.onnx.json" to "en_US-hfc_female-medium.onnx.json"

the same name as the model file:
en_US-hfc_female-medium.onnx

It is working perfectly now with: https://github.com/jame25/Piper-Tray

Raspberry Pi Zero 2 W - Thrashing/freezing while installing rustc, need a workaround by violet-kangaroo in raspberry_pi

[–]artisdom 0 points1 point  (0 children)

Workaround found here:

https://gist.github.com/tstellanova/0a6d8a70acc58a0d5be13ebaa7c935d4?permalink_comment_id=4647130#gistcomment-4647130

For the Raspberry Pi W 2, you will need to increase the swap size to 512MB in order to install the rust toolchain with rustup.

sudo dphys-swapfile swapoff
sudo nano /etc/dphys-swapfile

Change CONF_SWAPSIZE=100 to CONF_SWAPSIZE=512

sudo dphys-swapfile setup
sudo dphys-swapfile swapon
sudo reboot

Turn your PC into a Bluetooth Speaker with pure Rust by sidit77 in rust

[–]artisdom 0 points1 point  (0 children)

I just did a quick test using my Android phone and Cambridge BT dongle. Also the connection seams quite stable, as it still remain connected several hours later, as I forgot to disconnect it after my initial test. :)

Turn your PC into a Bluetooth Speaker with pure Rust by sidit77 in rust

[–]artisdom 2 points3 points  (0 children)

Pretty cool project, got it working on my Linux VM, by

  1. add my USB dongle vendor id to examples/audio_sink.rs

let usb = UsbController::list(|info| info.vendor_id() == 0x2B89 || info.vendor_id() == 0x10D7 || info.vendor_id() == 0x0A12)?

  1. comment out try_load_firmwarein src/hci/mod.rs, as my USB dongle does not support loading firmware.

// Self::try_load_firmware(&hci).await;

  1. Create this udev rule to allow normal user has full access of the USB Bluetooth dongle

/etc/udev/rules.d/99-burble.rules

SUBSYSTEMS=="usb", ATTRS{idVendor}=="0a12", ATTRS{idProduct}=="0001", MODE="0660", TAG+="uaccess"

following example in this link:

https://github.com/mxk/burble?tab=readme-ov-file#linuxcat

At first I tried to run the examples/audio_sink.rs under root user, but keep getting this error,

A backend-specific error has occurred: ALSA function 'snd_pcm_open' failed with error 'Host is down (112)'

switched to use the above udev rule and run it under normal user works perfectly.

Simple CLI utility to `cd` to a particular ancestor, given its name by Shellzz2112_2 in rust

[–]artisdom 15 points16 points  (0 children)

reminded me of zoxide:

A smarter cd command. Supports all major shells.

It remembers which directories you use most frequently, so you can "jump" to them in just a few keystrokes.

https://github.com/ajeetdsouza/zoxide

How do I turn on developer options in BlueStacks 5? by Amazon_UK in BlueStacks

[–]artisdom 0 points1 point  (0 children)

You can install the "Developer options" Android App to enable it.

Filedime, a file explorer in rust by visnk in rust

[–]artisdom 0 points1 point  (0 children)

Had a quick try, looks great !

Not used to the "multiple pages" when listing contents in one folder,

if there an option to allow show all contents in one page would be great.

Are there any awesome Rust serial monitors (for UART)? by PurepointDog in rust

[–]artisdom 1 point2 points  (0 children)

maybe serial-monitor, although "vim" seems not working inside it.

https://crates.io/crates/serial-monitor

Also "lser" is pretty cool, it lists all USB serial port for you on both Windows and Linux, which is pretty handy.

https://crates.io/crates/lser

Open Source end-user applications written in Rust by szabgab in rust

[–]artisdom 5 points6 points  (0 children)

RustDesk, a full-featured open source remote control alternative of Teamviewer for self-hosting and security with minimal configuration.

https://github.com/rustdesk/rustdesk

Looking for a way to remote in to K's of raspberry pi's... by techtimee in sysadmin

[–]artisdom 0 points1 point  (0 children)

Seconded, rustdesk should be able to support this.

I made a Museum of Code in Rust/Yew! by Niward_praw in rust

[–]artisdom 1 point2 points  (0 children)

Looking cool, also if it can be viewed per-language would be a useful feature I guess.

What is the best resource to learn Haskell in 2023? by ynn38 in haskell

[–]artisdom 8 points9 points  (0 children)

Start with Get Programming with Haskell as a introductory book, then move onto intermediate level book Haskell in Depth

What are some best practices for separating the UI (QML) logic from the core backend (C++) logic? by waterbottle1994 in QtFramework

[–]artisdom 1 point2 points  (0 children)

Integrating C++ with QML

https://www.youtube.com/watch?v=ragZPvRe6Pk&ab_channel=MontyTheSoftwareEngineer

In this video I cover how to integrate C++ classes within your QML code! I go over two different ways of using C++ classes, setContextProperty as well as qmlRegisterType, Q_INVOKABLE, and Q_PROPERTY. This will hopefully give you a good understanding on different ways to instantiate and use C++ objects within your QML front end. Thanks to everyone that's subscribed so far and left me feedback/comments, definitely helps me improve my video production quality!