Saturday, October 27, 2007

Simple and Quick Bash command for renaming files.

for i in `ls`; do mv $i  `echo $i | sed -e 's/SOMETEXTTOREMOVE//g'` ; done

Here is a simple quick fix for having to rename a lot of files in a directory with bash.

Doom Remix Project

I just found my new gym musika.

Some cool C#/.NET links related to GC stuff.

Thursday, October 18, 2007

awesome toys site.

Lots of cool toys for ADULTS to play with are also on this site. If you have kids this would be a good place to start shopping for them.

Wednesday, October 17, 2007

Numbers Fun Facts

123456789 x 8 + 9 = 987654321
1 x 8 + 1 = 9
12 x 8 + 2 = 98
123 x 8 + 3 = 987
1234 x 8 + 4 = 9876
12345 x 8 + 5 = 98765
123456 x 8 + 6 = 987654
1234567 x 8 + 7 = 9876543
12345678 x 8 + 8 = 98765432
123456789 x 8 + 9 = 987654321

Its little things like this I enjoy in life.

Monday, October 15, 2007

One Child, Remembered

One Child, Remembered
By Yosef Lewis

In recollections of Holocaust literature by a younger self, Poland is a dark,
menacing place, a land of terrible facts, its streets paved with the headstones
culled from graves of the defenseless. A land fertilized with the ash of innocents.
A malignant evil to be forgotten, but always remembered.

The indelible stigma stuck. If I were ever to journey to that accursed land, it
would be to reclaim a Jewish pride once lost by the downcast countenances of the
Nazis' dehumanized victims. Pride, I felt, that would be restored with an indignant
stare at a neighbor who once stood idly by, saying with my speechless eyes more then
a million spoken words.

But now I feel only the silence of the unwritten word. Rays of shining sun are
splashing over our car, and in a freshly cut field a lone stork nibbles on leftovers
from the recent harvest. A growing stink wafting through window relays the smell of
freshly laid fertilizer. I notice the decrepit roads of yesteryear quickly turning
into the smooth highways we so take for granted in America.

In a rebuilt Warsaw, flashy Mercedes racing through the streets, buses a most awful
shade of yellow. The Tower of Culture looms over the city's skyline, a vapid and
weird present from Comrade Stalin to the people of Poland, the ugly bastard child of
a forgotten marriage. A funny communion of old and new can be seen on every street
corner. New, brightly lit grocery stores with the unlikely sight of a babushka's
selling sad bunches of wilted scallions and bouquets of summer flowers in their
doorways. Sleek 18-wheeler milk trucks stopped dead in their tracks by a lone
milking cow slowly drudging across the road.

And so I found myself walking through Sieradz, my grandmother's town, a town only
found by a most circuitous route from Warsaw, oh so calmly.

Our translator "shibbitzed" (a term coined in light of the prevalent "shibing" that
is found in just about every Polish word) with an older couple. Lounging on a lazy
Sunday afternoon with family. "You want to talk with the old man up the road, he
remembers the Nazis" the husband says.

I strained to understand the quick chatter between the translator and the old man.
Spittle flying from his mouth and a lone tooth had me fixated. "When they came, the
Jews were quickly herded into a small ghetto, no communication or trade were
allowed." Though interesting, the story of ghettoization was one I'd heard many

But then, swallowing hard he began tell the story of the final Aktion ("operation").
"We weren't all bad, we tried to help." A small gasp, a trickle of a tear. "The red
church you saw in the middle of town had its doors locked, all of Sieradz's Jews
crammed inside" wiping his finger across his nose, as tears streamed more steadily
down his face. "The doors were locked for two weeks, screams and cries of thirst
haunting the whole town. When they finally opened the door a stench spewed from
inside, feces and dead bodies sprawled about in cadence of horror. But slowly and
unbelievably a child staggered out, his face pallid and white, the face of death."
By now the old man's face was a wet mess as he wept the horrible memory. "A SS man
nonchalantly walked up to the child, and grabbing him by his legs, flung him in onto
the street in the path of a passing army jeep."

Parched wind pushed loudly through the car's open window, draining whatever remained
of the day's energies, as I thought over the day's experiences. Realizing, slowly,
that I did not need to look upon Bubby's neighbors with righteous indignation, as
the burning shame of passivity was alive and well, sixty years later, without my
stare. Crystallizing slowly over time has been the singular obligation of telling
the story of that child's last moments. Though not dissimilar to the ending of the
rest of the six million, every record is a truth, and I doubt that this nameless
child has been remembered since his horrible death. May this record be his Kaddish.

Sunday, October 14, 2007

Friday, October 12, 2007

Awsome site for game programmers

Lots of good links to other books and information;

Thursday, September 27, 2007

iphonelockbox, this is just asking for it.

Image installing this application on your Iphone, your asking for trouble. Shit keeping all your passwords and CC accounts on a single phone. Not that its so hard to really get this information from people to begin with. So I guess the real solution is to make sure you actually watch your bills for fraud and report it when it happens, no matter how small it is. I was a victim of fraud once (that I know of), I got almost 40k sucked out of my bank. The best part is the account did not even have that amount left in it.

Monday, September 17, 2007

MadTV Syphilis Girl

This video cracks me up, living in Las Vegas the clubs look just like that to me.

Friday, September 14, 2007

iphone-dev - Google Code

Here are some instructions for boot strapping a cross compiler for IPhone. I have not tried it out yet, but it looks like it should work since the apple headers the most important information on what function are going to be called for the code. I have yet to see a IPhone emulator, that would be nice : ) Maybe it will come along with the secret IPhone SDK that apple has.

Vista rocks

Picture of UAC missing continue button .

iPhone picture post

My friend tied the knot as a pimp.

Thursday, September 13, 2007

Roadmap for Subtext, anything blogish C# rocks!


Lidgren.Library.Network is a pure c# networking library using a single udp socket which delivers a simple API for connecting a client to a server, reading and sending messages.

Alternatives to Numerical Recipes

I'd like to add C# to these Recipes, not that C# is going to be useful , but it could lead to good examples of C# and Math combined.

My emailed blog post

I was looking for a way to post via my iPhone :>

Sent from my iPhone

Fog Of War Source Code Article

Fog of war is a cool technique used in a lot of strategy games. Focused Games presents a simple example of how to use FOW.

Tuesday, September 11, 2007

Abramowitz and Stegun: Handbook of Mathematical Functions

A very good collection of mathematical functions in one book. It's also free to download!

Function Memoization

This could be very useful for creating caches in algorithmic function that might computed more than once. Such as the fibonacci numbers, as provided in this example.

Sunday, September 09, 2007

Neo-Nazi's found in Israel...

It is a very sad day to read this. Even the thought of it makes me sick. I hope the mossad has kept good records of all people that have been in contact with these Russians. I also hope that they are getting good treatment at the jails in Israel.

Tuesday, September 04, 2007

The fonts seem crisp in VS 2008 Beta 2

It could be me just seeing things, but the VS UI has added some font changes and gradients to the color scheme.

Wednesday, August 29, 2007

My old skool days of knowing xterm colors is over!

I had to lookup xtermcolors today for my PS1 shell variable. Its sad, I spent a lot of my computer youth on BSDand Linuxsystems. Now I feel like a unix newbie again! Thats what happens when you program windows systems in .NET . But the rush of rapid development is always a plus!

Trying to get back into NetBSD.

I had no idea why 3ddesktop was running so slow. Well now I know, DRI is not enabled by default on X.Org in NetBSD. It looks like NetBSD has no real support yet for DRM/DRI.

Awsome .screenrc file.

cool screenrc file.

Tuesday, August 28, 2007

Another phidget I dont need.

The IPod wheel has been a winning in the device market. So much that I know companies that patent the idea of using a wheel (just like the IPod).

Thursday, August 23, 2007

.NET IRC and Bots.

Some IRC libraries and chat clients for a project idea I have.

Cool bot ideas, all tho they are little old.

I have been programming with wpf/C#/.NET and it seems to be easy to bang out something quick. It would be nice to have a 3d IRC client. The key to making a good 3d IRC client would be the type of key bindings it has and the way you can arrange the windows inside of the 3d environment. Maybe this weekend I will have some "free" time and get this done.

Tuesday, August 14, 2007

Syntax Highlighting Tool

Blogger does not have integrated syntax highlighting. So here is a quick solution.

My OpenBSD way of having colored man pages.

Here is something you can put in your .bashrc file for colored man pages:

# My OpenBSD way of having colored man pages. Its kind of nasty.
alias vmore="/usr/local/share/vim/vim70/macros/"
function vman {
        manfiles=`man -w $1`
        for manfile in $manfiles;
                col -b < $manfile | vmore -V0 -i NONE -c "set verbose=0 ft=man nomod nolist titlestring=MANPAGE" -

Controlling Storybord Class

Today got burned by storyboard. So a tip I have is storyboard.Begin(this,true); since Storyboard class will not throw an exception if its not able to stop. This kind of seems a lot different then most other classes in .NET and WPF. If the function is not enabled or able to be used why the hell wouldn't it throw an exception! Who knows, just another hacked together thing by Microsoft.

Monday, August 13, 2007

Design Patterns

Anatomy of the Linux networking stack

Here is a simple article on the Linux network stack. Nothing ground breaking but a nice read or refresher if you have not done any kernel programming in awhile.

Friday, August 10, 2007

New book I must read.

Some people seem to keep on being productive. Its amazing how much shit this guy has done.

Thursday, August 09, 2007

IPhone Hackers Rock!

I still do not have an IPhone, but a coworkers has one and we have been hacking around on it. The toolchain needs to be ported to x86 linux some time soon (Like when I buy a IPhone.)

Slut - suffering from a sex addiction (female)

PC phrases are great!

Stud - suffering from a sex addiction (male)
Stupid - differently-brained
Stupid - intellectually impaired
The Elderly - Senior citizens
Thin - horizontally challenged
Thirsty - osmotically challenged
Tone Deaf - musically delayed
Too old/young - other aged
Too Tall - people of height
Tree-Hugger - environmental activist
Trees - Oxygen Exchange Units
Ugly - aesthetically challenged
Ugly - Cosmetically different.
Ugly - facially challenged
Unemployed - Involuntarily leisured.


Another site for jewish music.

This site has more folk and traditional type music, no hardcore rap by Subliminal.

Wednesday, August 08, 2007

IPSCAN for Windows.

Cant wait to play with this tool, now that I am a full time windows xp and vista luser. Switching development environments sucks, but there are some good pro's to development on windows platforms. Such as the nice sdk's with lots of example code.

Remote Exploit's BackTrack.

BackTrack looks almost like a complete distro of security tools for basic needs. I think a USB boot image should be provided.

Top 100 security tools list is out.

It might of been out for awhile, its nice to see new projects and some of the old ones are still around. Its amazing how much OpenBSD has lost its popularity, I guess its due to the rejection of the development community attitudes.

The PC PC.

The Politically Correct PC or also known as Vista!!! Vista is so PC, if it finds bad content on your Cdrom drive it will try and format it for you. Even if the CD has already been formatted and can't be written too! Also, if you want to explore folders on a floppy drive in Explorer, since floppy's are old Vista takes the Politically Correct route and does not open the floppy or even better, system crashes. There are tons of things vista wont let you do since its not PC! Its the PC PC.

Monday, July 30, 2007

stupid insane signs

This video rocks!

Saturday, July 21, 2007

I still do not have an IPhone!!

I still do not have an IPhone!! Some of my friends have them and they are great! There is nothing missing, the UI is wonderful and it comes with head phones that I have always wanted. I hated the head phones for cell phones. Most of them come with a mic but the V shape to the single wire of the headphone, it is all off centered because they join at the mic. The IPhone comes with a very tiny mic that you can push as a button to answer calls. The head phones are the same shape as the IPod head phones which I really like. Anyways, here is a funny picture from the SMS Mailbox.

Thursday, July 19, 2007

IntelliSense Dies

If you use Team Explorer and auto check out by typing in a source file IntelliSense might die. This happens to me when the objects you want to use are outside of the current project but not in the .NET framework. Best solution is to restart the IDE and things might be normal again.

Changes to Xaml does not force a recompile in Debug

Visual Studio 2008 is still dumb to when xaml source code needs to be recompiled. When changes are made to the xaml code and you want to run it under the debugger the IDE should recompile the code for you. Guess what, it doesn’t. This was also a problem I had with the Visual Studio 2005 Orcas Plugin (or whatever it was called).

Exception Window for Xaml Code.

The VS Orcas team thinks there pretty slick, now when you change a line of xaml and don’t recompile the IDE will tell you there is an exception. This is great when you want to check for them, but not when you are editing code! How do these guys think up this stuff. One of the first things they should of done is stopped the IDE from crashing from bad or even good xaml code. Now I face the problem that one of my usercontrols crashes the IDE when another application try's to load it. The usercontrol works fine during run time but crashes during editing time! This usercontrol is very simple, three rectangles and one line.. This might be too much for the new powerful Orcas IDE to handle! Remember just to press ESC when ever loading the designer part of Visual Studio Orcas, because it tends never to work.

Microsoft Robotics Studio and Lego Mindstorms NXT

I'm going to finally put my NXT to use. One more item I need to get is a wireless camera, then I could create a simple bot to rom around parts of the house. I could even build a track close to the ceiling that the robot could track around. That sounds like a cooler idea!

Thursday, July 12, 2007

East-West Cassino

This must be the craziest patent that I have ever seen. All kinds of spelling errors and insane rants. If you have time and want a good laugh I suggest you check this one out. If any of it makes sense to you please let me know.


You have to click on this link, funny JibJab Matzah Hip Hop Animation.

Funny bush kid

JibJab has a great collection of funny videos.

Monday, June 25, 2007

Gates vs. Jobs


Nice software that shows a lot of nice controls for wpf. There is source code.

Friday, June 22, 2007

Wednesday, June 20, 2007

Poker Bot Artificial Intelligence Resources

Nice site for poker bot developers.

The 2/4 Rule For Calculating Odds

This is a dirty rule for texas holdem, some people swear by it... I think its a good starting point.. But I'm a fake poker player. Here are some other texas holdem links:

Crazy Ass Quantification

Proff That Online Poker Is Rigged!

HAHAHA, this is too funny.

Design Patterns for Searching in C#

Wednesday, June 06, 2007

The Pinball Game and Pascal's Triangle

"Are you a vegetarian?"

Today at work, some one pop'd there head into the office for a meeting. The manager he was supposed to meet with was just about to have lunch. The lunch was all vegetables and the co-worker ready for the meeting ask the manager "Are you a vegetarian?", The manager reply's "Yes" and then continues to say "I eat vegetables 95% of the time!". I guess its something you had to hear and see at the same time.

Monday, June 04, 2007

Wednesday, May 30, 2007

How To Write a 3D Game Engine

Not that I'm looking forward to do anything like this, but it should help with understanding the concepts of 3D engines.

Concepts behind the C# 3.0 language

This article is a nice introduction to the features and concepts new to C# 3.0.

Amazing Lego Art

Amazing Lego Art

New MythDora 4.0

I have an unused TV in the house, this project is going to be perfect for what I want todo. All I really care about is the new reader in myth : )

Advance Mame Project.

Mame has come a long way!!! I'm able to relive my past again.

Tuesday, May 29, 2007

LOLCODE, I might as well give this project a link.

Crazy Crazy stuff.

Monte Carlo Simulation Using Parallel Asynchronous Web Services with .NET 2.0

Just thought it was cool!

.NET random number generators and distributions

This could make a very nice library for testing some gaming related programs I have.

Windows firewall by Yoggie Security Systems

An Israeli startup puts out a great product. This device is cheap and runs Linux. I have not played with it my self but once its on the market I have to buy one. I think usb key type devices are going to bring a whole new way we use computers. The memory is getting large, processor are getting smaller.. Public computers must just need your usb key to boot up a system that is defined by you. You could keep your desktop settings and personal programs all on one key.

Sunday, May 27, 2007

The crazy people in NJ!

I started to watch a TV series. The IT Crowd

The first time I liked comedy that came from england. Most of the time I find there comedy dry and boring. But nothing beats this show, its funny as hell.

Another post about a movie. Disaster!

This movie is better then Team America, towards the end it gets a little old, the same thing happen with Team America. Disaster! did not make it to the US movie theaters, but it should of. Funny puns on every walk of life happens in this movie! If you look at the director list, its a bunch of Jews who have done it again! The production of a great movie.

Running Scared (2006)

The most amazing movie I have seen by far. This movie is so unique in the way events happen, transition of scenes, and plot. The craziest part is when the pedophile murderers say "We are sick and need help", that part of the movie I just cant get out of my mind. I was happy when the lady shot them both, they don't get the chance of help!!! How the hell does someone come up with this shit.. Well here is a even crazier story. I just looked up that story, some people are really fucked up in this world.

Smoking Aces Crazy Kid

See The Skillz!@!@!@ I have been watching a few movies this week. This part of Smoking Aces was crazy.

I will never understand why food is so much fun!

Tuesday, May 22, 2007


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

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

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

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


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