How close is Odoo to the Django Stack? In my mind, since both are python, I always thought it was some kind of Django fork,l. I bet I am wrong. So how came Odoo into being?
It's not a fork of Django, even thought the stack has similarities: Python, ORM on top of Postgresql, Modules. We use werkzeug (it's been a long time I checked Django, not sure they are on it too), but the rest of the stack is Odoo's own framework: ORM, Templating (QWeb), API, etc.
But it's not comparable to Django:
- Odoo is built for management application: think CRM, Accounting, Project Management, ... a strong backend
- Django is often used as a framework, Odoo for end-users apps (even though our framework is super advanced)
- Odoo has a CMS (website builder) too but with a focus on being end-user friendly, like Wix, or Squarespace but for businesses (eCommerce, Jobs, Events, ...)
- the javascript client of Odoo is huge whereas Django is minimal
- Odoo has it's own ORM optimized for speed and complexity of an ERP
- templating engine based on XML rather than inline python instructions
In a thematically similar but very different vein, Adrian Tchaikovsky's Children of Time series was an enjoyable read.
I also recommend Eric Nylund's work, specifically Signal to Noise and A Signal Shattered.
Edit: Well, there you go, Children of Time had 23 mentions now that I've read down further. Disappointed to see Eric Nylund's work fade into obscurity, I rate him up with Neal Stephenson.
I believe he was a staff writer for the Halo series in house as well, something like Marc Laidlaw at Valve, and the books emerged from internal storytelling written for the series. Very interesting stuff.
I also highly recommend his older books Pawn's Dream, Dry Water, and especially A Game Of Universe. They're available on Kindle and part of the Unlimited program so easy to check out.
Those two novels of Nylund's really captured the "dark forest" concept well, though I won't say more so as to avoid spoilers.
I haven't read the source material so I can't speak to the books, but the adaptations of 3 Body (Problem) that I've watched, both the Tencent and Netflix ones, also explore similar themes to Nylund's works. Heck, I just discovered that Liu Cixin coined the "dark forest" term, though he isn't the first to explore it.
As someone whos commit message are: fix, fix again, this hopefully works, again.
I am sure AI cannot even glims the frustration I feel committing these commits.
You can argue, that these messages are as poor as the code that I have written; but don't tell me you haven't been there -- and if you have please tell me your secret
My secret is intent (and magit). If I’ going to write code, I already have a few goals in mind. That’s what I put in the commit message. Magit is for I did other stuff, so I can stage individual hunks/lines instead of whole files.
My favorite git command is git commit --amend, my second is git rebase. Until you push, you don't need to keep adding new pointless commits
Actually I wish that we had two branches in parallel, one with cleaned up commits, another with how the software were actually edited. But we need tooling for that
If you go all the way to where the cleaned-up version is a squash merge, as so many unfortunately do, we already have that: regular, non-squashed merges.
If you don't go that far, you could mimic something like it with sub-branches and merge commits for each one into your working branch, but I imagine it would be annoying to handle at that granularity.
reply