And here I thought I had it all figured out. But it does make sense. Doing it with an analog signal introduces noise and measuring pulse widths is going to be simpler.
- 0 Posts
- 28 Comments
Except that wasn’t a serial port, it was midi, and the reason it was on the sound card was because the input was analog.
Your joystick was just two fancy potentiometers, and your soundcard decoded the voltage on the middle legs into a position.
Soundcards handled joysticks because they had the fastest ADCs.
BigDanishGuy@sh.itjust.worksto
Programmer Humor@programming.dev•Simple Optimization Trick
2·4 months agoas the legacy instruction sets are interpreted/translated.
Wth? That’s it, I’m sticking to the AVR then
I get what you’re saying. I guess what I’m yelling at the clouds about is the common discourse more than anything else.
If a screw has a slotted head, and your screwdriver is a torx, few people would say that the screwdriver won’t allow them to do something.
Computers are just tools, and we’re the ones who created them. We shouldn’t be submissive, we should acknowledge that we have taken the wrong approach at solving something and do it a different way. Just like I would bitch about never having the correct screwdriver handy, and then go look for the right one.
Stupid cloud, who’s laughing now?
I get the analogy, but I don’t think that it’s valid. Soldiers are, much to the chagrin of their commanders, sentient beings, and should question potentially illegal orders.
Where the analogy doesn’t hold is, besides my computer not being sentient, what I’m prevented from doing isn’t against the law of man.
I’m not claiming to be infallible. After all to err is human, and I’m indeed very human. But throw me a warning when I do something that goes against best practices, that’s fine. Whether I deal with it is something for me to decide. But stopping me from doing what I’m trying to do, because it’s potentially problematic? GTFO with that kinda BS.
But it will let you do it if you really want to.
Now, I’ve seen this a couple of times in this post. The idea that the compiler will let you do anything is so bizarre to me. It’s not a matter of being allowed by the software to do anything. The software will do what you goddamn tell it to do, or it gets replaced.
WE’RE the humans, we’re not asking some silicon diodes for permission. What the actual fuck?!? We created the fucking thing to do our bidding, and now we’re all oh pwueez mr computer sir, may I have another ADC EAX, R13? FUCK THAT! Either the computer performs like the tool it is, or it goes the way of broken hammers and lawnmowers!
I use my real name, but I’ll put the business as my middle name. So when l get an email saying “Dear John StoreName Doe”, I’ll know who either got hacked or sold my info.
BigDanishGuy@sh.itjust.worksto
Showerthoughts@lemmy.world•Thousands of years ago, when tools were very primitive, it was probably common to have a favorite rock.
2·6 months agoThat’s not a rock, that’s Dwayne Johnson, you know the actor
BigDanishGuy@sh.itjust.worksto
Ask Lemmy@lemmy.world•What are the modern design trends you hate most?
8·6 months ago- the lets put a lot of shit in the title bar of our app trend. Fuck off, I use that bar to pull the window around.
- The idea that I should adapt to the technology, and not the other way around. Don’t force changes on me, especially when they’re only implemented to be able to slap a new version number on the box.
BigDanishGuy@sh.itjust.worksto
Ask Lemmy@lemmy.world•What are the modern design trends you hate most?
6·6 months agoCounter offer: dark themes as default for professional software.
I don’t write software in a dimly light geek cave, I do it in a well lit office. And I can’t tell that dark red string from the background.
BigDanishGuy@sh.itjust.worksto
Showerthoughts@lemmy.world•RFK JR just told us Elon Musk can't use the toilet unassisted
2·8 months agoI did wonder why my client put the word “spoiler” twice, but I already had the picture block and I didn’t want to accidentally put boobs in the comment section, so I just rolled with it.
Good to know, thx
BigDanishGuy@sh.itjust.worksto
Ask Lemmy@lemmy.world•What's the craziest thing that ever happened at your workplace?
2·8 months agoFirst off, instead of using bullets and then manually enumerating then, try putting "1. " at the the start of every item in the list. Don’t increment the “1”.
Around me the only homes without 3phases are older small apartments. Most houses have a 35A 3phase supply, although 63A may become the norm on account of EVs. It’s quite normal to have a 3 phased fuse where each phase is used for something different. Say a fuse box is used for lighting and outlets, but L1 is ground floor, L2 is upstairs and L3 is outdoors.
BTW if you ever move into a house where someone has put outdoors on the same rcd as the rest of the house, then do yourself a favor and get a separate combo rcd/fuse for outdoors. When the rcd trips, it’s always the outdoor usage, and it sucks when all the lights go out, because a gasket died in an outdoor lamp.
BigDanishGuy@sh.itjust.worksto
Ask Lemmy@lemmy.world•What's the craziest thing that ever happened at your workplace?
3·8 months agoWell I don’t own a gun so that probably won’t happen
Well, in that case you can come as you are, as you were.
BigDanishGuy@sh.itjust.worksto
Ask Lemmy@lemmy.world•What's the craziest thing that ever happened at your workplace?
2·8 months agoOne has to wonder … when part of the anonymousness appears to rely on multiple accounts, but the accounts are clearly labeled and easily enumerated. Do you then achieve your objective?
I bet said user does the same thing with their password (singular)
BigDanishGuy@sh.itjust.worksto
Ask Lemmy@lemmy.world•What's the craziest thing that ever happened at your workplace?
5·8 months agoGooning is apparently edging for hours. What I don’t understand is how the joggers comes into this.
BigDanishGuy@sh.itjust.worksto
Ask Lemmy@lemmy.world•What's the craziest thing that ever happened at your workplace?
4·8 months agoFollow up questions:
- Intentionally?
- Consentually?
- What happened next?
BigDanishGuy@sh.itjust.worksto
Showerthoughts@lemmy.world•RFK JR just told us Elon Musk can't use the toilet unassisted
10·8 months agoYou don’t have people for that?
spoiler
::: NSFW, but I can’t mark a picture or comment NSFW
BigDanishGuy@sh.itjust.worksto
Programmer Humor@programming.dev•(How to trigger programmers (and make them irrationally angry)
1·9 months agoHave you seen rust? I couldn’t code like that, what a silly language https://lemmy.world/post/26105353
Jokes on you, they’re hiring for “World’s sexiest Lemmy user”