Dataset: databases for lazy people
github.com
github.com
I've never seen anything come close to the simplicity with which that package managed to connect the various tables to each other and to generate forms with sensible rule based validation (types, ranges, sets).
Databases for 'lazy people' should have a good look at what has already been built to prevent re-inventing the wheel badly, JSON files are easy for programmers but the world is a lot bigger than that. (Or maybe they intended to write 'databases for lazy programmers', then it makes more sense.)
Edit: they're (surprise!) still around after 30 years:
The problem with tools like these is that they allow people to be far more dangerous than they would otherwise be, but if properly used and with a good eye towards their limitations they can be game changers.
Another product like that is FileMaker pro. I've seen people do absolutely amazing things with it and I've seen people build the stuff of nightmares with it.
> I don't want to talk about it!
So don't!
We've come so far from the simple old days where a TodoMVC would have been just `use todo; browse`.
Incidentally, those text mode interfaces were wicked fast given the hardware they were running on.
So it suddenly make me quite reassured that some others are terrorized by SQL which look to me like a joyful playground.
I guess that should be everyone mantra in CS. Don't underestimate yourself, don't overestimate others, just accept that you can't master everything anymore.
Not to say my issues couldn't be solved. Just that it's not beginner friendly and to explain why people might be terrified of it.
That "crap somekind of server" would be MySQL server. Were you trying to install MySQL client instead.
I've never had a problem. `apt-get install mysq-server`and I'm done.
A major life lesson for me. Last week a friend told me the hardest part about being my friend was the sadness he felt watching me sell myself short. Now that I'm getting my bearings again heading into the job market I'm really appreciating his observation.
I guess I should have been paying more attention to Stuart Smalley on SNL.
Not the best sales pitch. :D
But really I just love the logo:
Sqlite has always been a bit dynamically typed, it only makes sense to finish the job and lazy-create tables and columns as needed.
I can't see anything in the docs about how the upsert command works, though. Too many upsert commands use the primary key for upserting, which fails with autogenerated keys.
For writing on the other hand, this has the wonderful side-effect of doing schema changes on the fly, like adding some new columns to a table because one new record has that field.
I know it's not meant to be used that way, but inevitably this will be used against large existing databases (used inside some company for example), and then those side-effects will show up and make a lot of people very happy I guess.
I imagine the nested transactions are implementation defined, since some dbs do "rollback rolls back current trans" and some do "rollback rolls back entire stack.
But SQL is the best DSL for databases Period.
http://docs.peewee-orm.com/en/latest/peewee/playhouse.html#d...