background preloader

The Tao Of Programming

The Tao Of Programming
Translated by Geoffrey James Transcribed by Duke Hillard Transmitted by Anupam Trivedi, Sajitha Tampi, and Meghshyam Jagannath Re-html-ized and edited by Kragen Sittler Last modified 1996-04-10 or earlier Table of Contents Book 1 - The Silent Void Thus spake the master programmer: ``When you have learned to snatch the error code from the trap frame, it will be time for you to leave.'' Something mysterious is formed, born in the silent void. If the Tao is great, then the operating system is great. The Tao of Programming flows far away and returns on the wind of morning. The Tao gave birth to machine language. The assembler gave birth to the compiler. Each language has its purpose, however humble. But do not program in COBOL if you can avoid it. In the beginning was the Tao. Programmers that do not comprehend the Tao are always running out of time and space for their programs. How could it be otherwise? The wise programmer is told about Tao and follows it. The highest sounds are hardest to hear.

Web Form Factory (v0.1.3 beta) - Open Source Web Form Generator 10 Puzzle Websites to Sharpen Your Programming Skills Solving programming puzzles is a fun way to develop your logical and problem solving abilities. Also, when you’re familiarizing yourself with a new programming language, solving puzzles for that language can help speed up the learning process. Here are the top 10 popular programming puzzle sites that will help test your thinking and improve your programming, problem solving, and logical thinking skills. 1. Programming Praxis Programming Praxis is a blog that includes a range of interesting problems with solutions usually available in several different programming languages. 2. CodeKata is a blog of programming puzzles written by Dave Thomas, who’s most famous for the groundbreaking book, Pragmatic Programmer. 3. TopCoder is an active programming community of developers who love to solve puzzles. 4. 5. Facebook has a collection of very challenging programming puzzles that–should you manage to solve them–could result in you getting a job at Facebook! 6. 7. 8. 9. 10. 99 Prolog Problems

Create a Realistic Panoramic Matte Painting in Photoshop Matte paintings are images commonly used in the film industry to create the illusion of an environment that would otherwise be too expensive or impossible to build. In this tutorial I will show you how to turn a single stock photo into a realistic panoramic scene. Click to enlarge the image. Resources The following images were used during the production of this image. Step 1 Download the following stock image in order to follow this step-by-step tutorial: if you choose to work on a different plate, try to find a photo with a mostly clear sky so it will be easier to enlarge the photo in the following steps. Now open your stock of choice in Photoshop and increase the canvas size in all directions except for the ground. Step 2 Now we will start to fill the new transparent area with life. Next we have to get rid of the sharp edges in the upper layer. Step 3 The left area now obviously looks duplicated, so we will use the Clone Stamp Tool (S) to fix that. Step 4 Step 5 Step 6 Step 7 Step 8 Step 9

Free Programming Books Here is an uncategorized list of online programming books available for free download. The books cover all major programming languages: Ada, Assembly, Basic, C, C#, C++, CGI, JavaScript, Perl, Delphi, Pascal, Haskell, Java, Lisp, PHP, Prolog, Python, Ruby, as well as some other languages, game programming, and software engineering. The books are in various formats for online reading or downloading. This list will be updated daily. Scroll downn, or use the shortcuts below.

How To Give Your Photos a Dark Processed Lomo Effect This post was originally published in 2010 The tips and techniques explained may be outdated. Follow this step by step post processing guide to give your photos a dark lomo style effect with high contrast, blue tones and vignette burns. The effect is based on the popular lomographic technique and is similar to the processing effect used in many fashion shots and advertisement designs. Overall this effect does a great job of adding impact to a plain photography with cool colour casts and unusual saturation. View full size photo effect Begin by opening your photograph of choice into Adobe Photoshop. Go to Image > Adjustments > Levels and tweak the tones of the image. At the bottom of the Layers palette, click the Adjustment Layer icon and select Curves. Change the drop down menu to Green and tweak the graph for the green channel to further alter the tones of the image. Finally alter the Blue channel, creating an inverted ‘S’ shape to enhance the blues to give a cool colour cast.

PHP techniques I use all the time Back in February, I was writing CSS every day and I decided to share some of the CSS techniques that I always use. Lately I've been writing more PHP than anything else and I've found myself using some very useful techniques all the time. Now I know that PHP isn't very "cool" these days; it's probably the most misunderstood web language because all the script kiddies use it to include files on their webpages and put up forms that get hacked hours later. Use heredoc syntax for strings: If there's one thing I got tired of fast, it was building long strings like this: If I am going to make a string with more than one line, and even sometimes when I'm not, then I use heredoc. If the $x is going to be 10 by default, just start with 10. And, that's all there is to it. That's my list; if I think of more things, I'll share them. Also, don't forget to read my previous post about easy form processing with PHP. 1 something disappeared here.

How to Remove a person from a photo by using cs 5 Content Aware May 29 2010 With the launch of the new Adobe Suite of programs comes the long awaited Adobe Photoshop CS5. Packed with new features to speed up your workflow it truly is the most advanced edition of Photoshop to date. Before we begin, download the image that we will be working with. Using the content aware tool on different images produces different results. We are extracting the person on the left from this photo. Notice in the image below how far I am drawing the path from the subject. Once you complete the path around the subject, turn it into a selection. A dialog box will pop-up, make sure the feathering is set to 0px. Now we have an active selection around our subject. A dialog box will pop-up, make sure the Content Aware option is selected. You can cancel the selection at any time by making another selection or just clicking anywhere else on the page with any selection tool. In this step we will remove some of the other artifacts in the image using the same process.

Face detection in pure PHP (without OpenCV) - Maurice Bloggue Une résumé en français est disponible en fin d’article. Lately, I’ve been looking for ways to detect faces in photos with PHP. Nowadays, face detection is built in many consumer products (camera obviously, but also Google and iPhoto), and seems to be a pretty common job. So I expected to find many solutions for doing it with PHP. Surprisingly, the only one I could find is OpenCV, an opensource lib that was originally developed by Intel. Learning about face detection So I started to think about implementing it myself. Always look at what others are doing Then I looked for existing implementations in other languages. The code Update: the code has moved to Once the code converted to PHP, here’s the result: And you simply use the class this way: $detector = new Face_Detector('detection.dat'); $detector->face_detect('maurice_svay_150.jpg'); $detector->toJpeg(); Which gives the following result: Résumé en français

Related: