Better HN
topnewbestaskshowjobs
Log inSign up

0xbkt

239 karma · joined Dec 21, 2018 (7y ago) · 117 submissions

A code tinkerer, specializing in networking, operating systems, and DevOps.

GitHub: github.com/berkant

Reach out to me at berkant@berkant.dev.

Submissions

comment 1y ago · link · parent

It always is.

2.

Brace Expansion in Bash(gnu.org ↗)

1 points · by 0xbkt · 2y ago · discuss

comment 2y ago · link · parent

> I can't deploy as often as I want because some Sidekiq jobs run for several days, and deploying code means disrupting those jobs

Sounds like a use case for Cadence/Temporal-style fault-oblivious stateful execution with workflows. At last job, we did Unreal Engine deployments with pixel streaming at scale on a huge fleet of GPU servers, and the way we could persist execution state so hassle-free that the code would magically resume at the line right where it got interrupted was so astounding.

4.

Comparing TCP and QUIC (2022)(blog.apnic.net ↗)

3 points · by 0xbkt · 2y ago · discuss

5.

Why is the CHF so strong?(old.reddit.com ↗)

4 points · by 0xbkt · 2y ago · discuss

comment 3y ago · link · parent

This read, for some reason, reminded me of Farnam Street's “Why Life Can’t Be Simpler”[0].

[0] https://fs.blog/why-life-cant-be-simpler/

7.

Ask HN: Where does authentication happen in BFF?

1 points · by 0xbkt · 3y ago · discuss

comment 3y ago · link · parent

> but has this been tried in court?

Yes, it seems: https://torrentfreak.com/ovpn-wins-court-battle-after-pirate...

comment 3y ago · link · parent

Tangentially related: what do you use today to make authn/z work for your web sites/applications where you only do first party login (i.e. you don't do social login etc.)? Create a `users` table in your database and implement the logic on your own? Or proxy to stuff like Ory Kratos and act as a translation layer through a network call?

comment 3y ago · link · parent

If possible, collect fingerprint information through a side channel such as WebRTC or WebTransport, and use the info to correlate payments. Or, if the attack is executed from a non-browser environment, you can pattern match the order of TLS cipher suite to that sent by the attacker and block them straight away.

comment 3y ago · link · parent

Does anybody know about the current status of SR-IOV for graphics cards? It is highlighted for NICs but I want to know if there is anything upcoming for GPUs too.

12.

Type Punning(en.wikipedia.org ↗)

1 points · by 0xbkt · 3y ago · discuss

comment 3y ago · link · parent

What's going on in this code for someone completely alien to C++?

comment 3y ago · link · parent

I think the closest thing to "nanofunctions" today are V8 isolates.

comment 3y ago · link · parent

You can be able to identify those requests by inspecting the TLS cipher. Cloudflare Workers has that value in `request.cf.tlsCipher`[0]. Keep in mind the collateral damage it may have, though.

[0] https://developers.cloudflare.com/workers/runtime-apis/reque...

comment 3y ago · link · parent

I had to resolve a similar connectivity issue for a client a couple months ago. The server was in Canada, but for some reason, Cloudflare's Asia-Pacific PoPs didn't want to reach this server and returned 525 SSL Handshake Failed error instead. So, I went ahead to install Cloudflare Tunnel, because I know that instead of waiting for Cloudflare to move through the Internet up to the last mile to the origin, I could establish long-lived connections to them over multiple PoPs so that the traffic from entry PoP(s) would stay in Cloudflare's network perimeter. This is assuming that your Tunnel connections are healthy no matter what. And the problem was gone.

The path basically transitioned from:

Entry PoP <----> Origin

to:

Entry PoP <----> Tunnel PoP <----> Origin

17.

Invisible Characters(invisible-characters.com ↗)

131 points · by 0xbkt · 3y ago · 33 comments

18.

Kenton's House(kentonshouse.com ↗)

2 points · by 0xbkt · 3y ago · 1 comment

comment 3y ago · link · parent

What is Ersatz?

20.

Newline(en.wikipedia.org ↗)

1 points · by 0xbkt · 3y ago · discuss

comment 3y ago · link · parent

Is this feature fully rolled out yet? I still see unicast IPs connecting from the entry colo and traceroute confirms that.

comment 3y ago · link · parent

> TLDR: they're now using anycast for egress, not just ingress.

I don't see this behavior in my setup. I have a server in AMS and connect from IST, but `netstat` reveals a unicast IP address that is routed back to IST.

23.

Designing Internal DSLs in Scala (2008)(debasishg.blogspot.com ↗)

2 points · by 0xbkt · 4y ago · discuss

comment 4y ago · link · parent

I am interested in knowing more about possible deployment options that workerd is going to offer. Any plans to cluster workerd nodes up to propagate code changes through a central orchestrator API? Or can we expect to have something like Krustlet on K8s but for workerd instead of wasmtime?

25.

Stendhal Syndrome(en.wikipedia.org ↗)

4 points · by 0xbkt · 4y ago · discuss

26.

Hosting a static site on Fly.io with Nix and Caddy(mat.services ↗)

2 points · by 0xbkt · 4y ago · discuss

27.

Agile vs. Introverts(event-driven.io ↗)

3 points · by 0xbkt · 4y ago · discuss

28.

CSS Visual Formatting Model(developer.mozilla.org ↗)

1 points · by 0xbkt · 4y ago · discuss

29.

Domain-Driven Design Principles for Microservices(semaphoreci.com ↗)

1 points · by 0xbkt · 4y ago · discuss

30.

Linux I/O Principles and Zero-copy Technology(sobyte.net ↗)

4 points · by 0xbkt · 4y ago · discuss

1234