HNHacker News
TopNewBestAskShowJobs

tazu

601 karma · joined February 10, 2022

submissionscomments
tazu··on The World Map of the Internet in 2021
Can you explain what it's showing? I clicked the "About" link but there's no README, and all I see is a Clickhouse query. What is the data?
tazu··on Postgres Webhooks with Pgstream
Curious if there's a reason this extension is written in Go and not Zig? The blog posted [1] a few months ago about their cool Zig library for making extensions and I've been playing around with it. Is Zig just not mature enough?

[1]: https://xata.io/blog/introducing-pgzx

tazu··on Set Up a $4/Mo Hetzner VM to Skip the Serverless Tax
I didn't notice but the dedicated machines are indeed "vCPU". But isn't that how all VPS providers do it? How else would they manage/sandbox the machines?
tazu··on Set Up a $4/Mo Hetzner VM to Skip the Serverless Tax
I personally like the UI much better (less bloat + CTAs), and the prices seem cheaper.
tazu··on Set Up a $4/Mo Hetzner VM to Skip the Serverless Tax
Hetzner has servers available in Ashburn, VA and Hillsboro, OR.
tazu··on Anarchy in Sudan has spawned the world’s worst famine in 40 years
You should spend a few years in a third world country. Your righteous liberal rage will evaporate as quickly as your feeling of safety (which you take for granted).
tazu··on Have we stopped to think about what LLMs model?
> some day we will have AIs running physics experiments that we will barely understand and they will come up with new technology that we will see as magic.

Citation needed.

tazu··on The Triple Failure of 2U, EdX, and Axim
Is 60% very white?
tazu··on Hackers infect ISPs with malware that steals customers' credentials
In general, cash is fungible. You gave an example of a "shade of fungibility" with marked cash used in crimes. Unfortunately, reality is not binary. Ethereum is fungible to the (increasingly small) non-OFAC compliant nodes, but non-fungible to the OFAC compliant nodes.
tazu··on Hackers infect ISPs with malware that steals customers' credentials
I am using it in that manner. Ethereum OFAC compliance is enforced at the protocol level [1] so not all Ethereum are equal. Just like your "drug buy" example, some Ethereum are tainted. In fact, thanks to the public blockchain, I would argue crypto is far more "non-fungible" than marked cash.

[1]: https://www.mevwatch.info/

tazu··on Hackers infect ISPs with malware that steals customers' credentials
Ethereum (+tokens) that go through Tornado Cash are "tainted" and sometimes censored [1]. This means not all Ethereum are equal.

Btw, calling Tornado Cash a "DPRK tool" is disingenuous. It's a privacy tool.

[1]: https://www.mevwatch.info/

tazu··on Hackers infect ISPs with malware that steals customers' credentials
It became even harder once Ethereum became non-fungible thanks to Tornado Cash and OFAC.
tazu··on Taskwarrior – CLI Task Management
I wouldn't call it "great". It crashed in 2 seconds (index out of bounds) on my Mac from going to the Calendar page and hitting j twice.
tazu··on Out of Your Head
While "nodding", it can definitely be hallucinogenic. It's like surfing between taking too little and taking too much.
tazu··on Is Telegram really an encrypted messaging app?
Am I the only one who uses Telegram mainly for p2p e2ee audio calls? It's great for that.
tazu··on Make sports betting taboo again
> less some modest operating expenses

Therein lies the rub.

tazu··on Make sports betting taboo again
In the post-ZIRP era, I think separating newly-printed money from the hands of irrational market participants is a good thing.
tazu··on Show HN: LangCSS – An AI Assistant for Tailwind
This is the top
tazu··on I'm tired of fixing customers' AI generated code
Hilariously, the target market for the author's API seems to be the same as the top post on HN today[0]: "traders".

I think amateur "trading" attracts a specific brand of idiot that is high/left on the Dunning Kruger curve. While taking money from idiots is a viable (even admirable) business strategy, you may want to fully automate customer service to retain your sanity.

[0]: https://news.ycombinator.com/item?id=41308599

tazu··on New anti-speeding system coming to Australia is dangerous
Whenever I keep safe distance, I'll have cars close behind me and other cars filling in the gap I created. Then my problem is the same: an unsafe driver ahead of me who could easily cause an accident, and not enough time to react.

It's much better to pass and forget.

tazu··on New anti-speeding system coming to Australia is dangerous
I frequently pass cars that have signs of an impaired driver. Usually the driver is texting, but the signs are usually failure to maintain lane, frequent (unnecessary) brake tapping, and sporadic acceleration.

Something that impedes my ability to pass unsafe drivers is unsafe.

tazu··on New anti-speeding system coming to Australia is dangerous
One place this would definitely be dangerous is in my city in the US. There's an interstate highway with a posted limit of 55mph, but everyone does 70mph+ (there is no police enforcement, because it's too dangerous---pulling people over here causes more accidents due to rubbernecking and traffic). If you were to actually go the speed limit, you'd be constantly passed (on both sides) by aggressive drivers and cause unnecessary lane switching behind you.
tazu··on The weird of function-local types in Rust
> First, as I mentioned, testing is very likely at some point over the evolution of the module to want to either provide input or examine output, intermediate or otherwise, that exists in those types.

I have not found this to be true at all. I frequently have very long (300+ line) pure functions that do one thing, and the tests are designed to be oblivious to whatever intermediate representations are used. In fact, I think it's an anti-pattern to pull types out just for testing: tests should not be so granular that they affect how you design functions.

For example, a function that takes a JSON string containing multiple objects and returns an SQL string for a batched INSERT operation. I can easily achieve 100% coverage with a table-driven test just checking inputs and outputs.

I frequently use function-local types and function-local functions that are reused within the function. Testing has never been a problem.

> Second, as the code grows, you want to be able to refactor things freely, and types embedded in functions form a barrier to refactoring because to refactor you'll have to do something to expose that type now to multiple functions.

This hasn't been my experience either. When refactoring, I'm usually doing more encapsulation, not less. On a first pass, I write everything to have access to everything else. Only after I have a clearer idea of boundaries do I refactor.

tazu··on Parsing protobuf at 2+GB/s: how I learned to love tail calls in C (2021)
I've personally been very motivated to learn C (coming from Go) by witnessing @jart's[1] progress on Cosmopolitan[2] and Readbean[3]. Writing C is almost like an exercise in sovereignty: ultimate freedom (and danger).

[1]: https://justine.lol/

[2]: https://github.com/jart/cosmopolitan

[3]: https://news.ycombinator.com/item?id=26271117

tazu··on The Untold Story of SQLite (2021)
The most interesting part was him saying it hasn't sold at all!
tazu··on The Untold Story of SQLite (2021)
Definitely release it! I had the same idea for embedding AWK into SQLite, but haven't gotten around to it.
tazu··on The Flywheel Effect
> In my personal business experience there were also several instances of "one killer innovation" or "one lucky break" that, we realized both at the time and in retrospect, really did "make" the business.

My experience as well. This is why Taleb's writing appeals to me most for "business advice": structure everything to benefit from chaos, and build an environment conducive to tinkering and breakthroughs. Highly recommend his article, "Understanding is a Poor Substitute for Convexity"[1].

[1]: https://www.edge.org/conversation/nassim_nicholas_taleb-unde...

tazu··on Just use Postgres
The model described in the parent comment is essentially using the database (in this case PostgreSQL, but any RDMS would do) as the hexagonal "core" in which adapters plug in to. This is a powerful pattern that works very well when you use the full features of the RDMS like constraints, triggers, views, etc. This does require "coupling" to the RDMS-specific features, which makes migrating to an alternative system difficult, but in practice this rarely happens if you choose a strong RDMS from the beginning.

You can certainly use the database as a "dumb storage" tool in the hexagonal architecture, that is, as just another adapter. But most of the time you'll end up re-creating RDMS features in poorly written/documented application code that has to interact with the database anyways. Why not just do it all in the database? With a RDMS core, hexagonal adapters can be pure functional components, making them much easier to reason about and maintain.

For more on this idea, and how to avoid pitfalls with the hexagonal pattern, I recommend reading Out of the Tar Pit [1]. It's a short but highly influential paper on "functional relational programming".

[1]: https://curtclifton.net/papers/MoseleyMarks06a.pdf

tazu··on America is sabotaging itself in the global battle for talent
> It's valuable to go to school with people who don't look like you and think the same way you do.

I did and it was incredibly alienating. I will make sure my kids don't have to go through that.

tazu··on Banks Are Now Accused of Cheating Customers Billions
> Inflation is now below 3%

Officially.

← PreviousPage 2 of 8Next →