azonenberg changed the topic of #scopehal to: libscopehal, libscopeprotocols, and glscopeclient development and testing | https://github.com/glscopeclient/scopehal-apps | Logs: https://libera.irclog.whitequark.org/scopehal
Degi has quit [Ping timeout: 264 seconds]
Degi has joined #scopehal
<_whitenotifier-7> [starshipraider] hygn forked the repository - https://github.com/hygn
<_whitenotifier-7> [scopehal-docs] MugheesChohan opened pull request #52: Adding Ac RMS Measurement Filter Documentation - https://github.com/glscopeclient/scopehal-docs/pull/52
<_whitenotifier-7> [scopehal] MugheesChohan opened pull request #695: Adding AC RMS Measurement Filter Documentation - https://github.com/glscopeclient/scopehal/pull/695
<d1b2> <Mughees> I have now added support for the per cycle as well
<azonenberg> Great. Will have a look shortly
<_whitenotifier-7> [scopehal-docs] azonenberg closed pull request #52: Adding AC RMS Measurement Filter Documentation - https://github.com/glscopeclient/scopehal-docs/pull/52
<_whitenotifier-7> [scopehal-docs] azonenberg pushed 3 commits to master [+2/-0/±4] https://github.com/glscopeclient/scopehal-docs/compare/2de8ee04d1ac...71f7e3ccf353
<_whitenotifier-7> [scopehal-docs] MugheesChohan 285abf0 - Adding documentation of AC RMS Measurement Filter
<_whitenotifier-7> [scopehal-docs] MugheesChohan 6e2efd7 - Improving documentation of AC RMS Measurement Filter
<_whitenotifier-7> [scopehal-docs] azonenberg 71f7e3c - Merge pull request #52 from MugheesChohan/ACRMSMeasurement Adding AC RMS Measurement Filter Documentation
<_whitenotifier-7> [scopehal] azonenberg closed pull request #695: Adding AC RMS Measurement Filter Documentation - https://github.com/glscopeclient/scopehal/pull/695
<_whitenotifier-7> [scopehal] azonenberg pushed 4 commits to master [+4/-0/±9] https://github.com/glscopeclient/scopehal/compare/8318e5904267...c3ef0b22048d
<_whitenotifier-7> [scopehal] MugheesChohan 0f738e2 - Adding initial implementation of AC RMS Measurement filter
<_whitenotifier-7> [scopehal] MugheesChohan e2f9577 - Adding support for per cycle measurment in AC RMS Measurement Filter
<_whitenotifier-7> [scopehal] MugheesChohan db4e15c - Cosmetic changes in AC RMS Measurement Filter
<_whitenotifier-7> [scopehal] azonenberg c3ef0b2 - Merge pull request #695 from MugheesChohan/ACRMSMeasurement Adding AC RMS Measurement Filter Documentation
<_whitenotifier-7> [scopehal] azonenberg pushed 1 commit to master [+0/-0/±2] https://github.com/glscopeclient/scopehal/compare/c3ef0b22048d...d6cd99894101
<_whitenotifier-7> [scopehal] azonenberg d6cd998 - Minor cosmetic cleanup to AC RMS measurement. Renamed AC RMS and Burst Width measurements to match overall project naming conventions.
<azonenberg> mughees: ok, i just merged it. note that i did rename this and your previous filter
<azonenberg> BurstWidth -> Burst Width, AC RMS Measurement -> AC RMS
<azonenberg> This will break any existing .scopesession files you may have using the old filter names, but they're plain text so it's trivial to update them to use the new name
<d1b2> <Mughees> Ok
<d1b2> <Mughees> Do we have review process?
<d1b2> <Mughees> Code review….
<azonenberg> I reviewed your PRs before merging them but missed the missing space in the name when i reviewed the last one
<azonenberg> only caught it when looking at the right click menu earlier today
<d1b2> <Mughees> Ok
<azonenberg> Longer term I'd like to have a couple of other core devs that I trust to do code reviews able to approve and merge PRs too, just to take the workload off me. Louis will probably end up in that role eventually if things continue to go the way they are
<azonenberg> and/or you
<azonenberg> But that's months out at minimum
<azonenberg> Right now we're in that tricky stage where the number of contributors is growing, but we don't yet have the staffing to support a lot of new people because i have to hand-hold all of the new team members myself
<azonenberg> so as soon as i can shift that responsibility off to others, we'll be able to pick up the pace
<_whitenotifier-7> [starshipraider] azonenberg pushed 2 commits to master [+11/-0/±3] https://github.com/azonenberg/starshipraider/compare/e2341ac0a72b...a708ceb5ddb0
<_whitenotifier-7> [starshipraider] azonenberg bddf47f - Updated AKL-PT5 design for v0.9
<_whitenotifier-7> [starshipraider] azonenberg a708ceb - Added PT5 simulations for v0.9
<d1b2> <louis> Awesome!
<azonenberg> louis: btw how do you feel about helping out w/ GSoC some time in the future? assuming we can get approved / get things ready on our end in time
<azonenberg> it's definitely on the list of things i want to work on, i hope summer 2023 will be viable
<d1b2> <louis> Yeah I'm probably game!
<_whitenotifier-7> [scopehal-apps] lainy created branch vulkan-render - https://github.com/glscopeclient/scopehal-apps
<d1b2> <ehntoo> Finally getting back to my power supply driver refactor. Does anyone have strong thoughts on an "include what you use" approach to includes in headers? I notice that most header files in scopehal do not have any includes in them at present, so when looking at something like RohdeSchwarzHMC804xPowerSupply.h in isolation, classes like "SCPIDevice" "SCPIPowerSupply" aren't given any context - you need to also look at the .cpp file to see where
<d1b2> those classes come from.
<azonenberg> ehntoo: so, forward declarations are good wrt reducing compile times
<azonenberg> but blindly including every single class in every file is not good either
<azonenberg> we actually have a pending ticket for optimization on that front
<azonenberg> having less stuff include e.g. scopeprotocols.h and pulling in only the files that they specifically need
<d1b2> <ehntoo> yeah, for something like RohdeSchwarzHMC804xPowerSupply.h I'm thinking including the classes that RohdeSchwarzHMC804xPowerSupply directly inherits from (SCPIDevice, SCPIPowerSupply) and <string> would be about it
<d1b2> <ehntoo> possibly not even SCPIDevice
<azonenberg> yeah. in particular what i want to avoid is having every filter class .h included in every source file
<azonenberg> we have a lot more of this than i want and i think its one of the contributor to slow compile times
<d1b2> <ehntoo> that makes sense.
<_whitenotifier-7> [scopehal-apps] lainy opened pull request #501: Vulkan render pipeline - https://github.com/glscopeclient/scopehal-apps/pull/501
<d1b2> <ehntoo> oooh
<azonenberg> Still a few little fixes to work on but i think its at the point that i can merge to get more eyes on it
<azonenberg> i'm testing it locally and will review the diff then upstream later today
<azonenberg> there's known issues around destroying vk objects in the wrong order at shutdown that have to be addressed
<azonenberg> lain: btw, this is something i spent a whiel working on in ngscopeclient. the paradigm i usually used was vk::raii objects in std::unique_ptr instances
<azonenberg> that i set to nullptr in the destructor
<azonenberg> this lets you force destruction at a time of your choice
<lain> azonenberg: aha, that sounds like a good pattern to stick to
<azonenberg> yeah. so if you want to roll that in and update the fork i'll hold off on reviewing/merging until you fix that?
<azonenberg> and yeah this is a pattern i plan to start using more in the scopehal backend
<azonenberg> i'm thinking of replacing the factory objects to return std::shared_ptr objects too
<azonenberg> it will simplify some of the explicit refcounting stuff i have at the moment
<azonenberg> but that's something to do later on
<azonenberg> Smart pointers were not a thing when i started this codebase
<azonenberg> at least not without using boost or some external libs
<lain> azonenberg: rgr, I'll update the branch with those changes
<_whitenotifier-7> [scopehal-apps] lainy synchronize pull request #501: Vulkan render pipeline - https://github.com/glscopeclient/scopehal-apps/pull/501
<lain> azonenberg: done
<azonenberg> great thanks will check shortly
<_whitenotifier-7> [scopehal] ehntoo synchronize pull request #691: Add basic support for GW Instek GPD-(X)303S power supplies - https://github.com/glscopeclient/scopehal/pull/691
<_whitenotifier-7> [scopehal-apps] ehntoo synchronize pull request #499: ngscopeclient Power Supply Feature Detection - https://github.com/glscopeclient/scopehal-apps/pull/499
<azonenberg> ooh great, two PRs to review now
<azonenberg> three*
<d1b2> <ehntoo> still need to knock out the docs additions, but I think I've addressed all the points you made re: code. C++ isn't my strongest language, let me know if any of the inheritance changes or method declarations I've made are objectionable
<azonenberg> ok i'll look. lain's renderer work is ahead of you in the queue though
<azonenberg> so might be a bit
<d1b2> <ehntoo> no worries. gives me time to do the docs changes. 🙂
<azonenberg> lain: btw, you will need to disable the check for GL 4.3 now moving forward when you test on mac
<azonenberg> try setting 4.0 as minimum to start. i think you can go lower
<azonenberg> we also of course will no longer need GL_ARB_compute_shader
<lain> kk
<_whitenotifier-7> [scopehal-apps] azonenberg closed pull request #501: Vulkan render pipeline - https://github.com/glscopeclient/scopehal-apps/pull/501
<_whitenotifier-7> [scopehal-apps] azonenberg closed issue #344: Replace compute shader based renderer with Vulkan compute - https://github.com/glscopeclient/scopehal-apps/issues/344
<_whitenotifier-7> [scopehal-apps] azonenberg pushed 14 commits to master [+4/-14/±32] https://github.com/glscopeclient/scopehal-apps/compare/dc58e7777b82...3892a2a8774a
<_whitenotifier-7> [scopehal-apps] azonenberg 3892a2a - Merge pull request #501 from glscopeclient/vulkan-render Vulkan render pipeline
<_whitenotifier-7> [scopehal-apps] azonenberg pushed 2 commits to master [+0/-0/±3] https://github.com/glscopeclient/scopehal-apps/compare/3892a2a8774a...cc9fb73ee447
<_whitenotifier-7> [scopehal-apps] azonenberg dadaa05 - WaveformArea: ensure correct buffer handshaking with sparse waveforms
<_whitenotifier-7> [scopehal-apps] azonenberg cc9fb73 - Updated submodules
<_whitenotifier-7> [scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±1] https://github.com/glscopeclient/scopehal-apps/compare/cc9fb73ee447...4902a83ffa05
<_whitenotifier-7> [scopehal-apps] azonenberg 4902a83 - Fixed typo in PrepareGeometry()
<azonenberg> ok, on to reviewing ehntoo's PRs
<azonenberg> and then bringing up the new renderer in ngscopeclient