1,324 karma · joined April 7, 2011
1. https://twitter.com/OwenJones84/status/1729487180630786219
Ignoring the obvious racism here, in what sense is Israel a successful middle eastern state? It regularly attacks its neighbouring countries. It keeps 2.3 million people in a ghetto and millions others in bantustans in the West Bank. It's huge source of instability in that region and is dependent diplomatically, economically and militarily on the US.
This is an odd way to decribe things considering Gaza is not a state. Its population is mostly refugees who were ethnically cleansed from nearby villages and functionally it operates as a concentration camp preventing those people from trying to return to those villages which are now occupied by settlers.
But yeah.. I've always found it shocking how many Americans think of type 2 diabetes as just a regular part of getting older.
It's infuriating that this is still not a thing you can disable (https://code.djangoproject.com/ticket/30874). Pretty much my only gripe with the Django ORM which I'm a huge fan of (and I also write lots of SQL).
We have a messaging flow building platform which is BSL. Anyone who wants to run their own instance is welcome to and people do and thus find it useful. The idea that the world would be better off if we made it closed source and prevented that... is just nonsense.
import pdb
pdb.set_trace()
can be written as just breakpoint() BulkInsert(db *sql.DB, objs []interface{})
This unfortunately meant that any time you had []Foo.. you had to allocate a new []interface{} and copy over the items. Now a function like that can look like: BulkInsert[T any](db *sql.DB, objs []T)
And we're not wasting CPU cycles to copy the slice of []Foo. I'm struggling to see how that's code smell or less excellent than using []interface{} or duplicating the code for BulkInsert for every insertable type in our application.