๐Ÿ’พ Archived View for bbs.geminispace.org โ€บ u โ€บ skyjake โ€บ 11238 captured on 2023-11-04 at 16:20:46. Gemini links have been rewritten to link to archived content

View Raw

More Information

โžก๏ธ Next capture (2023-11-14)

-=-=-=-=-=-=-

Comment by ๐Ÿš€ skyjake

Re: "SSL Errors from misfin listener (cipres a45df40)"

In: s/misfin

@gemalaya The source is available here on my private Git server:

โ€” https://git.skyjake.fi/gemini/bubble/

๐Ÿš€ skyjake

2023-10-28 ยท 7 days ago

3 Later Comments โ†“

๐Ÿ˜บ gemalaya

@skyjake Cheers ! Reading the code now. The "model" module is ... pretty large ^_^ Could be good to turn it into a package ?

๐Ÿš€ skyjake

@gemalaya (Sorry for derailing the thread...) Personally I have nothing against large modules. There should be some functional justification why it would need to be a package. Currently the module is mainly one hefty class that talks to the SQL database.

That being said, I'm sure the whole code base could be organized in a neater way. However, I'm more of a pragmatist and tend to prioritize cleanup refactorings pretty low if it's just for the sake of tidiness.

๐Ÿ˜บ gemalaya

@skyjake I agree, it's just that there are a dozen classes, with a class per entity, and then there's the big "Database" class, where there's a lot of logic. This lead me to think that putting the entity classes (Post, User, Subspace, etc ..) in a separate module and have the Database object in another module would make it easier to read and maintain, but it's not a sufficient reason. Great work, i like how it depends on so few libraries.

Original Post

๐ŸŒ’ s/misfin

SSL Errors from misfin listener (cipres a45df40) โ€” I'm using the cipres misfin client (commit a45df40 w/ local python 3.7 compatibility patches) and recently started seeing SSL errors after a few weeks of sucessful use. Error [('SSL routines', '', 'http request')] Aborting due to exception. Error [('SSL routines', '', 'wrong version number')] Aborting due to exception. Error [('SSL routines', '', 'wrong version number')] Aborting due to exception. Error [('SSL routines', '', 'wrong version...

๐Ÿ’ฌ BBSman ยท 15 comments ยท 2023-10-19 ยท 2 weeks ago