When you webpack so badly you broke every other script (and most of the web page)
-
@mott555 said in When you webpack so badly you broke every other script (and most of the web page):
It's debatable whether you'd call USB drivers "actual drivers." USB is pretty limited. No interrupts, no access to address space, no memory-mapped IO, no DMA...you can safely do everything from user-mode with little risk.
Careful. You might be giving them ideas. And then, before you know it, you've got something like WebDMA or WebPCI.
-
@cvi said in When you webpack so badly you broke every other script (and most of the web page):
@mott555 said in When you webpack so badly you broke every other script (and most of the web page):
It's debatable whether you'd call USB drivers "actual drivers." USB is pretty limited. No interrupts, no access to address space, no memory-mapped IO, no DMA...you can safely do everything from user-mode with little risk.
Careful. You might be giving them ideas. And then, before you know it, you've got something like WebDMA or WebPCI.
WebCloud?
-
@dkf said in When you webpack so badly you broke every other script (and most of the web page):
Write PHP to generate Perl to generate C++.
Ehm, actually I thought that it compiles to JavaScript eventually...
-
@cvi said in When you webpack so badly you broke every other script (and most of the web page):
@mott555 said in When you webpack so badly you broke every other script (and most of the web page):
It's debatable whether you'd call USB drivers "actual drivers." USB is pretty limited. No interrupts, no access to address space, no memory-mapped IO, no DMA...you can safely do everything from user-mode with little risk.
Careful. You might be giving them ideas. And then, before you know it, you've got something like WebDMA or WebPCI.
Come to think of it, USB 4.0 is supposed to merge USB and Thunderbolt (I don't even know what that means because they're completely unrelated standards). Thunderbolt does have memory access and hardware interrupts...so...WebUSB...in the future...
-
@mott555 said in When you webpack so badly you broke every other script (and most of the web page):
USB 4.0 is supposed to merge USB and Thunderbolt (I don't even know what that means because they're completely unrelated standards).
Maybe: develop a third standard that new devices are supposed to comply with, hopefully while having the {hard|firm|…}ware in the computer translate “old” USB and Thunderbolt signals into the new standard?
-
@Gurth @error_bot !xkcd standards
-
-
@mott555 said in When you webpack so badly you broke every other script (and most of the web page):
merge USB and Thunderbolt (I don't even know what that means because they're completely unrelated standards)
USB-C and Thunderbolt 3 are the same connector. The same ports on my laptop support both. They're not completely unrelated.
-
@loopback0 They share a mechanical connector, but the protocols are completely imcompatible and unrelated. As I understand it, there's some kind of switch in there that detects the device type and routes the pins to the correct bus. It's not clear to me if USB 4 is a continuation of that, or something new, but all the vague marketing material I've seen seems to suggest they're actually merging them while still maintaining back-compatibility with older USB and Thunderbolt standards...which makes my head spin.
-
@mott555 Fixed the comic:
-
@anonymous234 There's a joke image out there with a bottle of "All-in-one Men's body wash/aftershave/laundry detergent/bug repellent/car wax" but I can't find it. I think the USB-C connector is the electronic version of that.
-
@PleegWat said in When you webpack so badly you broke every other script (and most of the web page):
@Gurth @error_bot !xkcd standards
That is indeed part of what I had in mind. The other part is that it’s likely the magic won’t work quite as it should.
-
@mott555 It's a floor wax and a dessert topping!
-
@levicki said in When you webpack so badly you broke every other script (and most of the web page):
@anonymous234 USB-C is the most idiotic of all USB connectors. You can't know what it actually supports without reading techincal specifications of the computer, the cable, and the thing you are plugging into the computer using said cable.
Since 99% of people don't read tech specs they will buy cheapest Chinese trash and expect it to "just work". Good luck with that.
And it really helps that no fucking cables at all are standards compliant, and deliver massively more power than they should be able to, because all chargeable devices have protection against standards non-compliance. Well, except the ones that don't - you can for example brick a Nintendo Switch by plugging it into a cell phone charger.
of course being that USBC doesn't have any standards compliant methods for fast charging, despite it being a big thing in its predecessor.
-
@_P_ said in When you webpack so badly you broke every other script (and most of the web page):
<image>
what is this extremely verbose version of html you are using
-
@mott555 said in When you webpack so badly you broke every other script (and most of the web page):
They share a mechanical connector, but the protocols are completely imcompatible and unrelated.
WARGARBL...that's implementation details. Regular people don't care about that shit. GET OUT OF 1973 ALREADY.
-
@pie_flavor said in When you webpack so badly you broke every other script (and most of the web page):
you can for example brick a Nintendo Switch by plugging it into a cell phone charger.
I guess I'll stop doing that.
-
@error So far I've been ok with an Amazon Basics USBC cable and any 5v charger/battery pack I've tried it with. I think the danger potential is overblown, but then again I haven't gone deep into the weeds researching all the complications of USBC
-
@hungrier said in When you webpack so badly you broke every other script (and most of the web page):
@error So far I've been ok with an Amazon Basics USBC cable and any 5v charger/battery pack I've tried it with. I think the danger potential is overblown, but then again I haven't gone deep into the weeds researching all the complications of USBC
I buy Thunderbolt 3 certified cables, they're not that much more expensive and I get the certanty that either the cables are in fact rated for what they are rated for or the certification authorities will he about to have some strong words with the manufacuters of the cable for fraudulently using the certification mark.
though, for applications that don't require power transfer I have gotten to like the Owens Corning Fiber optic thunderbolt 3 cable..... fuuuuuucking expensive, but with the right thunderport dock and a little planning in my case building I have arrived at a setup that means i can put my noisy PC in a room far far away and just have the monitors, keyboard, mouse and other accessories in the room what I use as an office......
-
@Vixen said in When you webpack so badly you broke every other script (and most of the web page):
i can put my noisy PC in a room far far away and just have the monitors, keyboard, mouse and other accessories in the room what I use as an office......
Huh, that makes me curious if I could set up some kind of KVM so that I have multiple terminals to my main PC throughout my house.
-
@Vixen said in When you webpack so badly you broke every other script (and most of the web page):
I get the certanty that either the cables are in fact rated for what they are rated for
I just checked the specs for the cable I got and it's bog-standard USB 2.0, 5V 3A max. It's plenty for what I use it for (to slowly charge the Switch in portable mode away from the dock), and for fast charging I've got the dock with AC adapter that it came with. I doubt even the crappiest no-name cable would break a sweat at 5V 3A.
-
@hungrier said in When you webpack so badly you broke every other script (and most of the web page):
5V 3A.
sure, but what happens when i want to plug my Lenovo into it? or my chromebook? Those want 65 and 45 watt respectively (yeah i have a charger that is standards compliant that will do that, not that i plug my switch into it, but still)
;-P
-
@error said in When you webpack so badly you broke every other script (and most of the web page):
@Vixen said in When you webpack so badly you broke every other script (and most of the web page):
i can put my noisy PC in a room far far away and just have the monitors, keyboard, mouse and other accessories in the room what I use as an office......
Huh, that makes me curious if I could set up some kind of KVM so that I have multiple terminals to my main PC throughout my house.
KVM-over-IP is what you seek.
-
@mott555 said in When you webpack so badly you broke every other script (and most of the web page):
KVM-over-IP is what you seek.
I bought a license for Synergy 2 but it sucks.
-
@mott555 said in When you webpack so badly you broke every other script (and most of the web page):
@error said in When you webpack so badly you broke every other script (and most of the web page):
@Vixen said in When you webpack so badly you broke every other script (and most of the web page):
i can put my noisy PC in a room far far away and just have the monitors, keyboard, mouse and other accessories in the room what I use as an office......
Huh, that makes me curious if I could set up some kind of KVM so that I have multiple terminals to my main PC throughout my house.
KVM-over-IP is what you seek.
Well, I'm sold.
choke
-
@error said in When you webpack so badly you broke every other script (and most of the web page):
I bought a license for Synergy 2 but it sucks.
I too have a license for that. I was promised much. but synergy and it's successor Synergy 2 STILL don't understand multi monitor setups. I am very disappoint. Multi monitor setups were not uncommon even when the first version was developed, so why are they handled so poorly now? And may the great goddess Amaterasu help you if you happen to have a non rectangular monitor layout.
I still use Input Director for that, because for all its other faults, at least gets that i have two main screens with a laptop under the left one and a tablet under the right.
-
@Vixen said in When you webpack so badly you broke every other script (and most of the web page):
@error said in When you webpack so badly you broke every other script (and most of the web page):
I bought a license for Synergy 2 but it sucks.
I too have a license for that. I was promised much. but synergy and it's successor Synergy 2 STILL don't understand multi monitor setups. I am very disappoint. Multi monitor setups were not uncommon even when the first version was developed, so why are they handled so poorly now? And may the great goddess Amaterasu help you if you happen to have a non rectangular monitor layout.
I still use Input Director for that, because for all its other faults, at least gets that i have two main screens with a laptop under the left one and a tablet under the right.
They promised I would be able to get a computer on VPN to talk to a computer not on VPN via the cloud, but it was all lies.
-
@error said in When you webpack so badly you broke every other script (and most of the web page):
it was all lies.
There are only three things ever said by a marketing person son. Lies, Damn Lies, and Statistics.
-
@error said in When you webpack so badly you broke every other script (and most of the web page):
choke
But Free Shipping!
-
@error said in When you webpack so badly you broke every other script (and most of the web page):
it was all lies.
@Vixen said in When you webpack so badly you broke every other script (and most of the web page):
"marketing"
"Lies, Damn Lies, and Statistics."You repeat yourself.