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
brolin has joined #glasgow
brolin has quit [Ping timeout: 248 seconds]
notgull has quit [Ping timeout: 255 seconds]
notgull has joined #glasgow
notgull has quit [Ping timeout: 245 seconds]
notgull has joined #glasgow
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #glasgow
ar-jan_ has quit [Ping timeout: 255 seconds]
redstarcomrade has joined #glasgow
redstarcomrade has quit [Changing host]
redstarcomrade has joined #glasgow
skipwich has quit [Quit: DISCONNECT]
skipwich has joined #glasgow
redstarcomrade has quit [Read error: Connection reset by peer]
redstarcomrade has joined #glasgow
redstarcomrade has joined #glasgow
redstarcomrade has quit [Changing host]
joerg has quit [Ping timeout: 255 seconds]
joerg has joined #glasgow
<_whitenotifier-f> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-446-eb22efab7ec38e8d01c8d899a8804ad84e52b1a9 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-f> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 2 commits to main [+0/-0/±2] https://github.com/GlasgowEmbedded/glasgow/compare/eb22efab7ec3...3f802dfa4183
<_whitenotifier-f> [GlasgowEmbedded/glasgow] attie 5fb1638 - manual: use/repl-script: add details about the REPL and Script interfaces, along with examples
<_whitenotifier-f> [GlasgowEmbedded/glasgow] attie 3f802df - manual: develop: add the beginnings of a style guide
<_whitenotifier-f> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-446-eb22efab7ec38e8d01c8d899a8804ad84e52b1a9 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-f> [glasgow] whitequark closed pull request #446: manual: use/repl-script: add details about the REPL and Script interfaces, along with examples - https://github.com/GlasgowEmbedded/glasgow/pull/446
Lord_Nightmare has quit [Remote host closed the connection]
Lord_Nightmare has joined #glasgow
<_whitenotifier-f> [glasgow] whitequark commented on pull request #448: applet: extract test code to a separate file. - https://github.com/GlasgowEmbedded/glasgow/pull/448#issuecomment-1773738015
nkt_disc0rd[m] has joined #glasgow
<nkt_disc0rd[m]> Anyone got one of these yet?
<whitequark[cis]> quite a few people
duderonomy has quit [Remote host closed the connection]
duderonomy has joined #glasgow
vup has quit [Quit: vup]
anuejn has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
ar-jan has joined #glasgow
<_whitenotifier-f> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-445-3f802dfa4183d940f4750929152dc41d841334f5 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-f> [glasgow] whitequark closed issue #162: CLI handles USB device permission errors badly - https://github.com/GlasgowEmbedded/glasgow/issues/162
<_whitenotifier-f> [glasgow] whitequark commented on issue #162: CLI handles USB device permission errors badly - https://github.com/GlasgowEmbedded/glasgow/issues/162#issuecomment-1773767296
redstarcomrade has quit [Read error: Connection reset by peer]
<_whitenotifier-f> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±1] https://github.com/GlasgowEmbedded/glasgow/compare/3f802dfa4183...562abd522441
<_whitenotifier-f> [GlasgowEmbedded/glasgow] esden 562abd5 - revC3: Added aluminium case outline with tolerance.
<_whitenotifier-f> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-445-3f802dfa4183d940f4750929152dc41d841334f5 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-f> [glasgow] whitequark closed pull request #445: revC3: Added aluminium case outline with tolerance. - https://github.com/GlasgowEmbedded/glasgow/pull/445
<_whitenotifier-f> [glasgow] whitequark commented on issue #367: JESD3 lexer calculates wrong checksum on Windows - https://github.com/GlasgowEmbedded/glasgow/issues/367#issuecomment-1773769556
<_whitenotifier-f> [archive] elena-v2 opened pull request #11: G00086: Datasheet for Semtech SX1276/77/78/79 series of LoRa radios - https://github.com/GlasgowEmbedded/archive/pull/11
<_whitenotifier-f> [glasgow] whitequark opened pull request #450: Fix JESD3 lexer to ensure checksum computes correctly no matter which newlines are used - https://github.com/GlasgowEmbedded/glasgow/pull/450
<_whitenotifier-f> [glasgow] whitequark synchronize pull request #450: Fix JESD3 lexer to ensure checksum computes correctly no matter which newlines are used - https://github.com/GlasgowEmbedded/glasgow/pull/450
<_whitenotifier-f> [archive] whitequark closed pull request #11: G00086: Datasheet for Semtech SX1276/77/78/79 series of LoRa radios - https://github.com/GlasgowEmbedded/archive/pull/11
<_whitenotifier-f> [GlasgowEmbedded/archive] whitequark pushed 1 commit to main [+1/-0/±0] https://github.com/GlasgowEmbedded/archive/compare/6d45daa4631b...26e821e7d022
<_whitenotifier-f> [GlasgowEmbedded/archive] elena-v2 26e821e - G00086: Datasheet for Semtech SX1276/77/78/79 line of LoRa radio transcievers
<_whitenotifier-f> [archive] whitequark commented on pull request #11: G00086: Datasheet for Semtech SX1276/77/78/79 series of LoRa radios - https://github.com/GlasgowEmbedded/archive/pull/11#issuecomment-1773770750
<_whitenotifier-f> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-450-562abd52244163c73f3015e957d316a84827b9e9 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-f> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±2] https://github.com/GlasgowEmbedded/glasgow/compare/562abd522441...b9547af9a5e5
<_whitenotifier-f> [GlasgowEmbedded/glasgow] whitequark b9547af - protocol.jesd3: require `bytes` input, to ensure checksum computes correctly.
<_whitenotifier-f> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-450-562abd52244163c73f3015e957d316a84827b9e9 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-f> [glasgow] whitequark closed issue #367: JESD3 lexer calculates wrong checksum whenever CR newlines are used - https://github.com/GlasgowEmbedded/glasgow/issues/367
<_whitenotifier-f> [glasgow] whitequark closed pull request #450: Fix JESD3 lexer to ensure checksum computes correctly no matter which newlines are used - https://github.com/GlasgowEmbedded/glasgow/pull/450
duderonomy has quit [Remote host closed the connection]
<_whitenotifier-f> [glasgow] whitequark opened pull request #451: Migrate to the PDM-Backend build backend - https://github.com/GlasgowEmbedded/glasgow/pull/451
<_whitenotifier-f> [glasgow] whitequark synchronize pull request #451: Migrate to the PDM-Backend build backend - https://github.com/GlasgowEmbedded/glasgow/pull/451
<_whitenotifier-f> [glasgow] whitequark synchronize pull request #451: Migrate to the PDM-Backend build backend - https://github.com/GlasgowEmbedded/glasgow/pull/451
<_whitenotifier-f> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-451-b9547af9a5e5611f968a3391c5348c06e9b7d681 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-f> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 2 commits to main [+0/-1/±3] https://github.com/GlasgowEmbedded/glasgow/compare/b9547af9a5e5...3ad3c5e23481
<_whitenotifier-f> [GlasgowEmbedded/glasgow] whitequark 8315bd1 - software: migrate to PDM-Backend build backend.
<_whitenotifier-f> [GlasgowEmbedded/glasgow] whitequark 3ad3c5e - device.hardware: log the file from which the firmware is loaded.
<_whitenotifier-f> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-451-b9547af9a5e5611f968a3391c5348c06e9b7d681 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-f> [glasgow] whitequark closed pull request #451: Migrate to the PDM-Backend build backend - https://github.com/GlasgowEmbedded/glasgow/pull/451
sauce has quit [Ping timeout: 255 seconds]
sauce has joined #glasgow
cfy_yfc[m] has quit [Quit: Idle timeout reached: 172800s]
<q3k> what's the easiest way to do some low-speed pin wiggling from a REPL?
<whitequark[cis]> haha
<Wanda[cis]> hum.
<whitequark[cis]> we kinda do not have a gpio applet
<Wanda[cis]> there's... actually no gpio applet, is there?
<whitequark[cis]> but you could use the selftest one as a standin
<Wanda[cis]> ... yeah
<whitequark[cis]> very crudely
<whitequark[cis]> i think having a gpio applet would be nice
<whitequark[cis]> with like... commands for... set by mask, get, poll by mask, and delay
<Wanda[cis]> uh
<whitequark[cis]> even better would be if it composed with the SPI and JTAG applets
<Wanda[cis]> <del>jtag-openocd</del>
<whitequark[cis]> which currently isn't very convenient
<Wanda[cis]> <del>as long as you're happy with three outputs and one input only</del>
<whitequark[cis]> lol
<whitequark[cis]> yes
<whitequark[cis]> the structure is indeed similar
<whitequark[cis]> also I've been pairing with Elena on a design for declarative pin definitions instead of the horrible .get_pads we have now
<whitequark[cis]> so we might soon have something nyonk, or at least a minispec for it
<whitequark[cis]> oh wait, just re-read that and i missed openocd the first time
<whitequark[cis]> yeah
<whitequark[cis]> is there some sort of standard remote gpio protocol we can implement?
<whitequark[cis]> that's not awful?
<whitequark[cis]> tried to find out what pigpiod uses and failed thus far
* whitequark[cis] erases the entire walk from its memory
<_whitenotifier-f> [glasgow] whitequark opened pull request #452: Do not fill terminal with noise when a device is surprise disconnected - https://github.com/GlasgowEmbedded/glasgow/pull/452
<whitequark[cis]> ^ take a look folks
<whitequark[cis]> this should be some of the more anticipated papercut fixes :3
<_whitenotifier-f> [glasgow] wanda-phi opened pull request #453: pyproject.toml: fix radio-nrf24l01 applet name. - https://github.com/GlasgowEmbedded/glasgow/pull/453
<_whitenotifier-f> [glasgow] wanda-phi synchronize pull request #453: pyproject.toml: fix radio-nrf24l01 applet name. - https://github.com/GlasgowEmbedded/glasgow/pull/453
<_whitenotifier-f> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-453-3ad3c5e23481fa1a107474f0880a11e870657dce - https://github.com/GlasgowEmbedded/glasgow
notgull has quit [Ping timeout: 255 seconds]
<_whitenotifier-f> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±1] https://github.com/GlasgowEmbedded/glasgow/compare/3ad3c5e23481...6f965b843d45
<_whitenotifier-f> [GlasgowEmbedded/glasgow] wanda-phi 6f965b8 - software: fix radio-nrf24l01 applet name.
<_whitenotifier-f> [glasgow] whitequark closed pull request #453: software: fix radio-nrf24l01 applet name. - https://github.com/GlasgowEmbedded/glasgow/pull/453
<_whitenotifier-f> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-453-3ad3c5e23481fa1a107474f0880a11e870657dce - https://github.com/GlasgowEmbedded/glasgow
notgull has joined #glasgow
<_whitenotifier-f> [glasgow] wanda-phi synchronize pull request #448: applet: extract test code to a separate file. - https://github.com/GlasgowEmbedded/glasgow/pull/448
joerg has quit [Read error: Connection reset by peer]
joerg has joined #glasgow
<_whitenotifier-f> [glasgow] whitequark commented on pull request #448: applet: extract test code to a separate file. - https://github.com/GlasgowEmbedded/glasgow/pull/448#issuecomment-1773868805
<_whitenotifier-f> [glasgow] whitequark synchronize pull request #444: Include tests with a checked-in lockfile in the matrix on CI - https://github.com/GlasgowEmbedded/glasgow/pull/444
<_whitenotifier-f> [glasgow] whitequark commented on issue #303: jtag-openocd behaviour doesn't match jtag-svf - https://github.com/GlasgowEmbedded/glasgow/issues/303#issuecomment-1773876568
<_whitenotifier-f> [glasgow] whitequark opened issue #454: Python 3.12 is not supported - https://github.com/GlasgowEmbedded/glasgow/issues/454
<_whitenotifier-f> [glasgow] whitequark assigned pull request #448: applet: extract test code to a separate file. - https://github.com/GlasgowEmbedded/glasgow/pull/448
<_whitenotifier-f> [glasgow] whitequark assigned issue #454: Python 3.12 is not supported - https://github.com/GlasgowEmbedded/glasgow/issues/454
<_whitenotifier-f> [glasgow] whitequark commented on issue #386: Glasgow does not gracefully shutdown if the device is unplugged... - https://github.com/GlasgowEmbedded/glasgow/issues/386#issuecomment-1773878387
<_whitenotifier-f> [glasgow] whitequark commented on issue #386: Glasgow does not gracefully shutdown if the device is unplugged... - https://github.com/GlasgowEmbedded/glasgow/issues/386#issuecomment-1773878730
<_whitenotifier-f> [glasgow] whitequark assigned issue #281: P and N pins are swapped on revC2 - https://github.com/GlasgowEmbedded/glasgow/issues/281
<_whitenotifier-f> [glasgow] whitequark commented on issue #281: P and N pins are swapped on revC2 - https://github.com/GlasgowEmbedded/glasgow/issues/281#issuecomment-1773879004
<_whitenotifier-f> [glasgow] whitequark assigned issue #287: GPIB applet - https://github.com/GlasgowEmbedded/glasgow/issues/287
<_whitenotifier-f> [glasgow] whitequark commented on issue #287: GPIB applet - https://github.com/GlasgowEmbedded/glasgow/issues/287#issuecomment-1773879516
<_whitenotifier-f> [glasgow] whitequark assigned issue #386: Glasgow does not gracefully shutdown if the device is unplugged... - https://github.com/GlasgowEmbedded/glasgow/issues/386
<_whitenotifier-f> [glasgow] whitequark assigned issue #406: Add a flag to `glasgow factory` which indicates that the device has been modified from the original design - https://github.com/GlasgowEmbedded/glasgow/issues/406
<_whitenotifier-f> [glasgow] whitequark opened issue #455: Update bitstruct to use Python type annotations - https://github.com/GlasgowEmbedded/glasgow/issues/455
<_whitenotifier-f> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-448-6f965b843d4500a0c6be4803b2a815cb407884e7 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-f> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 4 commits to main [+48/-1/±80] https://github.com/GlasgowEmbedded/glasgow/compare/6f965b843d45...77ca247da64f
<_whitenotifier-f> [GlasgowEmbedded/glasgow] wanda-phi 03504f4 - applet: extract test code to a separate file.
<_whitenotifier-f> [GlasgowEmbedded/glasgow] wanda-phi 87aa663 - software: extract test code to test_*.py files.
<_whitenotifier-f> [GlasgowEmbedded/glasgow] wanda-phi fc8202f - software: get rid of test.py wrapper
<_whitenotifier-f> [GlasgowEmbedded/glasgow] wanda-phi 77ca247 - software: reimplement `glasgow test` discovery.
<_whitenotifier-f> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-448-6f965b843d4500a0c6be4803b2a815cb407884e7 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-f> [glasgow] whitequark closed pull request #448: applet: extract test code to a separate file. - https://github.com/GlasgowEmbedded/glasgow/pull/448
<_whitenotifier-f> [glasgow] whitequark closed issue #447: Extract test code from each applet to a separate `test.py` file - https://github.com/GlasgowEmbedded/glasgow/issues/447
<_whitenotifier-f> [glasgow] whitequark commented on issue #234: Long-term maintainability goals - https://github.com/GlasgowEmbedded/glasgow/issues/234#issuecomment-1773900691
brolin has joined #glasgow
brolin has quit [Ping timeout: 245 seconds]
redstarcomrade has joined #glasgow
redstarcomrade has quit [Read error: Connection reset by peer]
esden[cis] has quit [Quit: Idle timeout reached: 172800s]
bob_twinkles[m] has quit [Quit: Idle timeout reached: 172800s]
<_whitenotifier-f> [glasgow] attie opened pull request #456: manual: use/repl-script: fixup typos / wording for clarity - https://github.com/GlasgowEmbedded/glasgow/pull/456
brolin has joined #glasgow
redstarcomrade has joined #glasgow
redstarcomrade has quit [Changing host]
redstarcomrade has joined #glasgow
<_whitenotifier-f> [glasgow] attie commented on pull request #452: Do not fill terminal with noise when a device is surprise disconnected - https://github.com/GlasgowEmbedded/glasgow/pull/452#issuecomment-1773932093
brolin has quit [Ping timeout: 258 seconds]
<_whitenotifier-f> [glasgow] whitequark commented on pull request #452: Do not fill terminal with noise when a device is surprise disconnected - https://github.com/GlasgowEmbedded/glasgow/pull/452#issuecomment-1773932361
<_whitenotifier-f> [glasgow] whitequark commented on pull request #452: Do not fill terminal with noise when a device is surprise disconnected - https://github.com/GlasgowEmbedded/glasgow/pull/452#issuecomment-1773932561
<_whitenotifier-f> [glasgow] attie commented on pull request #452: Do not fill terminal with noise when a device is surprise disconnected - https://github.com/GlasgowEmbedded/glasgow/pull/452#issuecomment-1773933025
<_whitenotifier-f> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-452-77ca247da64f81522d324f4d382dd4e1ee7008fc - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-f> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-456-21c4f66dfc4a7f9c14b735859615db2c92cc0d69 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-f> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 4 commits to main [+0/-0/±4] https://github.com/GlasgowEmbedded/glasgow/compare/77ca247da64f...21c4f66dfc4a
<_whitenotifier-f> [glasgow] attie closed pull request #452: Do not fill terminal with noise when a device is surprise disconnected - https://github.com/GlasgowEmbedded/glasgow/pull/452
<_whitenotifier-f> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-452-77ca247da64f81522d324f4d382dd4e1ee7008fc - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-f> [glasgow] attie closed issue #386: Glasgow does not gracefully shutdown if the device is unplugged... - https://github.com/GlasgowEmbedded/glasgow/issues/386
<_whitenotifier-f> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±1] https://github.com/GlasgowEmbedded/glasgow/compare/21c4f66dfc4a...05c44bd0ff7f
<_whitenotifier-f> [GlasgowEmbedded/glasgow] attie 05c44bd - manual: use/repl-script: fixup typos / wording for clarity
<_whitenotifier-f> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-456-21c4f66dfc4a7f9c14b735859615db2c92cc0d69 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-f> [glasgow] whitequark closed pull request #456: manual: use/repl-script: fixup typos / wording for clarity - https://github.com/GlasgowEmbedded/glasgow/pull/456
<whitequark[cis]> completely unhinged codegen
<whitequark[cis]> Attie: no meeting today?
<Attie[m]> woah, it's that time...
<Attie[m]> i've not been very well this week, but can do
<Attie[m]> i'll need to disappear for a bit soon though (i'll come back)
<Attie[m]> sorry all
<whitequark[cis]> sure! take care
<Attie[m]> is there anything in particular you'd like to discuss?
<whitequark[cis]> we have a list of nominated issues, I think
ar-jan has quit [Ping timeout: 255 seconds]
<Attie[m]> just P/N pins
<whitequark[cis]> oh I see
<whitequark[cis]> that's an item for esden then
<whitequark[cis]> I have an almost complete implementation of https://github.com/GlasgowEmbedded/glasgow/issues/406, just finishing commit for it
<whitequark[cis]> would welcome review of that
<Attie[m]> oh sounds nice
<Attie[m]> okay, starting with #406... I'd probably like to see a tag in version output too?
<Attie[m]> like Linux's "dirty" thing
<whitequark[cis]> that's close to how I did it, one sec, I'll show
<Attie[m]> hmm... version doesn't currently poke at hardware, so that's non-ideal. the list output / serial number would be sensible though
<Attie[m]> sure
<whitequark[cis]> oh, you meant --version? no, that's just for the software stack
<Attie[m]> yeah, exactly
<Attie[m]> i revised my thinking - in the output of glasgow -vv we currently show "found" devices... but there's no indication of which devices was selected / actually sued
<Attie[m]> *used
<Attie[m]> so I'd propose adding that as a line, with this tag on any reported serial numbers(?)
<whitequark[cis]> I'm confused
<Attie[m]> sorry
<Attie[m]> you start / show, and I'll comment
<Attie[m]> rather than me racing ahead
<_whitenotifier-f> [glasgow] whitequark opened pull request #457: Add a "built from modified design files" marker to firmware and software - https://github.com/GlasgowEmbedded/glasgow/pull/457
<_whitenotifier-f> [glasgow] whitequark synchronize pull request #457: Add a "built from modified design files" marker to firmware and software - https://github.com/GlasgowEmbedded/glasgow/pull/457
<whitequark[cis]> https://github.com/GlasgowEmbedded/glasgow/pull/457 so this talks about it
<Attie[m]> -- The firmware now has more space because some really questionable sdcc codegen ... i see
<whitequark[cis]> sdcc does something completely unhinged with the basic pointer math there
<whitequark[cis]> normal
<Attie[m]> heh
<_whitenotifier-f> [glasgow] whitequark synchronize pull request #457: Add a "built from modified design files" marker to firmware and software - https://github.com/GlasgowEmbedded/glasgow/pull/457
<whitequark[cis]> so right now this is the only difference:... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/tPThBSRUAzeeKrgzpMkmSPOe>)
<whitequark[cis]> this isn't actually visible in Windows for example (not really)
<whitequark[cis]> (you can see it in device manager but it maybe gets cached? unsure. maybe not if there's a serial)
<Attie[m]> understood
<whitequark[cis]> I think I'll add an INFO level message when using a modified device, not WARN or ERROR
<Attie[m]> that sounds sensible to me, then when logs are requested (e.g: glasgow -vv) it becomes apparent, but otherwise doesn't bother the user
<whitequark[cis]> no no, INFO shows up by default
<whitequark[cis]> DEBUG and TRACE are in logs
<Attie[m]> ah, ok... oops
<Attie[m]> i think that's still fine
<whitequark[cis]> btw, re: hang on exit()
<whitequark[cis]> it's a python-usb1 problem I think, maybe
<Attie[m]> doh...
<whitequark[cis]> looks good?
<Attie[m]> esden - any commentary on CS / gasgets / diff pairs?
<whitequark[cis]> actually, not quite
esden[m] has joined #glasgow
<esden[m]> ohh hey, sorry also bit bogged down with consulting work recently 😦
<Attie[m]> Catherine: i think that looks reasonable, yep
<Attie[m]> esden: no problem, I'll just note what's been discussed here
<whitequark[cis]> maybe this
<Attie[m]> yes, I like it
<Attie[m]> my suggestion earlier was to indicate which device was selected (as we list all the devices found at startup)
<Attie[m]> that's a little separate, but could be useful for log review (for the user they have to use --serial, so no big deal)
<whitequark[cis]> okay, this look good
<Attie[m]> +1
<esden[m]> But I did get some work done towards mitigating potential Aluminium enclosure shorts as reported by Catherine.... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/vqcTJfPknNnqgliqdvYVFInY>)
<_whitenotifier-f> [glasgow] whitequark synchronize pull request #457: Add a "built from modified design files" marker to firmware and software - https://github.com/GlasgowEmbedded/glasgow/pull/457
<Attie[m]> sounds good, thanks for the update!
<whitequark[cis]> https://github.com/GlasgowEmbedded/glasgow/pull/457 is ready for review now
<esden[m]> Continued:
<esden[m]> * modifications to the existing case in the next batch are possible too. Increasing/decreasing margins. (constraining the PCB more in the case might be part of the way to mitigate the issue)
<esden[m]> * As far as I can tell all the Early bird Glasgows that we sent to Mouser were shipped. The odd thing is that they say they fulfilled two Glasgows that were not "early bird" in exchange of not shipping two "early bird" which is odd. 🤷‍♂️ I don't have granular enough insight into what is going on to know exactly why and how that happened.
<esden[m]> I think that is pretty much all I have to report this week.
<Attie[m]> thanks Catherine - i'll take a look after the meeting / perhaps tomorrow
<esden[m]> Ahh yes, diff pair thing... it is on my todo list and I will look into it.
<whitequark[cis]> esden: maybe the not shipped early birds were undeliverable?
<whitequark[cis]> weird
<Attie[m]> re early bird vs non-eb... could this be Russia (?)
<esden[m]> I think this is more likely folks that ordered an early bird and a non early bird glasgow ... that said it is very odd as the tracking info says that it was a pre order glasgow that was shipped, not even part of the campaign itself.
<esden[m]> 🤷‍♂️
<Attie[m]> huh
<whitequark[cis]> weird
<Attie[m]> it's not in your control though, so best we can do is speculate...
<esden[m]> (To be fair the fact that Mouser shipped things as quickly as they did exceeded my expectations... They are usually not that pulled together. The fact that there is some slippage like the above is more what I expect from them. :P)
<Attie[m]> heh, understood...
<Attie[m]> thanks for the update / insight!
<Attie[m]> I've written words about REPL and script modes
<Attie[m]> i'd appreciate a review of that some time
<Attie[m]> ... i need to disappear, back in ~10-15 mins (sorry)
<whitequark[cis]> Attie: I've added some checkboxes at https://github.com/GlasgowEmbedded/glasgow/issues/312, think you could check off the items you think are finished?
<_whitenotifier-f> [glasgow] whitequark synchronize pull request #457: Add a "built from modified design files" marker to firmware and software - https://github.com/GlasgowEmbedded/glasgow/pull/457
<whitequark[cis]> > The UART applet also keeps track of some statistics for us:
<whitequark[cis]> this is just incorrect; the statistics is kept by the applet framework, you just happen to get a raw underlying FIFO interface with the UART applet
<whitequark[cis]> (this is actually probably wrong and you shouldn't be getting that, this is a deficiency in how applet registers are handled)
<whitequark[cis]> my main point of general feedback for the entire use/ tree is that the voice in which it's written is different from the rest of the manual
<whitequark[cis]> my more specific feedback for use/repl-script is that it's written a bit like an operations log, without introducing any of the underlying principles (e.g. applet lifecycle phases--build/run/interact--and where in the lifecycle is repl/script plugged in and why)
<whitequark[cis]> it also mixes general statements about the interface with statements that are very specific not just to the applet but to the specific setup that's being described
<whitequark[cis]> the script mode and the repl mode are actually not exactly the same; the applet is allowed to override the REPL mode with whatever it likes (right now that's just "REPL with more predefined locals", but it could in principle be anything--unclear whether we want to keep that), whereas the script mode gets exactly those 3 locals
<whitequark[cis]> I feel like this section would benefit from being split into "high level description of script/REPL mode" and "examples of using script/REPL mode", probably after a short theory section (maybe in an earlier doc) about applet lifecycle
<Attie[m]> re checkboxes: thanks, i was planning to do just that... and bring the other items into the first message
<whitequark[cis]> this isn't something I would expect of you; the theory I'm mentioning isn't really documented anywhere
<whitequark[cis]> so it's understandable that a number of things would end up mixed together
<Attie[m]> re stats: i thought I'd misspoken there, thanks for clarifying
<whitequark[cis]> the UART applet is an early one so it does a number of Crimes, and the baud rate stuff for example is something you just Cannot query via iface right now
<whitequark[cis]> which is quite cursed actually
<Attie[m]> re voice: not at all surprised... i'll see what i can do to fit in
<whitequark[cis]> really it should wrap the underlying FIFO into an UARTInterface like every other applet, provide read/write/flush, not silently drop data, etc
<whitequark[cis]> and of course let you modify the baud rate at least via the iface
<whitequark[cis]> switching baud rate is actually pretty common for bootloader type tasks, ESP32 does that
<whitequark[cis]> (and you end up with some real cursed baud rates if you use the wrong crystal...)
<whitequark[cis]> I haven't had the bandwidth to improve use/ tree and it provides real and tangible benefit to our users today, so I've been happy to merge it
<whitequark[cis]> but it's something I'm looking to work on more directly in near term
<Attie[m]> thanks
<whitequark[cis]> oh, also, I never refer to just "Glasgow" (that's a city I guess)
<whitequark[cis]> I've always used "Glasgow software", "Glasgow device", etc
carnevale999[m] has joined #glasgow
<carnevale999[m]> Is there any up-to-date bom file that we can use to order the device in JLCPCB considering there are no stores currently selling the device and crowdsupply orders taking more than 6 months ....
<Attie[m]> re "Glasgow" - ahh, thanks... I was wondering about that while writing it
jwise0[m] has joined #glasgow
<jwise0[m]> re gaskets: sendcutsend will do a 3" x 2" piece of 3mm acrylic for $1.07 qty100, $0.85 qty1k
<esden[m]> jwise0 (@_discord_256468461818085377:catircservices.org) waaaaay too thick
<jwise0[m]> yeah, I was looking to see if they have anything thinner
<esden[m]> 1 mil mylar
<esden[m]> it is not that easy to find a service for that
<esden[m]> 😉
<jwise0[m]> I would be worried about vibration abrading 1mil mylar
<esden[m]> what?
<esden[m]> what vibration O_O
<jwise0[m]> this is to keep a solder joint from contacting the metal chassis, right?
icb[m] has joined #glasgow
<icb[m]> That should be thick enough to stop the board from moving in the case (like it does without)
<esden[m]> no ... there are no solder joints anywhere connecting to the case
<jwise0[m]> o, I thought this gasket was to resolve a short where a THT rubs against the case
<jwise0[m]> or other solder joint or something
<_whitenotifier-f> [glasgow] whitequark synchronize pull request #457: Add a "built from modified design files" marker to firmware and software - https://github.com/GlasgowEmbedded/glasgow/pull/457
<esden[m]> I mean, there is the sync connector pin thing, but the solution for that is to cut them with flush cutters
<whitequark[cis]> okay, I'm done fiddling with #457
<Attie[m]> ty
<whitequark[cis]> @esden might be interested too
<Attie[m]> I think #312 is looking better now... i might have missed some items
<whitequark[cis]> looks good
<whitequark[cis]> what are common problems?
<Attie[m]> fair question... i wrote it because I was kind of expecting things to come out of the woodwork... but... they havent?!
<Attie[m]> (well done)
<esden[m]> jwise0 (@_discord_256468461818085377:catircservices.org) the issue that Catherine experienced, was definitely not the sync connector or any solder joint. It was some kind of conductive debree probably caught between the case and the pcb, plus misalignment ofthe case. I don't think it is reasonable to put 3mm acrylic between the case and the pcb ... making it a THICC sandwich to mitigate that 😄
<Attie[m]> we're +200 units in people's hands, and it's been surprisingly quiet here
<whitequark[cis]> Attie: kind of funny, that... put so much work into making the device reliable only for no one to notice it
<whitequark[cis]> (except for people who shipped hardware before. they will notice all right)
<Attie[m]> honestly, I don't think I've had a single peep out of most of the people who bought from me
<jwise0[m]> ahhhh. the idea is that you would line the bottom of the board with the vinyl to keep aluminum swarf or something left over from manufacture from wandering around and contacting the bottom
<Attie[m]> it's been quite plesant to see a couple pop up again recently with a C3 in the photo
<whitequark[cis]> Attie[m]: I've had this with Amaranth too, I think multiple people have shipped ASICs using it without so much as talking to me
<whitequark[cis]> the curse of making software that works too well >.>
<Attie[m]> amazing... pats you on the head (not being condescending at all)
esden[cis] has joined #glasgow
<esden[cis]> Catherine: making things reliable is an unforgiving work... you will never hear from anyone if things "just work" :D
<whitequark[cis]> no, some understand. but it's only those who went through it themselves. or something like it.
<whitequark[cis]> years ago, Maya took one look at Glasgow and described it as being "designed properly", which is just about the highest praise you could get
<whitequark[cis]> I sure heard that.
<esden[m]> jwise0 (@_discord_256468461818085377:catircservices.org) yeah essentially what I want is another thicker layer on top of the anodization, just in case
<Attie[m]> 😀
<esden[m]> and 1mil is definitely thicker! 😄
<jwise0[m]> well, presumably this is on the board, not on the ano?
<Attie[m]> between
<esden[m]> the gasket will just sit in the case
<esden[m]> between the board and the case
<Attie[m]> i think i'm going to close out the meeting, unless anyone want's to add / i can bring it back on topic
<Attie[m]> CS & gasgets update, #406, #312
<Attie[m]> lots of other good PRs this week, but nothing that needs discussing?
<whitequark[cis]> sgtm
<esden[m]> jwise0 (@_discord_256468461818085377:catircservices.org) I will make a mockup out of paper and make some photos. It will be easier to show than explain. 🙂
<whitequark[cis]> maybe have a list of PRs merged this week?
<whitequark[cis]> that would be nice to look back through
<Attie[m]> sure, will do!
duskwuff[m] has joined #glasgow
<duskwuff[m]> maybe something more along the lines of a vinyl sticker?
<jwise0[m]> I think I understand. I was thinking adhesive vinyl, stuck to the bottom of the board. if you are worried about swarf wandering around from manufacturing, it can still trap itself and short pads underneath the gasket. I have used approximately this, with my annoying terrible homebrew vinyl cutter, but if you used a Silhouette or other continuous feed vinyl cutter you could do this basically in mass production for very very very little
<esden[m]> duskwuff (@_discord_237471182566195201:catircservices.org) I thought about it, but gluing something like that into the case is tricky...
<esden[m]> it is better if it just is dropped in the case and sits flat
<jwise0[m]> I guess if the concern is swarf shorting vs. chassis though a gasket would adequately address that
<esden[m]> That is my hope
<esden[m]> From studying the KiCad files and the case contact areas. The most likely contact I found is the trace on the very right side of the PCB. It is SDA, and it is very close to the edge of the case. If that is what caused the short, then a thin plastic material between board and the case edge would have helped.
<esden[m]> I really wish we had a way to find out what caused the issue in the first place. 😦
<esden[m]> The test pads for SCL/SDA are too far away from anything on the case to be the source of the issue. Even including the maximum extents of the alignment tolerance.
<whitequark[cis]> yeah. all I can say with confidence is that I did observe it, and had another person observe it
<whitequark[cis]> and it was quite consistent and independent of firmware loaded
<esden[cis]> Yeah, makes sense. This is why I am taking it seriously.