Oh hey it's been a while.
Hi, I'm qdot, founder of buttplug.io and author of Butts Are Difficult, the ethics page in the buttplug.io docs.
I also wrote the rest of the buttplug.io docs but this is the part that I'm proudest of, both because I was really happy how it turned out and also because unlike the parts of the docs involving the API, this one doesn't go out of date as quickly.
Ask me anything!
I have heard that your project has one of the fastest bluetooth libraries in the industry, its so good DOD devs have tried to have the namespaces renamed or something to that effect.
Yeah I wrote and manage our Bluetooth le library! It’s been one of the bigger regrets of my life, but it had to happen and at least it works and I don’t have to touch it much now. :)
Here’s how that came together: https://nonpolynomial.com/2023/10/30/how-to-beg-borrow-steal...
i'd think it would be fine to touch it if you wash it with soap and water first and maybe a few swipes with an antibacterial wipe?
Bluetooth is bad at a spiritual level
I was telling my gf this yesterday as my car refused to pair with her phone (she had to unpaid it so that it wouldn't try to connect when we were driving both our cars nearby) which I guess is a necessary step of connecting (I am not sure I've ever successfully connected two Bluetooth things without pairing them) before the traffic light turned green and the car locked up the Bluetooth UI, so that the driver couldn't operate it, which meant that both the driver and the passenger spent loads of extra time fucking with it until giving up and playing the song directly from her phone's internal speaker
I have never ever seen Bluetooth work as intended
You are either speaking hyperbolicly or lying. Bluetooth is very stable these days.
Bluetooth as a network protocol, that might be stable. Bluetooth interactivity is not stable or even usable in many cases.
It's not just in cars and other non-computer interfaces, good luck trying to pair a non-Apple device with an Apple device. If you say "it works on my computer", congrats, you're the only one. And also speaking hyperbolically.
The Bluetooth experience varies wildly. The Bluetooth stack is pretty enormous and complicated these days, so there's a lot of space for software and hardware vendors to screw things up.
Apple-to-Apple seems to be dead reliable from everything I've heard. Samsung-to-Samsung seems almost as good. Apple or Android to random, Chinese car stereo might be a connectivity nightmare. Connecting to an OEM stereo with whatever implementation was poorly specified by the car company might also be a nightmare.
You must live in some alternate reality. Bluetooth is hardly stable for me.
your kink is ok
Sadly, the most prevailing standards are rarely the best ones. But we're stuck with it until corporations decide to throw money at the successor.
What do you regret?
I don’t really have a ton of interest in maintaining a ble library, it’s just required for my main library. Theres a lot of weirdness around Bluetooth implementations between platforms and now I’m on the hook to either support them or tell users nope. I’d rather be doing neither and just be the user or someone else’s nice cross platform Bluetooth rust library. (Luckily we do have some fantastic contributors)
That's funny, I had to write a dual mode host library for an embedded project a while back, and feel exactly the same way.
I have no interest in BPs but your post is very informative, and your writing is insightful and funny. I wish I wrote that well!
Are you aware of any uses of your software in other domains, e.g., health?
Hilarious and impressive; I’d love to hear more, do you have more details, context or source?
Source was me, from some friends that were trying to use the library and the name was causing issues with contracts. Btleplug was named the way it is because I am horrible, and the name alone has caused it to have to be wrapped or just not used at least a few times.
Which hey, less support for me.
Hilarious! That's a fantastic name and an and an awesome side effect.
This vindicates my latest project where I named the components after anime characters
Otherwise I couldn't keep track of them, see..
I'm glad this is a concern. I maintain software to the effect of buttplug.io and a particular inspiration to start the project was how difficult alternatives were to get going with. I don't want to install anything, or register anywhere, I just want to get my rocks off!
And thank you for buttplug.io. It's super easy to integrate!
I realise this isn't much of a question, sorry :)
I'm laughing so hard because the guidelines in that section track very closely with things that I'm constantly reminding people about with unmanned aviation software. You just need to s/turned on/in an emergency/.
I used to work in self-driving cars waaaay back when (2008-2011, the early days of the current era) and I did pick up some of these ideas from there. :)
Wow, that's awesome! Super curious what project it is you run. (If you don't want to link it to your HN account, feel free to poke me directly, my contact info is in my HN account bio :) )
Cool to see someone quoting Cex 20+ years later. I listened to his stuff a ton back in the day and actually revisited only just a few months ago. Holds up just fine.
Now realizing it's been... 23 years since I saw Cex open for Kid606 and I'm gonna go crumble to dust now.
I suspect you folks are not talking about this Cex:
https://uk.webuy.com/
Which isn't a "he" as far as I can tell. There's a shop near were I live. I always pronounced them "sex" and everyone always told me that's not how it's pronounced, but never told me how else it's pronounced.
Which toy did you enjoy the process of testing and supporting the most? And the least?
Best: Funny enough, it's for a (set of) device(s) that constantly causes me issues, the OSR-2/SR-6/SSR-1.
Here's a background video I did on the hardware: https://www.youtube.com/watch?v=MFcrNk33_io
It's DIY, 3d-printed hardware that's incredibly extensible, and has a decently designed abstract communication protocol that I've ended up pointing other DIY creators at. Keeping up with everything the hardware can do while also trying to make it work with our generalized commands is a challenge, but it's a good challenge, because we don't see a ton of innovation from the large commercial manufacturers.
Least enjoy: We support over 500 devices now, so this is just a whole classes of devices at this point heh. There's a lot of hardware we support that's just not very good to begin with, and users can't tell whether it's our library or the hardware hardware that sucks. Then there's the hardware that makes very... odd decisions about how to do things. For instance, there was a brand known as MuSE or Lovespouse that's been popular for the past couple of years. Instead of creating a bluetooth connection to the device, the device acts as a host and listens for advertisements w/ specialized data in order to set vibrator power. Not only is this easily hackable (there was a bunch of articles about someone doing exactly that with a flipper zero last year), it's damn near impossible for us to implement cross platform support for, as advertisement creation in BLE is wildly different across platforms, and doesn't even exist on iOS (the company themselves only shipped on android, where buttplug works on win/mac/linux/android/iOS). On top of that, the Lovespouse devices were extremely cheap ($10-30US sometimes), so we had users buying them then asking if we supported them, and all we could say was "nope".
I used to work in the Group Fitness (gym electronics) space and this is exactly how some BLE heart rate monitors get around the problems with otherwise requiring the host to connect to 20+ devices to capture their data. Put heart rate into the Manufacturer-Specific region of the advertising packet and boom, no one needs a connection.
Problem is that it's non-standard, so every device packages the data a different way.
How many BPD do you estimate your software is supporting nowadays ?
1000s at least. We don’t have any detailed metrics because the data privacy issues there are… a lot, but going by download numbers and knowledge of platforms and some of the larger applications, it’s a decent number.
I tried to use buttplug years ago but I found it to be difficult to work with and introduce too much latency into play. My partner and I have replaced it with 37 lines of javascript that give us more realtime control of our toys (albeit only Lovense, by just spamming .writeValueWithoutResponse()).
I'm curious what your background is that you approached the problem in the way that you did? I appreciate that you're covering all the edge cases for a lot of different toys, but it also really feels like you use 1000 lines of code where 10 will do.
I love your ethics statement. TBH, this mindset ought to be the bottom line for any serious software (non-demoscene / non-fun-and-games type). Without pervasive empathy for the user, it's kind of hard to do the right thing in the first place. Especially within the strange organisms that are organisations.