Sometimes I dislike Entrepreneurs!

When is multi-threading not a good idea?

18. September 2008 09:40 by Scott in   //  Tags:   //   Comments (3)
 
I was recently asked when not to use mulit-threading so I gave them the best answer possible.  I think my answer below fits the bill pretty nicely.
  1. On a single processor machine and a desktop application, you use multi threads so you don't freeze the app but for nothing else really.
  2. On a single processor server and a web based app, no need for multi threading because IIS handles most of it.
  3. On a multi processor machine and desktop app, you are suggested to use multi threads and parallel programming. Make as many threads as there are processors.
  4. On a mulit processor server and a web based app, no need again for multi threads because IIS handles it.

In total, if you use multi threads for other than un-freezing desktop apps and any other generic answer, you will make the app slower over time IF you have a single core machine.

Why? Well because of the hardware switches. It takes time for the hardware to switch between threads in total. On a multi core box, go ahead and use 1 thread for each core and you will greatly see a ramp up in speed at the start and over time as the cores heat up.

kick it on DotNetKicks.com
If you liked this post, please be sure to subscribe to my RSS Feed.

StyleCop was just released!

12. September 2008 06:55 by Scott in   //  Tags:   //   Comments (69)

For those that don't know. StyleCop was just released!

For those that don't understand what StyleCop is.  It is a tool that formats your code to all standards that makes it readable and nicely organized for human consumption.  It makes you look like a Rock Star (<-- that phrase is so over used).  I have started to use it and I currently have well over 1000 style errors.  I guess I need to adjust to make it work with the standards set out by the coding gods.

I would suggest a download and you look at it.  It should be at least looked at.

kick it on DotNetKicks.com If you liked this post, please be sure to subscribe to my RSS Feed.

JQuery Cheat Sheet

11. September 2008 13:43 by Scott in   //  Tags:   //   Comments (49)

Found a great cheat sheet for JQuery.

http://www.gscottolson.com/jquery/jQuery1.2.cheatsheet.v1.0.pdf

If you liked this post, please be sure to subscribe to my RSS Feed.

Want to Learn Javascript.

11. September 2008 12:37 by Scott in   //  Tags: ,   //   Comments (100)

I have set out to learn Javascript.  I have started looking for the best things to do to learn javascript and what to use.  I guess time is on my side with JQuery and Visual Studio 9 which supports intellisence with Javascript and Jquery.

I also wanted to make an honorable mention for those folks out there that make it easier for itellisence to work with Visual Studio 9.

 http://www.mustafaozcan.net/en/post/2008/06/15/JQuery-1-2-6-Intellisense-for-Visual-Studio-2008.aspx

 Thanks Guys.

Here we go.

If you liked this post, please be sure to subscribe to my RSS Feed.

Hey All.

27. August 2008 06:58 by Scott in   //  Tags:   //   Comments (7)

Hey guys,

 Sorry I have been gone for so long.  I have been working hard for the past 3 months on getting a personal project pushed out the door which will hopefully allow me to enter into my own business a little bit.

 I want to have the money to hire some folks from college and pump more time and effort into ideas that I have floating around.  I don't want to let my site out yet because I am still working on it, but I wanted to let people know that I am working very hard on it.

If you liked this post, please be sure to subscribe to my RSS Feed.

Control tower to the Internet, Google is a hypocrite!

4. June 2008 08:41 by Sam in   //  Tags: , ,   //   Comments (10)

May 19th, Joseph Lieberman which is a US Senator from Connecticut asked Google to remove internet videos produced by terrorist organizations like Al-Qaeda from its YouTube site.

"Islamist terrorist organizations use YouTube to disseminate their propaganda, enlist followers, and provide weapons training," - Senator Lieberman.

"YouTube also, unwittingly, permits Islamist terrorist groups to maintain an active, pervasive, and amplified voice, despite military setbacks or successful operations by the law enforcement and intelligence communities."

Google responded with:

"(W)e examined and ended up removing a number of videos from the site, primarily because they depicted gratuitous violence, advocated violence, or used hate speech. Most of the videos, which did not contain violent or hate speech content, were not removed because they do not violate our Community Guidelines."

On this note, Google continues to allow organizations that are deemed Foreign Terrorist Organizations to post videos that are viewed by citizens in the United States.

Update: Google currently still allows videos to be viewed by United States citizens.

On this topic, The Thailand monarchy asked Google to remove a clip that insulted its monarchy of 80 years.  Google removed the video at the request of the monarchy.

Everyone that has the internet knows about China’s great Firewall and knows the Google edits their search index to remove sites that China does not allow.

        “One mans Terrorist is another mans Freedom Fighter” – Anonymous.

To understand Google, you need to understand their mission. “Google's mission is to organize the world's information and make it universally accessible and useful.”

Google by their own Mission Statement should not be aiding China in removing links, it should not be removing video’s from YouTube for Thailand and it should not be removing video’s via request from a senator.

Here is where Google is a Hypocrite.  Google has removed links and videos for both China and Thailand at their request, but has not removed video’s and links at the United States request. In this act, they support U.S. deemed terrorists within the United States.

They can argue that “One mans Terrorist is another mans Freedom Fighter”, but if they are willing to do it for another country, why not the U.S.?  If they don’t do it at the request of the U.S., then why should they do it at the request of China or Thailand.

Do you  see the Hypocrisy?  I ask you to blog about it and let your voices be heard.
BTW, I am not slamming Google, I just ask them to stop falling short of their true Mission!

If you liked this post, please be sure to subscribe to my RSS Feed.

Microsoft MVP: How to become?

27. May 2008 22:13 by scott in   //  Tags: ,   //   Comments (0)

During work the other day, I was talking to my boss about the MSDN license in our little corner of the building and we discussed the prices, rankings and costs. I then remembered that all MVP's get a free full license of MSDN.  Its not that bad, actually its kind of nice.  For helping the community, you get helped out with important software that you can test and play on which hopefully allows you to become MVP again by staying up on the technology. I though am not an MVP and I would like to know how to achieve one.  I imagine if I do a great job at my ASP.NET experience, the MVP will just come to me one day, but it still doesn't hurt to know how to achieve one.

What is an MVP - "Microsoft Most Valuable Professionals (MVPs) are exceptional technical community leaders from around the world who are awarded for voluntarily sharing their high quality, real world expertise in offline and online technical communities. Microsoft MVPs are a highly select group of experts that represents the technical community's best and brightest, and they share a deep commitment to community and a willingness to help others."

How to Become an MVP - There are plenty of posts out there that discuss the ways of becoming an MVP. I though know the secret formula. Just kidding. I will try to compile all the thoughts of MVP's out there on how to become one.

  1. You must be nominated by your peer or by Microsoft. This is the foot in the door approach and it can only start here.
  2. Become an active member in user groups. You can't just contribute here, you actually have to become an active leader in the group it self.
  3. Blogging is close enough to a requirement as ever. It shows that you are interested in Microsoft and want to help others with problems they have.
  4. Writing and publishing books. Its a bit harder than it sounds, because where are you going to get a publishing company to sign you up when you not very well known?
  5. Speaking Events - Code camps and conferences.  I can imagine you can sign up to your local .NET User group and start making events for them.
  6. Recognition as a known expert in your field of study.  This is a must because MVP classifications are split up by field of study.
  7. Have a great attitude in general. Don't be rude, vulgar or disrespectful.
  8. Have Genuine desire for the betterment of society.  I know plenty of programmers that actually complain too much and don't decide to fix something they keep complaining about it. If you find your self complaining, go ahead and try to fix it instead of complaining about it.
  9. In the end, it was said best here or below.

"It stated clearly that I'd been nominated for a Microsoft MVP position - and that I should submit examples of my work, communities I frequent, speaking engagements I would be involved in, and any publications I'd contributed to and I could possibly be a Microsoft MVP for the asp.net / visual discipline."

In the end, I suggest you just help others and if you keep helping and make a difference in the communities you frequent, you will be nominated and then become an MVP.

I wish everyone good luck on this endeavor, for I wish to become an MVP someday, but can wait to be nominated for this prestigious award.

If you liked this post, please be sure to subscribe to my RSS Feed.

Who am I?

21. May 2008 22:12 by Scott in   //  Tags: ,   //   Comments (0)

Redlion

My Profile and Accomplishments

By now you might be asking who I am.  You keep reading my posts, but have no idea what I look like or what I do.  I am Scott Pio, I graduated from College at Florida Institute of Technology and currently live with my girlfriend Sara in Palm Bay, FL.  I work for a Government Company that has been in the news a lot as of lately.  I grew up as a kid who took things apart to see how they worked inside.  I just had one small problem, I wasn't able to put them back together and of course disgruntled my parents.

I am an Eagle Scout with the Boyscouts of America where I spent all my free time, along with being Tomoka Chapter Chief for two consecutive years in the Order of the Arrow.

I was expelled out of High school for hacking as a freshman and was forced to stay in High school because of a little A.D.D. I supposedly had.  I was no longer allowed to touch a computer at my High School for the remainder of my high school career. I guess I have turned that all around since I work for the Government.

I joined a Fraternity called Lambda Chi Alpha which I think has shaped a lot of my life up to today and It was one of the best experiences I could have had.  I still participate in it today and love to keep working at it. It has shown me a lot about morals and character.

I work on my own projects and ideas on the side and am always looking for another ASP.NET programmer who is willing to have late nights for no pay in the beginning, but I am willing share with you the profits once the programs are actually up and running.

Why Blog?
I blog because of the ideas I want to keep in my head.  I research something or learn something new and want to document it so I keep it in my memory. If people can learn from something I said, hey why not help them out too.

What is that Red Lion holding a White Rose for?
That picture illustrates "Strength protecting innocence." It is one of those things that has always been close to my heart and I use it on every Blog I post to and all around the Internet. If you see that symbol, it is probably me.

I am pictured below wearing the green shirt sitting with Richard Campbell, Paul Litwin and Carl Franklin.

How can you contact me?
Contact me here or spoiledtechie @ gmail . com

Why SpoiledTechie?
I just think name clicks well for me.  I am also known as CheetahTech for another alias, but it doesn't describe a person very well.  It describes a company more and I wanted more personalization with the name.

P.S. I hand out my resume upon request. 



If you liked this post, please be sure to subscribe to my RSS Feed.

Impressive Site for free software

20. May 2008 22:32 by scott in   //  Tags: , ,   //   Comments (38)

Today I found a site called www.Filehippo.com.  This site has all freeware on it or at least it seams.  I was impressed when I first found it because it has the top picks/downloads in related fields.  I know it has helped me because I use a lot of these files day in and day out and I now found a place to get all the cool applications.

You can actually see the files that are downloaded the most which means they are highly liked.

Thanks Filehippo

Files I currently use on the top ten list of FileHippo include:

Hamachi - Network admin assistant allows you to set up your own VPN between computers accross the world.

SpyBot Search and Detroy - Spam ware cleaner for your computer.

Songbird - A new music player, but doesn't have the features like winamp does.  Hopefully it catches up soon because I am tired of using the bloated Winamp media player.

Nero - Used for burning all my CD's and DVD's.

Digsby - The underground TOP Secret Messaging client.  It kicks all ass in windows messaging, but is barely known to the outside world.

CuteFTP - My FTP File agent.

WinRAR - My file zipper, I wouldn't leave home without it on my thumb drive because everything now is compressed in some format or another.

.NET Framework 3.5 -  This one is a given for any developer out there and is an essential driver for any windows pc.

If you liked this post, please be sure to subscribe to my RSS Feed.