Sunday, November 29, 2009

Has Anyone Had Hair Transplant In Delhi,

try-catch block

block try-catch is a Java control structure that allows us to handle errors that may be generated by the execution of a block of code, which guarantees that our program does not become unstable and that can end unexpectedly. For the errors that are generated at run time in our program are called exceptions.

The try-catch block is as follows:


Within the block try {... } Attempting to perform a series of actions, while in catch ( exc) {... } are caught any errors that may be generated to execute the series of actions. However, you can add to the try-catch block another code segment:









If segment try {...} no errors occur then the complete execution of this segment is passed to the segment finally {...}, otherwise the segment will run catch {...} block followed finally {...}.

class Throwable ( java.lang package ) is the superclass for all errors and exceptions in Java. Only objects that are instances of this class (or one of its subclasses) are thrown by the Java virtual machine. Exception class (also java.lang package ) and its subclasses are a form of class Throwable , this class shows how applications are responsible for handling errors.

Exception class has the following constructors:

Exception ()
Constructs a new exception with a null message.
Exception (String message)
Constructs a new exception with the specified message to display.
Exception (Throwable cause)
Constructs a new exception with a specific cause. Generally class Throwable contains the message of the cause of the error.
Exception (String message, Throwable cause)
Constructs a new exception with detail message specified and the cause.

are many errors that can be generated by running our applications, either by programming errors or by user data entry inersperadas, eg division by zero a number or address to convert a letter into a number. Some, among many other exceptions that are generated are:

ArithmeticException
Occurs when an exceptional arithmetic condition has occurred. Por ejemplo, cuando se trata de dividir un número por cero se lanza una instancia de esta clase.
ClassNotFoundException
Es producida cuando una aplicación trata de hacer referencia a una clase por su nombre y dicha clase no existe.
DataFormatException
Indica que se ha producido un error en el formato de los datos.
InterruptedException
This exception may be generated when a thread is sleeping, waiting or stopped unexpectedly and tries to stop another thread.
IOException
can generate an error in data input or output, for example, file operations and data flows.
NumberFormatException
Launched to indicate that the application attempted to convert a string to a numeric types, but the chain does not have the proper format.
ParseException
Indicates that an error has been reached unexpectedly while trying raalizar an analysis to a sequence of tokens.
PrinterException
Used to indicate that it has generated an error in the printing system.

In Java there are two useful keywords related error handling:

throw
Launches new exception.
throws
Indicates that a method can throw an exception.

Example: A program that performs the division of two numbers.



Example: A program that determines whether a number is integer or double.

Today

Saturday, November 28, 2009

Pichees Of Scooter Wiells



high-volume applications information and also need to give these data persistence. To achieve this, many systems applications interact with database managers to accommodate far-reaching information and data. In this post I will discuss how we can make a Java application to connect to a database created in MySQL.

To achieve this we need to have installed the MySQL driver (which can be obtained for free from their official website ) and driver that allows us to make such connection (classes that manipulate database records data).

Once downloaded
have to install the database manager. Inside the zip file of MySQL driver will have to find the jar file to place within our portfolio of Java classes ( .../java/jdk1.6.0_xx/jre/lib/ext ). In my case the downloaded file is mysql-connector-java-5.1.10.zip and contains a jar file called mysql-connector-java-5.1.10.bin.jar

With
manager installed and the MySQL driver in place we can create a test database and add some records. The following example is the structure of a database to store contacts in a book:



However, in order to manipulate those records have to make use of the classes in package java.sql . Some of the classes within this package are:


Connection A connection with a particular database.

DatabaseMetaData contains information about the database. DriverManager

Basic services for the management of a set of JDBC drivers .
ResultSet

Table of data representing a result set of databases, which is usually generated by executing a statement that queries the database.
ResultSetMetaData
object that can be used to obtain information on the types and properties of the columns in a ResultSet object. Statement

object used for executing a SQL statement.


The following code shows the records from the contacts in our database Agenda:


Lines 9 and 10 contain the instruction code for connection to the database through the getConnection (). This method has the following forms:

static Connection getConnection (String url)
try to connect to the database of the given url. Static
Connection getConnection (String url, Properties info)
Try to connect to the database espeficicando the url given a set of properties.
static Connection getConnection (String url, String user, String pass)
try to connect to the database of the given url, using a username and password.

Note that line 10 is marked with blue. Be careful to replace the values \u200b\u200b "user" and "password" for the appropriate user data that can access the database in the handler.

Thursday, November 26, 2009

Anthropologie Clothing

MySQL Java Connection Reading data from the keyboard with Java (fourth form)

Along with the version of Java 5 came a new set of classes, including one that allows us to read data from the keyboard even easier than previously seen classes.

Scanner class of java.util package which gives us the ability to process data entered from the keyboard under primitive type they belong to these entries. This is achieved by treating the input data as tokens of an expression separated by a boundary that we have specified.

Let's see an example of the above ...

turns out that we need to write a Java program that allows capturing personal data of a company's payroll. We read data such as name, address, age and salary of an employee. We know the names that will introduce the program String class, like directions. While the employee's age must be an integer value and the wage is given in numbers with decimals. In short:

String name = "";
String address = "";
int age = 0;
double salary = 0.0;

Earlier we saw that the class BufferedReader capture data allowed keyboard through method readLine () , which returns a value type we String would subsequently be converted to numeric processing. However, the class Scanner contains specific methods for reading data much faster and safer, but above all, without the need for conversions ourselves. Following is a summary of these methods:

constructor Summary:

Scanner (File file)
Creates a new Scanner that produces values \u200b\u200bfrom a specified file.
Scanner (InputStream inputStream)
Creates a new Scanner that produces values \u200b\u200bfrom an input stream of data.
Scanner (String source)
Creates a new scanner from a particular string.

Summary of methods:

void close () Closes

Pattern Scanner delimiter () Returns
Scanner delimiter pattern
findInLine String (Pattern pattern)
Try searching a string in the scanner to ignore the patterns
boolean hasNext ()
Returns true if the value contains more tokens Scanner
boolean hasNext (String pattern )
Returns a true value if the Scanner contains the specified pattern
nextBoolean boolean ()
Scans the next token of the input to a Boolean value and returns that value.
nextByte byte ()
Scans the next token of the input as a byte.
double nextDouble ()
Scans the next token of the input as a double. Float
nextFloat ()
Scans the next token of the input as a float.
int nextInt ()
Scans the next token of the input as an int. String
nextLine () Returns
entire current line.
long nextLong ()
Scans the next token of the input as a long.
short nextShort ()
Scans the next token of the input as a short.

Then, with the Scanner class can perform data reads to solve our example.



Wednesday, November 4, 2009

Crossover Emulator For Mac Trade Pokemon

Reading data from the keyboard in Java (Third form) responds to events

In the previous post on reading data from the second form use a method that returns the text we put into a command prompt / terminal until you press the enter key , or which is equal to that System.in receive '\\ n' (line using the backslash caractetes). The data that we receive the added to a string that is returned upon completion with the reading method. One way to perform the above process is helping us with a read buffer. Buffer to be defined as the space in the memory of our computer that we can store a certain amount of information temporarily or until they are processed.

class from java.io BufferedReader is a class that allows us to read data in sequence, which gives us greater reliability in the reading done. By default, the buffer created BufferedReader is large enough to cover virtually any need, and also gives us the possibility to obtain the text from a file or other information flow.

To read data from our console have to wrap within BufferedReader data flow manipulate them in our case we will use the keyboard to the class to wrap InputStreamReader also java.io package , a bridge between the standard input buffer and Java, as InputStreamReader is a decoder bytes causes us these bytes in the corresponding character. So it is strongly recommended to use the buffer for reading data. However, suffice to specify where to get the InputStreamReader to convert bytes to characters.

Some methods of the class BufferedReader are void

close () - Close reading of data flow Void

mark (int anchor) - Mark the position in the data stream int

read () - Read a single character String

readLine ( ) - Read a line of text

ready boolean () - Decide if the flow is ready to be read

void reset () - Restores flow to the brand
recent
Example:

{public class
Reading Public static void main (String args []) {
String name = "" , address = ", phone = " " ;
BufferedReader buffer = new BufferedReader ( new InputStreamReader (System.in));
System . out. Print ( Name: ")
name = buffer. readLine ();
System.out. print ( "Address:" )
address = buffer. readLine ();
System.out. print ( "Telefono: ")
phone = buffer. readLine ();
System.out. println ( "\\ nData enter: \\ n" + name + "\\ n" + address + "\\ n" + phone);
System. exit (0);

}}

Sunday, November 1, 2009

Sympathy About Cancer

JTextField Reading

At the request of my friend Pollitux talk about events that produce the keyboard on a JTextField to process data quickly on this component.
class JTextField javax.swing package is a class that helps us to create text boxes, graphical user interfaces, which can be adding in a form and ask the user for a value we need to processing such as name, age, address, email, etc. Like all elements have a lot of methods and I shall only discuss some methods relevant.
Builders:
JTextField () - Creates an empty text field.
JTextField (int columns) - Creates an empty text field with a specific number of columns.
JTextField (String text) - Create a text field with a message
JTextField (String text, int columns) - Create a text field with a message and a specific number of columns.
Methods:
Void
addActionListener (java.awt.event.ActionListener action)
Adds a listener component action events, there is generally when we enter into the text field.
void addKeyListener (java.awt.event.KeyListener eventoTeclado)
Adds a listener component events from the keyboard, including enter. Responds to events like pressing a key, and release a key when painting the character corresponding to the key in the text field.
void addMouseListener (java.awt.event.MouseListener eventoMouse)
A gregarious an event listener component generated by the mouse.
void setFont (java.awat.Font source) - I change the font for the text field.
Our focus is on the KeyListener interface. This class provides three methods that we implement and are responding to keyboard events mentioned above:
void keyPressed (KeyEvent evt) - This method is invoked when a key is pressed.
void keyReleased (KeyEvent evt) - This method is invoked when a key is released.
void keyTyped (KeyEvent evt) - This method is invoked when the character is printed for the key pressed on a text field.
NOTE: As KeyListener is an interface must implement all methods, however, if we do not need all the adapters to use the listening component. All interfaces of action have an adapter that helps us to implement only the methods we need, if we may use your class KeyListener adapted KeyAdapter call.

Here a small example of using the KeyListener interface:

java.awt.GridLayout import, import
java.awt.event.KeyListener;
import java.awt.event . KeyEvent;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField ;

EventosTeclado public class extends JFrame implements KeyListener {

    public EventosTeclado () {
        super ( "La interface KeyListener" );
        setSize ( 400, 150 );
        setLocationRelativeTo ( null );
        setResizable ( false );
        setDefaultCloseOperation ( JFrame. EXIT_ON_CLOSE );
        iniciarGUI ();
    }

    private void iniciarGUI () {
        JPanel pnlCampos = new JPanel ( new GridLayout ( 3, 2, -100, 0 ) );
        pnlCampos. setBounds ( 10, 10, 380, 85 );
        cmpNumero1 = new JTextField ( "0" );
        cmpNumero1. addKeyListener ( this );
        cmpNumero2 = new JTextField ( "0" );
        cmpNumero2. addKeyListener ( this );
        cmpResultado = new JTextField ( "0" );
        pnlCampos. add (new JLabel ( "Number:" ));
pnlCampos. add (cmpNumero1);
pnlCampos. add (new JLabel ( "Number:" ));
pnlCampos. add (cmpNumero2);
pnlCampos. add ( new JLabel ( "Sum:" ));
pnlCampos. add (cmpResultado)
getContentPane (). setLayout (null )
getContentPane (). add (pnlCampos)
}

public void keyPressed (KeyEvent AD) {
Sumar ();
}

public void keyReleased (KeyEvent AD) {
Sumar ();}


public void keyTyped (KeyEvent evt) {
summer ();}



private void summer () {
double amount = 0;
try {
; = double the amount. parseDouble (cmpNumero1. gettext ()) + double. parseDouble (cmpNumero2. gettext ());}

catch (NumberFormatException exc) {
sum = 0;

} finally {
; cmpResultado. setText ( "" + suma );
        }
    }

    public static void main ( String args[] ) {
        new EventosTeclado (). setVisible ( true );
   
}

private JTextField cmpNumero1;
private JTextField cmpNumero2;
private JTextField cmpResultado;
}

Tuesday, October 27, 2009

Regression Mrqmin Non Linear

keyboard data from the keyboard in Java (Second form)

Now let's see how to read data from the keyboard in a console application / terminal with the help of the class reading standard Java.
System
class, package java.lang , contains many classes that work at the system level, such as data input or output standard output error messages, access to external factors or system environment variables, among others. We, for the moment we are interested in the "in" System class that represents us the standard input stream of Java. Typically this data input stream from the keyboard or reading some other source is specified as a text file or an element in the network. In the field has the form (signature):

public static final InputStream in

Which tells us that the field is static and can not be instantiated and returns an input stream of data to be called. But how we read the data from the keyboard?

If we had in us back a stream of bytes from a particular source (in this case remember that is the keyboard), then we use the method System.in. read (), which returns the integer value of the next byte in the flow of information is given in reading and range from 0 to 255. All we do is control the reading, since System.in . read () will return only a single value.

To achieve This method can get into a cycle and is interrupted once we have introduced an escape character, such as Enter. And more aesthetic yet, we can use it inside a character reading function:

public static String read () throws java.io.IOException {
; char character;
String value = "";
do {
; character = (char ) System.in. read ();
character value + = value;
}
while (character! = '\\ n' )
return value;
}

The above method reads data from keyboard until the user presses the Enter key. What is happening is that the method read () returns us ascii value of key pressed and what we do is represent their character equivalent.

important thing! System.in. read () throws a or exception IOException input / output data, which will prevent errors in reading at the moment does not control this exception and let the virtual machine directly controls, so we indicate the method of reading to launch it into the top level, ie where it is used. Obviously, if we import the java.io package not necessary to include the entire class path IOException.

Thursday, October 22, 2009

Oxycodone During Waxing

Reading data from keyboard Java (First form)

This way of reading data from Java is perhaps the simplest and easy to understand when we are beginning to write programs in Java.

To do so, we will stand with the JOptionPane class, which will show a dialog box where you can enter data for any process that we require of our program. This class is part of the javax.swing package, container has also to other elements or classes for building graphical user interfaces.

The class contains methods we can easily use which are:

showConfirmDialog - Used to present a confirmation dialog box
showMessageDialog - Used to display a simple message on the screen as a warning or a error.
showInputDialog - That we used to enter data to our application for processing.

For now, we will focus our attention on showInputDialog method that will help us achieve our mission to read data from the keyboard. This method has several ways of which we we assert, the most common:

static String showInputDialog (Object message)
dialog box displays a data entry in the center of the screen

static String showInputDialog (Component component, Object message)
dialog box displays a data entry refers to the center of the specified component.

static String showInputDialog (Component component, Object message, Object valorInicial)
dialog box displays a data entry refers to the center of the specified component with an initial value for the input.

static String showInputDialog (Component component, Object message, String title, int type)
dialog box displays a data entry refers to the center of the specified component with an initial value for the entry and icon specified by a kind of dialogue with the user.

methods for the parameters are:

component. is the component which refers to the dialog box focus when the component is not specified, the screen is taken as the reference and the dialog box appears in the center of it.

message. is the message or information presented to the user want to let you know the data that we require that you enter.

valorInicial. is the value that is set by default for data entry. Appears within the text of the dialog box.

title. is the message that appears in the title bar of our dialog.

type. is the kind of message that will be presented to the user represented by an icon. Icons for the dialog box can be:

ERROR_MESSAGE - An error message
INFORMATION_MESSAGE - An informational message
WARNING_MESSAGE - A warning message
QUESTION_MESSAGE - A query message
PLAIN_MESSAGE - A message without icon, message
plane
showInputDialog The method returns the text field value or null pressing the cancel button.


Example:

1. Import javax.swing.JOptionPane;
2.
3. public class Entry {
4. public static void main (String args []) {
5. String name = JOptionPane. ShowInputDialog (null, "Enter your name:", "Your name here", JOptionPane.INFORMATION_MESSAGE)
6. System. exit (0);
7.}
8.
}

Wednesday, October 21, 2009

Example Of Application Letter For It

Installing and configuring JDK

As in the previous post installation JDK on XP, download the Ubuntu virtual machine from Sun official website. In this case download a file. Bin that will be installed as follows once you have downloaded:

terminal in a Change to the directory where the file we have descargdo Java, in my case I have downloaded to your desktop. Once located in the folder use the chmod command to access the binary file in run mode:

$ chmod + x jdk-6u16-linux-i586.bin

The value "16" can change depending on the version you want to install. Now to run the installation file will do as root as follows:

$ sudo ./jdk-6u16-linux-i586.bin

and typing our password user. Automatically display the license agreement for Java, which can go by pressing the spacebar. Once finished reading the contract we have to accept it by pressing Y and then enter. When you end the process of generating the JVM folder and press enter to continue in your browser will open the registration page Java.

The above process creates a folder with permissions that have to move to a folder of Java libraries for our system with the following statement:

$ sudo mv jdk1.6.0_16 / usr / lib / jvm
where / usr / lib / jvm is the destination folder

Now install the new version of Java as one of the alternative system as follows:
 
$ sudo update-alternatives - install "/ usr / bin / java" "java" "/ usr/lib/jvm/jdk1.6.0_16/bin/java" 1

and establishes the new alternative to Java:
 
$ sudo update-alternatives - set java / usr/lib/jvm/jdk1.6.0_16/bin/java
 
NOTE: update-alternatives serves to specify a schedule for a task that we want to make through blogs.
 
now establish the system alternatives to compile the programs from any location through a terminal with the following two statements:
 
$ sudo update-alternatives - install "/ usr / bin / javac" "javac" "/ usr/lib/jvm/jdk1.6.0_16/bin/javac" 1
 
$ sudo update-alternatives - set javac / usr/lib/jvm/jdk1.6.0_16/bin/javac

Just as in Windows, we check whether we have done successfully above process verifying the versions of the virtual machine and Java compiler.


Teachers Confidentiality Eating Disorders

Installing and configuring Ubuntu on XP JDK

order to run our programs written in Java without needing to install an IDE, which I recommend to begin to familiarize themselves with language, using the console Windows with the command EDIT or gedit in the case of Ubuntu.

What should we do first is to download the latest version of Java Virtual Machine from official site for the operating system you're using and accept the license to use Java. Once you have downloaded the virtual machine will proceed to install and configure it as follows:



In XP automatically starts the installation by double-clicking on the program installation and displays the welcome screen that tells us that this program will guide you through the process Java installation. Next, we must accept the license agreement, usually no one reads ... Well, here's something interesting and this is a personal recommendation, many people may differ, to accept the license agreement screen appears that indicates the location of the virtual machine on your hard disk. By default this is " C: \\ Program Files \\ Java \\ jdk1.6.0 " I would recommend that the installation is made directly in C: \\ Java to access the files you generate from the window commands more quickly and not have to navigate through folders. But it is a personal view. Remember though this route because we will need later.



By clicking the "Next" starts copying the files. Halfway through the process again we ask now the installation path of the JRE (Java Runtime Environment or Runtime Environment Java ) which is the set of Java libraries that other programs need to run, like Limewire , for example. After the copy of these files is presented to us a window that says the installation is finished completely.

Now if we compile and run our Java programs to any location on your hard disk from the DOS console will have to set environment variables for Java, which we will do as follows:

Open the Run dialog box by pressing "Windows key - R " or following the path " Start - Run " both without quotes. Within that little picture also enter the following command without quotes: " sysdm.cpl" which serves to directly open the system properties. At the top is to do window click "Advanced" and then clicking the Environment Variables button.



In the window that appears look for in the section "System Variables" variable "Path." What we have is to add a ";" (without quotes) plus the path to the bin folder where you installed Java pressing the modify button. For example, in my case:

; C: \\ Java \\ jdk1.6.0_16 \\ bin

Why bin? Because inside that folder is the compiler and the Java interpreter. When finished press the button to accept. To make sure we have correctly installed Java open cmd and type:


java-version and we enter
ara to show us the Java version we have installed. And

javac-version

to show us the version of the Java compiler.


Finally, the installation process and settings in Windows Vista is the same.

Sunday, October 4, 2009

Why Gas Takes A Long Time To Light The Stove



In this first entry I'll talk a little about what I am learning the basics of programming classes about the basic structure of a program written in Java.

The following example prints a message on the screen and terminates.


  1. / / Saludo.java
  2. public class Greeting
  3. {public static
  4. void main (String [] args) {
  5. System.out.print ("Hello world!");
  6. System.exit ( 0);}
} To run this first program we use various means, such as do it from a terminal or console of your operating system or help of an IDE (Development Environment integrated) as NetBeans or Eclipse , to name a few.

What makes this program?

In line 1 we are putting a single line comment is specified by the two diagonals (/ /) and followed by a message which will be ignored by the compiler when error checking. Not visible on the screen. Its utility is to present messages to those who wish to read our code.

Line number 3 says

public class Greeting {public

and class are Java reserved words and thus we are telling the compiler that we will write a main class within our Saludo.java file whose name is healthy. For convenience the main class name should match the name of the file. What is also good programming practice is to have the following considerations:

  • The class names are written with the first letter capitalized.
  • The names of the members and methods are written with the first letter in lowercase.
  • must follow the rules for writing the names of identifiers in Java (of which I will not talk).
The left key is defining the scope of the class.

On line # 5 are:

public static void main (String [] args) {

We are declaring the main method of our program and where it begins execution. public words, static void and Java language are reserved, meaning that we can not use as names of members, methods or classes. The keyword public indicates that the main method is known externally to the class, also static and may be referenced without the need to create an instance of the class externally to its scope, whereas void indicate that the function will return unsuccessful. The parameter passed to the main method is an array of strings, a series of arguments that we send to the function to perform a particular action is with them. In this case are not used. Finally the left key that defines the area of \u200b\u200bprimary function. In line

:

System.out.print ("Hello world!");

we are using the Java standard output when using the System. The print () method of System class can receive as parameters of data type integer, float, double, character, boolean or string to display them as messages to the screen.

With instruction System.exit (0); indicate that our program is completed with error code 0, ie, without error.

Finally finished the main scope of the class and the class greet with the right brace (}).

If we run our program in the Windows console gives a result like this:




Wednesday, May 20, 2009

Ap Bio Hardy Weinberg Problems And Answers

Riding partimage image made

After installing ubuntu on the eee jaunty and see that everything works properly, we must retrieve the data I had before the backup I made.

The issue is that the backup I made by cloning the entire SSD using Clonezilla
. I've been researching Clonezilla uses partimage to backup. So I found this link, which explain how to mount the image and thus be able to copy the files.
The only difficulty I found is that part
partimage files. So before I had to do the following:


Airuno amoyse @: ~ $ cat sda1.aa sda1.ab sda1.ac sda1.ad> sda1.img

this file is now the who uses stop restore the data as shown in the previous link, here is the summary of the steps to follow:



  amoyse @ Airuno:    ~ $ dd if = / dev / zero of = myharddisk.img bs = 1000 count = 0 seek = $ [1000 * 1000 * SIZE]   
  Airuno amoyse @: ~ $    losetup / dev/loop0 myharddisk.img   
  Airuno amoyse @: ~ $    partimage restore / dev/loop0 sda1.img   
  Airuno amoyse @: ~ $    losetup-d / dev/loop0   
  Airuno amoyse @: ~ $    myharddisk.img mount / path / to / dir-o loop   

Thursday, May 14, 2009

Buy Platinum In Mustafa Singapore

Installing Ubuntu 9.04 on EeePC 701 8G

I decided to change the Debian Lenny + LXDE which was installed on the EeePC in Ubuntu 9.04.
The truth is that the installation was very simple from a USB flash drive. I just had to follow the instructions on the page itself
Ubuntu and everything worked at first, the wifi, webcam, sound, etc ...
Now that I have it installed, you have to tweak a few things to make things even better: First

see this post .
    Move windows with Alt + Mouse
  • must put this line in the terminal, as we have in this thread EeeUser
:

Airuno amoyse @: ~ $ gconftool-2 - type bool - set / apps / compiz / plugins / move / allscreens / options / constrain_y 0
    install a kernel optimized for my model 701.

  • Just follow the instructions on this page
http://www.array.org/ubuntu/index.html .

    temporary files in RAM
  • To this point I followed the instructions in this post
, summarizing, . must be added in the / etc / fstab these lines:

tmpfs / tmp tmpfs defaults, noatime, mode = 1777 0 0
tmpfs / var / log tmpfs defaults, noatime, mode = 1777 0 0
tmpfs / var / tmp tmpfs defaults, noatime, mode = 1777 0 0

. Sysklogd stop service, delete the files and mount tempore new directories:

amoyse @ Airuno: ~ $ sudo / etc / init.d / sysklogd stop Airuno
amoyse @: ~ $ sudo rm-rf / tmp / * @ Airuno amoyse
: ~ $ sudo rm-rf / var / log / * @ Airuno amoyse
: ~ $ sudo rm-rf / var / tmp / * @ Airuno amoyse
: ~ $ sudo mount-a
amoyse @ Airuno: ~ $ sudo / etc / init.d / sysklogd
start

    Optimize Firefox. To do this you must follow the advice in this
  • page.
  • . Using a theme Classic Compact
compat. Point made smaller.
. Installing the Fission
. . Installing the Fullscreener
. . Install the plugin for a smaller menu, as
Personal Menu. . Install the plugin for delicious.
. Move the cache to ramdisk. To do this modify the following properties from
about: config
browser.cache.offline.enable make false
browser.cache.disk.parent_directory to a directory that is ramdisk (as / var / tmp ). Eee

Thursday, April 9, 2009

Footie Pyjamas Pattern

DNIe Ubuntu Intrepid with C3PO reader External Data

I bought the DVD of DNIe C3PO and I put LTC31 to work for use with Ubuntu Intrepid. To do this I followed the instructions in this post of packages to install openct
does not get along with opencs , so that should not be installed. Therefore packages to be installed would be:


amoyse @ mini: ~ $ sudo apt-get install libccid libpcsclite1 pcscd pinentry-gtk2 libopensc2 mozilla-opensc opensc pcsc-tools-tools libnss3 libnspr4-0d-1d libnss3

Then you have to install the appropriate package that we can download from the official web
electronic ID. When you install this package we set the Firefox browser and install the root certificate.

Published:

To work in Firefox, you have to do the following steps:

1. Register the device, for this run this URL from Firefox:


file ://// usr / share / opensc-eID / instal_dnie / instala_modulo.htm

If this step fails, make sure it is the ID card with the PC connected to the service

pcscd started. To start it:

amoyse @ mini: ~ $ sudo / etc / init.d / pcscd start

2. Register the root certificate for this run this URL from Firefox:


file ://// usr / share / opensc-eID / instal_dnie / ac_raiz_dnie.crt
3
and check mark displayed on the screen.


Saturday, March 21, 2009

Bible Verse To Put On Wedding Cards

BOLOGNA

me if Bologna

Bologna, a process that leads to all European universities to a university convergence is a daunting task, but that certainly impact positively on the overall formation of the next generations of students. Possible, such convergence, an equal treatment of all undergraduate degrees (4 years comparable [down] to our present degree), is also doing a Masters then (2 years) for specialization, with the goal post (for which they consider) the PhD. CHANGES

Think that there will be an ongoing assessment and not just a final exam, with all that that implies, of course. Involves, first, that the student (the poor student) will not be able to pass a course (core or compulsory) studying only a few weeks before the test, as today. The student must show / demonstrate to your tutor (university teacher) that is capable to face the final exam with a thorough preparation throughout the year, thanks to work via the Internet (with all the traps that may involve the operation). In any case, as today a degree is not synonymous with nothing, not even an alleged culture, as the most important value today is the "perseverance" as we are up to 78% of students who, either suspended or NO exams are presented. His only virtue, perseverance. I think they need any way you can change this system where premium not-obviously-but the expansion excellence across studies over time ..

is considered, not without a lack of glimmer of reason, by the students, there will be a sale of the second stage (Master) and therefore detract from the economically backward classes. It is less clear ... will offer students opportunities for integration in companies where they can pursue their Masters and although in a somewhat precarious economic conditions (can not forget that now the situation is much worse ... the student works as an intern, with a negligible or even pay without pay [in my group do not pay anything to work in an office for several years?]) may carry out their jobs in real companies, enabling them to cope future challenges with a better adjustment to the current. Obviously such work is not mere physical presence in a workplace, is obviously performing a particular job and its control by their line managers (companies) and the transfer of such controls when the university tutor for grading students final.

students also complain (part of that group) that students who work will be closed the possibility of studying a race as I would not be so sure ... in principle, implying Bologna is: there will be less master classes and more work hung-intranet-different universities, for its realization. The above makes me think that a student working , have even more time to complete, and that by failing classes (many), strictly speaking, that this collective favor. I do not understand the criticism as Bologna in this regard. STUDY

[graduate and doctoral]

INTERNET / INTRANET

Positive

Intranet Connect to a University is a dramatic change in student behavior. But can he see any work without leaving your home, you can access the tutorial teacher your course, you can download the commissioned work for its implementation, consult notes (like now), will evaluate their work regularly, you can compare different opinions with others, encourage the student teacher relationship, will be available to Professor Bibliography is estimated required to monitor their subject in order is a crucial step and use of new (new?) technologies to the University, not as a passive model, as before, but promotes a new dynamic, student interaction better teacher-current in short, everything points to be a success.

Negative

In a stage where the cutting and pasting (to acquire information on the Internet) is a source of many documents, do not forget that many PhD students (future doctors) have been investigated for these reasons ... and take their "alleged "thesis by his guardian days before submission to the Tribunal to determine their worth and recognition as a doctor. Cases are thankfully minimal, but instead they perfectly clear that the Internet is a source of knowledge which enables any ruse, scheme, or duplicitous behavior, which therefore were not able to achieve with their own (study, discipline, record) to reach these targets university. The different university in our country are well aware of those situations. Less, thankfully.

the foregoing think Bologna is an incentive for university students from across Europe and cohonestación studies in their field. Welcome for culture. It is not good to criticize everything that moves, without sufficient argument. Santiago Cardona