## Wednesday, December 20, 2006

### Vista and Speech Recognition

When I get Vista installed and have some extra time, I would like to create an application that can recognize what news sites I would want to read and open them in IE or firefox. This doesnt seem to hard just takes a little time.

## Saturday, November 25, 2006

### Old Art.

## Saturday, November 11, 2006

### ipsuid gets a blog!

I have been trying to get ipsuid to blog, and here it is. His hardware knowledge is amazing and he's always got a project brewing or working. It's also funny since I give him stuff I dont use any more and he turns it into something. One example was a monitor I had, I think he powers a lazor with it or something.

## Friday, November 10, 2006

## Thursday, November 09, 2006

### Microsoft does not even know its own file extensions

The .ps1 is what people have been using for monard aka PowerShell aka who knows what other names. But I found it funny that microsofts website does not redirect you to the main site for PowerShell.

They also dont under stand msh

They also dont under stand msh

## Tuesday, November 07, 2006

## Saturday, November 04, 2006

### Some Fun Math and Puzzle Sites

http://qbyte.org/

http://qbyte.org/puzzles/

http://www.mathpuzzle.com/

http://www.artofproblemsolving.com/

http://qbyte.org/puzzles/

http://www.mathpuzzle.com/

http://www.artofproblemsolving.com/

## Thursday, November 02, 2006

## Monday, October 30, 2006

### Lost Art Work

This is an oil painting of a street that I have stuck in my head. I have no idea where this street is since its an image from when I was a kid, one of those images that you never forget but also never know where they come from. This painting I and showed a dear friend of mine who loved it. So I just gave them the painting and I know they enjoy it.

## Friday, October 27, 2006

### Fun Math Facts.

## Wednesday, October 25, 2006

## Monday, October 23, 2006

### Googlism

While looking for scripts colorize python code into html I stumbled to googlism! You cant find xsignal on it just yet. But give it time. I also found the script I was looking for http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52298/index_txt

### Vector Fun

Here is a simple program to help you find the magnitude, dot product,

cross product of 2 vectors of size 3, and the projection vectors of each.

This is nothing ground breaking, but it shows you how fast you can code

something like this up in python with out much work. Some sample output:

cross product of 2 vectors of size 3, and the projection vectors of each.

This is nothing ground breaking, but it shows you how fast you can code

something like this up in python with out much work. Some sample output:

*+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-*

Enter in vector x: (separated by spaces)

Enter in vector y: (separated by spaces)

--------------------------------------------

ERROR: vectors entered are not the same size

--------------------------------------------

Vectors entered:

x = < 1 , 1 , 1 , 1 >

y = < -1 , 1 , -1 >

Magnitude of x is sqrt(4)=2.0

Magnitude of y is sqrt(3)=1.73205080757

Enter another pair of vectors [y/n]?

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

Enter in vector x: (separated by spaces)

Enter in vector y: (separated by spaces)

Vectors entered:

x = < 3 , 2 , 1 >

y = < -1 , -2 , 4 >

Magnitude of x is sqrt(14)=3.74165738677

Magnitude of y is sqrt(21)=4.58257569496

Dot product of x and y is -3

The angle between x and y (in degrees) is: 1.74666507689

The cross product of x and y:

x cross y = < 10 , -13 , -4 >

The projection of y onto x:

proj_x(y) = < -9/14 , -3/7 , -3/14 >

The projection of x onto y:

proj_y(x) = < 1/7 , 2/7 , -4/7 >

Enter another pair of vectors [y/n]?

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

Enter in vector x: (separated by spaces)

Enter in vector y: (separated by spaces)

Vectors entered:

x = < 0 , 1 >

y = < -1 , 0 >

Magnitude of x is sqrt(1)=1.0

Magnitude of y is sqrt(1)=1.0

Dot product of x and y is 0

The angle between x and y (in degrees) is: 1.57079632679

The projection of y onto x:

proj_x(y) = < 0 , 0 >

The projection of x onto y:

proj_y(x) = < 0 , 0 >

Enter another pair of vectors [y/n]?

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

Enter in vector x: (separated by spaces)

Enter in vector y: (separated by spaces)

--------------------------------------------

ERROR: vectors entered are not the same size

--------------------------------------------

Vectors entered:

x = < 1 , 1 , 1 >

y = < -1 , 1 >

Magnitude of x is sqrt(3)=1.73205080757

Magnitude of y is sqrt(2)=1.41421356237

Enter another pair of vectors [y/n]?

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

Enter in vector x: (separated by spaces)

Enter in vector y: (separated by spaces)

Vectors entered:

x = < 1 , 1 , 1 , 1 , 1 >

y = < -1 , 1 , -1 , 1 , -1 >

Magnitude of x is sqrt(5)=2.2360679775

Magnitude of y is sqrt(5)=2.2360679775

Dot product of x and y is -1

The angle between x and y (in degrees) is: 1.77215424759

The projection of y onto x:

proj_x(y) = < -1/5 , -1/5 , -1/5 , -1/5 , -1/5 >

The projection of x onto y:

proj_y(x) = < 1/5 , -1/5 , 1/5 , -1/5 , 1/5 >

Enter another pair of vectors [y/n]?

You did not enter a y/n so we exit anyways.

Enter in vector x: (separated by spaces)

Enter in vector y: (separated by spaces)

--------------------------------------------

ERROR: vectors entered are not the same size

--------------------------------------------

Vectors entered:

x = < 1 , 1 , 1 , 1 >

y = < -1 , 1 , -1 >

Magnitude of x is sqrt(4)=2.0

Magnitude of y is sqrt(3)=1.73205080757

Enter another pair of vectors [y/n]?

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

Enter in vector x: (separated by spaces)

Enter in vector y: (separated by spaces)

Vectors entered:

x = < 3 , 2 , 1 >

y = < -1 , -2 , 4 >

Magnitude of x is sqrt(14)=3.74165738677

Magnitude of y is sqrt(21)=4.58257569496

Dot product of x and y is -3

The angle between x and y (in degrees) is: 1.74666507689

The cross product of x and y:

x cross y = < 10 , -13 , -4 >

The projection of y onto x:

proj_x(y) = < -9/14 , -3/7 , -3/14 >

The projection of x onto y:

proj_y(x) = < 1/7 , 2/7 , -4/7 >

Enter another pair of vectors [y/n]?

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

Enter in vector x: (separated by spaces)

Enter in vector y: (separated by spaces)

Vectors entered:

x = < 0 , 1 >

y = < -1 , 0 >

Magnitude of x is sqrt(1)=1.0

Magnitude of y is sqrt(1)=1.0

Dot product of x and y is 0

The angle between x and y (in degrees) is: 1.57079632679

The projection of y onto x:

proj_x(y) = < 0 , 0 >

The projection of x onto y:

proj_y(x) = < 0 , 0 >

Enter another pair of vectors [y/n]?

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

Enter in vector x: (separated by spaces)

Enter in vector y: (separated by spaces)

--------------------------------------------

ERROR: vectors entered are not the same size

--------------------------------------------

Vectors entered:

x = < 1 , 1 , 1 >

y = < -1 , 1 >

Magnitude of x is sqrt(3)=1.73205080757

Magnitude of y is sqrt(2)=1.41421356237

Enter another pair of vectors [y/n]?

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

Enter in vector x: (separated by spaces)

Enter in vector y: (separated by spaces)

Vectors entered:

x = < 1 , 1 , 1 , 1 , 1 >

y = < -1 , 1 , -1 , 1 , -1 >

Magnitude of x is sqrt(5)=2.2360679775

Magnitude of y is sqrt(5)=2.2360679775

Dot product of x and y is -1

The angle between x and y (in degrees) is: 1.77215424759

The projection of y onto x:

proj_x(y) = < -1/5 , -1/5 , -1/5 , -1/5 , -1/5 >

The projection of x onto y:

proj_y(x) = < 1/5 , -1/5 , 1/5 , -1/5 , 1/5 >

Enter another pair of vectors [y/n]?

You did not enter a y/n so we exit anyways.

## Wednesday, October 18, 2006

## Friday, October 13, 2006

## Monday, October 09, 2006

### Chaos: Fractal Basin Boundaries

Chaos always makes nice background images for your desktop systems. This is my current image:

Basin boundaries arise in dissipative dynamical systems when two, or more, attractors are present. In such situations each attractor has a basin of initial conditions which lead asymptotically to that attractor. The basin boundaries are the sets which separate different basins. It is very common for basin boundaries to contain unstable chaotic sets. In such cases the basin boundaries can have very complicated fractal structure. Because of this complicated very fine-scaled structure, fractal basin boundaries can pose an impediment to predicting long-term behavior. In particular, if an initial condition is specified with only finite precision, it may be very difficult a priori to determine in which basin it lies if the boundaries are fractal.

### Google Code Searching For Coding Bugs.

This is just one simple search for common terms that might be linked to secuirty flaws.

## Sunday, October 08, 2006

### Matrix Fun

A simple program written in python that does matrix addition,

multiplication, scalar multiplication,

transpose and put the matrix into reduced echelon form.

The main driver program is

which does the matrix operations. The

bash script that runs the program

Then the script runs the

multiplication, scalar multiplication,

transpose and put the matrix into reduced echelon form.

The main driver program is

*matrix_fun.py*which does the matrix operations. The

*run_gen.sh*is abash script that runs the program

*gen_random_test_file.py.**gen_random_test_file.py*generates a flat text file based on the command line parameters given to it.*python gen_random_test_file.py - h*

USAGE : gen_random_test_file.py[options]

Simple program to generate a test file with

random variables for size, min, max and scalar

options : -sm M, --sizemin = M Rows of matrix (random selection of 1 <>-sM N, --sizemax = N Cols of matrix (random selection of 1 <>-m X, --min = N Minimum value of a random element in the matcies

-M Y, --max = Y Maximum value of a random element in the matcies

-cm C, --scalarmin = C Minimum value for a scalar

-cM B, --scalarmax Maximum value for a scalar

-l L, --length = L Length of the list to generate

-f FILENAME, --filename = FILENAME Filename to write list too.USAGE : gen_random_test_file.py[options]

Simple program to generate a test file with

random variables for size, min, max and scalar

options : -sm M, --sizemin = M Rows of matrix (random selection of 1 <>-sM N, --sizemax = N Cols of matrix (random selection of 1 <>-m X, --min = N Minimum value of a random element in the matcies

-M Y, --max = Y Maximum value of a random element in the matcies

-cm C, --scalarmin = C Minimum value for a scalar

-cM B, --scalarmax Maximum value for a scalar

-l L, --length = L Length of the list to generate

-f FILENAME, --filename = FILENAME Filename to write list too.

Then the script runs the

*matrix_fun.py*program against it and outputs the results to a text file. Just check the code out its very simple to follow with no real thought about who the user is. Here is an example of just running*matrix_fun.py*by its self:*what are the dimensions of matrix A [mxn]:*

3x3

Please enter in matrix A one row at a time separated by spaces.

1 2 3

5 6 7

4 5 6

What is the dimensions of your matrix B [mxn]:

3x3

Please enter in matrix B one row at a time separated by spaces.

5 6 3

7 5 2

7 9 2

MATRIX A:

| 1 2 3 |

| 5 6 7 |

| 4 5 6 |

MATRIX B:

| 5 6 3 |

| 7 5 2 |

| 7 9 2 |

If Matrix A and B are both mxn we can add them.

We can add Matrix A and B

A + B =

| 6 8 6 |

| 12 11 9 |

| 11 14 8 |

Please enter a scalar value to multiply matrix A by, (cA)

5

| 5 10 15 |

| 25 30 35 |

| 20 25 30 |

Finding the transpose of A:

| 1 5 4 |

| 2 6 5 |

| 3 7 6 |

Matrix Multiplication (AB)

| 40 43 13 |

| 116 123 41 |

| 97 103 34 |

Putting Matrix A into Reduced echelon form.

Before rref:

| 1 2 3 |

| 5 6 7 |

| 4 5 6 |

Row 0 times -5 added to row 1

| 1 2 3 |

| 0 -4 -8 |

| 4 5 6 |

Row 0 times -4 added to row 2

| 1 2 3 |

| 0 -4 -8 |

| 0 -3 -6 |

Row 1 divided by -4

| 1 2 3 |

| 0 1 2 |

| 0 -3 -6 |

Row 1 times -2 added to row 0

| 1 0 -1 |

| 0 1 2 |

| 0 -3 -6 |

Row 1 times 3 added to row 2

| 1 0 -1 |

| 0 1 2 |

| 0 0 0 |

Would you like to enter another matrix [y/n]

3x3

Please enter in matrix A one row at a time separated by spaces.

1 2 3

5 6 7

4 5 6

What is the dimensions of your matrix B [mxn]:

3x3

Please enter in matrix B one row at a time separated by spaces.

5 6 3

7 5 2

7 9 2

MATRIX A:

| 1 2 3 |

| 5 6 7 |

| 4 5 6 |

MATRIX B:

| 5 6 3 |

| 7 5 2 |

| 7 9 2 |

If Matrix A and B are both mxn we can add them.

We can add Matrix A and B

A + B =

| 6 8 6 |

| 12 11 9 |

| 11 14 8 |

Please enter a scalar value to multiply matrix A by, (cA)

5

| 5 10 15 |

| 25 30 35 |

| 20 25 30 |

Finding the transpose of A:

| 1 5 4 |

| 2 6 5 |

| 3 7 6 |

Matrix Multiplication (AB)

| 40 43 13 |

| 116 123 41 |

| 97 103 34 |

Putting Matrix A into Reduced echelon form.

Before rref:

| 1 2 3 |

| 5 6 7 |

| 4 5 6 |

Row 0 times -5 added to row 1

| 1 2 3 |

| 0 -4 -8 |

| 4 5 6 |

Row 0 times -4 added to row 2

| 1 2 3 |

| 0 -4 -8 |

| 0 -3 -6 |

Row 1 divided by -4

| 1 2 3 |

| 0 1 2 |

| 0 -3 -6 |

Row 1 times -2 added to row 0

| 1 0 -1 |

| 0 1 2 |

| 0 -3 -6 |

Row 1 times 3 added to row 2

| 1 0 -1 |

| 0 1 2 |

| 0 0 0 |

Would you like to enter another matrix [y/n]

## Friday, October 06, 2006

### Nice Electronic Dictionary

This embedded electronic dictionary can do and say anything. The most impressive support to me is the English to Arabic and Arabic to English support. The only problem I would have with this device is I would open it up before I would even use it! I would also like to know what TTS software if any, that they use for there device.

## Wednesday, October 04, 2006

### Nice eval board but is it really cheap?

For 850$ you can run linux on a ARM920T without ripping your hair out trying to get it to work. This eval comes with everything you need including design documents, it could be a good investment for embedded linux newbies. The best part is the touch panel. Currently I am looking for a simple development platform for a simple game that I am developing on the side. No details on the game just yet since school and work are taking up way to much time!

### Ahmadinejad and the Holocaust

*What the Holocaust demonstrates is the danger of a one-party state. It shows what can happen when a group of true believers, convinced of the superiority of their own ideas, have unchecked power. They are then free to rewrite history to suit their political ends, and crush those who disagree or protest . . . or who worship God in a different way. *

*Like, say, the mullahs in Iran.*

## Saturday, September 30, 2006

### Great python statistics info site.

There was some graphing module I used once for work, but I dont remember the name of it. When I go back to work I will find out.

## Saturday, September 16, 2006

### Ahoy, mateys ! Thar be Jewish pirates!

*One such pirate was Moses Cohen Henriques, who helped plan one of history's largest heists against Spain. In 1628, Henriques set sail with Dutch West India Co. Admiral Piet Hein, whose own hatred of Spain was fueled by four years spent as a galley slave aboard a Spanish ship. Henriques and Hein boarded Spanish ships off Cuba and seized shipments of New World gold and silver worth in today's dollars about the same as Disney's total box office for "Dead Man's Chest."*

## Tuesday, September 12, 2006

### israeli and jewish music feed for your podcasts collection.

The only problem is the mp3 files are a little large, but hey its worth the space.

## Monday, September 11, 2006

### "Usually, trust values that a kernel-mode component gives you."

You have to love that qoute from that book. TRUST THE WINDOWS KERNEL!@#!@#

## Wednesday, September 06, 2006

### Random Augmented Matrix Solver

Here is a simple program that generates pseudo random numbers based on python's random module. You pick the size of variables and number of equations, the program then it tries to solve the linear system. Pseudo random numbers are also agumented to the matrix for solving the linear system. Putting the matrix into rref is based on rref.py. This modules was done by Adam Sampson and works great! It abstracts fractions in a python class.

## Sunday, September 03, 2006

## Friday, September 01, 2006

## Thursday, August 24, 2006

### LCP-H2294, Using the UART0 PinOut. MAXIM HACKED APRT!

Ok, so I was using CrossWorks v1.5 and that was a major source of my problem. If you want to

easliy use the LPC-H2249 CrossWorks v1.6 is the solution. I am still waiting to get some time to build a toolchain on a linux box to compile code for the LPC-H2294. But for now CrossWorks is close enough. So here is the deal If you would like a simple hack to use the UART with the pins provided from the LPC-H2294 must have the right voltage to talk to the serial device of the computer, if thats what your interfacing with. The serial from the pc is 12v and a usb-to-serial provides that 12v when you use it. The LPC-H2294 UART pins are 3.3v so you need to kick it up or down. Instead of building a curcut to do this you can crack open your usb-to-serial and see what kind of chip it has. As far as I know MAXIM Transceivers provide a different voltages on differnt pins. So what a friend of mine suggested was to use those pins instead of what is connected to the serial part of the device. I had a MAXIM MAX213 Chip and used pin 19 for the RX on the UART. Pin 6 was used for the TX on the UART.

My explanation sucks, but my pictures rock! http://xsignal.mindtunnel.org/ARM/UART_SERIAL_HACK

## Wednesday, August 23, 2006

### NOKIA 770 Disassembled Pictures and Chip Numbers

Tomorrow I hope to put up the chip numbers, I am way to beat out right now to do shit!

Subscribe to:
Posts (Atom)