HN user

0xbkt

239 karma

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

GitHub: github.com/berkant

Reach out to me at berkant@berkant.dev.

Posts30
Comments80
View on HN
www.gnu.org 1y ago

Brace Expansion in Bash

0xbkt
1pts0
blog.apnic.net 2y ago

Comparing TCP and QUIC (2022)

0xbkt
3pts0
old.reddit.com 2y ago

Why is the CHF so strong?

0xbkt
4pts0
news.ycombinator.com 3y ago

Ask HN: Where does authentication happen in BFF?

0xbkt
1pts0
en.wikipedia.org 3y ago

Type Punning

0xbkt
1pts0
invisible-characters.com 3y ago

Invisible Characters

0xbkt
131pts33
kentonshouse.com 3y ago

Kenton's House

0xbkt
2pts1
en.wikipedia.org 3y ago

Newline

0xbkt
1pts0
debasishg.blogspot.com 3y ago

Designing Internal DSLs in Scala (2008)

0xbkt
2pts0
en.wikipedia.org 3y ago

Stendhal Syndrome

0xbkt
4pts0
mat.services 3y ago

Hosting a static site on Fly.io with Nix and Caddy

0xbkt
2pts0
event-driven.io 3y ago

Agile vs. Introverts

0xbkt
3pts0
developer.mozilla.org 4y ago

CSS Visual Formatting Model

0xbkt
1pts0
semaphoreci.com 4y ago

Domain-Driven Design Principles for Microservices

0xbkt
1pts0
www.sobyte.net 4y ago

Linux I/O Principles and Zero-copy Technology

0xbkt
4pts0
en.wikipedia.org 4y ago

Ant Mimicry

0xbkt
1pts0
www.zachleat.com 4y ago

The many definitions of Server-Side Rendering

0xbkt
1pts0
en.wikipedia.org 4y ago

Futures and Promises

0xbkt
4pts0
en.wikipedia.org 4y ago

Automata-Based Programming

0xbkt
1pts0
en.wikipedia.org 4y ago

Olympus Mons

0xbkt
1pts0
htmx.org 4y ago

Hypermedia APIs vs. Data APIs

0xbkt
1pts0
cs.brown.edu 4y ago

Dissecting Performance of Production QUIC [pdf]

0xbkt
15pts0
www.dailysabah.com 4y ago

Twitch urged to act as money laundering scandal in Turkey exposed

0xbkt
1pts0
twitter.com 4y ago

Alleged money laundering scheme among Turkey-based Twitch streamers

0xbkt
3pts0
howischattoday.com 4y ago

How Is Chat Today?

0xbkt
2pts0
en.wikipedia.org 5y ago

Mount Athos

0xbkt
2pts0
en.wikipedia.org 5y ago

Contest to kill 100 people using a sword

0xbkt
6pts0
twitter.com 5y ago

Tidal Blocked in Turkey

0xbkt
1pts0
1.1.1.1 5y ago

Cloudflare Warp Beta for macOS and Windows

0xbkt
3pts0
wiki.c2.com 5y ago

Its Justa Job (2009)

0xbkt
1pts0

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.

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?

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.

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

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?

[...] if they were rewritten in native code, [...] Throw it all on a minimal OS that provides networking and some file IO.

You may want to check out MirageOS[0]. It gives you a library OS with the primitives you say you need, and then all you have to do is import them in your application code as if you are writing your typical OCaml, build the virtual appliance and boot it up anywhere you want.

[0] https://mirage.io/docs/overview-of-mirage

PHP front end

Do you mean that you are fetching data from an internal API and sending server-rendered HTML response to the browser? I always naively thought GitHub worked this way. Build a GraphQL/REST API that exposes all of your system's internals, query/mutate through it and send an HTML response in the "frontend" (Ruby on Rails etc.). Frontend, but in terms of an application server that in turn accesses everything through an internal API.

I was never successful in getting both mic and HQ audio working with BT on PulseAudio. Configuring to use A2DP gives the most fulfilling sound quality while nullifying the mic, thus becoming a huge deal-breaker for me. Does PipeWire incorporate any wizardry to overcome this and let me have simultaneous access to both mic and high quality audio? I have a JBL Everest Elite 700 and I am running on Ubuntu 21.10.

Spamming HN while looking to promote their own product in a rather off-putting way... I can't be the only one to think this looks like a project born dead, producing no sufficient traction in its own entirety to attract people, hence the OP's acts. *sigh*