-15 karma · joined October 30, 2024
Even it's postgres, it is still a file on disk. If there is need something like like partitioning the data, it is much more easier to write the code that partitions the data.
If there is a need to adding something with textinputs, checkboxes etc, database with their admin tools may be a good thing. If the data is something that imported exported etc, database may be a good thing too. But still I don't believe such cases, in my ten something years of software development career, something like that never happened.
E.g., Nobody wants to continue working with someone who create sound effects, movie player, operating system, etc.
for x in range(0, 90): for y in range(0, 90): if xx + yy < 90*90: # it is in circle
So for the each x, the one that has the greatest y will be the sin.
Something like floatrange(0,1,0.001) may work too.
I try to understand how Math.sin works. There is Math.cos. It is sin +90 degrees. So not all of them is something that completes a big puzzle.
I think it is stored like sintable[deg]. The degree is index.
It looks like there is a reasonable explanation when it is written math form but there is no.
Sin/cos must be borders of sqrt(x²+y²). It is also cached indeed.
Senior devs gibber about database systems, sql, nosql, clustering, etc. The real work storing the input in text file, querying with a simple loop.
Plus there is an additional huge misconception in industry, if something is realtime, it is a senior dev thing. It is something like a plague.