Hacker News new | past | comments | ask | show | jobs | submit | frodowtf's comments login

Fascinating how Cuba is still standing in spite of all embargoes.


They are still able to import and export goods from around the world. Even US has exported goods to them (more than Canada or Mexico.) Its just that US doesn't import much from them.

https://oec.world/en/profile/country/cub?yearlyTradeFlowSele...


They have been getting free oil from Venezuela in exchange for helping the dictatorship there for the past 25 years. They then sell that oil for resources to pay the military and the top brass well fed while the population starve


Apparently they see that as preferable to becoming an American colony.


By "them" who do you refer to? Because I believe the people from Cuba haven't been to choose their govement for the past 70 years


Standing? Their population has declined by 20% in 2 years. I'd describe that more as crawling on the ground and starving.


... the obligatory "historical context" nobody asked for.


If you want to use this pattern, you'll probably end up with a lot of duplicated code e.g. for SQL query builders. I could imagine that Rust makes this kind of pattern easier due to traits and macros. A lot of languages do not have these features.

And then of course Rust people care about correctness more in general.


It also seems to have the same concurrency issues as described in the article. At least from my experience the "database is locked" error appears quite often.


A rather late reply, but in case anyone is reading this.... Django is basically designed to have sqlite deadlocks, and there's a trivial fix (that the dev team refused to include) that allows fixes the problem and allows you to run up to moderate loads.

https://centraltrunks.blogspot.com/2022/07/django-sqlite-dat...

https://code.djangoproject.com/ticket/29280

(I authored the rant in the first link)


> writing a lot of boilerplate code to connect the frontend and backend.

OpenAPI. django-ninja supports it out of the box.


What do you use for the frontend?


Usually, I go with openapi-generator and pick the typescript-fetch template. You can use that with whatever js-based frontend framework you want.


> ... very low user adoption of Home Screen web apps.

Well, if nobody wants to play with our total clusterfuck of inconsistent APIs, we might as well drop support for them >:(


so why is nobody implementing stuff in smalltalk?


This isn’t based on any data, just my intuition…

I don’t think humans usually choose the “best” solution. They use solution that are a combination of readily available, easiest to get started with, and popular.



I think it was a little ahead of its time.


Well, that comment is definitely "masculine"


As long as casinos are a thing, Bitcoin stays a thing.


As long as people in embargoed countries need to transfer wealth, Bitcoin stays a thing.

A piece of technology that is completely out of reach of any government. Makes me shed an anarchist tear of joy.


Well, I don't.


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: