Software Engineer, Linux Enthusiast, OpenRGB Developer, and Gamer

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

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

help-circle





  • 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.


  • It’s not specific to Microsoft, but the general idea of letting proprietary software install whatever it wants whenever it wants directly into your kernel is a bad idea regardless. If the user had any control over this update process, organizations could do small scale testing themselves before unleashing the update on their entire userbase. If it were open source software, the code would be reviewed by many more eyes and tested independently by many more teams before release. The core issue is centralizing all trust on one organization, especially when that organization is a business and thus profit-driven above all else which could be an incentive to rush updates.




  • I don’t care if it’s “better” than the existing system, Mozilla should not be helping the advertising industry at all. They should be actively working to block any and all attempts to gain access to user data, flat out. They are not, and their acquisition of an ad company shows that their motives are not in line with what their users want. They’re a company after money, no different than any other. Big fucking shame, but when you hire business people and operate as a business, you can’t have true integrity no matter what your supposed mission is. Yes, Mozilla operates a nonprofit but they also operate a corporation, and the corporation exists to make money above all else which is why they’ve succumbed to this ad industry bullshit. I hope we see a viable third option for browser, but until then the best option is a Firefox fork that actually gives a damn about the user and not just their wallets. I’ve switched to using LibreWolf on all of my devices. Like Firefox, but without the anti-user, pro-ad-industry garbage turned on by default. I’ve been calling Firefox adware for years now ever since they started stuffing Mozilla VPN ads, sponsored link garbage, “Pocket recommendations” horseshit, and all the other paid/sponsored nonsense in users’ faces without their permission but people were like “no no Mozilla is actually good”…cut it out, Mozilla has shown their hands very clearly now. They want the advertising $$$ and are willing to give up any respect and integrity they used to have for it. They aren’t at the level of Chrome and Google, but they’re inching closer every day and acquiring their own ad company certainly isn’t going to help in that regard.