background preloader

How to Start Learning Computer Programming

How to Start Learning Computer Programming
Steps Part 1 Choosing a Language <img alt="Image titled Start Learning Computer Programming Step 1" src=" width="728" height="546" class="whcdn" onload="WH.performance.clearMarks('image1_rendered'); WH.performance.mark('image1_rendered');">1Choose a programming language. <img alt="Image titled Start Learning Computer Programming Step 6" src=" width="728" height="546" class="whcdn">6Don't limit yourself to these languages! Part 2 Learning the Language Part 3 Teaching Yourself Community Q&A Add New Question Where can I find free coding practice problems? Ask a Question Tips Article Info Related:  Power of the Mind

How to Become a Human Calendar Mentally finding out the day of the week for any date is a skill you can easily learn. You don’t need to be an autistic genius – all it takes is basic memorization effort and some trivial math. When I first learned this technique many years ago, I did it just for fun. The Method To find out the days of the week for any date, use the formula: [day of week] = (yearcode + monthcode + day) mod 7 If you’re not math-inclined, this may look quite scary at first, but don’t worry: using the formula is straightforward. Month and Year Codes The month codes are one of the formula’s most troublesome parts, since they don’t follow a clear logic. January: 1 February: 4 March: 4 April: 0 May: 2 June: 5 July: 0 August: 3 September: 6 October: 1 November: 4 December: 6 We also need the year code, which are also apparently arbitrary. Days of the Week The result is always a number from 0 to 6, and its interpretation couldn’t be any easier: The Calculation Step 1: Get the codes for month and year. August.

How to Become a Human Calendar Mentally finding out the day of the week for any date is a skill you can easily learn. You don’t need to be an autistic genius – all it takes is basic memorization effort and some trivial math. When I first learned this technique many years ago, I did it just for fun. With time, I learned to enjoy the convenience of not needing a calendar anymore. It’s far more useful than I first thought, and with just a little practice, you’ll be able to find out the days of the week much faster than when reaching for a calendar. The Method To find out the days of the week for any date, use the formula: [day of week] = (yearcode + monthcode + day) mod 7 If you’re not math-inclined, this may look quite scary at first, but don’t worry: using the formula is straightforward. Month and Year Codes The month codes are one of the formula’s most troublesome parts, since they don’t follow a clear logic. We also need the year code, which are also apparently arbitrary. Days of the Week The Calculation 5 means Thursday.

Get More Energy to Exercise Blood glucose numbers aren't the only pertinent data to record. "Keep a journal, and on the days when you're really fatigued and experiencing pain, look at what you've been doing," says Julie Silver, M.D., a rehabilitation physician and assistant professor at Harvard Medical School. For three days, write down what you're doing every half hour, and rate your pain and fatigue level on a 0-to-5 scale (0 = feeling great; 5 = a lot of pain and fatigue). Then review the data. Finally, Vinik says, whatever you do to move more, don't call it exercise. How to Use a Food Journal to Control Blood Sugar

10 places where anyone can learn to code Teens, tweens and kids are often referred to as “digital natives.” Having grown up with the Internet, smartphones and tablets, they’re often extraordinarily adept at interacting with digital technology. But Mitch Resnick, who spoke at TEDxBeaconStreet, is skeptical of this descriptor. Sure, young people can text and chat and play games, he says, “but that doesn’t really make you fluent.” Mitch Resnick: Let's teach kids to code Fluency, Resnick proposes in this TED Talk, comes not through interacting with new technologies, but through creating them. The point isn’t to create a generation of programmers, Resnick argues. In his talk, Resnick describes Scratch, the programming software that he and a research group at MIT Media Lab developed to allow people to easily create and share their own interactive games and animations. At Codecademy, you can take lessons on writing simple commands in JavaScript, HTML and CSS, Python and Ruby. While we’re at it: bonus!

Essential Linux Commands Following are some of the most essential Linux commands which I often use and might be a one page reference for you as well. Use these Linux commands at your own risks. Some of these commands, specially the rm commands, might do harm if not used properly without additional checks. So always think twice before you run the rm commands. I use these commands all the times on my centOS dedicated servers whenever I need it and they work flawlessly. List Show file sizes in KB, MB, GB ls -lah List only directories ls -l | egrep `^d’ List and sort by date ls -t ls -lt Sort by file size ls -S Search/Find find . Above command will find a searchterm in all files in the present directory and will print it on screen. If you want to search for a term in specific folders then use following command. find /home/*/public_html/ -exec grep “searchterm” ‘{}’ \; –print Above command comes very handy when you want to search for any term in all of your websites hosted on a single host. Find files modified by date find . Sort

Develop Perfect Memory With the Memory Palace Technique The Memory Palace is one of the most powerful memory techniques I know. It’s not only effective, but also fun to use — and not hard to learn at all. The Memory Palace has been used since ancient Rome, and is responsible for some quite incredible memory feats. Eight-time world memory champion Dominic O’Brien, for instance, was able to memorize 54 decks of cards in sequence (that’s 2808 cards), viewing each card only once. Of course, most of us are not in Dominic’s memory championship line of business (or in Hannibal’s line of business for that matter). The Memory Palace The Memory Palace technique is based on the fact that we’re extremely good at remembering places we know. 5 Steps to Use the Memory Palace Technique 1. First and foremost, you’ll need to pick a place that you’re very familiar with. A good first choice could be your own home, for example. Also, try to define a specific route in your palace instead of just visualize a static scene. Familiar streets in your city. 2. 3. 4. 5.

Mental Math Mental Math - A Guide to Effective Mental Calculations[edit] Note about Notation: This book generally uses the English/U.S. styles of notation. This includes using commas as a way to divide up the thousands in long numbers (e.g. 32,000 = thirty-two thousand), it will use full stops (periods) as decimal points. Calculating things in your head can be a difficult task. If you can't remember what you've worked out or simply don't know how to solve a problem then it can be very challenging and frustrating. With good mental math skills you can save yourself time by not needing to pull out a calculator (or cell phone) every time you want to do a task.Mental math skills will improve your ability to estimate results, thus having a better ability to catch errors from computer-derived results. Addition[edit] The foundation of all arithmetic is addition, also known as summing. Changing the Order of Addition[edit] Adding Zero, One, or Two[edit] Adding Nine or Eight: Counting Down from 10[edit] Example:

12 Tips for Weight Loss Carbs have been getting a bad rap for years. And perhaps with good reason, as many people load up on far too many refined carbohydrate sources, such as breads, snacks, and treats made with white flour and refined sugars. These foods offer low-nutrient carbs, which do little more than add unwanted calories to your diet. You can enjoy carbs -- in moderation -- as long as you focus on nutrient-rich sources that are minimally processed. Think fruits, vegetables, legumes, whole grains, and low-fat dairy products. If you're a woman trying to lose weight, shoot for 30-55 grams of carbohydrate per meal. How Many Carb Servings Should You Eat a Day?

CodeBangers | A collection of solutions for the bastard programming problems. Journal to the Self: 13 Tools to Make Journaling Work for You In this post, I present 13 specific journaling tools you can start using immediately, along with a mind map of the book ‘Journal to the Self: Twenty-Two Paths to Personal Growth‘. Journaling is perhaps the most effective and direct way to get a deeper understanding of yourself and the world around you. By putting your thoughts in writing, you trigger some unique mental processes that often lead to invaluable new insights. In the book Journal to the Self, Kathleen Adams presents many tools that make the process of journaling much easier and enjoyable, presenting plenty of choices to make journaling work for you. Regardless of your writing style (or even if you see yourself as someone who doesn’t enjoy writing at all), you’ll find tips to make your self-discovery journey more effective and enjoyable. Journaling Tools The Journaling Toolbox is the meat of Journal to the Self. Springboards: These are ready-made phrases that answer the question "What should I write about?". Now to the Full Book

List of paradoxes This is a list of paradoxes, grouped thematically. The grouping is approximate, as paradoxes may fit into more than one category. Because of varying definitions of the term paradox, some of the following are not considered to be paradoxes by everyone. Although considered paradoxes, some of these are based on fallacious reasoning, or incomplete/faulty analysis. Logic[edit] Self-reference[edit] These paradoxes have in common a contradiction arising from self-reference. Barber paradox: A barber (who is a man) shaves all and only those men who do not shave themselves. Vagueness[edit] Ship of Theseus (a.k.a. Mathematics[edit] Statistics[edit] Probability[edit] Infinity and infinitesimals[edit] Benardete's paradox: Apparently, a man can be "forced to stay where he is by the mere unfulfilled intentions of the gods".Ross–Littlewood paradox: After alternatively adding and removing balls to a vase infinitely often, how many balls remain? Geometry and topology[edit]

Related: