HNHacker News
TopNewBestAskShowJobs

sangpal

10 karma · joined January 3, 2021

Game programmer. Unity/C#/C++.

saurabh@sangpal.in

submissionscomments
sangpal··on Interview gone wrong
I wouldn't consider if (bool) or x = !bool to be concise coding. That's just regular code.
sangpal··on Ask HN: What's your experience with the 85% rule, in the gym
Training to failure once a while is fine, but it is simply not possible to train at a high frequency and go to failure regularly. I personally do not prefer to train to failure more than once every two weeks per muscle group. I advise people that are new to the gym (between 6 months to 2 years of training) to go to failure frequently so that they may accurately gauge what 1 RIR feels like.
sangpal··on Ask HN: What's your experience with the 85% rule, in the gym
Almost every serious lifter is familiar with RPE (rating of perceived exertion) and RIR (reps in reserve). If you reach failure on an exercise, you experience a greater amount of fatigue than if you stopped one rep shy of failure. This allows you to then train the same muscle sooner and you end up building more muscle overall (the muscle gain at RIR 1 & RIR 0 is negligible). But, you need to be able to accurately gauge RIR, which is quite difficult for new lifters.
sangpal··on Ask HN: Anyone using proportional fonts for coding?
I used Input Sans for some time as my coding font. Most proportional fonts have a small <space> which makes it difficult to figure out alignment in code. Input Sans was the only font I found that was good in this regard.

I use vim keybinds and movement was too unpredictable to keep using as my main font. Now I'm back to a monospaced font.

sangpal··on Effective Spaced Repetition
You could maybe use an alarm/reminder.
sangpal··on Ask HN: Book recommendations that made you a better engineer overall?
Code Complete - great for understanding how to actually go about building large scale programs effectively
sangpal··on Ask HN: What lesser-known accessories do you use with your computer?
I used to make music so I purchased studio monitors and a mic. I haven't put on a headset in years and I can't imagine how it would feel to wear one for 8+ hours a day.
sangpal··on Making a keyboard layout
I'm also a vim user and I recently switched to Colemak-DH, but I didn't remap anything. It took a long time to get used to the new vim layout (longer than the time it took to learn Colemak itself), but now that I'm comfortable with it, I can be fluent without any remaps.
sangpal··on 1Password Park – St. Thomas Ontario
Can't they name it something else and simply mention somewhere that it is paid for by 1Password?
sangpal··on Ask HN: Examples of good technical writing?
I enjoy Unity documentation https://docs.unity.com. It is concise and usually includes helpful diagrams.