1,889 karma · joined Sep 2, 2013 (13y ago) · 667 submissions
fer at fer dot ex why zee
https://www.fer.xyz
1.
43 points · by fer · 4y ago · 2 comments
comment 5y ago · link · parent
We have loads of redundancy, and dedicated "test in production" machines/datacenters to test actual production loads in actual production-scale sets machines.
Now, tests in production usually involves a pair of hands and 2 other people looking behind (dev + ops + dba), and requires a well defined rollback procedure and post-mortem. We still have absurdly high SLA (99.999%).
comment 5y ago · link · parent
comment 5y ago · link · parent
Leaving that aside, async is very advisable (even a must) if your backend throws requests against external and potentially blocking services and you want to keep answering your own clients without scaling for no reason.
comment 5y ago · link · parent
A lot of cash was dumped into fast and extensive R&D, trials and production scaling because of the urgency of the situation, and along comes an insane documentation backlog.
To put in perspective, the original HPV vaccine R&D and trial spanned over 7 years with 25,000 patients (of which only 20,000 women), and assuming the documentation was provided to the FDA as it was produced, it could be FOIA'd relatively quickly.
Pfizer/BioNTech did the same, with almost double the patients, in just over 6 months.
comment 5y ago · link · parent
The FDA has 14,000 employees; its FOIA office has 10, and they go at roughly 80,000 pages per month, meaning each employee does 8,000 pages per month, or roughly 400 per working day per employee, less than a minute per page. That to my non expert opinion sounds pretty fast.
That speed has been appropriate until now that the plaintiffs want 4 months' worth of FDA FOIA work for yesterday.
I agree that there should be a solution for these cases, but it's this particular FOIA request that's the anomaly, not the FDA way of work.
comment 5y ago · link · parent
The Community of Madrid is the succession tax haven of the country, so loads of people go live there their last years so their families aren't taxed on the inherited wealth.
Combine with the regional government short of condemning to death the elderly in nursing homes by refusing to hospitalize them[0], but I guess it's fine since they forgave themselves [1].
Add to the mix that the healthcare access hasn't kept up to handle what Madrid brought to itself, and then you obtain these numbers [2].
TL;DR: during the first wave, while most regions had peak excess deaths of 10-50%, Madrid had 200%, at the same time as being one of the most populous. In the rest of the periods, Madrid has been usually at the lead as well.
With Madrid removed the numbers are in line with Germany and Sweden.
[0] https://elpais.com/espana/madrid/2020-06-08/la-comunidad-de-...
[1] https://www.lahoradigital.com/noticia/32918/madrid/la-invest...
[2] https://www.isciii.es/QueHacemos/Servicios/VigilanciaSaludPu...
comment 5y ago · link · parent
My pain point in particular with PYTHONPATH (or playing with sys.path) is that people tend to use it with the only purpose of making import lines shorter, which brings naming collisions of all sorts when you aren't creative enough.
comment 5y ago · link · parent
Are you the end user of the Python code?
Yes -> Is available in your distro?
Yes->Use package manager
No->Use pip install in user mode
No -> Create virtualenv with the Python version you want (including pypy!) and do your pip thing there
Some extreme use cases may benefit from anaconda, but personally I've never needed to use it. My only pain point is dealing with legacy code that relies on PYTHONPATH. Nothing good ever starts setting PYTHONPATH.comment 5y ago · link · parent
~300 billion is the size of their debt (485 at the end of H1 2021). Their assets are at +2 trillion, +1 trillion in real estate alone.
Their problem is that with their current cash flow they can't pay their debt, ever, and now, they can't even keep up with the interest. But they're still in a position where selling off part of their inventory can offset the debt, and to my knowledge, that's what they've been trying to do.
That is, if their financial statements area real. That's the quid here, their position isn't particularly anomalous, but the market cap sits at 33 billion, very far from their declared assets, meaning the market doesn't believe those statements. Thats 60 to 1, where most REIT sit at around 2 to 1.
Their main problem is the large amount of unfinished homes (read: not producing any income) and you need money to fix that. My guess is that the government will step in to fix that point in particular.
comment 5y ago · link · parent
For small scale energy production small VAWTs [0] are relatively cheap, they offer more W/m2, and they are much more easily serviceable and installable.
For large scale production it's orders of magnitude less efficient, plus having multiple kites on the same plane brings in the wake effect [1] in full force. That's why regular turbines are generally laid in lines rather than wide surfaces, or with significant separation between them.
[0] https://en.wikipedia.org/wiki/Vertical-axis_wind_turbine
comment 5y ago · link · parent
It always keeps coming up in my search results but it's absolutely never been useful to me.
comment 5y ago · link · parent
With 1 to 4 process increase in 4 cores there's basically no granularity, at 3 there's not enough concurrency, and at 4 there's too much, choking the PostgreSQL process.
Whereas 1 to 16 blocking process increase allow for more granularity ramp up and leave the (almost) exact room for the PSQL process to do its thing before performance degrades.
That would be solved having the DB on a separate host to isolate this effect, and what happens in literally any non-dev environment.
And that's leaving asid the fact that 16 processes use roughly 4 times as much memory as 4, meaning async is cheaper to scale horizontally overall.
comment 5y ago · link · parent
I recently started learning Nomad, and Nomad (+ Terraform for cloud) is the only thing that makes sense (for our use cases). That said, I think higher management is too highly invested in K8s and they won't backtrack on this.
comment 5y ago · link · parent
comment 5y ago · link · parent
This, so, much. Working from home with a young kid around, it always feels like something's gonna fall, the cat is gonna fight back, mom is gonna get mad at him for some reason, or simply he needs me to go play with him. I never know if I have 5 minutes or 3 hours.
Nowadays I tend to not work so much during the day as I don't have the means to focus, then work into the night.