redraga's comments

redraga | 2 years ago | on: Tom Scott: After ten years, it's time to stop making videos [video]

I completely agree with this observation. In fact, you can use this to your advantage to save time. During the pandemic years of 2020 and 2021, Blizzard released "Classic" World of Warcraft and I had this huge itch to play the game. I satisfied it by watching YouTube videos on Classic WoW instead.

Did I waste time watching WoW YouTube videos? Yes. Did I save much more time by tricking my brain into thinking I was playing the game when I actually wasn't? Yes!

redraga | 4 years ago | on: Ask HN: What you up to? (Who doesn't want to be hired?)

I've started playing around with the idea of building a better retirement/goals investment calculator/tracker for Indians.

The retirement calculators available online are almost farcical in their simplicity and assumptions. And the ones offered by professional, fee-only financial advisors (I engaged one) are just clunky, uneasy to use excel sheets. They do the job of course, but I think there has to be an easier, more intuitive way to tracking goals/investments.

I know way too many of my friends and acquaintances - educated, fairly wealthy people - who seem to have almost no idea on how to plan/track goals/retirement. It'd be fantastic if I could make something which helps them and others like them.

redraga | 4 years ago | on: Ask HN: What's the most life-changing blog post you've ever read?

Two posts from Astral Star Codex

* A THRIVE/SURVIVE THEORY OF THE POLITICAL SPECTRUM [1] - Still the best theory on the conservative/liberal divide. It changed how I view the conservative viewpoint and helped me understand it better.

* MEDITATIONS ON MOLOCH [2] - One of the most famous blog posts on the internet (certainly in HN circles at least). Part fantasy, part philosophy, part game-theory - all of it brilliant. It changed how I approach my life goals and what I need to optimize for in life. A blog post so famous that it has it's own podcast[3]!

[1] https://slatestarcodex.com/2013/03/04/a-thrivesurvive-theory...

[2] https://slatestarcodex.com/2014/07/30/meditations-on-moloch/

[3] https://open.spotify.com/episode/7yGVsF2VPi4knhfRujM1Yx?si=q...

redraga | 5 years ago | on: Why is Apple's M1 chip so fast?

I can't really comment on the tradeoffs between specific ISAs since I've mainly worked on micro-arch research (which is ISA agnostic for most of the pipeline).

As for the questions on research into looking at decode complexity v instruction density tradeoff - I'm not aware of any recent work but you've got me excited to go dig up some papers now. I suspect any work done would be fairly old - back in the days when ISA research was active. Similar to compiler front-end work (think lex, yacc, grammar etc..) ISA research is not an active area currently. But maybe it's time to revisit it?

Also, I'm not sure if Huffman encoding is applicable to a fixed-size ISA. Wouldn't it be applicable only in a variable size ISA where you devote smaller size encoding to more frequent instructions?

redraga | 5 years ago | on: Why is Apple's M1 chip so fast?

I can't comment on the economics of it but I can comment on the technical difficulties. The issue for x86 cores is keeping the ROB fed with instructions - no point in building a huge OoO if you can't keep it fed with instructions.

Keeping the ROB full falls on the engineering of the front-end, and here is where CISC v RISC plays a role. The variable length of x86 has implications beyond decode. The BTB design becomes simpler with a RISC ISA since a branch can only lie in certain chunks in a fetched instruction cache line in a RISC design (not so in CISC). RISC also makes other aspects of BPU design simpler - but I digress. Bottom line, Intel and AMD might not have a large ROB due to inherent differences in the front-end which prevent larger size ROBs from being fed with instructions.

(Note that CISC definitely does have it's advantages - especially in large code foot-print server workloads where the dense packing of instructions help - but it might be hindered in typical desktop workloads)

Source: I've worked in front-end CPU micro-architecture research for ~5 years

redraga | 8 years ago | on: A history of branch prediction

Yes. TAGE still does better than perceptron, but combining the two is likely to give you the best performance currently. Of course, all this is dependent on area allocated to the predictor and the workloads being run.

redraga | 10 years ago | on: How to do a PhD

While this is completely valid advice, it might not be applicable with junior faculty who may not have graduated many students. I chose my advisor (who was as assistant professor at the time) based on the belief that I'll get to publish aggressively since it's in both of our interests. But I had no way of knowing how hard it would be to work with her. And I wasn't the only person who felt this way; I saw my fellow group mates (all of us joined the group at around the same time) and other collaborators express similar sentiments in course of time. But since I'd already sunk in time, I decided to stick around.

I was able to successfully complete my PhD, but I took more time than expected. Moreover, I was no way near as productive as I'd hoped to.

redraga | 10 years ago | on: Fears over the true state of China's economy

I've heard this view echoed by friends who've visited China (I'm Indian). A major reason for this difference might be the fact that China opened up its markets in the late 1970's while India's market liberalization happened only in 1991.

redraga | 11 years ago | on: Who ordered memory fences on an x86? (2008)

Remember that x86 (and SPARC) offer the strongest memory ordering guarantees among modern processors. The POWER and ARM memory models are weaker than x86. This actually leads to correctness issues when virtualizing a multi-core x86 guest on a weaker host (cross-ISA virtualization). Of course, this problem only shows up in truly parallel emulators using multiple threads on the host to emulate a multi-core guest, such as COREMU (http://sourceforge.net/projects/coremu/)

redraga | 11 years ago | on: How do you get to write so well in HN?

While this is a good way to learn about things in depth, I'd be wary of overusing it. It could have detrimental effects when commenting on topics way outside your domain knowledge (lower comment quality or worse - a misinformed comment). Also, it limits the scope of topics that you might end up developing an interest in.

Interestingly, the way I consume articles and forums is almost completely opposite. I skim through anything that catches my fancy, which helps me discover new topics that are interesting to me, and I only contribute when I have something completely new and valuable to add to the discussion. Often times you find that someone has already mentioned what you wanted contribute. The exceptions are when you are an expert in the field and hence more likely to have knowledge that is not common.

redraga | 11 years ago | on: U.N.C. Investigation Reveals ‘Shadow Curriculum’ to Help Athletes

European football (soccer) teams run academies of their own to groom players. If a youngster is serious about becoming a professional footballer, he/she joins these academies. They are given a "well-rounded" education, but the emphasis is obviously on the sport. Graduates end being signed by the parent club, or getting contracts with lower-level teams if they can make the cut.

I'm curious to understand why this system isn't practiced in the US.

page 1