HNHacker News
TopNewBestAskShowJobs

maxmalysh

158 karma · joined August 26, 2017

https://maxmalysh.com
submissionscomments
maxmalysh··on Django 4.1
> Or just run 20 workers and let the OS handle async. OSes are pretty good at this. Async is pretty hard to reason about.

    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}')
maxmalysh··on The GPU shortage is over
> What to do with all that computing power now. I guess AI.

CEO of Kryptex here. We have an answer:

https://www.kryptex.com/en/rent-cloud-gpus

maxmalysh··on Roskomsvoboda statement on foreign companies’ sanctions against Russians [pdf]
> As long as The Internet is available to Russians, people will find a way around Roskomnadzor blocks. All it takes is a single 100Mb VPS to provide VPN connection for 10-20 people.

The things is, there is no way to buy a $5 VPS/VPN now in Russia "thanks" to Visa / Mastercard actions.

maxmalysh··on Malware on My Android Phone
http://www.paulgraham.com/disagree.html
maxmalysh··on Redis Labs Raises $100M
Check this out:

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.

maxmalysh··on Django 3.1
There is no _switch_! You can use easily _mix_ sync and async code without any consequences.

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.

maxmalysh··on PostgreSQL beginner guide
Pro tip: store configuration files in git.
maxmalysh··on Eric Schmidt is working to launch a university
If a candidate has less than 3 years of experience AND he has nothing to show AND he has no degree... he will not pass the filter.

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.

maxmalysh··on Eric Schmidt is working to launch a university
I filter based on experience. Previous jobs, roles, projects. Degree is a weak predictor and I consider it mostly for candidates with less than 3 years of experience.
maxmalysh··on Life is 90% of my use cases for org-mode
But be careful with vim, because one does not simply quit vim...
maxmalysh··on Chromium and Mozilla to enforce 1 year validity for TLS certificates
> there's nothing wrong with a static site with no cert

Not really. Google says "switch to HTTPS or lose ranking":

https://webmasters.googleblog.com/2014/08/https-as-ranking-s...

maxmalysh··on Ask HN: Git alternatives that aren't so complicated?
I recommend trying one more time with a simple branching model, e.g. Github Flow:

- https://guides.github.com/introduction/flow/

- https://guides.github.com/activities/hello-world/

- https://try.github.io

Everything else (Mercurial, Subversion) is out of date.

maxmalysh··on Ask HN: GitHub alternatives? (except for Gitlab and Bitbucket)
cgit

Example: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...

maxmalysh··on Chromium and Mozilla to enforce 1 year validity for TLS certificates
http://www.paulgraham.com/
maxmalysh··on Chromium and Mozilla to enforce 1 year validity for TLS certificates
I don't like seeing how the SSL hurdle affects small read-only websites.
maxmalysh··on Show HN: Aviary.sh – A tiny Bash alternative to Ansible
Try fab-classic:

https://github.com/ploxiln/fab-classic

We decided that migrating to Fabric 2.0 doesn't worth it.

maxmalysh··on Show HN: Aviary.sh – A tiny Bash alternative to Ansible
Not really. Ansible is a complex DSL based on YAML. Fabric is really simple and uses real Python.
maxmalysh··on Ask HN: Whiteboard Tool?
Yes. Figma is a de-facto standard tool for UI/UX designers nowadays.

Photoshop --> Sketch --> Figma.

maxmalysh··on Ask HN: Whiteboard Tool?
Figma?
maxmalysh··on Async Python is not faster
https://en.wikipedia.org/wiki/C10k_problem
maxmalysh··on Show HN: Top, but for Nginx
Monitoring capabilities are missing from Nginx on purpose. They are not and will never be available for free because there is "NGINX Plus".

This is why I recommend switching to HAProxy.

maxmalysh··on How to Use Trend Micro's Rootkit Remover to Install a Rootkit
It always amazes me how using Windows never feels safe. It is literally a sieve in terms of security.
maxmalysh··on Show HN: Get help on any Linux command by typing 'howdoi –' in your terminal

    $ curl cheat.sh/tar
    $ curl cheat.sh/ssh
    $ curl cheat.sh/awk
maxmalysh··on WinUI, The modern native UI platform of Windows
I see no reason to use this proprietary Win10-only Microsoft framework instead of HTML + JS + Electron.
maxmalysh··on Show HN: I made a site that helps you find LGBT+ Travel Rankings and Gay Laws
YMMV, but check Google Maps to see how many gay bars are there in Moscow.
maxmalysh··on Show HN: I made a site that helps you find LGBT+ Travel Rankings and Gay Laws
This map is terribly wrong for some parts of the ex-USSR and Asia.

Coming 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.

maxmalysh··on Tell HN: Mailgun lowers free-tier API from 10k to 625 emails per month
Amazon SES — $0.10 per 1000 emails.
maxmalysh··on Why Using WhatsApp Is Dangerous (Pavel Durov)
> Don’t let yourself be fooled by the tech equivalent of circus magicians who’d like to focus your attention on one isolated aspect all while performing their tricks elsewhere. They want you to think about end-to-end encryption as the only thing you have to look at for privacy. The reality is much more complicated.
maxmalysh··on Ask HN: How do you process payments?
Bitcoin.
maxmalysh··on Threads Are a Bad Idea for Most Purposes (1995) [pdf]
It's time to migrate to async/await. Check out asyncio.Protocols for TCP servers and aiohttp for HTTP servers. We get beautiful async stack traces delivered to Sentry. Debugging anything is a joy.
Page 1 of 2Next →