Clasified in Notes of Computers of University.
Written at November 27, 2009 on
English with a size of 5573 bytes.
Modelos de computação distribuída: Cliente/Servidor: cliente efetua uma requisição, servidor processa e retorna uma resposta. Objetos distribuídos: peer to peer com um intermediário na comunicação.
Datacenters: ambientes protegidos, com links redundantes, instalações elétricas de grande porte, salas refrigeradas e outros recursos.
Servidores dedicados (internet): hospedagem compartilhadas de sites, com restrição a quota de tráfego e de espaço em disco, sem acesso a configuração do servidos. Em Linux há a familiaridade com as linhas de comando e com a edição dos arquivos de configuração, a administração do servidor e remota via terminal e com uso de SSH e com ferramentas em modelo texto (podemos usar até smart phones).
Servidores inetd:
Clasified in Notes of Computers of University.
Written at November 18, 2009 on
English with a size of 1382 bytes.
ñfT.Yi>0
ñfT.Zi>0
δ=min(ñft.zi)
a.b=||a||.||b||.cosΦ;cosΦ€[-1,1]
||a||.||b||>=a.b
||ñf||.||ñk||>=ñft.ñ(k)>k.δ
||ñf||2.||ñ(k)||2>=k2.δ2
inecuality1:||ñf||2.||ñ(k)||2>=k2.δ2 δ=min(ñf2.zi)
ñ(k) =ñ(k-1)+yk y={z1,z2,z3}={y1,y2,y3}(we put yk because yk is badly clasified by ñ(k-1).yk<=0)
...ñ(k)t.ñ(k)=[ñ2(k-1)+yk]t.[ñ2.(k-1)+yk]t.[ñ(k-1)+yk]=...inecualiti2:||ñ(k)||2=<∑ki=1yityi<=kπ
... (Continue)Clasified in Notes of Computers of University.
Written at September 23, 2009 on
English with a size of 2359 bytes.
BufferedReader bf;
bf=new BufferedReader(new InputStreamReader(System.in));
int cod[]=new int [5];
int can[]=new int [5];
System.out.println("\tEjercicio de Vectores\n");
for(x=0;x<cod.length;x++){
System.out.print("ingrese codigo: ");
cod[x]=Integer.parseInt(bf.readLine());
if(x==cod.length-2){
System.out.print("\tFalta un Regristro\n");
for(x=0;x<cod.length;x++){
System.out.print(cod[x]+"");
for(x=0;x<cod.length;x++){
while(x<cod.length){
tart=tart+can[x];
for(x=0;x<cod.length;x++){
for(y=0;y<cod.length;y++){
if(can[y]>can[y+1]){
aux=can[y+1];
can[y+1]=can[y];
can[y]=aux;
BufferedReader bf;
bf=new BufferedReader(new InputStreamReader(System.in));
int cod[]=new int [5];
Clasified in Notes of Computers of Primary.
Written at November 25, 2009 on
English with a size of 2892 bytes.
Clasified in Notes of Computers of University.
Written at November 30, 2009 on
English with a size of 1631 bytes.
... (Continue)public void conectar() throws SQLException, ClassNotFoundException {
System.out.println("Conectar ao banco? [1]Sim [2]Não");
int conectar = KeyboardReader.readInt();
if (conectar == 1) {
String classpath = "mysql-connector-java-5.0.4-bin.jar";
String driverName = "com.mysql.jdbc.Driver";
Class.forName(driverName);
String banco = "jdbc:mysql://localhost/cadastro"
Clasified in Notes of Computers of Bachelor.
Written at November 09, 2009 on
English with a size of 1680 bytes.
LUNAS
Dim i As Integer
Private Sub Form_Load()
End Sub
Private Sub imairudi_Click()
End Sub
Private Sub Timer1_Timer()
imairudi = imailargi(i)
i = i + 1
If i = 7 Then
i = 0
End If
End Sub
SACERDOTE
Private Sub Cmdonartu_Click()
If txthitza = "sacerdote" Then
lblasmatu = "Zorionak asmatu duzu!"
Else
lblasmatu = "ez duzu asmatu"
End If
If txthitza = "sacerdote" Then
imadolar.Visible = True
End If
End Sub
Private Sub Image1_Click()
End Sub
Private Sub Form_Load()
End Sub
... (Continue)
Clasified in Notes of Computers of University.
Written at November 18, 2009 on
English with a size of 3102 bytes.
ñ=(0,0,0...)t
while the points not yet clasified do
pick-up a ponut pi
if pi € class o and ñt.pi<=0 then
ñ=ñ+pi
else if pi € class 1 and ñtpi>=0 then
ñ=ñ-pi
end if
end while
ñ=(0,0,0...)t
while the points not yet clasified do
... (Continue)Añ=(0,0...0)
Clasified in Notes of Computers of University.
Written at September 15, 2009 on
English with a size of 2804 bytes.
library ieee; - - type memoria is array (2**M-1 downto 0) of std_logic_vector (N-1 downto 0);
use ieee.std_logic_1164.all; -- signal mem : memoria;
use ieee.numeric_std.all;
use std.textio.all;
use ieee.std_logic_textio.all;
entity alu_tb is
end alu_tb;
architecture sim of alu_tb is -- constant tclk : time := 10ns;
component alu -- clk_i<=not clk:i after tclk/2;
generic ( -- hacer clk asimetrico clk_i<='1' after 25 ns when clk_i = '0' else '0' after 75 ns;
N : positive);
port (
a, b : in std_logic_vector (4*N-1 downto 0);
opr : in std_logic;
ovfw_sign : out std_logic;
resultado : out std_logic_vector (4*N-1 downto 0));
end component;
constant N : positive := 4;
signal a_i, b_i : std_logic_vector (4*N-1 downto 0);
signal opr_i : std_logic;
signal ovfw_sign_i : std_logic;
signal resultado_i : std_logic_vector (4*N-1 downto 0);
Clasified in Homeworks of Computers of University.
Written at October 19, 2009 on
English with a size of 8373 bytes.
Circulo color aleatorio
import java.awt.*;
import javax.swing.*;
public class JMyGradientCircle2 extends JPanel {
private Color getRandomColor() {
int red = (int)(Math.random() * 255);
int green = (int)(Math.random() * 255);
int blue = (int)(Math.random() * 255);
Color randomColor = new Color(red, green, blue);
return randomColor;
}
protected void paintComponent(Graphics g) {
Graphics2D g2d = (Graphics2D)g;
Color color1 = getRandomColor();
Color color2 = getRandomColor();
GradientPaint gradient =
new GradientPaint(50, 30, color1, 150, 130, color2);
g2d.setPaint(gradient);
g2d.fillOval(50, 30, 150, 130);
Clasified in Notes of Computers of Training.
Written at October 04, 2009 on
English with a size of 1309 bytes.
WRITING : The computers now they are very important for the people. For example. When you buy groceries in supermarket, a computer is used with laser that scans the price with a barcode readers. Also the computers are used in the banks to look ofter their money. These are examples of the uses that a computer has. Because of it nowadays, all the families have a computer in your house already be to work or to play.
ARTiCLES : The walsh family have the computer at home. Their son uses the computer to help with the homework and to play computer games. Their student daughter uses the computer for the projects and for the email. All the family use it to get a information from the internet. ( a/an , the ).
VOCABULARY : In offices, people uses computer for working. // In school, people use computer for studing. // In police stations people use computer for finding information // In factory, people use computer for control machine. // In hospitals, people use computer for look after pacient records and medicines.
... (Continue)