Archive for the 'Computers' Category

Makefile for Java

gnu make How many of you Java programmers have had problems compiling programs? libraries out $ CLASSPATH, passing parameters in kilometers from the Java compiler. Even using development environments for Java the situation does not improve much. We spend a lot of time paramter and set every time you start filling missing something!

You can avoid all these problems simply by organizing the Java source and using a Makefile written for that purpose.

Deleting files created by the opening of a store

How many times we've extracting archives and end up with hundreds of directories and files scattered everywhere. This happens when files are created are not including the workbook. What you could do until recently is to remove all new files being careful not to touch the files that were there previously. Now thanks to this little bash script can do this quite automatically and without risk to the system and for our files.

MUSICI.IT: born of the most innovative portals ads for musicians

logo Musici.it Become the main reference point for musicians of all kinds, from all over Italy, to create the ultimate expression of art: the music!

It is with this ambition Musici.it wants to offer its users a platform to give visibility to thousands of listings, revolutionizing the level of interaction-site user, thanks to strong studies on web utility applied to the design of the layout.

March 31, 2009 • Tags: , , • Posted in: Computers , NewsNo Comments

Looking for the perfect CAPTCHA

A CAPTCHA, "c ompletely to utomated p ublic T uring test to tell omputers c and h umans apart", is a test that can determine whether the user is actually

human and not a computer. These methods are used to prevent bots from using services like writing comments or fill out the form. The use of captcha appears to be essential to prevent the proliferation of spam.

How do you judge a good captcha

Many of you think that a good captcha is the most difficult to resolve. So to make life difficult for algorithms. To view those type algorithms are indeed able to convert an image into a text called Optical Character Recognition.

I believe that the characteristics that make a good captchas are others, such as accessibility, easy understanding by a human, can be generated automatically, yet complex enough to be unable to be solved by algorithms also based on artificial intelligence.

The challenge I have set myself is the ability to create a single captcha that has these characteristics. Why do I say unique, because more and more sites using more than one authentication method in parallel as a visual captcha supported by a sound. After they realized that one of them or both fail.

Goldbach's conjecture

A conjecture is a statement as probably true but not yet proven. A vote demonstrated its validity becomes a theorem. Goldbach's conjecture is one of the oldest problems to be resolved, dates back to 1742, was enunciated by Euler to Goldbach and restated as follows:

Every natural number greater than 2 can 'exer written as the sum of two
primes.

Trying to prove its inaccuracy

On a conjecture we can make two types of demonstrations, we prove its correctness or its inaccuracy. Obviously one excludes the other. We will try to prove that conjecture is false, to do this just to find a counterexample canvases that the statement is false. So in our case, just find a single number which is not the sum of two primes. To find this number will write a program.

SignID: an avatar as an alternative to Identicon, and MonsterID Wavatar

What is an avatar?

An avatar is an image generated uniquely identifiable from each commentator on a blog in order to associate the various comments to users. To do this can be considered the IP address, but doing so would have different avatars for the same user who commented in two sessions (with different IP), separated, or email address.

This image uniquely identifies a user, some sites allow registration and entering your avatar. This necessarily leads to the interference that can post a comment you must first have made a recording. The way to overcome this problem exists and is very simple. There are some sites, the best known is Gravatar which combines an image to a hash. The hash can be calculated from the email address of the user while the image may be a Identicon, or MonsterID Wavatar as shown.

Bashnya the evolution of Russian lady

lasca The game, called Bashne has spread to Russia in the nineteenth century, the first description dates back to 1875. E 'in some way related to the

Russian Checkers (the starting position is the same), but the rules of capture are completely original. The game has inspired in 1913 the Laska or leave it, designed by the then world chess champion Emanuel Lasker, the difference between the two games is simply the size of the board.

We will see the game first and then a program which allows us to challenge anyone in this game.

mail text or HTML? Reasons to choose the text format

Before listing the reasons I say that is not a problem to receive mail in HTML and there's nothing wrong with the invitation. I believe that only the formatting of a mail as text size, the font color and font background is for the receiver and the sender of the [...]

February 2, 2009 • Tags: • Posted in: Computers , NetiquetteNo Comments

Rename photos with date of capture

Definitely will happen to you to unite under the same directory as the pictures taken by several cameras. Maybe because it concerns the same evening or the same holiday. Then when we see them as we are not ordered, but before that time so there are all those taken by a machine, then all those [...]

Solving Sudoku

We will see together how to write a program to find the solution to a Sudoku.

We pass the game. It is played on a 9 × 9 grid divided into 3 × 3 grids that other regions or call boxes. The sudoku starts with a grid containing numbers already, the goal of the game is to fill empty cells with [...]

Volumegain: alignment of the volume of stream

The problem of alignment of the audio

Listening to different audio tracks often perceive different levels of volume. These constant changes in volume between tracks and the next can be very annoying, can cause us to lose concentration and constringerci constantly changing the volume level manually.
The problem affects all cases where you need to concatenate tracks [...]

ssh / scp Password command line and shellselect

Why is it wrong

There will be past the head at least once in your life can change the password as an option to the ssh client. So why OpenSSH has not provided?

Some reasons might be these

Not sure if we pass the password as an option will be logged between the commands you type, finds the file ~ /. Bash_history, [...]

Hacking of videophones (3)

Configuration Check

Open the web interface of the phone and verify that the parameter TR069_Enable is set to 1, if not, we should enable it, sure that phones with very old software, even if they have the parameter, did not implement the protocol.

DNS configuration in our Linux box

To start the first tests we need [...]

December 12, 2008 • Tags: , , • Posted in: Computer3 Comments

Hacking of videophones (2)

Priam http://192.168.1.2:8080/ your browser to a login page and you will see very skinny, probably the web interface is made for debugging and used only by insiders (and us! )
A page appears with a numeric keypad on which we should enter a code to get access

At first sight does not give me the impression [...]

Hacking of videophones

Let us understand the operation of fixed videophones that allow video calls. In particular we will study the software update. This procedure works for most phones, probably all of those produced by TLC Urmet. If any of you make some tests with other devices can communicate so as to update the list.
Phones on which I [...]