HNHacker News
TopNewBestAskShowJobs

moggi

63 karma · joined August 4, 2017

submissionscomments
moggi··on Can AI design circuit boards yet?
I have had good success with Claude Code combined with https://github.com/mixelpixx/Konnect. I still need to do routing manually but it is quite useful for reviews of the design and even of the final PCB.
moggi··on Ask HN: How can I learn about performance optimization?
If you want to learn how to understand the performance of the whole system I can recommend Brendan Gregg's Systems Performance: Enterprise and the Cloud (https://www.brendangregg.com/blog/2020-07-15/systems-perform...). It is a good book that teaches a lot of basics and techniques and gives a good understanding of the impact different system components can have on performance.
moggi··on Nvidia's "Grace" Arm CPU holds its own against x86 for HPC
A really good presentation showing why the Xeon Max can't reach full HBM bandwidth: https://www.ixpug.org/images/docs/ISC23/McCalpin_SPR_BW_limi...
moggi··on Australian activist can't use encrypted apps, must let police access phone
Even in the US the case law around self-incrimination due to forced password disclosure does not seem to be settled. There have been multiple cases were judges have considered passwords foregone conclusions, e.g. [1]

[1] https://www.reuters.com/business/legal/us-supreme-court-nixe...

moggi··on Ask HN: Is it worth it to learn C to better understand Python?
I can recommend https://realpython.com/products/cpython-internals-book/ as a decent initial documentation of cpython. I have a copy of this book at my desk for the few cases when I need to debug GIL or memory allocator related issues in cpython.
moggi··on Ask HN: What's the best resource for learning modern x64 assembly?
Especially if you need x64 assembly for performance optimization or during profiling a combination of godbolt (https://godbolt.org/) and Agner Fog's incredible PDFs at https://agner.org/optimize/ (especially parts 2, 3 and 4) are helpful.

The other useful step has been to write C functions and compile the code with a good compiler (good experiences with Intel, gcc and llvm) first at -O0 and later at -O2 or -O3 to understand how high level concepts can be translated to assembly.

This requires to have at least a basic understanding of registers and basic assembly concepts but at least has helped me apply the concepts to real code.

moggi··on How Germany is able to run the world’s second largest export economy
Interesting choice to use 1993 as the start for the comparison of Germany's trade surplus: https://tradingeconomics.com/germany/balance-of-trade
moggi··on x86 Assembly Guide (2018)
Also the awesome pdfs by Agner Fog that everyone doing x86-64 programming should read: https://agner.org/optimize/