Myth: Using UUID as the primary key will slow down inserts.
Fact: Not in Postgres.
I often recommend using UUIDs instead of integer sequences as primary keys. I was surprised to discover that many developers are uncomfortable with them and believe they will slow down inserts.
I was about to record a video explaining why UUIDs are awesome and showing that they do not slow down Postgres. But @hnasr saved me the trouble:
https://t.co/Nqgtfdv64l
.@JorgoA posted an assessment of the lacking HTTP security headers on https://t.co/0ccSvFc8bN - using it as tellsign for the poor security posture of #Xplain as a whole.
https://t.co/3P2Otr9vT3
Let's look at this in detail - a 🧵.
We are celebrating 10 years of the #OCA this weekend!
The achievements of the association are a direct result of the combined efforts of every person involved over the years - THANK YOU!
You can catch up on all our latest news in the June newsletter: https://t.co/z3bsjPqXrr
I have just realized, thanks to @SBidoul , that the @OdooCommunity celebrates its 10th anniversary in the #Odoo ecosystem according to https://t.co/XC08rcnhJW
@OdooCommunity if you have tests that depend on trap_jobs / #queue_job function, you should maybe update your code due to https://t.co/hxsb0SXCfT
See code resolution example https://t.co/AzUaQ5LWuf
@acsone_sa
Everyone’s talking about ChatGPT plugins, GPT-4 AGI sparks and I can only think about one thing: OpenAI has fooled us all.
From non-profit open-source AI lab untethered from shareholders’ interests to the opposite in 8 years: closed-source, for-profit, fully corporate
Wow. @acsonelmi's work on FastAPI integration in #Odoo is really next level. Documentation even includes best practices for writing APIs: https://t.co/wM82RlUsrM. Huge asset for @OdooCommunity
Life cycle of a Software Engineer:
1. Write code
2. Lead architecture decisions (write less code)
3. Manage (write zero code)
Most of my college buddies are now at 3, and very proud of not having coded "for many years".
"Wait, are you still writing code??", they ask me.
I just published version 0.0.4 of locustodoorpc on pypi. This is an extension of locust to use odoorpc in scripts testing the odoo backend.
https://t.co/r9QsQIcUXr
Thanks to @guewenb for the original implementation of this module.
👀@samnewman explains why creating a platform should NOT be the purpose of a "Platform Team" (and thus we shouldn't use that term)
https://t.co/qqPfTjymYP
I am once again asking every #PostgreSQL hosted DBaaS provider to stop trying to be clever with the text log format, and please just spew out CSV-format logs. There is literally *no* reason to do anything else, and these weird log formats are screwing up useful tools.
#Regex tips:
Avoid ".*" at the start of the regex.
"*" is greedy, and likely will cause LOTS of backtracking, slowing down your regex greatly.
Either use the lazy version or use a negative class match.
(Example below:)