Vladislav Yarmak (@snawoot) profile picture
Joined February 2017
Photo by Vladislav Yarmak (@snawoot)Photo by Vladislav Yarmak (@snawoot)Photo by Vladislav Yarmak (@snawoot)Photo by Vladislav Yarmak (@snawoot)Photo by Vladislav Yarmak (@snawoot)
I was looking for a way to reduce performance impact of heap allocations and came up with a simple freelist allocator: pkg.go.dev/github.com/Snawoo… 1/4
1
1
315
Just finished native support for PAC files in dumbproxy: github.com/SenseUnit/dumbpro… Now PAC files can be directly used as JS proxy router like this: ``` dumbproxy -js-proxy-router ~/proxy.pac ```
2
60
Vladislav Yarmak retweeted
During talks between U.S. and Iranian delegations in Pakistan, the topic of Ukraine unexpectedly came up. While discussing U.S. guarantees in the event that Iran halts uranium enrichment and abandons the development of nuclear weapons, the Iranian side asked how the United States is fulfilling the 1994 Budapest Memorandum, in which it pledged to respect and protect Ukraine’s sovereignty. The U.S. delegation left the question unanswered.
728
6,126
584
18,110
2,121,462
pkg.go.dev/codeberg.org/yarm… - weak map implementation for Go without the use of finalizers/cleanup hooks
87
I've added support for TrustTunnel (trusttunnel.org) protocol in dumbproxy (github.com/SenseUnit/dumbpro…) release v1.42.0. Now it works with TrustTunnel client app and carries UDP traffic as well.
1
1
235
Vladislav Yarmak retweeted
Oh, the irony! Dmitriev uses VPN to access X in order to criticize the EU for censorship against X. He needs to use VPN because X is banned in russia.
129
2,392
93
12,594
233,652
I'd like to share a curious cache implementation I recently came up with: pkg.go.dev/github.com/Snawoo… It's a small (<200 LOC) simple cache implementation. What makes it curious is how it approaches item expiration. (1/5)
1
1
111
What's more important is that validity of item is decided by user-provided function. That allows to bring in your own notion of item validity: item age, frequency of the item use, internal state of shared object and so on. (4/5)
1
95
E.g. I use it, among other things, to evict per-user instances of "golang.com/x/time/rate".Limiter as soon as token bucket recovered to initial state and limiter has no shared lock being held on it. (5/5)
92
Reporter: Should a president engage in such active entrepreneurial activity? Trump: Where are you from? Reporter: From Australia. Trump: You're doing Australia a lot of damage right now. I'm going to tell your leader about this. Shut up. Trump threatens Australia because a reporter is doing his job. What a disgusting weakling.
2,904
8,402
926
36,973
1,959,399
opera-proxy v1.11.0 (github.com/Snawoot/opera-pro…) has been released! This release ships only one feature: automatic server selection. The new default setting is to automatically select fastest proxy server from the list returned by API. See changelog and README for more details.
1
106
* HTTP/2 upstreams now support option to fetch random data in the beginning of each HTTP/2 session (which in its turn multiplexes multiple proxy sessions). This option may be helpful to break traffic size pattern used for TLS-in-TLS detection. Lookup documentation for fetchrandom
72
Vladislav Yarmak retweeted
simple forward proxy with scripting and TLS
1
1
12
3,395