bool

joined 1 year ago
MODERATOR OF
[–] [email protected] 4 points 6 months ago
[–] [email protected] 12 points 6 months ago (4 children)

Venting again. The thing that pisses me off the most is how odoo refuses to adopt common practice and instead implements their own stuff:

  • Need an ORM? Well don’t expect odoo to use a battle tested and widely used library. Odoo implements its own, but good luck figuring out how to optimize a query.

  • Want a framework like React? Nope, we’ve got Owl — but only sometimes.

  • Want templates? Odoo uses its own XML dialect. That’s not really documented. Oh and XML is also the configuration language. Oh and about 40% of your codebase will be xml files with magic strings that at runtime magically call a python function. Because fuck you.

[–] [email protected] 14 points 6 months ago (5 children)

I’ve been developing on odoo for a couple of years for a project at work. The docs are horrible, especially for anything on the JS side of the house. Making relatively minor UI changes that are trivial with other frameworks become days long exercises in frustration. I can’t tell you how many unintelligible YouTube videos from Indian programming shops I had to watch just to do a simple task like add a modal dialogue.

I get the feeling they started the project in 2004 and decided to build a web app. While the rest of the Python and JS ecosystem matured in other directions, odoo just kept doing whatever the fuck they wanted. The whole thing is a nightmare of esoteric XML dialects that are somehow mapped by the engine into a database transaction when the thing boots up.

When I work on it, I tell my wife I am doing the “odoo doodoo”.

[–] [email protected] 10 points 10 months ago (1 children)

I love the amendment that failed. Imagine being so full of yourself as the state Supreme Court chief justice that you try to change the constitution so you don’t have to retire. That shit happens in Russia.

[–] [email protected] 26 points 10 months ago (2 children)

Really enjoyed the read. Thanks for sharing. I’m surprised by the random page implementation.

Usually in a database each record has an integer primary key. The keys would be assigned sequentially as pages are created. Then the “random page” function could select a random integer between zero and the largest page index. If that index isn’t used (because the page was deleted), you could either try again with a new random number or then march up to the next non empty index.

[–] [email protected] 36 points 1 year ago (2 children)

Real life quantum physicist here. When you say you want the uncertainty principle to be bigger, what you are really saying is you want Planck’s constant to be a bigger number. This has much bigger consequences than you might expect, because if nothing else about the universe changes (for example Coulomb’s constant) then the energy levels of atomic transitions all get out of whack, you break chemistry and chemical bonding, and there is no such thing as a basketball because there are no such thing as rubber molecules.

[–] [email protected] 55 points 1 year ago

Professional scientist here. I would take a table of logarithms. In a world without computers, the logarithm table and slide rule are the essential tools of how things got built. We built the Golden Gate Bridge and put a man on the moon using nothing more than log tables.

Any one person can remember the gist of the scientific method and write it down on a page. To write down a quality logarithm table you would need 500 pages.

[–] [email protected] 25 points 1 year ago (1 children)

I'm going crazy, but if this compiles at all I bet it generates the same machine code when compiled with each line reversed.

[–] [email protected] 4 points 1 year ago (1 children)

People who get excited by this have no idea how much actual DoD work costs to do. 2M/yr might pay for a team of about five to eight people to assist an analyst writing software. It's not even a dingleberry compared to the scope of an actual DoD program.

You're just revealing your ignorance getting worked up about this stuff. I don't need to resort to "reducto ad UFOium" to say you're misinformed.

[–] [email protected] 14 points 1 year ago

You are awesome man. I wanted to wait until the instance matured before committing to a monthly donation but I am signing up now. You're the best instance admin anyone can hope for. Glad to see your patch make it to 0.18

[–] [email protected] 2 points 1 year ago

As someone who regularly uses freezers like this, this would PISS ME OFF.

view more: next ›