News for hackers. Stuff that matters.

andredublin

Re:Ask HN: What Are You Reading? on Tuesday November 05, 2019 @08:34PM (#21458897)
Software Estimation Crazy Rich Asians Practical TLA+ IoT Foundations
Re:Ask HN: What are the most fun areas of programming? on Wednesday January 30, 2019 @04:17PM (#19039601)
Digital signal processing http://dspguide.com
1. Give yourself a few months to learn the existing codebase

2. Document the existing codebase

3. Start writing unit test and/or integration test for the existing codebase

4. Adopt a mindset of ZERO tolerance for defects making it to production

5. Begin at the lowest layer of the codebase (usually data access) and execute refactorings there to either encapsulate areas of potential change or business domains

6. Once the data access has been refactored to "good enough" work on the next layer up and continue this process to the top, this should enable you to have an architecture that is closed and decoupled.

Re:Learning to program is getting harder on Saturday February 17, 2018 @02:15PM (#16402192)
Interesting point, I'll add that we don't see many desktop computers any more. Kids or those wanting to learn to program don't see the whole machine. Instead we have these slim downed devices that require existing knowledge to take apart and put back together again.
Re:Bees Making Honey with Cannabis on Thursday March 03, 2016 @10:36PM (#11221919)
I kept bees for almost a year now. They may go for the pollen and resin like you said, and miss out on the nectar.
Re:What I Learned Reading the F# Source on Friday October 02, 2015 @09:08AM (#10318221)
Thanks! It'll be tough but fun to learn about.
Re:What I Learned Reading the F# Source on Friday October 02, 2015 @09:07AM (#10318210)
Thanks for the feedback, I'll update my post and make sure to credit you. One question, Array.Copy is considered is considered a clr construct not exclusively to c#?
Re:Ask HN: What are you doing to improve your health? on Friday April 10, 2015 @02:22PM (#9356149)
The best way is to do it how a boxer would on the toes one foot at a time. Eventually you build up your muscles and your bones become dense fast enough to perform more intense moves; high knees, double up etc.
Re:Ask HN: What are you doing to improve your health? on Friday April 10, 2015 @11:41AM (#9355044)
Drink plenty water throughout the day.

Here's my physical routine that I go through.

Jump rope every night for about 10-15 minutes with a weighted speed rope. Jumping rope is really great and I highly recommend it, its easy on the knees and a fast way to get a good cardio workout.

Boxing on weekends, I own a heavy bag on a stand so its easy for me to do.

I have a hangboard located in my kitchen that whenever I pass under it I do a pullup or hold. I recommend Metolius hangboards.

Walk my dog 1 mile every other day or whenever she feels fit.

Mow the lawn, rake leaves, grow a garden, just make sure you break a sweat.

Yoga whenever I feel tight or knots.

Surfing in the mornings when I can for about an hour. If surfing isn't for you then swim, try to make your goal to swim 1 mile or 1600 meters in 30 or 45 minutes. Like jumping rope, swimming really easy on the body and great cardio.

The important thing is to keep moving, and keep changing it up.

This mish-mash of physically activity works for me because I can alter it around my programming time and free time with my family.

I have done something similar to this with a MEAN stack where I boot docker containers inside a single vagrant vm that is provisioned with shell scripts. The containers then have their ports exposed to vagrant up to my localhost so I can interact with each container individually. I should write a blog post about this soon.