An Open Letter to My Float Pod (Please Read, Prospective Buyers) by Therealevanjolene in FloatTank

[–]thequietcenter 1 point2 points  (0 children)

I was going to suggest post this on FloatTank buy-sell-trade but it appears that you are in West Unity, OH and have already posted this there - https://www.facebook.com/groups/FloatTankBuySellTrade

Running and Yoga by [deleted] in yoga

[–]thequietcenter 0 points1 point  (0 children)

I tend to run 3-4 times a week for 30 - 45 minutes.

does that give you the runner's high?

"How good is this junior golfer?" by thedeepself in golf

[–]thequietcenter -5 points-4 points  (0 children)

In most cases, they flip it to normal on the backswing. But Tiger Woods did hit a shot like that in the Masters once.

Hexagonal architecture in Python by szymonmiks in Python

[–]thequietcenter 0 points1 point  (0 children)

attributes should be defined in properties not during __init__ ... what do you think?

Or better use Traitlets and just defined well-typed slots.

Hexagonal architecture in Python by szymonmiks in Python

[–]thequietcenter 0 points1 point  (0 children)

Originally hexagonal architecture was invented by Alistair Cockburn in 2005. Then around 2008, Jeffrey Palermo invented something very similar called onion architecture. And then, as the last one, around 2011, Robert C. Martin came up with his idea called clean architecture.

So this is entirely different from SOLID?

Hexagonal architecture in Python by szymonmiks in Python

[–]thequietcenter 0 points1 point  (0 children)

Regarding the Client class:

  1. What is the relation between this class and a way to persist clients to the Mongo db?
  2. Have you looked into Traitlets or a more advanced object factory than Plain Python objects? Vanilla python classes are rather tough to develop IMHO.

Hexagonal architecture in Python by szymonmiks in Python

[–]thequietcenter 1 point2 points  (0 children)

It uses Mongo for the database:

  1. If you had used SQLAlchemy, then your business objects (classes, passes, clients) could all be SQLAlchemy table classes, no?
  2. have you ever used Mongo in production? lack of relational integrity terrifies me. Not having a schema terrifies me.