Problem: Article: Choose a fun hobby that really interests you. Watching porn and masturbating are both pleasurable activities, so your hobby should produce a similar effect. For instance, try something like:  Joining a recreational sports team. Making art.  Learning to play an instrument.  Knitting. Building arduinos. Making fighting robots. Taking a martial arts class. When you masturbate or watch porn, your body releases the pleasure hormone dopamine, which makes you want to do it more. This hormone is also released when you do other pleasurable activities, like eating or shopping. That means you may be able to reduce your desire by treating yourself to other pleasures, like your favorite foods, listening to your favorite band, taking a relaxing shower, and shopping. Treat yourself to a variety of pleasurable activities, not just one. For example, eat a piece of candy on Monday, go to an arcade on Tuesday, buy yourself a book on Wednesday, listen to your favorite band on Thursday, go out with friends on Friday, go out to dinner on Saturday, and play your favorite video game on Sunday. for 30 minutes a day to release energy. You might like the feeling that watching porn and masturbating gives you because it helps you feel more relaxed. Luckily, exercise can make you feel the same way. Engage in cardio activity every day to help you release excess energy. Choose an activity that you like so it’s more fun to do it. Go for a brisk walk, run, swim, or take a dance class. You might even consider joining a sports team or going to a gym. to help calm your mind and overcome temptation. Meditation can help you feel relaxed and in the moment, which might help you deal with desire. For a simple meditation, sit or stand in a comfortable position. Then, focus your attention on your breath. When your thoughts wander, bring them back to your breath. Do this for at least 10 minutes. Look for guided meditations online or use an app like Headspace, Insight Timer, or Calm.
Summary: Start a new hobby to distract yourself from your urges. Treat yourself to other things that bring you pleasure. Exercise Meditate

INPUT ARTICLE: Article: Pseudocode isn't really a programming language, but it is a way to represent a program in a very English-like way. The most familiar algorithm to you is probably on your shampoo bottle: Lather, rinse, repeat. This is an algorithm. It is understandable by you (the "Computing Agent") and has a finite number of steps. Or does it ... The shampoo example isn't a very good algorithm for two reasons: it doesn't have a condition to end on, and it doesn't really tell you what to repeat. Repeat lathering? Or just the rinsing. A better example would be "Step 1 - Lather. Step 2 - Rinse. Step 3 - Repeat steps 1 and 2(2 or 3 times for better results) and then finish(exit)." This is understandable by you, has an end condition (a finite number of steps), and is very explicit.

SUMMARY: Start with pseudocode. Tweak the pseudocode.

In one sentence, describe what the following article is about: A singly even square has a number of boxes per side that’s divisible by 2. A doubly even square has a number of boxes per side divisible by double that — 4. The smallest doubly-even box that can be made is a 4x4 square. Use the same method as you would with odd-numbered or singly-even magic squares: the magic constant = [n * (n^2 + 1)] / 2, where n = the number of boxes per side. So, in the example of a 4x4 square:  sum = [4 * (4^2 + 1)] / 2 sum = [4 * (16 + 1)] / 2 sum = (4 * 17) / 2 sum = 68 / 2 The magic constant for a 4x4 square is 68/2, or 34. All rows, columns, and diagonals must add up to this number. In each corner of the magic square, mark a mini-square with sides a length of n/4, where n = the length of a side of the whole magic square. Label them Highlights A, B, C, and D in a counter-clockwise manner.  In a 4x4 square, you would simply mark the four corner boxes. In an 8x8 square, each Highlight would be a 2x2 area in the corners. In a 12x12 square, each Highlight would be a 3x3 area in the corners, and so on. Mark all the boxes in the center of the magic square in a square area of length n/2, where n = the length of a side of the whole magic square. The Central Highlight should not overlap with Highlights A-D at all, but touch each of them at the corners.  In a 4x4 square, the Central Highlight would be a 2x2 area in the center. In an 8x8 square, the Central Highlight would be a 4x4 area in the center, and so on. Begin filling in the numbers of your magic square from left to right, but only write in the number if the box falls into a Highlight. So, in a 4x4 box, you would fill in the following boxes:  1 in the top-left box and 4 in the top-right box 6 and 7 in the center boxes in Row 2 10 and 11 in the center boxes in Row 3 13 in the bottom-left box and 16 in the bottom-right box. The is essentially the inverse of the previous step. Begin again with the top left box, but this time, skip all boxes that fall in Highlighted area, and fill in non-higlighted boxes by counting backwards. Begin with the largest number in your number range. So, in a 4x4 magic square, you would fill in the following:  15 and 14 in the center boxes in Row 1 12 in the left-most box and 9 in the right-most box in Row 2 8 in the left-most box and 5 in the right-most box in Row 3 3 and 2 in the center boxes in Row 4 At this point, all your columns, rows, and diagonals should up to your magic constant you calculated.
Summary:
Understand what a doubly even square is. Calculate the magic constant. Create Highlights A-D. Create the Central Highlight. Fill in the magic square, but only in Highlighted areas. Fill in the rest of the magic square by counting backwards.