Tuesday, May 22, 2007

I WIN AT THE GREEN VALLEY RANCH







Winning of 4000 pennies!@!@!@ I'M RICH BITCH.

Friday, May 11, 2007

Found a RSS reader that I like

To me the best part of this reader is switching from standard, searching, and newspaper view.

Sunday, May 06, 2007

Virtual Rape Is Traumatic, but Is It a Crime? Give me a break!

Who in the world would ever believe this. Virtual Rape? Are people so weak minded that text from a computer screen can be considered rape? The fear of what you can say and can not say to people is a big problem in the US, now we trying to make it a problem online. I think if people are so scared of words they might have bigger problems then "Virtual Rape", maybe they are so mentally unstable that they need physiological help. Second Life is a great idea for a game/online life... Its just sad that someone would think that there virtual world is real and treat it like one. Real Rape in the Real World is something to worry about, not silly online games where nothing is real. There digital bits that can be erased.... Not like real life where things are really embedded into a person mental health. Online life, I feel has effected people way to much, they cant tell the difference between whats happening online and whats happening in the real world.

Friday, April 27, 2007

WPF and Blend video FREE from lynda.com

I have been working with blend most every day now and there are still tons of little tricks to learn. The problem with blend is there is not enough documentation on how to use it efficiently.

C# Enumeration Cheat Sheet

Thank goodness for cheat sheets, I would of never made it out of some classes in collage with out them. They seem to also help at work : )

Thursday, April 26, 2007

Wire City.

An Aside on the Slot Machine

Nice read on the simple combinatorics of a 3 reel single line slot machines.

DotNetNuke - A Free and Open Source Framework!!!

At last, a reason for me to run a Microsoft server for web applications. I might start on this very soon!

Fun with Attribute Based Programming – Extending Enumerations

Amazing article on using attributes in C#. Attributes can simplify some parts of generic programming tasks such as expanding enumerations like in the article above. The code for the article can be found here.

State-Driven Game Agent Design

A very good article on state machines, the code is in C++ but you can find a similar version for C# at Codecube.net.

Wednesday, April 25, 2007

Video Lectures From World's Leading And Prominent Scientists.

This link is a nice find so far, I have not watched any of the videos because I have been really busy.

Tuesday, April 24, 2007

Haha, They put a warning on the back of pirating the product....

Its too funny, the movie studios really need to watch there networks and products.. There never going to be able to secure there products anymore.... They just do not understand technology.

This is a insane story.

Insane Story of a man who cut his own penis off!!!! What a nut.

Monday, April 23, 2007

Anti-Patterns

http://en.wikipedia.org/wiki/Anti-pattern
One of my favorite ones is "Smoke and mirrors: Demonstrating how unimplemented functions will appear"

Wednesday, March 28, 2007

CoilOsapien Killer!


The killer robot of choice by 9 out of 10 Americans. I got to get my self one of these bad boys to build a self defence system in my house.

Using LINQ to solve puzzles

The Puzzle

Here's a puzzle similar to the one in the puzzle hunt. The diagram below is a bunch of weights (A-M) hanging from a system of bars. Each weight has an integer value between 1 and 13, and the goal is to figure out what each weight must be for the the diagram below to balance correctly as shown:

                          |
|
+--+--+--+--+--+--+--+
| |
| |
+--+--+--+--+--+ |
| L M |
| |
+--+--+--+--+--+--+ +--+--+--+--+--+
H | I | J K |
| | |
+--+--+--+--+--+ | +--+--+--+--+--+
E F | G |
| |
+--+--+--+--+--+ +--+--+--+--+--+--+

A B C D

The rules for this kind of puzzle are: (1) The weights on either side of a given pivot point must be equal, when weighted by the distance from the pivot, and (2) a bar hanging beneath another contributes it's total weight as through it were a single weight. For instance, the bar on the bottom right must have 5*C=D, and the one above it must have 3*G=2*(C+D).


I think there approach is way too brute force, this it seems like a little set theory mixed in with some linear algebra and recursive decent would be able to solve this problem. More on it later, if I come up with my own solution.

Thursday, March 22, 2007

Thread with a buch of carpc software.






A fun sunday installing a pc in my car... Forget the cell phone drivers next are the pc drivers!!!

Monday, March 19, 2007

WPF Demo by Laurent Bugnion

The basic concepts you need to start working with wpf. Embed media into your button!!!!

Wednesday, March 14, 2007

Get-WmiObject for finding products installed.

Quick snipit:

PS> Get-WmiObject -class "Win32_Product" -namespace "root\cimv2" -computername THECOMPUTER -filter "Name='Some Silly Product'"

Monday, March 12, 2007

PocketPC 2003 is so kind to me.





What kind of error messages are these? Do I want to loose my data because my data is corrupted? My bluetooth licence has expired? What else my phone is ready to explode or be tossed out of my car window on the highway!!!

Sunday, March 04, 2007

Saturday, March 03, 2007

Sierpinski Triangle in C# with a WPF Polygon.


Simple wpf app to create a small Sierpinski Triangle... This is just a base of something I would like to create, so this is a start of using the Sierpinski Triangle. Algorithm came from the wikipedia implementation in java.

Monday, February 26, 2007

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.


I found some old photography art I did of my ex-girlfriend from years ago. I wounder what she's up too now. I put this girl through hell, my life was a little crazy at that time.

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.

Found a great Mizrahim radio station.

And to add Amichai has a few of the better radio stations!

Friday, November 10, 2006

It has been late nights.


Work has been keeping me up late, or I just like working at odd hours. Desk at 3 a.m.

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

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/

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.

I have to say my fav fact is the multiplication by 11.
Let b1, b2, .... , bn be the digits of a number, then

b1*11 = b_1b_1
b1b2*11=b1(b1+b2)b2
b1b2b3*11=b1(b1+b2)(b2+b3)b3
[...]
b1b2...bn*11=b1(b2+b3)....(bn-1 + bn)bn

This "fun fact" could be proved by induction.



Math Fun Facts!

Wednesday, October 25, 2006

Fun way to learn WPF

Still have not read it yet, but I hope by tonight I do.

Tab Catalog


I must say I really like this extension but its way to slow when I have many tabs open.

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:

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
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.









MetaMath

Something about proof building is very intresting.
Infinite Primes Theorm

Wednesday, October 18, 2006

TorusKnots


Having Fun with Torus Knot !

torusknot[a_, b_, c_][p_, q_][t_] := { (a + b Cos[q t]) Cos[p t], (a + b Cos[q t]) Sin[p t], c Sin[q t]}

ParametricPlot3D[torusknot[10, 4, 5][100, 1.5][t] // Evaluate, {t, 0, 120π}, PlotPoints→200 , ViewPoint→ {20, 30, 70}] ; //Timing

[Graphics:HTMLFiles/index_4.gif]


{0.008 Second, Null}

ParametricPlot3D[torusknot[10, 4, 5][100, 1.5][t] // Evaluate, {t, 0, 1π}, PlotPoints→200 , ViewPoint→ {20, 30, 70}] ; //Timing

[Graphics:HTMLFiles/index_7.gif]


{0.008001 Second, Null}

ParametricPlot3D[torusknot[10, 4, 5][100, 1.5][t] // Evaluate, {t, 0, 1π}, PlotPoints→100 , ViewPoint→ {20, 30, 70}] ; //Timing


[Graphics:HTMLFiles/index_10.gif]


{0.004 Second, Null}


ParametricPlot3D[torusknot[10, 4, 5][100, 4π][t] // Evaluate, {t, 0, 1π}, PlotPoints→100 , ViewPoint→ {20, 30, 70}] ; //Timing


[Graphics:HTMLFiles/index_13.gif]


{0.004 Second, Null}

ParametricPlot3D[torusknot[100, 34π, 52][1003, 433π][t] // Evaluate, {t, 0, 10000π}, PlotPoints→100 , ViewPoint→ {20, 30, 70}] ; //Timing


[Graphics:HTMLFiles/index_16.gif]


{0.004 Second, Null}

torusknot[a_, b_, c_][p_, q_][t_] := { (a + b Cos[q t]) Cos[p t], (a + b Cos[q t]) Sin[p t], c Sin[q t]} ;

ParametricPlot3D[torusknot[u, 3, 5][3, u][t], {t, 0, 3}, {u, 0, 3}]



[Graphics:HTMLFiles/index_20.gif]




-Graphics3D -


In[49]:=






[Graphics:HTMLFiles/index_23.gif]




Out[50]=






-Graphics3D -