maxmalysh
def slow_sync_view(request):
# these requests won't be executed in parallel;
# async version could eliminate this extra latency
foo = requests.get('https://www.google.com/humans.txt').text
bar = requests.get('https://checkip.amazonaws.com').text
return HttpResponse(f'{foo}\n{bar}')CEO of Kryptex here. We have an answer:
The things is, there is no way to buy a $5 VPS/VPN now in Russia "thanks" to Visa / Mastercard actions.
https://redislabs.com/redis-enterprise/advantages/
> Redis Enterprise is a robust in-memory database platform built by the people who develop open source Redis. It maintains the simplicity and high performance of Redis, while adding many enterprise-grade capabilities, such as linear scaling to hundreds of millions of operations per second, Active-Active geo-replication with local latency, Redis on Flash to tier data across dynamic and persistent memory and solid-state disk (SSD) to reduce total cost of ownership, and five-nines (99.999%) uptime based on built-in durability and single-digit-seconds failover. Redis Enterprise supports many data modeling methods with modules such as RediSearch, RedisJSON, RedisGraph, RedisTimeSeries, RedisBloom, and RedisAI, and allows operations to be executed across and between modules and core Redis functionality using RedisGears, a serverless engine that runs across shards and nodes of Redis Enterprise cluster. All this while keeping database latency under one millisecond, so your application can respond instantaneously. Learn how to implement the best in-memory database: Redis Enterprise.
Django provides `sync_to_async` and `async_to_sync`, but it's trivial to do this yourself without Django:
https://docs.djangoproject.com/en/3.0/topics/async/#async-ad...
You can write sync code and use async calls only when needed.
Also, async python is awesome. Things were messy 2-3 years ago, but everything is so much better now.
Moreover, I'm not really interested in "years of experience". Previous titles don't really matter, too.
What does matter for junior and middle developers: personal projects, specific products or features developed by them or their team, accounts on Upwork, GitHub or StackOverflow, recommendations from other people, a personal website or a blog.
We are talking about the initial screening filter, so _anything_ proving you are a real developer is fine.
Not really. Google says "switch to HTTPS or lose ranking":
https://webmasters.googleblog.com/2014/08/https-as-ranking-s...
- https://guides.github.com/introduction/flow/
- https://guides.github.com/activities/hello-world/
Everything else (Mercurial, Subversion) is out of date.
https://github.com/ploxiln/fab-classic
We decided that migrating to Fabric 2.0 doesn't worth it.
Photoshop --> Sketch --> Figma.
This is why I recommend switching to HAProxy.
$ curl cheat.sh/tar
$ curl cheat.sh/ssh
$ curl cheat.sh/awkComing out as a gay person in Tajikistan, Kyrgyzstan or Azerbaijan is dangerous. Dangerous as in "there is a high chance you'll be beaten up and a mild chance of being kidnapped and killed".
From the other side, Russia is not that bad. Not bad means "you can see gay people kissing on the streets without repercussions" (in the European part of the country).
Syria? Oman? Just no comments.