Live data from Hacker News

Build Adafruit projects right from Firefox

firefox.com

81–90 of 96 posts

Re: Build Adafruit projects right from Firefox

#81
post #80
post #22

Earlier quoted context omitted.

You could always just not allow any websites to use these features. They require your permission first.

For the time being.

I don't mean enabling them in `about:config`. The actual pages you visit must request access these features from the user, including selecting which device(s) it is allowed to access. So even if Firefox enabled all of these APIs by default nothing will be able to access your devices without your permission.

Re: Build Adafruit projects right from Firefox

#82
post #74

Earlier quoted context omitted.

Wasn't edited. 2 large download buttons on a page that barely scrolls is as aggressive as it gets. What, you'd only consider 5 buttons aggressive?

[flagged]

You sound like someone really coping and trying to make it not aggressive. One button would not be, albeit maybe a bit out of place as it's still a standard. Two buttons, is simply aggressive. More aggressive than you screaming full caps even .

Re: Build Adafruit projects right from Firefox

#83
post #82

Earlier quoted context omitted.

[flagged]

You sound like someone really coping and trying to make it not aggressive. One button would not be, albeit maybe a bit out of place as it's still a standard. Two buttons, is simply aggressive. More aggressive than you screaming full caps even .

You must be a child.

Re: Build Adafruit projects right from Firefox

#84
post #63
post #23

Feels a bit out of place that the website tries to aggressively make me download Firefox, with multiple links on the site for it. Like it's the 2000's again and I'd need ActiveX or something. But it's to use a standard. Sure, the standard is cool, have used it to flash Meshtastic to some LoRa boards, before advancing to use VS Code + ESP-IDF to flash in my own LoRa code.

it feels more out of place that it's a specific company getting to shove their name up as priority billing for the feature when this entire page should be focusing more on WebSerial support being in Firefox as a whole and not one dude's little devboard company.

Think of it as a collab between two leading open source organizations. Adafruit has contributed a significant amount of open source software and hardware that improves developer experience on microcontrollers, embedded Linux, and Circuit Python.

Re: Build Adafruit projects right from Firefox

#85
post #63
post #23

Feels a bit out of place that the website tries to aggressively make me download Firefox, with multiple links on the site for it. Like it's the 2000's again and I'd need ActiveX or something. But it's to use a standard. Sure, the standard is cool, have used it to flash Meshtastic to some LoRa boards, before advancing to use VS Code + ESP-IDF to flash in my own LoRa code.

it feels more out of place that it's a specific company getting to shove their name up as priority billing for the feature when this entire page should be focusing more on WebSerial support being in Firefox as a whole and not one dude's little devboard company.

"one dude's little devboard company" ... that "one dude" is limor fried, who's been shipping open hardware since 2005, and before that from her MIT dorm room...

webserial in firefox happened because a bunch of people and companies, adafruit included, shipped code, fixed bugs, made open hardware, and did the standards grind.

clicking the name/link of the comment (kotaKat) ... defending right-to-repair, foss, anti-drm, anti-walled-garden.

someone ships open source hardware and software that work together... and you shit on it.

join in and tinker, share code and projects ... or stay addicted to being miserable. if you cannot see this as a positive, nothing will ever be.

Re: Build Adafruit projects right from Firefox

#86

Earlier quoted context omitted.

Blame Apple for that.

Not a full time apple user but how does third party orion browser supports Firefox addons on apple but Firefox itself doesn't support their own addons?

Orion had re-implemented support for the browser extensions APIs in WebKit. Though WebKit more recently opened up its built-in addons support to third-party browsers that use it.

Re: Build Adafruit projects right from Firefox

#87

Earlier quoted context omitted.

Is Web USB also supported?

Nope, our standards position on that is still negative, for one thing.

Ah okay, thanks. My company makes web based diagnostic tools for automotive. At the moment we are Chrome-only because the CAN bus dongle doesn’t support serial.

If the standards committee backpedaled on WebUSB it would literally destroy my company.

Re: Build Adafruit projects right from Firefox

#88
post #65
post #64

Earlier quoted context omitted.

I think that response increasingly makes no sense (as time passes). Mozilla prevents people from building apps that access their devices because it might be possible to do something malicious. I am so tired of being treated like a drooling idiot "for my own good".

The worry is real: there has historically not been a meaningful security barrier between a USB device and software running on the machine it's connected to. Firmware hasn't been developed with the assumption that the machine is malicious, there's probably lots of firmware which you can get RCE on by sending a weirdly formatted USB packet. Lots of devices have pretty unrestricted firmware update via USB functionality.…

But that isn't how it works, it's not a prompt like asking permission to use the camera allow/deny. The user gets presented with list of compatible devices and they have to select one themselves.

An attacker could try to convince users to select something specific but that depends on the actual devices that are present and the "default" option to a confused non-technical person is to just cancel out of the list.

Re: Build Adafruit projects right from Firefox

#89
post #32

Mozilla's response to "Request for Mozilla Position on an Emerging Web Specification", June 2020: > For raw device access as envisioned in a number of APIs (Web USB, Web Bluetooth, Web NFC, and Web MIDI), the risks of exposing those APIs to users cannot be reasonably conveyed. This is pretty much an intractable flaw of allowing raw, non-semantic access to devices regardless of the protocol used to do so. > The specif…

I understand and previously agreed with Mozilla's hard line privacy and security stance. Recently I've changed my mind. I've been building a thing using everything in the web platform, even if it is Chrome only and it is great . You can build apps the blend local and remote systems together in ways that make new things possible - and it is on an open-standard runtime. But as a long time Firefox user I hate that I hav…

Yep, web serial okay but not bluetooth? "We can't make it secure". Yes you can.

No web bluetooth from inside an iframe, always require consent to select a device and connect to it.

Sure, I suppose it could enable more scams by tricking people into connecting to x device but if we were truly worried about stopping scams we'd turn the internet off and then shotgun our entire species.

Re: Build Adafruit projects right from Firefox

#90
post #63

Earlier quoted context omitted.

it feels more out of place that it's a specific company getting to shove their name up as priority billing for the feature when this entire page should be focusing more on WebSerial support being in Firefox as a whole and not one dude's little devboard company.

"one dude's little devboard company" ... that "one dude" is limor fried, who's been shipping open hardware since 2005, and before that from her MIT dorm room... webserial in firefox happened because a bunch of people and companies, adafruit included, shipped code, fixed bugs, made open hardware, and did the standards grind. clicking the name/link of the comment (kotaKat) ... defending right-to-repair, foss, anti-drm,…

[deleted]
Post reply on HN