whitequark[cis] changed the topic of #glasgow to: https://glasgow-embedded.org · digital interface explorer · https://www.crowdsupply.com/1bitsquared/glasgow · meetings Saturday 2200 UTC · code https://github.com/GlasgowEmbedded/glasgow · logs https://libera.irclog.whitequark.org/glasgow · matrix #glasgow-interface-explorer:matrix.org · discord https://1bitsquared.com/pages/chat
jstein has quit [Ping timeout: 260 seconds]
redstarcomrade has quit [Read error: Connection reset by peer]
SnowJ is now known as SnoopJ
SnoopJ is now known as SnowJ
redstarcomrade has joined #glasgow
redstarcomrade has quit [Changing host]
redstarcomrade has joined #glasgow
crzwdjk has quit [Quit: WeeChat 3.0]
<whitequark[cis]> so i have this idea
<whitequark[cis]> put glasgow entirely into the browser
<whitequark[cis]> all the shebang: python, yosys, nextpnr, icepack, libusb
redstarcomrade has quit [Read error: Connection reset by peer]
jstein has joined #glasgow
jstein has quit [Client Quit]
<tpw_rules> if only that didn't lock you to chrome
<whitequark[cis]> well, we could make a small native shim that lets the browser talk to the device, specifically for Firefox
<Darius> no webusb for firefox?
<whitequark[cis]> or just a Firefox extension maybe
<tpw_rules> also it doesn't really give you an environment where you could have glasgow interact with anything else on the pc. would be nice for easily creating GUIs though
redstarcomrade has joined #glasgow
joerg has quit [Ping timeout: 255 seconds]
joerg has joined #glasgow
redstarcomrade has quit [Read error: Connection reset by peer]
ar-jan has joined #glasgow
tpw_rules has quit [Ping timeout: 256 seconds]
tpw_rules has joined #glasgow
nemanjan00[m] has joined #glasgow
<nemanjan00[m]> FX2 uses serial?
<whitequark[cis]> no
<whitequark[cis]> the USB protocol is custom
<nemanjan00[m]> Oh, you want to use webusb, not webserial?
<whitequark[cis]> yes
<nemanjan00[m]> What do you see as benefits of using it in browser?
<whitequark[cis]> ease of installation
<whitequark[cis]> you plug the glasgow in and off you go
<puck> what if the glasgow could serve the web ui,
<whitequark[cis]> too resource-constrained
<nemanjan00[m]> Yeah, but for example for uart, you lose a lot of features
<whitequark[cis]> sure, but if your alternative is to not be able to use it at all because it's too annoying to install, that seems like a good tradeoff
vegard_e[m] has joined #glasgow
<vegard_e[m]> I think it could make a lot of sense for certain uses, e.g. if you want to do something quick on a different computer from where you've got all your tools set up
<vegard_e[m]> at work I've got a couple of active USB extension cords on a shelf for when I need to poke at some device that's on a coworker's desk that is too much hassle to move over to my desk
<vegard_e[m]> if I could just bring my test equipment over and plug it into the coworker's computer and bring up a webpage, it'd simplify stuff
<nemanjan00[m]> rpi + glasgow + ssh
<whitequark[cis]> rpi :/
<whitequark[cis]> it's so slow
<whitequark[cis]> takes forever to build anything
galibert[m] has joined #glasgow
<galibert[m]> Crossbuild ftw
<whitequark[cis]> crossbuild?
<whitequark[cis]> I'm talking about glasgow bitstreams
<galibert[m]> oh
<galibert[m]> yeah, not going to work there
<whitequark[cis]> amaranth does have support for remote builds, but it's not really enabled in glasgow
<nemanjan00[m]> odoo? intel nuc? lenovo thinkcenter? zimaboard?
<whitequark[cis]> none of these words are in the bible
<galibert[m]> which variant of the bible? ;-)
<whitequark[cis]> I just mean that it's not clear how this set of words relates to the discussion
<whitequark[cis]> oh, udoo? all those are single board computers?
<whitequark[cis]> yeah, there are non-rpi options, but it's another thing you have to set up, maintain, back up, synchronize your environment with...
<vegard_e[m]> at that point I'd rather just get a work laptop 🙂
<whitequark[cis]> yeahhh
cr1901 has quit [Remote host closed the connection]
cr1901 has joined #glasgow
cr1901 has quit [Remote host closed the connection]
cr1901 has joined #glasgow
ar-jan has quit [Ping timeout: 264 seconds]
<jwise0[m]> I guess the question with glasgow-web is whether there would be interesting clients that would also live in the browser
jwise0[m] has joined #glasgow
<whitequark[cis]> clients?
<tpw_rules> that's my point. what would the browser have other than the repl?
<whitequark[cis]> the REPL is a lot!
<whitequark[cis]> it lets you, well, explore interfaces
esden[m] has joined #glasgow
<esden[m]> If it gives you a better buspirate experience that will be already extremely useful if you ask me.
<esden[m]> Also while you are already in the browser, there is potential to add visualization UI stuff right in there. Portable on all platforms. (mind you I am not a fan of electron-ification of everything but I know how practical it is...)
<whitequark[cis]> I don't expect to add electron-style UI outside of the browser
<whitequark[cis]> (and we don't have the resources to support multiple UI styles)
<esden[m]> I mean, if the ui already runs in the browser, "someone"™️ could wrap it up in electron. Definitely not suggesting to support multiple ui.
<whitequark[cis]> if we support one ui and it's only in the browser, this will be to exclusion of any other option
<whitequark[cis]> that seems suboptimal
<whitequark[cis]> it basically means that electron has to become a first class target, supported not by "someone" but by us
<whitequark[cis]> since it's our only gui
<whitequark[cis]> and then people who have issues with electron will come request electron-specific features, etc
<esden[m]> Yeah fair point. UI situation is generally not ideal. 😦
<jwise0[m]> as someone currently writing an Electron Thing, I am not a big fan, but I think I like it better than worrying about how to distribute a PyQt thing across three platforms
<whitequark[cis]> pyqt does have wheels
<esden[m]> ~~I have to say I enjoy egui~~
<whitequark[cis]> given a choice between electron and anaconda, I would probably consider electron
<jwise0[m]> there's PyInstaller to pack it up, I think. but it scared me, generally
<whitequark[cis]> (the other option is neither. I hate conda with a passion and will never use it)
<whitequark[cis]> (well, use it again, I've had enough conda shit for several lifetimes)
<whitequark[cis]> esden: egui has basically no accessibility, right?
<jwise0[m]> the electron situation is pretty bad. mostly my impression of documentation in the electron / react / whatever world is 'no, it does not exist'
<esden[m]> I think they started supporting "the accessability crate" ... but I would have to check
<whitequark[cis]> ohh I see, accesskit
<esden[m]> yep that is it, blanked on the name.
<esden[m]> https://github.com/emilk/egui/issues/167 it was merged, but more work is needed, but it seems to be a start
Wonka has quit [Ping timeout: 252 seconds]
Wonka has joined #glasgow
joerg has quit [Ping timeout: 276 seconds]