Catherine[m] changed the topic of #glasgow to: digital interface explorer · 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
jn has quit [Ping timeout: 246 seconds]
jn has joined #glasgow
jn has joined #glasgow
joerg has quit [Ping timeout: 246 seconds]
joerg has joined #glasgow
duderonomy has quit [Remote host closed the connection]
duderonomy has joined #glasgow
rcombs has quit [*.net *.split]
_whitenotifier-8 has quit [*.net *.split]
cyrozap has quit [*.net *.split]
Allie has quit [*.net *.split]
cyrozap has joined #glasgow
rcombs has joined #glasgow
Allie has joined #glasgow
dos has quit [Ping timeout: 246 seconds]
dos has joined #glasgow
ar-jan has joined #glasgow
siriusfox has quit [*.net *.split]
_alice has quit [*.net *.split]
electronic_eel has quit [*.net *.split]
Xesxen has quit [*.net *.split]
Abhishek_ has quit [*.net *.split]
XgF has quit [*.net *.split]
<whitequark[cis]> I've been thinking about a GUI for Glasgow
<whitequark[cis]> it looks like the PySide6 project ships both PyQt binaries and the Qt binaries inside of the Python wheels
<whitequark[cis]> so it uses the same packaging methodology as Glasgow itself
<whitequark[cis]> it... actually ships a complete copy of Qt, including Qt Designer, in the wheel
Xesxen has joined #glasgow
siriusfox has joined #glasgow
electronic_eel has joined #glasgow
XgF has joined #glasgow
_alice has joined #glasgow
Abhishek_ has joined #glasgow
josuah_dem[m] has joined #glasgow
<josuah_dem[m]> Somehow I did not get it installed on Alpine, while an Ubuntu VM could pip install it without trouble
<josuah_dem[m]> s/VM/system/, s//`/, s//`/
<josuah_dem[m]> Maybe it is glibc only due to bundling the libraries. This means no *BSD support either.
<josuah_dem[m]> Not complaining, just testing and reporting the current platform support of PySide6. 🙂
<josuah_dem[m]> Not a problem for Glasgow to solve either: I bet they'd receive a patch to bring support for more systems.
<whitequark[cis]> yes, it would be glibc-only
<whitequark[cis]> I don't know if Qt even supports musl
<whitequark[cis]> it looks like Alpine patches Qt to support musl, meaning Alpine users would have to install PySide6 themselves
<whitequark[cis]> that's fine by me
<josuah_dem[m]> Same here
<whitequark[cis]> incidentally, does anyone object to shipping a pdm.lock file with Glasgow?
fibmod has quit [Ping timeout: 252 seconds]
<josuah_dem[m]> May we get a reminder about the rationale over moving toward pmd? I cannot find where you last mentioned it (logs, repos, issues, doc) for some reason.
<josuah_dem[m]> * May we get a reminder about the rationale over moving toward ~~pmd~~ **pdm**? I cannot find where you last mentioned it (logs, repos, issues, doc) for some reason.
<whitequark[cis]> it's something I've been doing everywhere, starting with Amaranth
<josuah_dem[m]> my bad...
<whitequark[cis]> pdm is the first Python dependency manager that actually fits my workflow well and works reliably
<josuah_dem[m]> I search for pmd (facepalm)
<josuah_dem[m]> I'll turn on my brain...
fibmod has joined #glasgow
Eli2_ has joined #glasgow
Eli2 has quit [Ping timeout: 245 seconds]
mwk has quit [Ping timeout: 246 seconds]
mwk has joined #glasgow
ar-jan_ has joined #glasgow
ar-jan has quit [Ping timeout: 256 seconds]
<SnoopJ> whitequark[cis], out of curiosity, does `pip-tools` fall into the bucket of "tried it, doesn't meet those criteria" tools?
<whitequark[cis]> correct
<whitequark[cis]> pip-tools is made for people who know how to manipulate venvs and love doing it, just not entirely manually
<whitequark[cis]> I am making software for people who do not know what pip or venvs are and do not really care, or should not care anyhow
<SnoopJ> huh, not what I expected you to say, although I did expect "yes, it doesn't fit well in the hand"
<SnoopJ> thanks
<whitequark[cis]> it's actually better than it used to be since now it does support pyproject.toml
<whitequark[cis]> I'd say it's pretty close to what I want in many ways
<whitequark[cis]> but pdm fits so much better
<whitequark[cis]> note that personally, I'd probably be fairly happy using pip-tools, as I was alright using venvs manually
<whitequark[cis]> but I cannot possibly encourage people to do it
<whitequark[cis]> what did you expect me to say?
galibert[m] has joined #glasgow
<galibert[m]> You’re supposed to have knee-jerk, thoughtless reactions?
<whitequark[cis]> well I do have some of those
<galibert[m]> I mean, stop being so sane :-P
<whitequark[cis]> but when it's things that are important to me, I put effort into systematically eliminating those
<whitequark[cis]> hey, I even know how to use systemd these days
<SnoopJ> whitequark[cis], I guess I expected you to say pretty much what you did re: what that workflow is, what surprised me is the connection between `pip-tools` and "venv expertise" for lack of a better term
<whitequark[cis]> oh! well, pip-tools expose all the nuts and bolts of how they work to the end user
<SnoopJ> But maybe I'm holding the statement wrong and what you mean is that it doesn't have an opinion about venvs or managing them, and the problem falls on the user by default?
<SnoopJ> (vs. a "does it all" tool which I agree is a more appropriate choice for something like Amaranth)
<whitequark[cis]> so you need to have all the concepts related to them: what is pip, what are requirements files, what does it mean to freeze them, what is a venv, how do you install things in a venv, etc
<whitequark[cis]> which is a large number of concepts that aren't really necessary for beginners
* SnoopJ nod
<whitequark[cis]> meanwhile with pdm: pdm install
<SnoopJ> I've never used it but pdm seems like "poetry, but I'd get less angry about it"
<whitequark[cis]> correct
<whitequark[cis]> I was too angry about poetry to use it
<whitequark[cis]> meanwhile, with pdm, no actual changes were required to use it with Amaranth (other than a small correctness fix for pyproject.toml which I should've done regardless)
<SnoopJ> I let another developer talk me into using it on a project and regretted it most days after that
<whitequark[cis]> I just installed it, ran pdm install, instant benefit of pdm
<whitequark[cis]> it doesn't try to supplant my workflow or dictate how I package my code or anything
<whitequark[cis]> it just does the thing it's supposed to
<SnoopJ> Yea I figured the 'workflow' piece of those criteria would be the show-stopper for pip-tools, since it's more narrowly scoped. Cheers!
ar-jan_ has quit [Ping timeout: 246 seconds]
<josuah_dem[m]> Oh my! pdm preserves the compilation logs files (in /tmp) by default! ❤️
ar-jan has joined #glasgow
<whitequark[cis]> nice
jstein has joined #glasgow
josuah has quit [Quit: josuah]
<whitequark[cis]> can someone send me something small/light (physically) with GPIB?
adamgreig[m] has joined #glasgow
<adamgreig[m]> just the gpib connector is already getting a bit outside of small or light :P
<adamgreig[m]> I guess just a device? I have a usb-gpib bridge that's small and light, but after that it's quickly into 19" rack mount stuff
<tpw_rules> there's a lot of nice stuff that's like a 2u half width thing
<whitequark[cis]> yeah that's what im trying to replace with glasgow :3
<whitequark[cis]> very happy to implement the GPIB interface the moment someone mails me a GPIB thing i don't have to store forever after i'm done with it but can use
<josuah_dem[m]> So this would be the other side: the device being controlled rather than the USB adapter.
<whitequark[cis]> yes
<whitequark[cis]> i dunno, https://www.ebay.com/itm/275977536389 ?
<vegard_e[m]> that looks exactly like the one I've got on my desk at work
<josuah_dem[m]> Some power supply too maybe, smaller but a bit heavier I assume though. https://www.ebay.co.uk/itm/266236765421/
<josuah_dem[m]> (eww, likely not one from US though)
<josuah_dem[m]> Things like this seems to be a GPIB <-> analog I/O converters https://www.ebay.co.uk/itm/333812513511
<josuah_dem[m]> for further programming a power supply https://manual.kikusui.co.jp/D/DPO2212A_E2.pdf
<josuah_dem[m]> Vintage manual 🙂
<whitequark[cis]> oooh that power supply seems really handy
<whitequark[cis]> but the shipping is insane
chuckmcm[m] has joined #glasgow
<chuckmcm[m]> I suspect shipping for a spectrum analyzer to be equally insane
<adamgreig[m]> I have an unused gpib interface card from a keysight psu, which has the fpga and buffers and everything, but it goes to a mystery ribbon cable, which I guess has some spi/uart/??? interface to the cpu. the psu it goes in is too heavy to ship though 🙃
<whitequark[cis]> what kind of spectrum analyzer is it?
<chuckmcm[m]> HP8560A (100kHz to 2.9GHz)
<whitequark[cis]> oh I would absolutely take that
<whitequark[cis]> that's actually very useful equipment
<chuckmcm[m]> I know, I originally paid $500 for it. Other than GPIB tests, what would you use it for?
<whitequark[cis]> honestly, not much, though Maya is doing some hobby RF stuff
<whitequark[cis]> related to Reticulum
<whitequark[cis]> she does have a spectrum analyzer already though
<whitequark[cis]> a "tinySA Ultra"
<chuckmcm[m]> That is a nice SA too. Mostly I used it for HAM radio / SDR stuff until I got a better one that could go a bit higher (this one just barely hits 2.4G WiFi and 5G WiFi not at all.) My plan has been to take it to the ham swap here in the bay area and see if another HAM would take it off my hands for what I paid for it. (I also paid to have it calibrated in 2020 but that has since "expired")
<whitequark[cis]> right
<whitequark[cis]> I don't think either of us has $500 spare, I really don't have much spare cash at the moment, having just moved to UK and supporting multiple people
attiegrande[m] has quit [Quit: Idle timeout reached: 172800s]
<chuckmcm[m]> That's like a triple whammy! If you're still looking for some GPIB kit I'll reach out to a friend in Cambridge who might be able to loan you something.
<whitequark[cis]> yeah a loaner would be perfect tbqh
<whitequark[cis]> and yes it really is
josuah has joined #glasgow
ewenmcneill[m] has quit [Quit: Idle timeout reached: 172800s]
jstein has quit [Ping timeout: 245 seconds]
ar-jan has quit [Ping timeout: 246 seconds]
<davidc__> whitequark[cis]: this is probably not what you need - but as a fallback, and once my early bird glasgow arrives, I'd be happy to rig it up to one of my GPIB-capable PSUs, with a logic analyzer on the bus, and give you a shell on a host connected to both
<davidc__> (The PSU I have it on is too large + heavy to consider shipping,....)
<whitequark[cis]> the glasgow has an internal LA so not even that is needed
<whitequark[cis]> it's just kind of frustrating to use
<Darius> "
<Darius> "small and light" and "GPIB" don't really go together ;)
<whitequark[cis]> :s
attiegrande[m] has joined #glasgow
<attiegrande[m]> the only thing I have with GPIB is a R4131D spectrum analyser... it's not small or light, and it drifts a lot... (really only suitable for a quick peek)
<attiegrande[m]> i could look up what shipping might be if you're interested?
<attiegrande[m]> ... i have the full book of words too
<whitequark[cis]> hmm
<attiegrande[m]> they don't make them like they used to!
<whitequark[cis]> they sure don't
<ar> on the second image i misread the text at the bottom as "GIB Code" (→ "give code")
<davidc__> attiegrande[m]: my GPIB capable PSU is (fairly) new; still a boat anchor though. https://www.aimtti.com/sites/default/files/image/large/AIM-QPX1200-1k_0.jpg
<ar> davidc__: it's not 19" wide, no?
<davidc__> ar: only 14.5
<Darius> we have some GPIB test equipment at work but it is very heavy (old HP/RS/etc stuff)