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 An iOS zero-click radio proximity exploit odyssey
I can definitely see in modern cpu array scanning being faster than pointer chasing but I wouldn't have expected that to survive insertion with 50K move wow!

And if you not doing ordered insertion you wouldn't have to move the data in the array anyway, you would keep track of the size and jump to the end, so not sure I understand the binary search comment.

The next question is at what level of growth the waste of empty space in the array becomes too much. Some kind of data structure (tree/linked list) with largish (whatever size applicable for modern cpu) as probably mentioned in other comments does seem the most versatile approach while keeping the performance. Or perhaps the handling of that data structure might overwhelm the array advantage?

tmd83··on TSMC confirms 3nm tech for 2022, could enable epic 80B transistor GPUs
Was there a point lets say at 130nm when the name of the process was meaningful and if so what component of the gate was at X nm for it to be called a X nm process?
tmd83··on No Config for Old Men
Isn't this really how Capitalism suppose to work. Anything that can be milked for money would be done. Reducing control/choice(freedom) of consumer will always lead to more power for the vendor leading to more potentials for money and so it will be done. An individual consumer was always be in such a power imbalance and now with the trillion or 100s of billions of dollar companies on one side the balance is ultra skewed. You have regulation as a potential recourse but then the political systems are also controlled by money and they themselves love the lack of freedom leading to more political control. And perhaps the most critical is how the social media and media is encouraging an unthinking herd mentality that is making any change in the status quo all the harder.
tmd83··on Lufthansa trialing lie-flat Economy seat concept
Thank God to hear that I'm not the only one. Most people seem to have no problem with it.

I wonder if anybody actually likes it more than a flat or depressed headrest.

tmd83··on Lufthansa trialing lie-flat Economy seat concept
Does anyone have problem with airline headrest. I have trouble sitting up for one but if I can it works best if I can let my head kinda fall back (however had that might be for my neck) at least a little. Now all the airline seat bulges forward and I can almost never sleep.
tmd83··on Lufthansa trialing lie-flat Economy seat concept
If I'm seeing this right Air NZs skycouch is a much better design and not sure why others wouldn't apply that. Skycouch seem to have an extender that fils the empty space where you normally put your legs wheres this seems like a regular seat.
tmd83··on The Birth of Unix with Brian Kernighan
I was looking for interviews/videos with Dennis Ritchie but I couldn't find any one that's over a few minutes.

I also wondered if there are sources from any of their (Dennis Ritchie, Ken Thompson and the group) work hopefully in C or something that I can actually understand.

tmd83··on Google Drive is a sad joke, don't use it for business
Both these comments really hit the nail on the head. It's a very nice summary of google as a company, worsening everyday in their quality of the product and morality of the decision making process and on top of that the nightmare of dropping product and automated support nightmares.
tmd83··on Dev Fonts
I don't why such interface don't work for me. I don't like the JetBrains Mono as much in the interface but in the actual IDE it works nicely for me.

I really liked Consolas in the example but it's not free so there's that.

What I didn't get is why the syntax highlighting option is so limited. Java didn't work for me at all even though it's in the dropdwon.

I also didn't understand why the width of the code area so artificially limited.

tmd83··on A Curious Moon
Two questions.

1. Is the book worth it if you don't use PostgreSQL but Oracle?

2. What about his other books and videos if you are a CS Major but might still want to review the basics.

tmd83··on Redpanda – A Kafka-compatible streaming platform for mission-critical workloads
It says XFS only for data directory in the setup guide. Curious to why that is and how does this work in MAC if that's the case.
tmd83··on Don't use third party auth to sign in
I liked the term too. If you are large and powerful, you are the law and whatever you say works. Hopefully as society matures we learn to establish some form of rules/laws that are sane and empower people.

But in every society a small circle of privileged people have always been the norm and despite more wider access to information today it seems like consolidation of power and wealth seems to be trending upward.

tmd83··on Apple unveils M1, its first system-on-a-chip for portable Mac computers
Does anyone have any clue how/why Apple has such different architecture than others and if it's so useful for power/perf. why are others not following the trend. Even if it's not applicable for x64 due to different instruction set, it should still apply to other ARM vendor.

I'm referring to Anandtech article's claim that they have a 8 wide decode (vs. zen 3's 4), 600+ estimated ROB and 192KB instruction cache. Note I'm not a cpu expert but I know these are hugely different from other high performance chips out there.

tmd83··on Sean Connery has died
The ending was the best and it seemed like Connery teared up a little at the end too.
tmd83··on Sean Connery has died
Ohh I loved that one. I haven't watched his bond films and I didn't liked the few clips. Him as an older actors was fabulous everytime I saw him.

Dragonheart - I loved his voice in that. I think I realized for the first time, what a voice can do. The angry, bitter dragon turning to the wise advisor.

And someone else mentioned 'The Rock'

tmd83··on Apple's apps bypass firewalls like LittleSnitch and LuLu on macOS Big Sur
Unrelated but has anyone often had Chrome going on cpu usage rampage and unresponsive fairly frequency on 'wakeup from sleep'? It's almost certain to happen if the chrome has been updated and waiting to be restarted.
tmd83··on The real prices of the iPhone 12 and iPhone 12 mini
I don't have a problem with them increasing price. We don't know the cost of the changes in this version and even more so users are not entitled that Apple keep the same profit margin even if the cost is the same.

The deception though is claiming that new new phone has all these new goodies with the same price. This is effectively all these new goodies with $50 increase in price ($30 career, $20 charger).

tmd83··on Modern-Day Architecture Design Patterns for Software Professionals
Exactly this. Even if I forgot all the complexity of distributed architecture, tons of new failure. condition, the conversion to microservice what about the efficiencies. I have quite a few core objects/tables that everyone use that anyone can join or use in their ORM mapping and what happens if they are all in a separate schema and microservice.
tmd83··on Modern-Day Architecture Design Patterns for Software Professionals
I think you can use such an architecture without almost zero or minimal code change. You don't have to split the shared endpoints using some remote API calls since they are all available inside your monolith.
tmd83··on AMD Zen 3/Ryzen 5000 announcement [video]
A long time ago perhaps up until even Phenom2 processor from AMD I used to hear people saying AMD systems felt snappier even though they weren't benchmarking as good.

Does anyone have a solid explanation was it just rumours, fanboyism or there was something about the system. I just thought about context switch or syscall overhead was that ever meaningfully different.

tmd83··on AMD Zen 3/Ryzen 5000 announcement [video]
I think more than better multi tasking it's handling of load when things are at the limit in some fashion whether is excessive cpu or ram.
tmd83··on AMD Zen 3/Ryzen 5000 announcement [video]
Kind of the same setup for me. Primarily Java work on a 6 core laptop. Between Chrome absurd RAM/cpu usage, IntelliJ, Gradle, Weblogic memory usage is just super high and cpu is not so little either at times even without build. Add anything extra I'm running for diagnostic, performance tuning and things are very troublesome. And Mac doesn't seem to handle such pressure as gracefully as Linux (though I'm not 100% sure).
tmd83··on AMD Zen 3/Ryzen 5000 announcement [video]
Yeah I noticed that comparison and was surprised at that given the amazing single thread benchmark performance improvement. We really have to see the benchmark.

One might end up in a situation where for developers the older generation cpu being cheaper and more available might make more sense.

I wish somebody really did some suitable benchmark suite for developers.

tmd83··on Zheap: Reinvented PostgreSQL Storage
I'm not a real expert, but is this design very similar to Oracle database storage engine? I think they also use logs for undo and page level transaction locks and such if I'm not mistaken.
tmd83··on DOMPurify bypass: XSS via HTML namespace confusion
The problem is most libraries/frameworks also has just outputting option and those are valid for a lot of use case (system generated id and such). I guess one option is never allowing any call to that even if you know it's valid.

The trouble comes is in an existing code base if you know 95% of those use are valid but to pass the check you know have to migrate that all and do QA.

It depends a lot on the library I guess, does it make it easier to do the right thing or not.

tmd83··on DOMPurify bypass: XSS via HTML namespace confusion
How to people do proper XSS protection and more importantly validate against it?

It's effectively a manual process of calling appropriate escaping (html, css, js) at every dynamic output site. Ensuring you are doing it 100% in thousands if not millions of calls is daunting.

I have seen security tools crawling your app and using payload to test for vulnerability which sounds nice in theory but in a really complex application where you need to understand the business rules to even crawl the whole application (not get caught up on validation/error) how do people ensure that?

tmd83··on Tracy – A real time, frame and sampling profiler
I got familiar with Tracy from the Zig self hosted presentation. I really liked the design of how it worked even though I don't work in any language it supports.

I think Java JFR has the similar design and makes for really fast tracing. I wish high precision super cheap timer was available everywhere.

tmd83··on NestedText, a nice alternative to JSON, YAML, TOML
I have very little understanding of JSON, so why would this happen?
tmd83··on TSMC to Mass Produce Breakthrough 2nm Mbcfet Transistors in 2024
https://www.youtube.com/watch?v=3otqUu-7WUQ Surprising for the flashy marketing style of the video it really explained to me the difference between FINFET, GAA and MBCFET really well.

Is Samsung and IBM stronger in structural R&D then they are at FABs?

tmd83··on Duf: Disk Usage/Free Utility
It seems bashtop is being deprecated in favour of a python based program for ease of maintenance and it actually uses less cpu. Makes sense if it's doing a lot of work in bash.
← PreviousPage 3 of 14Next →