mtabini
Joined 15 years ago
Joined 15 years ago
My thought is that perhaps there is some utility to using AI to help in routine scenarios, such as for example when a language barrier prevents someone from explaining themselves well, or when they are struggling to find the right words to express themselves.
Primarily, I was trying to stay away from an absolutist view of the problem to see if there are circumstances in which AI can be useful even considering all its shortcomings. There seems to be a lot of “all or nothing” perspective on its use right now, and I was simply wondering whether it might be a better idea to take a more pragmatic approach.
We do this with a lot of tech in real life: You don't need to be an MD to decide to take an aspirin, or an F1 driver to take the car to the grocery store (well, maybe in some cities, but that's beside the point). The problem is not with using technology, but with abandoning your judgment to it.
Now, I also see the counterargument that, in the doctor example, the computer is simply a tool that improves a process rather than a crutch that replaces the underlying knowledge, but I suspect that, in a lot of cases, that's probably OK.
That said, context is also important. The vast majority of content of social media is of both low quality and marginal importance; style and character are important to make an impact, and AI is clearly not going to improve either.
On the other hand, functional communication, when the goal of the content is to simply pass information across and style is not as important, can, in my opinion, benefit from an AI polish, because so many people struggle with writing clearly. In those cases, I'd rather read slop I can understand than original content that is hard to parse, much like I'd rather read naïve code that you can easily follow than cleverly optimized code that is incomprehensible.
I cannot stress enough how convenient being able to “plug and play” USB-PD power in an existing project is. Whenever I send a finished device to a client, I no longer have to worry about having to source a compatible power brick, or about them misplacing it. Not to mention that, for the simpler projects, I can literally get a 20W power puck from IKEA that has really good performance and costs all of $5 (Canadian). On top of that, if I find that I need more voltage, I can just change a jumper on the decoy board and I'm ready to go.
The only thing I wish more of these boards came with is better overcurrent protection; with PPS so common these days, it would be pretty easy to let the user choose an appropriate current cutoff. Oh well!
[1] https://www.amazon.ca/dp/B0CNVN1N3J?ref_=ppx_hzsearch_conn_d...
There are some screenshots of the UI on the Github page[1], and I wrote a little bit about trying to figure out the mess of USB-C cables that I have accumulated over the years[2] to see which supports what capabilities.
I think some videos are a great idea… now that the device is done and we're starting to send review units out, hopefully I will have some time to actually shoot them :-)
[1] https://hackaday.io/page/399874-silence-the-usb-c-cable-spea... [2] https://hackaday.io/page/399874-silence-the-usb-c-cable-spea...
As messy as it is, however, it's also a very useful protocol that allows even small players to take advantage of the same economies of scale that large companies can take advantage of. Pity that the communication often requires dedicated chips, though thankfully those are relatively inexpensive. I was able to get an RP2350 (the same MCU that's in the Raspberry Pi Pico 2) to interface directly with USB-PD, but they could have made it easier and more accessible.
[1] https://github.com/T76-org/drpd or https://www.crowdsupply.com/t76-org/dr-pd [2] https://hackaday.io/page/399885-a-mac-and-an-ipad-walk-into-...
Case in point, IKEA will happily sell you a very well built 20W power supply that provides 5, 9, 12, or 15V for less than $5 here in Canada, and you can get a similar price from legitimate Asian distributors, even when buying in limited quantities. If you're working on a small-batch electronic product, that's a boon to your BOM; if you had to go out and source a dedicated barrel-jack PSU with the same capabilities, it'd cost much more, and you don't know what kind of quality you'd be getting.
Where the standard really falls on its face, IMO, is in its opacity. You can get a chip that does the PD negotiation for pennies, but there is no way to inspect the protocol without shelling out thousands for a dedicated analyzer, so when things don't work, it's really hard to troubleshoot the reason.
(Disclaimer: I'm working on an open-source protocol analyzer, so this probably colours my view on the matter a little.)
Here's an example capture of an exchange between my MacBook Pro and iPad: https://imgur.com/a/8rZlN9X
The iPad responds to Get_Battery_Cap with Battery_Capabilities, which reports the total capacity in Wh:
USB Vendor ID: 0x05AC Product ID: 0x0000 Design capacity: 280 Last full-charge capacity: 280 Battery reference: valid
And then when the MBP asks for battery status, the iPad returns a Battery_Status message:
Battery is present. Present capacity: 14.2Wh Charging state: charging.
Later on, as the charging continues, the iPad will issue an Alert message:
Reported alerts: Battery status changed. Affected batteries: Fixed battery slots: 1
And then the MBP will send a Get_Battery_Status again, and so on. (Example capture here: https://imgur.com/a/TI5maV0
What's really cool is that this exchange happens both ways—the iPad also sends a Get_Battery_Cap message to the MBP, because it is also capable of acting as a source, and, if the laptop's battery drops sufficiently low, the source/sink roles may swap (using a DR_Swap message) so that the iPad ends up charging the MBP!
Dr. PD is an open-source USB-C Power Delivery analyzer and programmable sink. It can sit inline between a USB-PD source and sink to show you the communication between them, or connect directly to a source and emulate a sink so you can characterize chargers and power supplies.
The goal of the project is to make serious USB-PD analysis more accessible. The hardware, firmware, and host software are all open source. The control software runs locally in Chrome or Edge with no drivers or installation required, and the platform also provides Python, JavaScript, SCPI, and USBTMC interfaces for automation.
(Sorry that I don't have a link to the GH repo yet, but you can follow the project on https://hackaday.io/project/205495-dr-pd. Also, if you read this far, I'm looking for a few beta testers. Reach out if you're interested!)