129 karma · joined Apr 14, 2022 (4y ago) · 61 submissions
comment 1mo ago · link · parent
In my eyes one of their highpoints which demonstrates their trustworthiness is the ~20 million dollars payment they received this year by undisclosed European (I think it was European) entity (government or private donors maybe)
comment 1mo ago · link · parent
And to be fair not all Come back alive projects are long term, they provide cars, cables, laptops, portable power stations etc., but these do not engage public enough, so their media team focuses on more interesting projects.
What "long term" means is also differs, they put a lot of effort into their training centers, but now the training cycle of one person is several months (I assume, I don't know exact terms), which is not that long.
comment 4mo ago · link · parent
You can do this trick for type-checking emptiness of string literals
https://www.typescriptlang.org/play/?jsx=0#code/C4TwDgpgBAsg...
comment 5mo ago · link · parent
The Putin regime made an informal deal with the population "You stay out of politics and we're gonna stay out of your life". The people outsource political power to the regime.
This passive majority represents the bulk of the population, but not the whole of the population. There are two smaller groups. Ultra-patriots who criticize Putin for not doing more war, more suffering etc. And those who criticize the Putin for the war, although this group is not very vocal, but here I do agree with you that's it's difficult to publicly protest in an authoritarian regime.
comment 8mo ago · link · parent
> Using the wl_seat.get_pointer request, clients may obtain a wl_pointer object. The server will send events to it whenever the user moves their pointer, presses mouse buttons, uses the scroll wheel, etc — whenever the pointer is over one of your surfaces. [...] The server sends this event when the pointer moves over one of our surfaces, and specifies both the surface that was "entered", as well as the surface-local coordinates (from the top-left corner) that the pointer is positioned over.
So the program should know the pointer's local coordinates.
comment 9mo ago · link · parent
Do you manually keep them in-sync (that's what I'm leaning into as the most practical solution)? Do you introspect the DB schema? Or maybe use something like Drizzle which autogenerates sql migration to keep the db schema in-sync
comment 9mo ago · link · parent
That's what I've read (when evaluating Nebula), at least.
comment 1y ago · link · parent
The commercial domain name system is a perfect example of the type of artificial scarcity capitalism creates and exploits.
Domain names are tiny little rows in a database. They cost next-to-nothing to set up and maintain. There’s absolutely no reason why they couldn’t be a public good, paid for from the public purse.
And yet you pay (at times extortionate) amounts for them… why?
Because capitalism.
Isn't this a bit simplistic? Domain names are a limited resource, so there has to be some way to regulate who can use which domains. What alternative method of regulation would you propose and why it's better?comment 1y ago · link · parent
comment 1y ago · link · parent
Are you suggesting that it's a new development and that, for example, peasants had it better?
I'd say that even if the absolute difference in wealth is greater these days, the disparity in opportunities and quality of life has, on average, decreased (Don't ask for sources as I don't have any)