HNHacker News
TopNewBestAskShowJobs

shinzui

83 karma · joined January 21, 2009

[ my public key: https://keybase.io/shinzui; my proof: https://keybase.io/shinzui/sigs/F-TdWfNm9Eg4blHlO0fomSW4HIly88NoktXZkymijX0 ]
submissionscomments
shinzui··on Show HN: Shirei, cross-platform GUI framework in native Go
What a waste of tokens.
shinzui··on PostgreSQL Statistics, Indexes, and Pareto Data Distributions
It’s amazing how many of those types of problems are easily avoided or solved with event sourcing and CQRS.
shinzui··on Good code is rarely read
The premise of the article is flawed. I read a lot of code, and that's how I learn and discover new things.
shinzui··on The UX of UUIDs
Because TypeIDs are compatible with UUIDv7 and are supported by libraries in many languages.
shinzui··on The UX of UUIDs
The author seems to be unaware of TypeID. You can use TypeID and ignore this article.

https://github.com/jetify-com/typeid

shinzui··on Bruno: Fast and Git-friendly open-source API client (Postman alternative)
Hurl is better than any of those GUIs. You can version your Hurl files and use them for CI/CD.
shinzui··on Breaking up with JavaScript front ends
The title should have been breaking up with Angular. I posit that they would have had a much different experience using react with relay and graphql.
shinzui··on Exercises for understanding Haskell Lenses (2019)
Lens is one of my favorite libraries, but I can understand why optics, in general, is a divisive topic. Like many things in Haskell, you won't appreciate optics without suffering through a steep learning curve.

Optics don't just save you a few keystrokes. Instead, they make tedious code that you would never write trivial. And more importantly, they're composable. So it's impossible to appreciate their effectiveness without using them on a real-world app. For example, I've worked in an app with three layers, each with its record types, and without the lens library, the pain of converting between records would have been insufferable. Instead, most developers would couple the three layers together to avoid the problem, which makes the codebase brittle.

shinzui··on Why Domain Driven Design?
DDD offers a lot of benefits regardless of the programming paradigm. We heavily use DDD in Haskell.
shinzui··on Leaving the Cloud
DHH’s preferred architecture is a rails monolith with a single database behind it that you keep scaling vertically. I believe both Hey and Basecamp are still using that architecture.
shinzui··on Leaving the Cloud
It's worth noting that Basecamp's architecture relies on vertical scaling, which can get very expensive in the cloud.
shinzui··on DevOps is broken
DevOps (the term), like Agile, made sense when it was introduced but lost its meaning as the industry evolved.
shinzui··on Use TouchID to Authenticate Sudo on macOS
nix-darwin currently does not support that directly, but there is an open PR to fix that. For my dotfiles, I added the module from the PR with some slight modifications. You can find the code below.

https://github.com/shinzui/dotfiles.nix/blob/master/modules/...

shinzui··on Use TouchID to Authenticate Sudo on macOS
I use nix-darwin to automate that.
shinzui··on Show HN: GraphJSON – Easily log and analyze events using ClickHouse
Thanks. That's exactly what I meant.
shinzui··on Show HN: GraphJSON – Easily log and analyze events using ClickHouse
GraphJSON looks nice. Do you mind sharing the clickhouse infrastructure that's powering it?
shinzui··on Functional Reactive Programming
I got the impression that you're already using FRP for inflex.
shinzui··on Ask HN: Have you ever inherited a code base you thought was well done?
A traditional rails structure does not age well. It must be a nightmare for any new hire to understand the domain and boundaries.
shinzui··on The Two Types of Quality
Unfortunately, it's extremely rare to find software that exhibits "miryokuteki hinshitsu." The author's examples are not quite right. For example, linear is missing too many core features to be useful for many use cases.
shinzui··on Zillow just gave us a look at machine learning's future
The article premise is completely wrong. Zestimates were never meant to be accurate. In fact, they were deliberately inflated to drive traffic to Zillow.
shinzui··on CRDTs: The Hard Parts [video]
Yes. Take a look at Pijul. Here is an article explaining the algorithm. https://jneem.github.io/merging/
shinzui··on Is K8s Too Complicated? 
It depends on your context. Having moved from ECS on AWS to K8s on GCP I found kubernetes simpler despite its vast number of concepts. It has the correct abstractions for a microservice architecture, and it made us write less boilerplate code to manage and deploy services.
shinzui··on Why I left Medium and moved back to my own domain
The best part of reading technical content is the discussion in the comments – Medium makes that impossible.
shinzui··on Writing a Service Worker
The author must not have been to Tokyo because I've never had bad connectivity underground there.
shinzui··on Our nightmare on Amazon ECS
Could you elaborate on the problem with the default AMI?
shinzui··on A year after launch, it’s now clear that pretty much no one needs an Apple Watch
Four years after launch, it's now clear that the web does not need another useless news publication.
shinzui··on Ask HN: ReactJS – Do you use it? Do you like it?
It's hard to beat react right now. I came to react from ember and I regret not adopting react earlier.
shinzui··on MonolithFirst
A hybrid approach is a better strategy once you have product/market fit. You should build your core domain as a monolith but have auxiliary infrastructure services built as microservices. The hybrid approach has the advantage of safely investing in microservices architecture that would later allow you to refactor your monolith once you truly understand your bounded contexts.
shinzui··on Tuxedo.js – A Framework Built on React and Flux
The "Revolutionary App Architecture" looks like a big red flag. Also, that's the first time I've seen a scrum master credited for an open source project.