[-] ruffsl@programming.dev 2 points 7 months ago

Congrats on solving your issue, and thanks for updated the post with the solution! It's really slick how NixOS makes adding a kernel patch to your config no more complex than it would take patching any dot file. Hope the up streaming of your device info goes smoothly.

9
43
[-] ruffsl@programming.dev 2 points 2 years ago

You could get a fiber optic display/HDMI cable, a fiber optic USB cable, and the USB hub, then just move the desktop tower into another room and run the cables through the walls or ceilings to your display setup. Might only be $100 or so cheaper than then a used business thin client, but at least you could still do something 4K 120Hz HDR 12bit over some distance without compromise. E.g:

[-] ruffsl@programming.dev 2 points 2 years ago

A while back, I tried looking into what it would take to modify Android to disable Bluetooth microphones for wireless headsets, allowing for call audio to be streamed via regular AAC or aptX, and for the call microphone to be captured from the phones internal mic. This would prevent the bit rate for call audio in microphone being effectively halved when using the ancient HFP/HSP Bluetooth codecs, instead allowing for the same call quality as when using a wired headset. This would help when multitasking with different audio sources, such as listening to music while hanging out on discord, without the music being distorted from the lower bit rate of HFP/HSP. This would also benefit regular VoLTE, as the regular call audio quality already exceeds that of legacy Bluetooth headset profiles.

Although, I didn't manage to tease apart the mechanics of the audio policy configuration files used by the source Android project, given the sparse documentation and vague commit history.

I'd certainly be fine with the awkwardness of holding up and speaking to my phone as if it was in speaker mode, but listening to the call over wireless headphones, in order to improve or double the audio quality. Always wondered what these audio policies fall back to when a Bluetooth device doesn't have a headset profile, but it's almost impossible to find high quality consumer grade Bluetooth headphones without a microphone nowadays.

[-] ruffsl@programming.dev 2 points 2 years ago

For the call setting under Bluetooth audio devices, I really wish they would break out or separate the settings for using the audio device as a source or sink for call audio. Sort of like how you can disable HSP/HSF Bluetooth profiles for audio devices in Linux or Windows.

26
10 weird algorithms (youtube.com)
submitted 2 years ago* (last edited 2 years ago) by ruffsl@programming.dev to c/programming@programming.dev
-22
[-] ruffsl@programming.dev 2 points 2 years ago

Has Bryan done any more recent recorded talks?

234

I feel like there was a missed opportunity to use some of the spare computing power on the desk to add some helpful navigational autonomy. Like using a backward facing web camera for lane assist, obstacle avoidance, route following, etc. Could leverage something open source like Autoware.org to get most of the way there.

Source video by Joel Creates:
https://youtu.be/mDndd_EzkgA

[-] ruffsl@programming.dev 2 points 2 years ago

The only experience I have with working with Fortran would be setting up gfortran when building SciPy from source, and perusing its codebase to see how it's FFT functions were so optimized. Not enough to diligently mod I'm afraid.

139
submitted 2 years ago by ruffsl@programming.dev to c/space@lemmy.world
76
submitted 2 years ago* (last edited 2 years ago) by ruffsl@programming.dev to c/programming@programming.dev

Have you ever wondered how NASA updates Voyager's software from 15 billion miles away? Or how Voyager's memories are stored? In this video, we dive deeper into the incredible story of how a small team of engineers managed to keep Voyager alive, as well as how NASA could perform a software update on a computer that's been cruising through space for almost half a century.

26
581
[-] ruffsl@programming.dev 2 points 2 years ago

I'm not sure why, but GitHub's search engine, Blackbird, seems to be returning some erroneous results for this query:

Any chance you could narrow down your search to a list of repose that use the library that pulls in tnt_select() function, then clone and manually grep just those, or is it's use too common to index by?

Real funny that even narrowing down GitHub search to just the same repo doesn't help the query results:

4

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

I've been looking into putting together a home office setup for remote development and stumbled upon this nice home automation project by David Zhang, where they use a Raspberry Pi with a customized num pad to control almost every day-to-day arrangement of their office, from desk hight, KVM input/output switching, lighting, all the way to tiling window management. Looks like they've also published the combination of Auto Hotkey, Home Assistant and ESPHome scripts in order to work, including links to dependencies:

Anyway, I'm looking forward to scripting a similar setup once I've gathered the general equipment, and figured other programmers might similarly appreciate the ergonomics in such an automated workflow.

P.S. Any suggestions for a developer picking items for a new remote office from scratch would also be appreciated. E.g. office equipment recommendations like desk, chair, screen mounts, AV accessories.

27

I've been looking into putting together a home office setup for remote development and stumbled upon this nice home automation project by David Zhang, where they use a Raspberry Pi with a customized num pad to control almost every day-to-day arrangement of their office, from desk hight, KVM input/output switching, lighting, all the way to tiling window management. Looks like they've also published the combination of Auto Hotkey, Home Assistant and ESPHome scripts in order to work, including links to dependencies:

Anyway, I'm looking forward to scripting a similar setup once I've gathered the general equipment, and figured other programmers might similarly appreciate the ergonomics in such an automated workflow.

P.S. Any suggestions for a developer picking items for a new remote office from scratch would also be appreciated. E.g. office equipment recommendations like desk, chair, screen mounts, AV accessories.

[-] ruffsl@programming.dev 2 points 2 years ago

That was really cool and got me inspired! Thanks for cross posting.

17

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

A devlog on switching from Unity to Godot and then to Bevy.

[-] ruffsl@programming.dev 2 points 3 years ago

Yeah, I suspect the current poll rankings are a little biased from the initial ordering of the ranked options. I think strawpoll.com's website should randomize the initial ordering per voter, as well as ask the user to move options from one column to a second columb to make the UI more apparent that all options should be re-ranked by the voter.

[-] ruffsl@programming.dev 2 points 3 years ago

When @'ing or pinging someone by username, the auto complete will suggest matching users from across federated instances. So typo squatting could be a thing, or user impersonation. But it'd be rather transparent when it occurs, but some could still fall for such tactics, just like with email spam or phishing scams.

[-] ruffsl@programming.dev 2 points 3 years ago

If folks vote for the UBP option, then I think that unified color palette and aesthetic would be a reasonable enough clue of instance origin.

That said, if we did hardcode shapes into our instance icons, it's not like there's a lot of maskable radial shapes to choose from that would:

  • fit inside the default circle that remote Lemmy instances would render our community icons as.
  • not overly crop out or limit the artwork canvas with fat dilated margins.
  • https://maskable.app/

With hexagons, octagons, rotated 45 or 30 degree offsets, at tens of pixels font heights: those are hardly differentiable at some point. So regardless, we could easily collide with other servers already that choose hexagons, or any polygon that fits in Lemmy's minimum circle mask.

view more: ‹ prev next ›

ruffsl

0 post score
0 comment score
joined 3 years ago
MODERATOR OF