Better HN
topnewbestaskshowjobs
Log inSign up

Snawoot

458 karma · joined Aug 18, 2016 (10y ago) · 213 submissions

[ my public key: https://keybase.io/yarmak; my proof: https://keybase.io/yarmak/sigs/B-6vurJWXuwCRjiwWwjhWFQYkm-IE_oNmPsr9czKvyo ]
Submissions

1.

Ukraine says new Starlink restrictions disrupt their military(nbcnews.com ↗)

59 points · by Snawoot · 1mo ago · 29 comments

2.

Tlscookie – hidden cookies in TLS tickets(tlscookie.xx.kg ↗)

2 points · by Snawoot · 5mo ago · discuss

comment 5mo ago · link · parent

Location: Ukraine

Remote: yes

Willing to relocate: no

Technologies: Go, Python, JS, C, PostgreSQL, MySQL, MongoDB, Redis, Linux, Docker, kubernetes, ...

Résumé/CV: https://www.linkedin.com/in/vladislav-yarmak/

Email: vladislav-ex-hncv@vm-0.com

Software engineer with about 15 years of experience, former CTO, VPE, Systems Architect. My key skills are in backend development, infrastructure, computer networks.

4.

Show HN: Weakmap – weak map for Go without use of finalizers(codeberg.org ↗)

1 points · by Snawoot · 7mo ago · discuss

comment 7mo ago · link · parent

  Location: Ukraine
  Remote: yes
  Willing to relocate: no
  Technologies: Go, Python, JS, C, PostgreSQL, MySQL, MongoDB, Redis, Linux, Docker, kubernetes, ...
  Résumé/CV: https://www.linkedin.com/in/vladislav-yarmak/
  Email: vladislav-ex-hncv@vm-0.com
Software engineer with about 15 years of experience, former CTO, VPE, Systems Architect. My key skills are in backend development, infrastructure, computer networks.

6.

Making Services with Go Right Way(snawoot.github.io ↗)

2 points · by Snawoot · 7mo ago · discuss

comment 8mo ago · link · parent

Hexane is directly used as a solvent for edible cooking oil refining.

comment 9mo ago · link · parent

TrustTunnel - https://trusttunnel.org/

9.

Dumbproxy 1.42.0 released with TrustTunnel support(github.com ↗)

2 points · by Snawoot · 9mo ago · 1 comment

10.

HTTP-over-TLS proxy in a single command(github.com ↗)

2 points · by Snawoot · 10mo ago · discuss

comment 10mo ago · link · parent

  Location: Ukraine
  Remote: yes
  Willing to relocate: no
  Technologies: Go, Python, JS, C, PostgreSQL, MySQL, MongoDB, Redis, Linux, Docker, kubernetes, ...
  Résumé/CV: linked here https://snawoot.github.io/
  Email: specified here https://snawoot.github.io/
Most recent job was CTO at crypto/VPN startup and I was working on network and security stuff in general for about last 10 years. I'm open to other fields and roles, though.

12.

Show HN: Secache – Sampling Eviction Cache(pkg.go.dev ↗)

1 points · by Snawoot · 11mo ago · discuss

13.

PPP-over-HTTP/2: Having Fun with dumbproxy and pppd(snawoot.github.io ↗)

5 points · by Snawoot · 1y ago · discuss

comment 1y ago · link · parent

I also double that rendezvous hashing suggestion. Article mentions that it has O(n) time where n is number of nodes. I made a library[1] which makes rendezvous hashing more practical for a larger number of nodes (or weight shares), making it O(1) amortized running time with a bit of tradeoff: distributed elements are pre-aggregated into clusters (slots) before passing them through HRW.

[1]: https://pkg.go.dev/github.com/SenseUnit/ahrw

comment 1y ago · link · parent

chrome --headless --disable-gpu --print-to-pdf https://example.com

comment 1y ago · link · parent

I've made a couple of modules which allow canonicalize maps and slices of comparable elements, making their canonical handles also comparable:

* https://github.com/Snawoot/uniqueslice

* https://github.com/Snawoot/uniquemap

17.

Dumbproxy just got SOCKS5 support(github.com ↗)

3 points · by Snawoot · 1y ago · discuss

comment 1y ago · link · parent

I think I found some solution for arenas in Go: https://pkg.go.dev/github.com/Snawoot/freelist

Has some shortcomings, but I think it should work.

comment 1y ago · link · parent

How do docker contexts help with the transfer of image between hosts?

comment 1y ago · link · parent

> What ever happened to providing a good service?

I'm getting an impression it's just not profitable enough. For many years I get a feeling that business is considered sound only if it is superprofitable (not exactly the right term, but still) in order to cover all losses.

Probably it's because of market competition required to be at least noticed. Some companies' spendings for marketing are greater than for R&D, production and operations combined. Maybe we got ourselves into a situation where everywhere competing for low-hanging fruits or trying to make customer believe it's the service they need while all of it doesn't really overlap with real society needs.

comment 1y ago · link · parent

Side note: redirection of .onion domain to Tor proxy is how proxy routing with JS script illustrated by example in dumbproxy docs: https://github.com/SenseUnit/dumbproxy?tab=readme-ov-file#up...

22.

Dumbproxy got Redis auth back end(github.com ↗)

1 points · by Snawoot · 1y ago · discuss

23.

Show HN: Unicmp – fast universal ordering function for Go(pkg.go.dev ↗)

3 points · by Snawoot · 1y ago · discuss

comment 1y ago · link · parent

Cuckoo filters are more efficient alternative. The algorithm of displacement is also very notable: how we can use random swaps to place data in cells optimally.

comment 1y ago · link · parent

I had an attempt to improve performance of memory allocation with the use of arenas in Go and I chose freelist datastructure[1]

It almost doesn't use unsafe except one line to cast pointer types. I measured practical performance boost with "container/list" implementation hooked to my allocator. All in all it performs 2-5 times faster or up to 10 times faster if we can get rid[2] of any and allocations implied by the use of it.

All in all, heap allocations can be not that bad at all if you approach them from another angle.

[1]: https://github.com/Snawoot/freelist

[2]: https://github.com/Snawoot/list

comment 1y ago · link · parent

Into the same vein - crude, but truly vendor-independent recipe: https://gist.github.com/Snawoot/b7065addf014d90f858dbd185d51...

comment 1y ago · link · parent

> 2-6x faster than Redis (benchmark link below) yet disk persisted!

That's a false contradistinction: Redis is also disk persisted.

The benchmark you did mentions Redis benchmarking guide and this guide has following paragraph:

> Redis is, mostly, a single-threaded server from the POV of commands execution (actually modern versions of Redis use threads for different things). It is not designed to benefit from multiple CPU cores. People are supposed to launch several Redis instances to scale out on several cores if needed. It is not really fair to compare one single Redis instance to a multi-threaded data store.

Did you just benchmarked against only single Redis instance and claimed performance win? Even if so, how do benchmarks compare against source-available competitor DragonflyDB?

Finally, documentation doesn't mention how persistence exactly works and what durability guarantees should we expect?

12345
8