Sunday, May 27, 2007
Tuesday, May 22, 2007
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
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.
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"
One of my favorite ones is "Smoke and mirrors: Demonstrating how unimplemented functions will appear"
Wednesday, March 28, 2007
CoilOsapien Killer!
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 DThe 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
Monday, March 19, 2007
WPF Demo by Laurent Bugnion
The basic concepts you need to start working with wpf. Embed media into your button!!!!
Friday, March 16, 2007
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'"
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.
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
Advanced Unit Testing, Part I - Overview
A very nice long artical on unit testing... I'm still very impressed by the Agile Principles, Patterns, and Practices in C# as a reference...
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:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
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.
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.
Wednesday, October 18, 2006
Subscribe to:
Posts (Atom)