devinmcafee | 1 year ago | on: Exercise May Be the Most Potent Medical Intervention Ever Known
devinmcafee's comments
devinmcafee | 2 years ago | on: My 30-Year Quitting Addiction
If you follow this advice, then your only option to get sugar is to leave your house to get it, which discourages its use because of the extra burden to procure it. Also, this trip will give your forebrain extra time to kick in and abort the quest to fulfill your cravings.
Unfortunately if you go into the office and they have a bunch of sugary stuff around (m&ms, candy bars, etc) then your only choice is to avoid wherever that stuff is stored. You could try moving where you sit to another floor or farther away from the office pantry.
devinmcafee | 2 years ago | on: Compare Google, Bing, Marginalia, Kagi, Mwmbl, and ChatGPT
Imagine Google were like a water filter you install on your kitchen faucet to filter out unwanted chemicals from your drinking water. If as the years progress your municipal tap water starts to contain a higher baseline of unwanted chemicals, and as a result the filter begins to let through more chemicals than it did before, you'd consider your filter pretty cruddy for its use case. At the bare minimum you'd call it outdated. That is what is happening to Google search
devinmcafee | 3 years ago | on: Andrew Huberman Has Supplements on the Brain
They do independent testing for supplements and provide rankings based on detected ingredient, heavy metals and adulterants per serving (I linked protein but they also test other types of supplements). My only complaint is that their database is limited so you may not find the brand you are looking for.
devinmcafee | 3 years ago | on: Microsoft accidentally revealed a UI design prototype for the next Windows
I wonder if the team over at Microsoft is trying to match the look and feel of OSX in order to shorten the gap between the two operating systems and reduce friction of switching between the two.
devinmcafee | 3 years ago | on: Purring is a love language no human can speak
devinmcafee | 3 years ago | on: Ask HN: How do you decide what to eat/mealplan?
I utilize this method personally with great success. The cookies, snack cakes, chips and crackers aisle has nothing which belongs in my weekly diet, so I skip that aisle and don't even look to see what's in it. I probably haven't gone down that aisle in a decade and by not navigating down the aisle I prevent myself from being tempted to buy junk. Likewise I only have to practice willpower in the grocery store once or twice a week, instead of every day.
Strongly recommend you try this method as its worked for me and many I know
devinmcafee | 3 years ago | on: Stuxnet is embarrassing, not amazing (2011)
devinmcafee | 4 years ago | on: List of games that Buddha would not play
To play poker (and win) you need many skills:
- mastery over your own body, specifically the ability to restrain outward displays of emotion related to the hand you were dealt or the cards being drawn
- the ability to calculate probabilities, because you have limited information and do not know the cards others have, you must assess the current situation and attempt to make decisions using a probabilistic model
- budgeting resources. Your chips are a finite resource and wasting them or not betting enough will affect your future hands
- psychology. You have to learn the way your opponents think. You learn their tells, behavior, and strategies, and have to practice empathy to determine their behavior in a given scenario
That being said, its fine that your friends don't like the game, to each their own! I just personally don't think it's fair to view it through such a narrow lens.
*Edited for formatting
devinmcafee | 4 years ago | on: Ask HN: Best books on modern distributed systems
I'm pretty sure there is an online course available which you can watch, so it's a slightly different medium but may be a nice change of pace from reading. The course was really informative for me and has really been paying dividends in my career.
devinmcafee | 4 years ago | on: How I Experience Web Today
devinmcafee | 4 years ago | on: Ask HN: Tools you have made for yourself?
I think one thing which kept me motivated and engaged in the project was that I focused on getting as much value from my efforts ASAP, like a one person agile startup with a single customer (myself). Everything I added had to add some value immediately. I focused on the database modeling and REST APIs and didn't even worry about what the app looked like. When I first began using the app it was a simple multipage web application with basic HTML forms built in Django with no css (literally white background with blue text links and black text). Being able to actually use the app drove me to want to improve it and add new features.
For example: A feature which I wanted, which no app at the time had, was to be able to find my personal records by varying sets and reps. I wanted to answer questions like: What are the most pullups I've ever done in a single set? What's the most weight I've deadlifted for 4 sets of 2 reps? What is the heaviest weight I have ever back squatted for 8 reps? I had the data, I just had to build it into my app. So the first feature I added after being able to create workouts was the ability to look up previous bests. Every time I would workout I would look up my previous best in the app and try to beat it. Being able to track and set new personal records in the gym kept me motivated in my workouts, it was pretty thrilling seeing my project actually pay off for me personally.
An elongating hallway is a good analogy. Every time I found out there was a new thing I had to learn I would be stressed out and overwhelmed, coming up against a hard edge of my knowledge. I would then read a few articles and do some googling, and next thing I knew I was successfully doing the things which originally stressed me out! In my previous comment I mentioned that doing this project increased my confidence as an engineer, which I think was caused by repeatedly bumping up against my limits and then surpassing them.
devinmcafee | 4 years ago | on: Ask HN: Tools you have made for yourself?
I began by writing a django app deployed via heroku. I then decided I wanted to rewrite it in ruby on rails because I had never worked with rails in my career and was already working on django professionally. I then wrote a react/redux SPA frontend, not for any other reason than to practice and learn those libraries. Finally, I decided to buy a VPS and manage deployments myself because I wanted to learn some basic devops stuff myself.
Building and maintaining this project I got first hand experience on building a web application from scratch, designing UX and product requirements, maintaining my own infrastructure (Linux server hardening, supporting SSL, managing my own domain, etc) and got experience in languages I didn't work in professionally. Also I got a few friends to begin using my app and immediately found where my poor UX choices were, which was pretty enlightening.
I think the experience really boosted my confidence as an engineer. I had to learn a whole bunch of new skills and become my own one person startup. In the end it helped me appreciate all that goes into building a software product and highly recommend the experience. I still track my workouts using the app and now have 7 years of data.
devinmcafee | 6 years ago | on: Ask HN: Whats the best book on your favorite programming language or topic?
Two I've enjoyed are: "The Pragmatic Programmer" by Andy Hunt and Dave Thomas "Clean Architecture" by Robert C Martin
That being said, no harm in deep diving individual languages. Secrets of a JavaScript Ninja by John Resig was an excellent introduction to JavaScript!
devinmcafee | 6 years ago | on: Increased sedentary behaviour alters metabolism and body composition (2018)
devinmcafee | 6 years ago | on: How do people learn to cook a poisonous plant safely?
devinmcafee | 6 years ago | on: Ask HN: Which editor do you use for JavaScript Development?
devinmcafee | 7 years ago | on: What I gained, lost and learned while working for Microsoft
Personally, I love all the perks tech jobs offer but work-life balance always comes first.
People who undergo acute bouts of physical exercise with adequate recovery improve the well known blood markers and vital signs associated with the chronic diseases currently plaguing the modern world (cardiovascular disease, diabetes, stroke, etc). Long bouts, like ultra marathons or doing intense exercise for days on end without a rest day, is probably going to be deleterious to health because you never give your body a chance to recover and adapt.
edit wording