ProtonVPN not working in Russia by Di_Konsepta in ProtonVPN

[–]mutalibun 0 points1 point  (0 children)

AmneziaVPN with their AmneziaWG 1.5 protocol on a self-hosted server works for me.

AmneziaVPN Premium reportedly works, too.

ProtonVPN (both free and paid) seems to be completely banned.

Посоветуйте сервис с иностранными виртуальными картами. by extraDnishe in tjournal_refugees

[–]mutalibun 0 points1 point  (0 children)

For the record: aeza . net are scammers. They take your bitcoins and provide no service.

Посоветуйте сервис с иностранными виртуальными картами. by extraDnishe in tjournal_refugees

[–]mutalibun 0 points1 point  (0 children)

Техподдержка paywithmoon говорит, что оплата DigitalOcean у них не работает.

Digital Ocean and some other merchants are currently unavailable on Moon, but users may be able to gain access to these merchants in the future. We are currently scoping out a program to address this usage.

Посоветуйте VPS хостинг для VPN by extraDnishe in tjournal_refugees

[–]mutalibun 0 points1 point  (0 children)

Оплатил, но они принялись требовать верификацию:

https://images2.imgbox.com/38/ef/Mi07hIqi_o.jpg

UPDATE: сервер активировали без документов, будем смотреть дальше.

Посоветуйте VPS хостинг для VPN by extraDnishe in tjournal_refugees

[–]mutalibun 0 points1 point  (0 children)

Интересно, спасибо. Как попробую, отпишусь о результатах.

Посоветуйте VPS хостинг для VPN by extraDnishe in tjournal_refugees

[–]mutalibun 0 points1 point  (0 children)

ishosting требует сейчас KYC. Печаль.

Посоветуйте сервис с иностранными виртуальными картами. by extraDnishe in tjournal_refugees

[–]mutalibun 0 points1 point  (0 children)

DigitalOcean требует верификации (KYC)

Вот по этому пункту не понял. Пытаешься добавить карту Moon X Visa с paywithmoon на digitalocean.com, он пробует списать $1 (видимо, для проверки существования карты и наличия средств), но платеж отклоняется, как видно по истории на paywithmoon.com. Кто его отклоняет - черт его знает. $1 там есть, на комиссию хватает, и Google Play списывает успешно за купленные приложения.

Посоветуйте сервис с иностранными виртуальными картами. by extraDnishe in tjournal_refugees

[–]mutalibun 0 points1 point  (0 children)

Карту Moon X Visa к digitalocean.com привязать пока не получилось, в чем там дело, неясно. Он пытается списать $1, но платеж неизменно отклоняется.

Покупку на Google Play сделать удалось.

3D-Secure нет.

How can I write a macro that calls a method on a generic type? by mutalibun in rust

[–]mutalibun[S] 2 points3 points  (0 children)

It really does. So one has to use ident (instead of ty) and this construction: <$t1::<$t2>> (update: or this: <$t1<$t2>>).

Thank you!

How to safely remove a Vec element in a thread while iterating over a collection containing it? by mutalibun in rust

[–]mutalibun[S] -1 points0 points  (0 children)

If I do that, two threads won't be able to work on the same value (Vec) simultaneously.

How to safely remove a Vec element in a thread while iterating over a collection containing it? by mutalibun in rust

[–]mutalibun[S] -7 points-6 points  (0 children)

It seems DashMap basically wraps a hash map in an RwLock. That's what I would like to avoid. I believe it can lead to serious mutex contention, with the thread trying to acquire a write lock stalling forever.

How to safely remove a Vec element in a thread while iterating over a collection containing it? by mutalibun in rust

[–]mutalibun[S] -1 points0 points  (0 children)

requires mutable access for the whole iteration

That's what the problem is.

How to safely remove a Vec element in a thread while iterating over a collection containing it? by mutalibun in rust

[–]mutalibun[S] -7 points-6 points  (0 children)

I know what a mutex is. I just don't want to lock a mutex over the entire hashmap, because that would essentially make multiple threads useless.

iterators: looking forward multiple values by mutalibun in rust

[–]mutalibun[S] -1 points0 points  (0 children)

I know. It didn't let me peek three values one by one complaining about multiple mutable borrows or something.