Avatar
Jeroen Ubbink
765609c7ece4a9a5262ace318801e4798394a5908723ec7d4b48f841b488a3e9
Software developer, bitcoin enthusiast

Haha ok you are in for a treat.

https://en.m.wikipedia.org/wiki/Ethereum_Classic

The joke i made is that ethereum started out as "ETC" but was then forked to "ETH" (5 letters away from ETC) due to a hack where a lot of funds were "stolen". Now they might do this again and move up another 5 letters to "ETM".

Replying to d0708145...

Sharing is caring.

You actually made a lot of arguments in favor of an ORM already.

It's not about not having or wanting to write sql, even though this will still allow people to use a database that do not know sql at all. Let's not focus on that however.

Developing becomes a lot more straightforward and faster because you can focus on your objects instead of queries and parsing. Most people are not doing anything complicated (sql wise) and a good orm will make the same queries as you would. This removes a lot of boilerplate sql code.

You also would not want to litter your code with sql statements that make it harder to read. So you can choose to abstract them into their own library or something, but now you still have half an orm that you had to build and expand for every database interaction that you intend to do. It's basically the same reason why you would use templates. Nobody wants to do their formatted output in loads of print statements.

Because you do not have to use sql all over the place remodelling parts of your datamodel becomes a lot easier and more consistent.

I am definitely biased because i have been using ORMs for at least the past 10 years. In all those years at various clients using various ORMs i only once had to revert to writing a raw sql statement.

Most of my time i've used Django's ORM (python) and SQLAlchemy (also python) but also used Ruby on Rails' Active Record. If queries were slow they all offer tools to debug what is going on. Every time except once i have been able to change the ORM statements a bit to optimize.

The only time i would not use an ORM is either if the programming language or framework used would not offer a decent/mature ORM or if performance was the only important metric and could not be solved otherwise. Maybe in that case you would also not want to use python or ruby to begin with. In all other cases spend developer tjme is often much more expensive then spend querytime.

Replying to Avatar Printer

GM!

Been keto for 12 years but a picture of a good loaf of bread makes the placebo smell literally come out of my device and i feel an increase in saliva in my mouth.

Better throw some bacon and eggs in the butter quick.

All i know is 90210.

Over here we can technically leave out city name and street name. They have become redundant by what we actually call "postal code". It is still good to have the redundancy though since many are handwritten and ocr still has issues in a lot of cases.

Being database "agnostic" has many other benefits then "being able to swap out the database". This is definitely not why they were invented and more of a side effect.

Replying to Avatar Jurjen de Vries

Indeed too much hassle for me. I already have too much hassle with nostr:nprofile1qqsrc23txhhfq2yt9m32s7h90864j2cg62hvq4tpkrz8cvhpg5z39vgpzamhxue69uhkummnw3ezuum5w43xy7fwv3jhvtcpr9mhxue69uhhyetvv9ujucnfw3kkzurnw3ezu6t09uq3kamnwvaz7tmwdaehgu3wwd6kgmmrv9excmmn9e3k7mf02qnk6j calendar related to sharing calendars and having a location available to my navigation. Still I am using it, but not that happy with it. I think Google photos will be the next one I will replace by something else.

May i suggest https://immich.app

Replying to Avatar Jurjen de Vries

It's a hard thing. Most data is related to an application. The reason I am still using Google contacts, is because of the lack of a good integration of nostr:npub18s4zkd0wjq5gkthz4paw2704ty4s354wcp2krvxy0sewz3g9z2cs73ydrt contacts in my phone dailer, openstreetmap navigation etc. Or even better a Nostr contacts (more details than the bio and lightning address). The same for a lot of other apps. I can't wait for the day all kind of apps are nostrified and I can just signin with my Phone, desktop OS and smart devices for all of those features. Would be really cool to have data encrypted well on WoT relays and mirrored Blossom servers. A lot of work to do before we are there.

I agree that sometimes the tradeoffs are quite big, but they are not impossible.

Sharing contacts is actually super bad. I am guilty of this as well btw so my hands are dirty too, but it's actually other people's data that you are giving away. It's already too late for this anyway, everybody is doing it and there are actually loads of other apps that fish for your contacts as well for some "benefit" you may then gain. Horrible practices.

It's not that there are no alternatives, but they make it explicitly hard to integrate in their ecosystem. Technically you can still revert to a notebook or text file on your phone. More hassle, i know and understand.

Replying to d0708145...

https://www.bbc.co.uk/news/articles/cgj54eq4vejo

Apple have caved in, here in The UK!

This just goes to show that even though companies may claim your data is safe with them right now, this might not be the case in the future.

Companies are in the business of making money first and foremost. This is not bad. You should just keep in mind that if that model is under threat, anything you entrusted them with might be too.

nostr:nevent1qqspjl7sq8wnyg6ccue9vs8tr2ey08pred90yfdxl88kmxhkqqpvjwcpzamhxue69uhhyetvv9ujuurjd9kkzmpwdejhgtczyrg8pq298pv52wtpj86z0cf5dw65ez2prlhc00f5gagskqnkzu0mvqcyqqqqqqg9lw9pp

I should try this at some point. Too many other experiments going on right now and i sort of want to keep track of what changes have what effect.

I wonder if this works if you have horrible cold feet like me, or if this might even improve it.

When using a kodi plugin that uses the api i now have to sign in to prove i'm not a bot. Suddenly happened last week..

I don't understand that people do not get fed up about all this. I still see near zero alternatives. Yes there are the sites/platforms but they have no content.

Now that they have the monopoly on content the enshittification begins.