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/less.sh"
function vman {
        manfiles=`man -w $1`
        for manfile in $manfiles;
        do
                col -b < $manfile | vmore -V0 -i NONE -c "set verbose=0 ft=man nomod nolist titlestring=MANPAGE" -
        done
}

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.

Matzah!

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

Family.Show

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:

http://www.codeproject.com/csharp/MoreTexasHoldemAnalysis1.asp
http://www.codeproject.com/csharp/MoreTexasHoldemAnalysis2.asp
http://www.codeproject.com/csharp/pokerhandevaldoc.asp

Crazy Ass Quantification

Proff That Online Poker Is Rigged!

HAHAHA, this is too funny.

Design Patterns for Searching in C#

http://www.frontiernet.net/~fredm/dps/Contents.htm

Wednesday, June 06, 2007

The Pinball Game and Pascal's Triangle

http://commons.bcit.ca/math/entertainment/pascaltr/index.html

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