HNHacker News
TopNewBestAskShowJobs

tmd83

1,051 karma · joined March 10, 2015

Love working with backend systems, the challenge of designing a good system and all aspects of performance engineering.

Always get inspired by the brilliant insightful things people do and a little sad by what little I know.

submissionscomments
tmd83··on Duf: Disk Usage/Free Utility
Is there anything similar to glances that's native, super light. Don't have python in all production server and I wonder how weighty it would be when things are getting haywire .. or am I wrong and glances is lightweight enough?
tmd83··on OpenTelemetry
A specific question I had was tracing seems to be all about distributed context (from the way everyone talks/market it) where each distributed call is captured in a span.

But I didn't see (perhaps I missed it) about tracing inside a single instance where I want the individual method call to be traced to know which method call was expensive within that instance.

tmd83··on A Picture of Java in 2020
I used Eclipse a long time ago and it had horrible performance. But IntelliJ quality had been really bad in recent years. Minor updates causing major performance regression, taking massive CPU when nothing is being worked on. It was way more stable product in earlier versions.
tmd83··on Tables: Tracking work for teams
Does anyone feels looking at Google's products lately that there's something tremendously wrong with the organization. I'm not talking about just dropping features but just quality of implementation and missing things that people should get fed up and do something during development.

Like hangout > chat, let's drop the existing feature of read receipt that is even more important in the remote/work world in a product geared toward business.

Let's do an integration of task & files in chat in gmail but not what's suppose to be the primary app the standalone chat.

Let's take 3 release to decide yes there is some usefulness to wireless scanning and we can put it as an advance option.

It's not just dropping produces, it's actually degradation of function as if just to bump up the changelog size.

tmd83··on Why is Apple acting like an asshole?
Strongly agree with you. When Apple things fails to 'just work' it is a nightmare. I used to have this issue for downloading MacOS updates. My internet wasn't too fast and it would get interrupted and restart from zero. Who can't do download resume in the last 10 years, I would assume only apple. My office network was faster and we also had those cache server, it worked for everyone except me. MacOS provided zero hint and it 'just failed to work'. Office internet was fast enough to download in multi MB/s yet Apple update weeks after released (so I don't think there was rush and it was US night) would have speeds 50 KB/s to < 500 KB/s and of course you can't choose a mirror or whatever cause it 's meant to 'just work'.

This is just one example that I vividly recall. The simplest of operation downloading of an update, only apple can make it as big a nightmare as it was. Now they do a lot of things fabulously but when the fail they just fall on their face and ignore it or they would fail where I can't even imagine how to fail this bad.

The latest blunder (again download), my iPhone lost it's wifi after a fall and wow! behold you can't download an update over cellular. Apple will make you save your money by not using your expensive cellular data after all it's so much more expensive than your $800 phone.

tmd83··on AresDB: Uber's GPU-Powered Open Source, Real-Time Analytics Engine
What databases are comparable to ClickHouse say for Ease of single node deployment Super fast basic analytics, filter/group/count without a lot of optimization Fabulous compression
tmd83··on Edgar: Solving Mysteries Faster with Observability
Here's what I want on observability/diagnostic platform. Are there tools to achieve something like this open source or SaaS in a reasonable way? Am I ignorant or is this actually too hard to do at scale I wonder.

1. Detail response/time taken for every single endpoint. So I want a histogram and not just an average. I have seen often you get the top X endpoints (for me mostly requests) in tools and top X by global measure. At my work the number of unique requests are a lot and the good response time for them varies a lot from 50ms to 1s easily. A global threshold is useless. There's also the fact that users have different cost for same endpoint but that I don't have a super good solution.

2. Some level of traces for requests that crosses a threshold. That means the agent has to keep the threshold for every endpoint but is that so expensive? I think I saw some ideas (in some commercial product) where they collect data and drop them if the request ends up being fast enough. I think that's a very good approach. So I want specifics when something is slow and against a per endpoint threshold. Perhaps I want all requests slower than 99 percentile, perhaps I keep 20% for > 90 percentile etc.

3. Now the per end point statistics has to be kept for significant period, months not days otherwise how would you see the change. I have things slowed down due to code change, due to usage increase, due to query plan getting whacky. You have different performance due to different level of usage (concurrency). No one can probably afford per second resolution for a year sure but if my 9am spikes are averaged out how would I know that this is an old problem or the spike actually worsened by 20% in the last two month? I think you can get away with reducing resolution a lot if you keep a histogram and not just average. But I don't think anyone optimizes for that. And you also need to keep those important traces for quite a long time.

4. I work in Java and use unstructured log and have been trying to figure out how to parse that reliably for debugging so that we don't spend hours to grep the logs. I just realized recently the most common queries are easily parsable for me users, servers/app-instance, codeLine (java loggers prints the class:line) that narrows things down so much for me that I can afford to just export those and grep if I need to. But most log tools seems like either grep & super structured. Also someone else mentioned cardinality because while the rest can be fine, user is definitely high cardinality so everything might break down there.

I think for my problems, at my scale Million of user not Million concurrent user I think these are nicely solvable given the capabilities the tools today have (even if they are not doing it exactly like that) but is is unscalable at large or this is just not needed if you do 'something` which I/we are not doing?

tmd83··on Google proposed Web Bundles could threaten the Web as we know it
Oh I recall that so well. I started using google during my 4KB/s internet. Oh how the mighty have fallen.
tmd83··on Google proposed Web Bundles could threaten the Web as we know it
I am really curious what's the general opinion on Googler's as a web developer. I have seen a long while ago some nice articles from Google about site optimization.

Do they even follow any of their original advice or Google basically keep doing over engineered stuff fixed by adding another set of over engineered staff?

Let's talk gmail. I just refreshed the window and it did close to 400 request, ~8MB download which translates to nearly 40MB resource. And it keeps making more requests even when I'm not doing anything.

And a refresh of Google.com the search page did 33 request and nearly a MB download.

And they are preaching the world about optimizing the web?

tmd83··on Htop 3.0
Many thanks for pointing this one out. And as someone said about the OP setting the tone with his opener. Regardless the whole thread was a wonderful read from start to finish.
tmd83··on A log/event processing pipeline you can't have (2019)
That's what I was wondering. Tailscale doesn't do logs did it stared with that :(. I would loved to see there logging solution.

I like the writeup though I need to do a second pass to fully review everything. The biggest thing that just suddenly hit me was 5 TB/day is really 60MB/s.

tmd83··on Sumo Logic S-1
Wow! The numbers, 837 PB/day. 18.6B events/s. I wonder who is the biggest player in logging/monitoring and what's their rate of ingestion/processing is, how much do they store and their infrastructure efficiency/usage is.
tmd83··on Kosmonaut: web browser from scratch in Rust
Right after a comment I realized #3 or perhaps #1 Most popular sites won't adopt the simpler web even if they can afford to do 2 version of their site, even if users like it. Because the lighter web most certainly will be worse for ads and tracking.
tmd83··on Kosmonaut: web browser from scratch in Rust
I talked about something like this in my comment. One solution I was thinking is that even if it's a parallel engine don't you still save on resources if some of the most popular sites use the simpler/faster layout because the memory/cpu overhead is significantly lighter on the new layout? And the bigger/popular website has a motivation to update if it's actually faster and more responsive.
tmd83··on Kosmonaut: web browser from scratch in Rust
These are perhaps since the whole complexity of css and dom and box models etc. is beyond me specially how the complexity actually multiplies. But I have always found the complexity of modern web not just unsustainable or risky but frustratingly wasteful.

Browsers are a universal medium both for content and UI for app and that's great. But they are kind of the most wasteful creation ever. The most obscene apps of yesteryears would do a lot more with a lot less. An example of that is gmail taking 600MB memory (according to chrome) far more than a desktop client that didn't depend of the server doing all the heavy lifting would have taken. It would have all my mails locally, would actually be much faster changing pages (if done correctly).

But I digress. I think the complexity comes from (apart from over engineering syndrome) trying to deny that there's two very distinct use cases of web. One is nicely formatted semi static content and fairy dynamic stateful applications. I think designing a set of features (even modes in browsers that a page needs to declare for) can simplify things a lot.

The second thought I had was a brand new layout model/engine that does away with all the crafts and define some powerful primitive that works in a more well defined way that doesn't take a Google to properly implemented. Now I was thinking of two options of how to get that accepted.

1. A page can declare itself using the new primitives (now there can be two primitives for doc/app or this simpler one might handle both?) and the engine is small enough that it's worth having two in the browser. And the saving from some pages specially as it grows over time specially for well maintained/popular pages use the faster version the overall browser efficiency increases even if you can't remove the old engine.

2. Can there be a translation layer that can take a old layout page and rewrite the css/layout into the new primitive. It's perhaps slower than the current engine and perhaps on changes to content/viewport/scroll retranslate a lot but perhaps allow one to drop the old layout engine a lot faster.

Complete bonkers? I am almost certain it is but I don't know enough to tell and I have been meaning to ask to a crowd who can answer.

tmd83··on Same laptop, different CPUs, Ryzen is faster, has better battery and cheaper
That is a fantastic comparison. I hope that more vendors start making high quality AMD configs with good thermal management. We need AMD laptops to go mainstream to have enough SKUs specially those focus on say developer usage. Given the massive multi-threaded advantage and low power AMD seems more suited to a dev laptop than intel like first time ever. Even when a Zen 1 desktop was a reasonable choice (for cores and price) it was hard to justify AMD on a laptop until now. But if vendors keep making low end design or rare SKUs few would be able to take advantage of the fact.
tmd83··on The battle to invent the automatic rice cooker
72 hours? Doesn't it get dry. My brother bought a cheap Cuckoo one (isn't available in country) that can keep it for 12 hours I guess but it starts to dry up after a few. Not sure if it will be germ free for longer but not really edible. Is that a capability of high end cooker or there's some more secret to it?
tmd83··on Tesla Plans on Staying Open Despite Shelter in Place
He has this idea that he knows better than everyone else about anything and so other opinions don't matter. Ego and publicity and political/financial/image clout.
tmd83··on Boeing Fought Lion Air on Proposed Max Simulator Training Requirement
What they are paying so far is peanuts compared to what others paid with their lives. And compared to the company the executives who effectively said, 'so what if people die' will pay essentially nothing.
tmd83··on Almost everything on computers is perceptually slower than it was in 1983 (2017)
Exactly. It basically forces you to walk with the map open and not just do like 'keeping walking straight until you see road x'. Such a damming thing when you are walking 15-20 minutes to a place in a new city or even in an unknown area in your city.
tmd83··on PIA open-sources and announces audit plans
Not sure I understand this. Torguard seems $10/month and even multi month plan seems at least as much as Mullvad.
tmd83··on The Science of Wi-Fi on Airplanes
My experience with Emirates wifi has been terrible though even when paying.
tmd83··on Issue 914451: Autofill does not respect autocomplete="off"
In theory it is. But for most customers (who are small) there's almost no IT department and the average computer literacy is lower than you might think (though improving) so the risk is there. Except for that situation I would happily leave them autofill/save password.
tmd83··on Issue 914451: Autofill does not respect autocomplete="off"
Here's the tricky thing and I don't have a solution that doesn't get abused. I hate that lots of bank do this but I also have a use case for password autocomplete=off. We operate in an industry where shared computer access is very common and the risk of users saving password in browser is real and too high.

As I said don't know what the answer is. I definitely want someone using password manager be able to use them. Using a password manager is a conscious choice with setups involved. Browser's default autocomplete is often not. I don't know how to separate these two out.

tmd83··on Devurls: A dev news aggregator that automatically pulls from multiple sources
Thanks for the HN link, that's what I looked for but somehow algolia wasn't giving me the result at the time.

Two points about a potential trial. 1) Since it's a runtime tool to actually see what it can detect I assume I will actually have to generate some attacks myself to actually see it in affect? It also makes false positive testing a little harder.

The reporting and such is on the cloud I presume? Are there some documentation on what happens at the agent level and what gets send to the cloud?

tmd83··on Devurls: A dev news aggregator that automatically pulls from multiple sources
This looks nice at a first glance. I have been looking for more dev oriented article lately and this seem like a good start.

On a side note just read about sqreen. Anyone with a clue to how useful such a product is in reality. I find application security related products very hard to evaluate from the docs without heavy usage and trial.

tmd83··on A Beginner’s Guide to Chart.js
So Chart.js doesn't have a way to generate sharp images for print and such purposes?
tmd83··on Google, Xiaomi, and Huawei affected by zero-day flaw that unlocks root access
I'm not experienced in C or kernel code but from my understanding they use it almost entirely like a catch/finally clause of many higher level language which is a widely accepted and successful pattern.
tmd83··on Google, Xiaomi, and Huawei affected by zero-day flaw that unlocks root access
What wasn't clear was that is there a known browser sandboxing vulnerability at this point that can be used to get root or the idea is that if someone has one they could use this one to get root. Can I use Chrome in my Android phone now or cannot?
tmd83··on New In Postgres 12: Generated Columns
I actually like them both a lot for someone who is a developer who has spend hours fixing/optimizing large queries. As someone mentioned in another comment good syntax highlighting is often not available for sql (if any) so having the keywords separated is very helpful. When fixing and improving things I mostly care about 10% of the query, the JOINS and WHERE clause and CAPS keyword make those much easier to grasp. And the comma at the line start is very helpful (even though it looks odd for me) when you are adding/removing columns and sections on the fly. If the comma is at the start of the line you can simply comment, if it's at line end you need to edit two lines when removing a particular line from the query.
← PreviousPage 4 of 14Next →