social.coop is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Fediverse instance for people interested in cooperative and collective projects. If you are interested in joining our community, please apply at https://join.social.coop/registration-form.html.

Administered by:

Server stats:

485
active users

#maintainability

1 post1 participant0 posts today

Holy crap! I just noticed we're up to 130 unit test suites in @pidgin 3 now! Compare that to the 7 suites we have in Pidgin 2!

This is what we've been talking about when we've been saying that we're making the code easier to maintain. The code has been reworked so that we can actually unit test way more of it and we will continue to add more tests as we move forward!

Replied in thread

@ai6yr nodds in agreement whereas the "akshual coding" is "relatively simple" if one doesn't mind #readability, #maintainability or using understandable variablr names...

Testing can be automated if one builds and documebts the tests that is...

"#AI" can't do this because those #LLM|s don't learn organically but merely act as "#StochasticParrot" and not as intelligent beings that is able or even willing to transfer * exchange information freely...

Replied in thread

@OpenComputeDesign same with many other things.

Personally I'm so pissed off amidst the ongoing #Enshittification that I really need to get the #NUCbook off the ground before my #X230tablet dies.
github.com/KBtechnologies/NUCb

GitHubGitHub - KBtechnologies/nucbook: A modular & open design 13" Notebook that can be customized and upgraded to fit user's needsA modular & open design 13" Notebook that can be customized and upgraded to fit user's needs - KBtechnologies/nucbook
Replied in thread

@FirewallDragons I think #RightToRepair must necessitate any #RightToModify, because #RepairReuseRecycle necessitates #Upcycling and thus using #AftermarketFirmware.

  • And the "legitimate objections" have long been adressed by #ETSI et. al. mandating a #Lockdown on #Baseband / #Wireless-Chipset firmware to "enshure compliance"...

Needless to say I think even that is overreach, as regulators like @BNetzA not only can but will enforce spectrum regulations and pursue violators by all legal means, so it's not as if there is a rampant flood of #SpectrumViolations amd no means to stop them - far from it.

  • Personally I want to see a mandate for the maximum possible extend of #maintainability and #modifyability only limited by legal (regulatory compliance) and technical limitations...

You’re taking over a massive website and need to find an economic way to maintain content and code. However, you’re in hell and can only choose one of four options. Which one do you pick?

The research project I'm in is newly formed. I'm the one with the main responsibility for #bioinformatics analyses. Potentially the workflows I create will be used by people joining the group going forward, and these PhD students etc may do some bioinformatics but have other specializations. Is anyone else in a similar position? Any best practice recommendations for #reproducibility, #maintainability, ensuring everyone in the group gets access to the tools we develop?

Mike Driscoll: Learning About Code Metrics in #Python with Radon

Nice introduction to #radon:

"""
You can use Radon to help you find complex code in your code base.
[...]
Here are the four commands that radon currently can use:

cc: compute #Cyclomatic #Complexity
raw: compute raw metrics
mi: compute #Maintainability Index
hal: compute #Halstead complexity metrics
[...]
"""

#codequality #codemetrics

blog.pythonlibrary.org/2023/09

This week on our @pybites podcast: Code Smells 🎉

I talk about 15 things to look out for in your (and others) code to make it cleaner and more maintainable over time. 🐍 😍

I hope this is helpful for you:
pybit.es/articles/write-more-m

Happy to hear your thoughts on this ... 💡

PybitesWrite More Maintainable Python Code, Avoid These 15 Code Smells - PybitesThis week we talk about code smells. 💡

If you're not making an effort to ensure #maintainability, #repairability, #reusability and #durability of new things when we're ramming steadily into the "find out" of the "fuck around & find out" situation with environmental and ecological abuse, you're either irresponsible or malicious.

It is inexcusable to make #EWaste (and most other waste) now. It never was excusable, but the reasons why hadn't yet made themselves blatantly obvious to all observers. Now they have.