by madsbuch · 3y ago · 0 comments
It seems like we are overcoming an AI winter, using the same technologies that was deemed infeasible 20 years ago.
When I did competitive programming 20 years ago. I would somewhat jokingly say that I would want to write and AI to solve all the problems. Our mentor laughed it of clearly not considering it even feasible – today ChatGPT would like outperform a highschool competitive programming competition.
We probably needed to look away from that generations presumptions in order to leap frog on some of these technologies.
Why was people's excitement allowed to trump data integrity? Are there not enough adults in the room to stop this from happening again?
Filesystems has been available for much longer than MongoDB. Using that as a database and having requirements changed to a relational database would be the same without anything about the filesystem being a fad.
I see it all the time as well, the MongoDB example is far from the only case. This industry fetishes anything that's new and if it turns out to be a bad idea you can always get another job with a shiny new technology on your resume.
I guess a lot of people have been bitten really painfully by MongoDB misbehaving int the past.
At the same time people generally understand that for most use-cases the fs isn't a good database and if they use it anyway they put the blame on themself as they did knew better.
Through I mean I have seen projects use the filesystem as a database successfully. Mainly in context of some initially ad-hoc versions of special purpose tooling written in bash or similar which worked surprisingly well for initial usage and long term anyway had to be rewritten (then normally not using bash and often using sqlite in rare cases postgres).
SQL has a problem, less of technical nature but more of organizational/knowledge transfer nature.
I have spent way to much time in discussions about schema, SQL types, SQL library usage and anything ORMs. Also a lot of hidden gotchas, like A LOT. Through most aren't really hidden it's more like people somehow having major knowledge gaps without realizing it. Like not understanding isolation levels and therefor misunderstanding which guarantees a transaction provides. Or somehow fundamentally rejecting that you design an application with a specific transaction level in mind and changing it later is non trivial, potentially to a point of making the change infeasible. Or pointless discussions about integer sizing and signing and the docent different ways you could map a unsiged 16bit number to SQL. Or people not understanding row/column locks. Or getting bitten by upserts not allowing upserting the same (compound)key twice in the same statement in some dbs. Or ...
Well I'm kinda feed up. But I still had way worse experiences with Mongo (but that was ~8? years ago).
It's also complicated out of necessity. A relational DBMS is doing a lot of things people maybe take for granted or don't realize they need.
I think NoSQL was the natural next step after ORMs, which are also used in a lot of places they shouldn't.
It all looked impressive the first few days, but the novelty wore off quite quickly.
We didn't leap-frog our predecessors presumptions, we built exactly what many envisioned but were unable to put to fruition with the computers of their time.
Also, when an actual disruptive new technology is first invented, jumping on it and trying to do something with it is both trendy and arguably rational, but this is a relatively rare occurrence.
It took 2 generations time for computers to improve enough that it became feasible. And also a huge unexpected discovery about 20 years ago, that you can pre-train a neural network and cost your costs by an order of magnitude.
Google did it first. You input a search string, find results on first or second attempt and then copy and paste the code.
At best, Googling StackOverflow gets me one function, but only if I know the right keywords and it is short. ChatGPT, I can (and have!) given it example data and said "make a python script to parse this", and it not only gives me code, not only does it work, but when I ask it to extend this to do more or differently, the changes also work coherently with the previous results. For example: https://github.com/BenWheatley/Studies-of-AI/blob/main/codin...