Readit News logoReadit News
thezilch commented on Android Earthquake Alerts: A global system for early warning   research.google/blog/andr... · Posted by u/michaefe
transcriptase · 8 months ago
I assume you’ve never had the delightful experience of relying on a product Google built or acquired then let decay or killed outright because it doesn’t contribute to ad revenue and the people who cared leveraged it in their promo packet to go elsewhere.
thezilch · 8 months ago
No business has the obligation to keep running what you find useful. If it was that useful, someone else will make it.

If no one is doing it or well, I see no reason to just complain and offer no solution. If there are other solutions and Google is going to hurt or destroy "competition", that's what should be discussed.

thezilch commented on Android Earthquake Alerts: A global system for early warning   research.google/blog/andr... · Posted by u/michaefe
thewebguyd · 8 months ago
> Always curious why people comment like this when they have a choice to, you know, not do it

Not OP, but it's still an important consideration - one can be both glad Google is working on this, but also cautiously optimistic given Google's history. IMO it's right to be wary of private entities taking care of what should effectively be a public service.

thezilch · 8 months ago
But how boring and unhelpful to have someone post it on every product that Google builds.
thezilch commented on Beyond Ctrl-C: The dark corners of Unix signal handling   sunshowers.io/posts/beyon... · Posted by u/PuercoPop
eadmund · 2 years ago
> Turns out, they use SIGWINCH (which is sent on WINdow CHange) for graceful shutdown.

That’s … that’s even worse than people who send errors with an HTTP 200 response code.

thezilch · 2 years ago
That's ... not what most people are doing. People send _application_ errors on HTTP 200 response codes, because HTTP response codes are for HTTP and not applications. Most "REST" libraries and webdev get this wrong, building ever more fragile web services.
thezilch commented on Dear ImGui: Graphical User Interface library for C++   github.com/ocornut/imgui... · Posted by u/_benj
jakelazaroff · 2 years ago
A word of caution that Dear ImGui is specifically made for building internal tools quickly rather than production-grade UIs. Relevant quote from the docs:

> Dear ImGui is designed to enable fast iterations and to empower programmers to create content creation tools and visualization / debug tools (as opposed to UI for the average end-user). It favors simplicity and productivity toward this goal and lacks certain features commonly found in more high-level libraries.

Here's a quote from my comment [1] on an earlier discussion about Dear ImGui vs. "bloated" browser APIs:

> This is what I hear when I enable VoiceOver on macOS and open Discord (either the web app or the desktop app):

> 1. “Discord, friends - Discord window, direct messages, selected cell”

> 2. “You are currently on a cell inside of a table. To navigate the cells within a table, press…”

> 3. (when navigating with the keyboard) “1 mention, $SERVER_NAME, cell” “$SERVER_NAME, cell” etc

> And here’s when I do the same with a random Dear ImGui app I have installed:

> 1. “$APP_NAME, $APP_NAME window, $APP_NAME window”

> 2. “You are currently in a window”

> 3. (when navigating with the keyboard) [silence; no additional instructions]

[1] https://news.ycombinator.com/item?id=37302809

thezilch · 2 years ago
Why should internal tools not have these things? That kind of argument smells of, internal tools can be slow. No.

Seems we should lift up Dear ImGui -- contribute, donate, feedback (document, gather requirements, etc), etc -- as opposed to suggest we not use it.

thezilch commented on I think GCP is better than AWS (2020)   nandovillalba.medium.com/... · Posted by u/hui-zheng
gustavus · 2 years ago
> And neither GCP nor AWS is getting shut down. Even using the numbers you give, the answer is that the risk of either shutting down is zero for all intents and purposes. There's no reason to split hairs over which of two infinitesimally unlikely events is more likely.

That's what I thought for a long time about google domains. Yet here we are.

thezilch · 2 years ago
Google Domains made Google the equivalent of $0 and would teach them nothing about operating their core businesses.
thezilch commented on TeamTopologies   martinfowler.com/bliki/Te... · Posted by u/BerislavLopac
pydry · 3 years ago
Microservices was at its core a good idea. I think Fowler was just overawed with how well it worked for him in his organizational context and was unaware of how critical that context was to making it work.

Most of my nightmares with microservices comes from where there has been > 1 per team. That came from people who read his "microservices are great!" blog post and just thought that they should build as many as possible. I used to hate him because of that - because it was a logical response to his blog post and people would use it to justify their technical decisions - with argument-from-authority.

In another company I worked at each team maintained ONE microservice and it worked really well.

Because it was a corporate environment with all the usual power politics, control freakery and lack of effective inter-team communication, even though it was more work overall and definitely a technically inferior solution, it did a neat end run around those systemic corporate issues by giving teams relative freedom of development, freedom of deployment and a deliberately simple, loosely coupled, standardized JSON interface to microservices run by other teams whom they didn't talk to much.

So, I get it, but I lost a lot of respect for him over his inability to parameterize his suggestions and the fact that he didn't seem to initially really understand why microservices worked so well for him.

thezilch · 3 years ago
And his context is what? Selling books and conferences? What has he actually shipped with his ideas?

To me, it's the Clean Code of web services.

thezilch commented on System Initiative: Second Wave DevOps   systeminit.com/blog-secon... · Posted by u/kelp
Spivak · 3 years ago
Because you're not talking about that thing that ops people are talking about. We build reliable systems. You're talking about reliable software. Ops people come from the perspective that all software is inherently unreliable including your app, especially your app and have to work within those constraints.

Terraform and Ansible look like gyroscopes compared to the build process of any modern software stack. We offered our dev teams a whole ass pizza party every time they had 10 green builds (on main) in a row. In three years we've paid it out once.

thezilch · 3 years ago
Oh boy, a whole pizza!
thezilch commented on Monoliths are not dinosaurs   allthingsdistributed.com/... · Posted by u/davidrupp
bovermyer · 3 years ago
You know, I'm pretty sure you could build a PHP monolith in 2023 without a framework and it would do what it needed to do.
thezilch · 3 years ago
100%; we do that (see profile).
thezilch commented on Six programming languages I’d like to see   buttondown.email/hillelwa... · Posted by u/johndcook
jjice · 4 years ago
> 1. Pretty much everything is request-scoped. This makes it a lot harder to leak resources when everything is torn down;

I write PHP every day (just took a break from that to be here) and the request scoped content is both a nice thing and a pain in the ass some times. It's great that each request is on it's own - really handy for cleanup like you mentioned. There are some thing I want to be shared though, like a DB connection pool, a caching layer (one layer below my Redis layer), and clients for various other services.

Not the end of the world, but an example is AWS Secrets Manager libraries for Python support secrets caching, but they can't offer that in PHP since we won't be able to share the objects. You can use the file system, but that comes with its own hosts of quirks.

That said, PHP really is a fine language. I'm personally not a fan of the use of truthy/falsy values, but they've really dove head first into solid type support. Lot's of good progress has been made with it.

thezilch · 4 years ago
Why not use APCu?
thezilch commented on DevOps is a failure   leebriggs.co.uk/blog/2022... · Posted by u/blopeur
_vertigo · 4 years ago
Not pictured:

2005 your average box served some php and static assets, connecting to some generic relational database. Reading logs means grepping files over ssh.

2022 your architecture runs in the cloud, has multiple flavors of databases, queues, caches, and so on. You have at least two orders of magnitude more complexity because you aren’t just serving a web page anymore - you handle payments, integrate with other services, queue tasks for later, and so on. Your automation may be an order of magnitude more complex than 2005, but it enables two orders of magnitude more functionality.

thezilch · 4 years ago
Classic over-engineered DevOps, adding complexity for complexity sake. When you have a hammer...

Everything you described was 2005.

u/thezilch

KarmaCake day2215October 29, 2008
About
Technical Director @ Respawn (Apex Legends; Titanfall 1 & 2)

C/C++, baremetal/cloud, nginx/openresty/nchan, LuaJIT, PHP, Redis, statsd/rrd

View Original