René's URL Explorer Experiment


Title: refactor sidechain writing function by mixmix · Pull Request #2 · tinySSB/python-client · GitHub

Open Graph Title: refactor sidechain writing function by mixmix · Pull Request #2 · tinySSB/python-client

X Title: refactor sidechain writing function by mixmix · Pull Request #2 · tinySSB/python-client

Description: I refactored this code on a call with @nanomonkey - we're using it to try and write a spec, and found it very hard to read in it's native state. This PR is opened so that we have a clearer reference for spec writing we have an example of what more accessible code looks like (IMO) comments grouping of code into more coherent chunks collecting related code putting white space in to aid reading 🔥 TODO before merge: write tests over this function (check they pass before + after) resolve duplication across simplechat + simplepub folders 😭

Open Graph Description: I refactored this code on a call with @nanomonkey - we're using it to try and write a spec, and found it very hard to read in it's native state. This PR is opened so that we have a clearer...

X Description: I refactored this code on a call with @nanomonkey - we're using it to try and write a spec, and found it very hard to read in it's native state. This PR is opened so that we have a...

Opengraph URL: https://github.com/tinySSB/python-client/pull/2

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:78740ba5-bd98-db33-5717-e6e6cce06dd2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE5BE:198664:27C72CC:36B79E8:6A60B0FA
html-safe-nonceecada7a44c52acc78f3b2170cce2cd8787eb2b2ea9b0634da29b5fa91da76e87
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUJFOjE5ODY2NDoyN0M3MkNDOjM2Qjc5RTg6NkE2MEIwRkEiLCJ2aXNpdG9yX2lkIjoiNTY0NjEzNTc2MTEwNjQxNTg2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0931b88f2f4feff8c3c5773d022ee6ae562187f1973fada8b368691c2982c2a0
hovercard-subject-tagpull_request:2408144548
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/tinySSB/python-client/pull/2/files
twitter:imagehttps://avatars.githubusercontent.com/u/2665886?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/2665886?s=400&v=4
og:image:altI refactored this code on a call with @nanomonkey - we're using it to try and write a spec, and found it very hard to read in it's native state. This PR is opened so that we have a clearer...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None35671f8a6946a7a2a81d51ae49f5465bdc5f925c23c9cb839206b24345dbe8d9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/tinySSB/python-client git https://github.com/tinySSB/python-client.git
octolytics-dimension-user_id186508170
octolytics-dimension-user_logintinySSB
octolytics-dimension-repository_id920777587
octolytics-dimension-repository_nwotinySSB/python-client
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id920777587
octolytics-dimension-repository_network_root_nwotinySSB/python-client
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release746dc49090e6e3995bb502dce0f8807393e36eda
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/tinySSB/python-client/pull/2/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FtinySSB%2Fpython-client%2Fpull%2F2%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FtinySSB%2Fpython-client%2Fpull%2F2%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=tinySSB%2Fpython-client
Reloadhttps://github.com/tinySSB/python-client/pull/2/files
Reloadhttps://github.com/tinySSB/python-client/pull/2/files
Reloadhttps://github.com/tinySSB/python-client/pull/2/files
Please reload this pagehttps://github.com/tinySSB/python-client/pull/2/files
tinySSB https://github.com/tinySSB
python-clienthttps://github.com/tinySSB/python-client
Notifications https://github.com/login?return_to=%2FtinySSB%2Fpython-client
Fork 0 https://github.com/login?return_to=%2FtinySSB%2Fpython-client
Star 4 https://github.com/login?return_to=%2FtinySSB%2Fpython-client
Code https://github.com/tinySSB/python-client
Issues 1 https://github.com/tinySSB/python-client/issues
Pull requests 1 https://github.com/tinySSB/python-client/pulls
Actions https://github.com/tinySSB/python-client/actions
Projects https://github.com/tinySSB/python-client/projects
Security and quality 0 https://github.com/tinySSB/python-client/security
Insights https://github.com/tinySSB/python-client/pulse
Code https://github.com/tinySSB/python-client
Issues https://github.com/tinySSB/python-client/issues
Pull requests https://github.com/tinySSB/python-client/pulls
Actions https://github.com/tinySSB/python-client/actions
Projects https://github.com/tinySSB/python-client/projects
Security and quality https://github.com/tinySSB/python-client/security
Insights https://github.com/tinySSB/python-client/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FtinySSB%2Fpython-client%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FtinySSB%2Fpython-client%2Fissues%2Fnew%2Fchoose
mixmixhttps://github.com/mixmix
mainhttps://github.com/tinySSB/python-client/tree/main
write_refactorhttps://github.com/tinySSB/python-client/tree/write_refactor
Conversation 0 https://github.com/tinySSB/python-client/pull/2
Commits 2 https://github.com/tinySSB/python-client/pull/2/commits
Checks 0 https://github.com/tinySSB/python-client/pull/2/checks
Files changed https://github.com/tinySSB/python-client/pull/2/files
Please reload this pagehttps://github.com/tinySSB/python-client/pull/2/files
refactor sidechain writing function https://github.com/tinySSB/python-client/pull/2/files#top
Show all changes 2 commits https://github.com/tinySSB/python-client/pull/2/files
3d55956 refactor sidechain writing function mixmix Mar 20, 2025 https://github.com/tinySSB/python-client/pull/2/commits/3d559569b5b15f2e47893baba1ffe910b2f50c34
6dda49d tweaks mixmix Mar 20, 2025 https://github.com/tinySSB/python-client/pull/2/commits/6dda49d8d3e1b83a2a7bab77b36c96155d9b0149
Clear filters https://github.com/tinySSB/python-client/pull/2/files
Please reload this pagehttps://github.com/tinySSB/python-client/pull/2/files
Please reload this pagehttps://github.com/tinySSB/python-client/pull/2/files
simplechat/simplepub/replica.pyhttps://github.com/tinySSB/python-client/pull/2/files#diff-2d9759820cd4e4b22a263625b648f382123179534640d42870e0949822d8a7c9
View file https://github.com/tinySSB/python-client/blob/6dda49d8d3e1b83a2a7bab77b36c96155d9b0149/simplechat/simplepub/replica.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/tinySSB/python-client/pull/2/{{ revealButtonHref }}
https://github.com/tinySSB/python-client/pull/2/files#diff-2d9759820cd4e4b22a263625b648f382123179534640d42870e0949822d8a7c9
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.