Software Engineer, Linux Enthusiast, OpenRGB Developer, and Gamer

Lemmy.today Profile: https://lemmy.today/u/CalcProgrammer1

  • 0 Posts
  • 81 Comments
Joined 4 years ago
cake
Cake day: June 9th, 2021

help-circle
  • Agreed 100%. I reached voting age in 2008 and I was one of those “both sides suck” idealistic young voters who voted third party. I did again in 2012 and again in 2016 thinking “Hillary’s already got this one, I can protest vote”. Nope, we ended up with Trump. Ever since that I will only vote blue no matter who, at least as long as the Democrats are the only viable party with some sense of normalcy. Third parties are completely unviable in the US election system. We need ranked choice for a third party vote to not be a throwaway vote. Until that happens, we can’t afford to pick “the best choice”, we have to pick “the best choice that actually has a chance”. Even if it’s not really the best choice. Very happy to have gone out and voted early last week. We need the blue wave. Once the Republican party is thoroughly stomped into the ground and made completely unviable can we focus on a truly liberal third party, but honestly we probably have a better chance of slowly moving the Dems left than we do a third party taking over. It may not happen in my lifespan but I’d rather see progress than regression.








  • I got a NexiGo portable gaming monitor that I’m pretty happy with. It is a 16 inch 2560x1600 display, 144Hz, and supports FreeSync. I got a bidirectional DisplayPort to USB C cable so that I could use it with my desktop for LAN parties and it’s great. It has a built in flip-out kickstand, a folding magnetic cover, OK built in speakers (good enough to game with anyways), and can be powered via a second USB C port with an A to C cable. On a device that supports USB C video output like a laptop or Steam Deck it can run off a single cable but I mostly wanted it for my desktop.










  • Ugh, I got a fair return from buying to AMD right before Ryzen came out. I sold some of it and bought multiple different chip companies so now I have some AMD, some Intel, some NVDA. Oh well, it’s not a huge amount but still sucks. I hope they can come back if only because AMD needs competition to keep them from becoming the evil that old Intel was. I was hoping Intel would also be a viable third GPU competitor, I like my Arc A770 for the price and I’m hoping they don’t kill off the GPU division.


  • I’m not sure about FF specifically, but 99% of the time you’re connecting a microcontroller to a PC you’re doing so over a serial port (UART) of some sort. It may be a physical COM port or it may be a USB to serial adapter or even a purely virtual serial port over a USB connection, but the methodology is all the same. Unless you are running a serial terminal on that port (as in, a commandline on your PC served on the given /dev/ttyX interface, not a terminal emulator letting you read/write from the port), the microcontroller can’t just run scripts on the PC. Instead, you will want to write a script/program that opens the port and waits for a command to be sent from the microcontroller, then that listener script can execute whatever functionality you require. Note that only one application can have the port active at a time, so if your listener is a separate program from your event handler, you will have to close the port on the listener before running the handler, then reopen the port on the listener once the handler is done so it can start listening for the next event. Better to just make it all one program that is always running on the PC and does both listening for events and handling them so there’s only one program that needs access to the serial port.