Monday, January 25, 2010

Dowland Gratis Drivere Maxtor One Touch 2 300gb

How to play HD video with XBMC and Atom 330

To play videos at 720p and 1080p, with XBMC at first sight it does not work very well.
I know that the graphics card is not very powerful, but looking at the use made of the CPU seems to not using the 2 cores have the Atom 330. Looking a bit
see that ffmpeg is not multithread, there looks to be the problem and looking for a little more I see that mplayer can be compiled with ffmpeg-mt which is the experimental multithread ffmpeg version.
So get to work, install mplayer-mt this repository:

https: / / launchpad.net / ~ rvm / + ppa-packages

Once it is installed need to configure XBMC for HD video playback with the multithreaded version of mplayer you just installed.


This searching the XBMC wiki link find this tells us how. Summarizing
need to edit the file's contents ~ / .xbmc / userdata / playercorefactory.xml with this content:


\u0026lt;playercorefactory>
\u0026lt;players>
\u0026lt;player name = "MPlayer" type = " ExternalPlayer "audio =" true "video =" true ">
\u0026lt;filename> / usr / bin / mplayer \u0026lt;/ filename>
\u0026lt;args>-fs -lavdopts threads=4 -lavdopts lowres=1:fast:skiploopfilter=all "{0}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>true</hideconsole>
<hidecursor>true</hidecursor>
<forceontop>true</forceontop>
</player>
</players>
<rules action="prepend">
<rule filename=".*720.*
\u0026lt;/ playercorefactory>


With this as the name of the file you want to play have 720 or 1080, MPlayer will be used instead of the default player for XBMC.


Published: With the CoreAVC codec windows look much better. Here shows how to install it in ubuntu

Monday, January 18, 2010

Pokemondeluge Fast Exp

String class. 2nd Part

Control positions in an array.

A common mistake when you're new management arrangements is that we can get confused when referring to the positions of the elements. As in other classes, Java provides components that allow us to control possible errors that can arise when working with arrays. One of the most common mistakes is to refer to elements in the array that are not within this limit. That is, try to select the item in position 11 when the array has a length of 10 elements. If you incur an error like this then it throws an ArrayIndexOutOfBoundsException . This exception indicates that we are referring to a position outside the limit allowed in the settlement.

The following example throws an ArrayIndexOutOfBoundsException.


If you compile and run the above code will present an error message like this:


If we handle this kind of errors then we must make use of try-catch block and catch the exception.


Sort array elements (bubble method) .

One of the most frequent operations in an array is sorted in ascending or descending the elements that compose it. On the Internet we can find a lot of information management methods arrangements, the bubble method is one of the simplest. This method consists in going through the array elements and place them in the correct position according to the order that they should take.

Take the first array element is compared with all others, if there is a greater or lesser number, as the sorting criterion, the element is found stored in a temporary variable, the element comparison is overridden in the element's position more or less, and finally the auxiliary variable element is placed in the position of the item you are comparing. This process is called bubble and repeat now with the remaining elements of the array and you do not take into account the previous positions since it assumes that you are sorted.

The following code shows the elements of an array sorted by an ascending bubble:


Sunday, January 17, 2010

Japan Women Clothes In Larger Size

arrangements. 1st Part

Sometimes we find problems in which they have a need to handle large volumes of information of the same type. For example, suppose you want to manipulate the payroll of a company which is 150 employees in production. It want to control the payment of individual workers based on hours worked and should be considered deductions for the savings fund and insurance.

Although there are many ways to solve this type of poblem a good solution is to use data structures that allow us to manipulate information quickly and organized. This time I will discuss the use of arrangements, the first form of data structures, perhaps the simplest.

A under a structure or collection of items of the same type of fixed length, that is, a memory segment of our computer that we can store a fixed number of elements in a row, for example: a list of phone numbers of employees of a company or a list of dates of birth of the companions of classroom. Arrangement is represented graphically as follows:


data are stored consecutively one after the other from the position 0 (zero) to array length minus 1. If you have created an array of length 10 will begin to store the data from position 0 to position 9, as shown in the picture above. In Java, arrays can be data structures of primitive or composite, for example arrays of integers, floating point numbers or strings and arrays of objects and GUI components.

How arrangements are made in Java?

To create an array of any type in Java can use the following forms:


In line 2 we declare an array called ages of integer (int ). For syntax, all elements which are declared as arrays will be placed the corchetes ( [ ] ) en su declaración. En Java los corchetes de los arreglos pueden ir antes del identificador o después del mismo, tal como se ve en la línea 8 de la imagen. El operador new hace que se reserve el espacio de memoria suficiente para la manipulación del arreglo. En la línea 3 se inicializa el arreglo de enteros con una longitud de 10 posiciones de memoria. Mientras que en la línea 5 declaramos e inicializamos en la misma línea un arreglo de calificaciones de tipo doble.

Si deseamos asignarle valores al arreglo en su inicialización, tal como lo hacemos con las variables o constantes, entonces no se especifica la longitud del arreglo, aunque en su declaración seguiremos placing the brackets after the type of data, after this post the initial values \u200b\u200bof the array inside braces ({} ) and separating each array element with a comma. In the example of line 8 are declaring an array of strings, so the values \u200b\u200bare placed in quotation marks.

By using the operator new virtual machine automatically initialize the array elements. Some examples:

  • integer elements are initialized to 0.
  • floating elements and double is initialized with 0.0
  • string elements are initialized to null .
Something important, since Java arrays are objects, all have a length field (length ) in which stores the length of the array we've created.

The following code declares an array of integers and print its contents:


The following code declares an array of integers and assign a random value to each position of the later prints the values \u200b\u200bcontained in the array:



All

Wednesday, January 13, 2010

Savanna Does Dale Samson

Creating backups with mysqldump

if Not that the vast majority of the systems must have a subsystem to generate backups of the information handled and which may subsequently be used in the event of any loss of relevant information. In this post I'll talk a little about mysqldump that lets you create fast backups of our databases.

mysqldump is a command that comes with managing MySQL databases, which allows us to make a backup of the databases the system as a whole or only some tables that we are interested in supporting. On the Internet you can find much information about using this command. You will only discuss how we can support a database in a plain text file and then retrieve the information we have supported.

To be used mysqldump is inside the bin folder of MySQL.

Windows: C: \\ Program Files \\ MySQL \\ bin \\ mysqldump

In Ubuntu: ; / usr / bin / mysqldump

Obviously, the location may vary depending on the installation process of each person.

Al mysqldump we can send some parameters to perform specific tasks, some of these parameters are:


- databases (databases) Copy all databases.
- opt (Optimization) It allows you to backup quickly.
- user (User) Specify the administrator user name system database.
- password (Password) You specify the administrator password.
- tables (Tables) Override option databases. You can specify the tables you want to support a database.

More parameters can be sent to mysqldump can be found in the reference page about this command.

Examples of using mysqldump:

a) Supporting all database called Customers.

mysqldump - opt - user = user - password = password Clients> / home / username / Desktop / respaldo.sql

b) Support the tables and Sales Directory database customers.

mysqldump - opt - user = user - password = password - Customers tables Directory Sales> / home / username / Desktop / respaldo.sql

Now, to retrieve information from the generated files and load the database using mysql command as follows:

c) Restoring the backup file and upload the information respaldo.sql the Customers database.

mysql-u username-p Customers \u0026lt;/ home / username / Desktop / respaldo.sql

the process for Windows is similar, only there to replace the file paths that we generate.