It does and it doesn’t. It does, because you can easily reuse your own code and explain it to someone else. It doesn’t, because you have to write more source code and, more important, your web application will run slower (in some cases, much much slower). We will learn together what is MVC, what are the PHP frameworks out there which are worth using, when not to use them.
Chuck Norris on a computer
1. When Chuck Norris throws exceptions, it’s across the room.
2. All arrays Chuck Norris declares are of infinite size, because Chuck Norris knows no bounds.
3. Chuck Norris doesn’t have disk latency because the hard drive knows to hurry the hell up.
4. Chuck Norris writes code that optimizes itself.
5. Chuck Norris can’t test for equality because he has no equal.
6. Chuck Norris doesn’t need garbage collection because he doesn’t call .Dispose(), he calls .DropKick().
7. Chuck Norris’s first program was kill -9.
8. Chuck Norris burst the dot com bubble.
9. All browsers support the hex definitions #chuck and #norris for the colors black and blue.
10. MySpace actually isn’t your space, it’s Chuck’s (he just lets you use it).
11. Chuck Norris can write infinite recursion functions…and have them return.
12. Chuck Norris can solve the Towers of Hanoi in one move.
13. The only pattern Chuck Norris knows is God Object.
14. Chuck Norris finished World of Warcraft.
15. Project managers never ask Chuck Norris for estimations…ever.
16. Chuck Norris doesn’t use web standards as the web will conform to him.
17. “It works on my machine” always holds true for Chuck Norris.
18. Whiteboards are white because Chuck Norris scared them that way.
19. Chuck Norris doesn’t do Burn Down charts, he does Smack Down charts.
20. Chuck Norris can delete the Recycling Bin.
21. Chuck Norris’s beard can type 140 wpm.
22. Chuck Norris can unit test entire applications with a single assert.
23. Chuck Norris doesn’t bug hunt as that signifies a probability of failure, he goes bug killing.
24. Chuck Norris’s keyboard doesn’t have a Ctrl key because nothing controls Chuck Norris.
25. When Chuck Norris is web surfing websites get the message “Warning: Internet Explorer has deemed this user to be malicious or dangerous. Proceed?”.
WPTouch – WordPress mobile theme
Because to ‘wear’ version for mobile applications and because the blog visitors will be aware of new posts / updates to the blogs you visit constantly, appeared and mobile version of WordPress which is easier and more pleasant to use for those with smartphones. So I chose to describe in this article one’s wordpress plugins that do this.
Postfix Configuration – change maximum message size
One of the most frequent errors postfix will throw is “Message Too Big”. It is understandable you cannot use email to send a Bluray movie through email, so the error is there for a reason. By default, Postfix will have a 10MB email limit. Default means even if you do not have anything written in main.cf (usually /etc/postfix/main.cf), Postfix will have this limitation by default.
Free Antivirus Reviews
I decided today to uninstall my trial version of Nod32 Antivirus. It’s a huge step for me, because I need a trusted application in that area. I cannot afford to have viruses on my desktop mainly because I produce executables that gets shipped to my clients. There was a time when I removed each virus by hand, no antivirus installed… But that time passed. I do not have the time anymore.
Programming Jokes
If you’re a programmer or have a basic understanding of how programming works I invite you to read some programming jokes. I’m sure you’re going to like them because they are funny and they contain a small percentage of truth between the lines. Enjoy!
* Eight bytes walk into a bar. The bartender asks, “Can I get you anything?” “Yeah!” reply the bytes. “Make us a double!”.
* How many programers dose it take to change a light bulb? None – It’s a hardare problem
* Programming is 10% science, 20% ingenuity, and 70% getting the ingenuity to work with the science.
* Have you heard about the new Cray super computer? It’s so fast, it executes an infinite loop in 6 seconds.
* “I just saw my life flash before my eyes and all I could see was a close tag…”
* Debugging: Removing the needles from the haystack.
* Two strings walk into a bar and sit down. The bartender says, “So what’ll it be?”. The first string says, “I think I’ll have a beer quag fulk boorg jdk^CjfdLk jk3s d#f67howe%^U r89nvy~~owmc63^Dz x.xvcu”. “Please excuse my friend,” the second string says, “He isn’t null-terminated.”
* The three most dangerous things in the world are a programmer with a soldering iron, a hardware engineer with a software patch, and a user with an idea.
* Here are some funny laws reffering to computer programming:
- Any given program, when running, is obsolete.
- Any given program costs more and takes longer.
- If a program is useful, it will have to be changed.
- If a program is useless, it will have to be documented.
- Any program will expand to fill available memory.
- The value of a program is proportional to the weight of its output.
- Program complexity grows until it exceeds the capabilities of the programmer who must maintain it.
- Any non-trivial program contains at least one bug.
- Undetectable errors are infinite in variety, in contrast to detectable errors, which by definition are limited.10.
- Adding manpower to a late software project makes it later.
*And, in the end I want to present you the great “CIA” (Computer Industry
Acronyms).
CD-ROM: Consumer Device, Rendered Obsolete in Months
PCMCIA: People Can’t Memorize Computer Industry Acronyms
ISDN: It Still Does Nothing
SCSI: System Can’t See It
MIPS: Meaningless Indication of Processor Speed
DOS: Defunct Operating System
WINDOWS: Will Install Needless Data On Whole System
OS/2: Obsolete Soon, Too
PnP: Plug and Pray
APPLE: Arrogance Produces Profit-Losing Entity
IBM: I Blame Microsoft
MICROSOFT: Most Intelligent Customers Realize Our Software Only Fools Teenagers
COBOL: Completely Obsolete Business Oriented Language
LISP: Lots of Insipid and Stupid Parentheses
MACINTOSH: Most Applications Crash; If Not, The Operating System Hangs
AAAAA: American Association Against Acronym Abuse.
WYSIWYMGIYRRLAAGW: What You See Is What You Might Get If You’re Really Really Lucky And All Goes Well.
The fastest browser
The browser war is upon us. Giants and dwarfs are in the same arena. And we really want to know which is the best application to use on our everyday tasks of browsing the web.
What we measure depends on what types of sites we usually go and what types of actions we do every day. For this article, we measure:
- memory consumption (how much memory consumes)
- reaction time (how fast the application reacts when an operation is requested)
- page render speed (how fast a page is rendered)
- page scroll speed (how fast the page scrolls)
The browsers we test are:
- Google Chrome
- Mozilla Firefox
- Internet Explorer
PHP Part 0. Introduction
I am writing this because I found a lot of PHP wannabes that do not have a clue about how the web works. This is a crash course about PHP programming. It is intended to put you on a free fall towards becoming a PHP programmer, without having to go through extensive documentation or senseless examples. This part contains how a web server works, what is PHP and how, when and by whom gets it ran.
Best Linux Distribution – Desktop
I know there are tons of articles on this subject. Some of them were the inspiration in writing this article. But, as I am setup to give something back to the community, here is my piece of mind.
For a long time now, I’ve installed, played, worked, cursed and loved a wide variety of Linux distributions. You should know some things about me, when talking about Linux. The first one is that I am a Linux advocate. I love it and, more important, I love the idea behind it. Largely about open source, the philosophy behind Linux is more than that. It’s a way of life, it’s the new Flower Power concept, it’s the old “Live and Let Live” idea behind some of the greatest human kind conquers. Search for these concepts carefully through the endless licenses and you will find them. Also, you must know that I am using the computer as a developer. I need the underlying operating system to work flawlessly. I am pushing it to the limit, because I am prone to mistakes. I cannot make a perfect program from the first run. The application will crash, loop forever or just hang. I need my operating system to be able to minimize the impact and correctly report the error and even recover my mistake but, more important, I need it to be eliminated from the errors I want to find and correct.
Using MySQL – the “default” option
Everyone (well, almost) is using PHP with MySQL. As soon as I want to change the database server, everybody starts asking Why? and, even when I explain what I need, before I can finish my sentence, they say: MySQL can do that! and give me a link with the article on MySQL site.
Personally I have nothing against MySQL. I use it every day and it never let me down (well, it crashed a couple of hundred times but it was my fault entirely).
From time to time I need a rebellion and I want to change the default server we are working with. This is indeed the real motive. Yes, it’s not a strong element in a contradictory discussion but I really want to. So I changed it with … of course … PostgreSQL… for about 10 minutes… and changed it back as soon as possible. Everything was gone. No 3306, no phpmyadmin, no nothing. I learned in 10 minutes that it’s more important what we are used to instead of a new thing. Of course, if you need some new feature, the change is not really a change but a change request.