This short article will learn you how to perform face detection in PHP. So basically we are going to make use of OpenCV ( you know it you are using it everyday …aren’t you ??
) we actually will abuse only on face detection algorithm that comes with it. We are going to compile the face detection as an .so module for php and hook this module in PHP.
Requirements:
- LAMP stack installed, you know… Apache 2, PHP
- Build essentials (gcc compilers and all the hoard )
- A Linux distribution (mine is Ubuntu 11.something)
- 1 beer & nothing beater to do
Continue reading »
Continue reading »
The increasing number of users who have access to the internet has lead technology as we knew it to a new evolution step, I am specking about cloud computing and the way this new paradigm is affecting the way we are thinking and writing applications. Today there are 3 main giants witch are providing cloud hosting solutions/platforms: Google, Microsoft and Amazon. The price are almost identical, the big difference is in the supported technologies/ programming languages. In the next list
The main problem about computers in nowadays is that they all are, or at vast majority, are based on the same computation model, the “von Newman model “, that we are all knowing from school. In this article I am going to present a less know face of computability, basically I am going to scratch the surface of the networks of functions.
The idea behind such systems is to create some networks of functions , witch are some functional units that can perform some operation on the input(s) and generate a single output. Mainly the idea from function networks is used also in the artificial neural networks, with the big difference that in the case of the neural networks, the functions are bulided based on the training information.
Continue reading »
Continue reading »
In this post I will explain some basic methods for creating XML serialization of objects in C# and Java but before let’s take a look and see what actually XML is and when should we use it.
XML or eXtended Markup Language is as it says his name nothing more the a markup language same as HTML, but the main difference beside the possibility of creating you’re own tags, is that XML is used to structure information.
It’s alive!!! Finally I have enough time to finis a first pre-alpha release of my CMS (code name theGlowfish).
There’s a long time in the galaxy since I haven’t post on my blog and now, finally here I am, posing a new article. Today I will speak about htaccess mod_rewrite. Well despite the tons of examples and docs, mod_rewrite is voodoo. Damned cool voodoo, but still voodoo.
The majority of the web servers, that are based on Apache, have the mod_rewrite enabled so you don’t have to get dirty to install it on the hosting server.But anyone of those that are developing web application based on Apache server, using PHP have a local installed server therefore mode_rewrite is also necessary in testing process. Continue reading »
A lot of people are asking me how they can protect the source code of HTML of they’re site from being seen or worst being stolen. Well, the simple and short answer is that you can’t everything that the browser loads to render it can be seen by the user. The simplest method to protect you’re source HTML code is never to publish it on Internet
.
Well seriously, there are some meta methods to protect you’re HTML source from being seen by a common user not from an expert user.I will enumerate some methods starting with the simplest. Continue reading »
ASP.Net and JSP are two wonderful enviroment to create web application, application that are easy to modify and adapt to all requirements, but the major problems of ASP.Net and JSP is that they are not cheap and slow, in fact there are not many hosting provider that are offering hosting service for this technologies at a affordable price (for a common user ).
Therefore other affordable technology like PHP are commonly wide used by most common users. In comparison with Java or C#, PHP language is pretty simple and doesn’t relay on so much formalism and doesn’t need a lot of knowledge about programming, allowing users to create application without knowing much think about programming technique.
The side effect is that the applications developed in this way are extremely hard to debug and even more harder to extend from a very wide variety of factors, some I will discuss later in this paper.
- The first think to speak about is the “spaghetti code” where the entire application logic (code) is meshed up in same file, you know what I am talking about: a lot of if/else/for/while and functions with no logic organization. To extend such crap application wrote by some other programmers is quite hard and unproductive.
- Since version 4 PHP offers OOP(object orientated programming) but it seams that most of users doesn’t know how to use it right, how to increase their productivity using OOP programming technique and software engineering technique .It seams that web programmers are still writing code like in the stone age.
- Another problem, the biggest one is that users are creating applications dependent on design. The design of a web site is changing frequently that means restructuring the code again and again and again.
The list is still open. I will continue to add more and more bad programming technique.
Cateva imagini comice gasite pe net care cred ca merita vazute Continue reading »
) .




Recent Comments