Want to Learn Javascript.

HEY YOU! Got Computers that are ALWAYS ON? And almost never doing anything?

12. May 2008 21:07 by scott in   //  Tags: , ,   //   Comments (11)


Hey guys, listen up and let me tell you how your wasted CPU time and the cost of the Internet could help save lives! Drop that task your doing now and listen up.

Today it was announced that the mere average video game player could win the Nobel Peace Prize. Http://fold.it has come out with a video game to have you help fold Protein to save cure/forms of Humans Diseases and stop the spread of Cancer. This means that scientists have actually made it fun to cure diseases and they want your help in this endeavor.  They created a video game that allows the human being to take part in folding protein. What is it you say?

Folding Protein - After clicking the link, you received a lot of scientific talk, but I am here to tell you that folding protein could ultimately help and lead the way to cure major Human Diseases.

I am not lying to you, and you could be a part of this. If you decide to play the game, or even go one step further with handing over your idle time of the CPU.  The project is called @Home.  The Various projects that can be worked on are:

  1. Seti@Home - By Far the second largest project of the @Home Projects and is the search for Extra Terrestrial Life. This project examines radio signals to view planetary systems that need to be reviewed.  It also has a really cool screen saver when it runs.
  2. ClimatePrediction.net - This is the current largest distribution of the worlds computers that are involved in this project, which helps forecast the climate change of the 21st century.
  3. Rosetta@Home - Is a need to help determine three dimensional shapes which start the folding protein process. It takes CPU cycles that would be other wise not used and turns those into something that can cure diseases and help cure cancer.

The above is only a small list of of the things that could be done to help save lives or find alien species.  I am apart of Seti@home and Rosetta@Home, because those are the two projects I can personalize with and the faster we find alien species, the faster we can grasp new technologies! haha. I hope you do truly take the time to look at these because I know I have now devoted three of my PC's cycles to it and will be turning the forth one on very soon!

P.S. If your looking for a group to join when you actually decide to do this project, I can be found on the .NET group of each of these projects.  Join in and help save a life.  It doesn't take much and its very little to ask from a computer that is always on anyway.

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

The Actual Cost of Texting, Short Codes and a 7314% Mark-up

7. May 2008 17:25 by Scott in   //  Tags: , ,   //   Comments (0)


Two weeks ago, I went to Dev Connections in Orlando for Microsoft.  It was a blast and I must say if you ever get a chance to go, then do it!  One of the nights there, AT&T had a Developer party where they wanted developers to start developing on their network, because they can see a lot of income come from it.  I agree now knowing the total cost of Text messaging.

At this party, AT&T gave out free Tilts which is currently the best mobile phone on the market if you ask me owning one my self.  They also gave out free large HD LCD screen monitors for a group of six. Oh and lets not forget about the free food of course.

Sending a text message to another person can only take 160 characters of text. For the phone companies, it is not compressed data. It is 160 characters only.  Why such a weird number you ask? Well let me tell you. When phones are on and waiting for a phone call or any type of data retrieval, they are ALWAYS connected to the cell phone tower.  The phones and cell phone towers exchange little packets worth of information back and forth so when ever a call comes it, they can find you straight away.  Cool huh?  That is the way they designed it when they did.  Can anyone guess how big the packets are that are sent between cell and tower?  If you guess 160 characters, you are right.  So to recap, a task that already needs to be completed by cell phone companies, they make back by charging an astronomical of money to the consumer.

If you look at the per Text message cost, lets take Verizon Wireless which charges 0.15 for every text message that gets sent. The figure is small enough, but when you think of it on a kilobyte level it cost the cell phone companies 0.015 cents and it costs us $1.09 per text message Kilobyte.  The markup for costs is 7314%. If you think of it like this, they markup the cost by 7314% when it reaches you, the consumer.  If it were me, I would think of it as pretty arrogant of them to do this.  I am on a plan and only get charged $5.00 per month for 1000 text messages. If I were to use their rate at which it costs them I should be able to send over 33000 text messages a month!

2nd Part:

Short Codes, you know the ones that when you send a text message to shows like American Idol which can cost the developer anywhere from $15,000-$30,000 a year for their company. That's right, the current costs are estimated at $5,000 a month to hold a dedicated number and a REQUIRED $1,000 a month for a testing number.  So when AT&T threw this developer party, I decided to go up there and ask them.  But sadly to say they were only third party contractors.  So as a Developer you can spend around $20,000.00, and then the cell phone companies charge the consumer another astronomical markup. If your still reading this, can you please leave a comment if you have ever seen a higher markup on a particular item.

These kinds of costs need to be regulated.  The companies are charging an extreme amount of money for very little and we are buying it up.  Someday's, I wish I could just start a company that would be able to compete with companies like these.  I do know that I think I will probably invest some stock into AT&T seeing that they bring a pretty good rate of return.

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

FizzBuzz => BizzBuzz. Can you actually code?

6. May 2008 16:46 by Scott in   //  Tags: , , ,   //   Comments (50)


Have you ever been in an interview where they asked you to write code in front of them?  Well I haven't, being so young and so fresh in the developer world.  My Interview went along the lines of:

  1. Have you ever worked on CSS, HTML, ASP.NET and SQL?
    1. Yes I have, as of 2008 I have over 9 years experience with this stuff except for only 1.5 years with ASP.NET.
  2. What are your favorite hobbies.
    1. Fun, Fraternity, my Girlfriend and of course all my software projects that I have going on.
  3. Having them critique me if I will actually fit in with the group.

I have never been asked if I can FizzBuzz.

FizzBuzz - To write a program that prints numbers 1-100.  For multiples of 3, print Fizz, for multiples of 5, print Buzz.  For numbers which are multiples of 3 and 5, print FizzBuzz.

It deals with Modules, hope I spelled that right.  Can you do it?  Leave your code in the comments section, I would like to see your answers to this little problem.

FizzBuzz, the phrase is over used all over the Internet.  It is used by multiple programmers and made popular by www.codinghorror.com which covered the FizzBuzz Dilemma here.

Why am I writing this?  I want to start a movement that doesn't use the word FizzBuzz anymore.  I want to use the phrase BizzBuzz. In my college life, I was a pretty big drinker and well we did play a few games that involved a table a die.  It was called Beer Die.  I suggest you look it up and think on it.  It is pretty fun for those people at the main table, but boring to the people that stand around the table. It was a fantastic game.  Like every drinking game, there were key words that couldn't be said. The words are Bizz and Buzz.  Bizz stood for 5 and Buzz stood for 7.  If you said either of these words, you finished a beer.  So lets start this movement!

BizzBuzz - To write a program that prints numbers 1-100.  But unlike FizzBuzz, For multiples of 5, print bizz.  For multiples of 7, print buzz. For multiples of 5 and 7, print BizzBuzz.

Why? well because FizzBuzz has become to popular and BizzBuzz has some history to it.  So lets start a cult following for BizzBuzz just like the following Beer has.

Thanks for listening. kick it on DotNetKicks.com

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

Books to Read as a Programmer/Developer

1. May 2008 17:11 by scott in   //  Tags: ,   //   Comments (0)

I think just about every programmer has a list of books they wish to read and since I am a programmer, I am no different.  Below will be my ever growing list of books that I suggest to read or want to read.  These books are things that will change the way I think on things in life and that's why I choose to read them.  No fairy tale novels or romance books here.  Its all books I can learn from.

Currently Reading

The Bible - All about Christian ideals. Okay, I know this book is slightly out of context, but it is something that teaches a lot of things for the regular person.

Books I have Read

  1. ASP.NET Unleashed - This book is an in depth study of everything ASP.NET.  It talks about all controls and the deep code it takes to build web sites and winforms.

Want to Read

  1. Code Complete - Steve McConnell - I first heard about this book on a weekly radio show I listen to called dotnetrocks.  I have not currently read this book, but it is supposed to cover the entire scope of Computer Science and coding.
  2. Don't Make Me Think - Steve Krug - I forget where I read this book, probably from the same dotnetrocks interview that I heard for Code Complete.  This book details all items of usability.  How to make the best user interface that a person can create for the user.
  3. Mythical Man Month - Frederick P. Brooks - It is another book that I want to read about the human elements of software engineering.  If you write code, this book should be on your shelf from what I hear even though I have not gotten it yet.
  4. The Visual Display of Quantitative Information - Edward Tufte - By some this author is called a genius in all user experiences and just making life an easy flow of data.  This is a must for any programmer from what I understand.
  5. Visual Explanations - Edward Tufte - Another book by Tufte in which this one and The Visual Display of Quantitative Information are supposed to required reading for any person that develops Great UI's.
  6. Envisioning Information - Edward Tufte - The last and final book that is another must read for Tufte.  People say that it is not required to read all three, but highly recommended.
  7. Introduction to Algorithms - Something I need to read since I am way behind on the curve of programming real stuff.  I was a Computer Engineer in college and got hired up as a Computer Programmer! 
  8. Design Patterns: Elements of Reusable Object-Oriented Software - Supposed to go in depth of why and when to use Object oriented programming and this is another book because I missed my core CS classes while in college.
  9. The Elements of Typographic Style - Lets see how to write and display text better in this world.  This book comes recommended from the highest sources and will not pass it up.

After I finish reading these books, I will move them to the "have read" section and make sure I give a good explanation of each of them.

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

Heroes Happen in Orlando, Florida with Microsoft

25. April 2008 17:08 by scott in   //  Tags: , , , , ,   //   Comments (6)

So here I am attending the heroes happen conference in Orlando, Florida. I left about an hour and a half early knowing I would get there on time. I was driving down the road and the first toll I come to, they said they won't take a company Amex card. I told them I didn’t have any cash so what happens now “do you take me to jail”? Here I was thinking I would have to pull off the side of the road and be talked to by a cop. Oh-boy, but he then spoke up and gave me a small toll violation sheet that says don't do it again.

I pulled off at the next exit and got $20. So right before I was about to get off at the final exit, I go over this small bridge and a cop was waiting on the other side. Seeing  that I was late, I was trying to make up time by going 77 mph. The thing I didn't know was this 4 lane highway had a speed limit of 55 mph.

Oh boy, I got pulled over and I now have to pay $200 to an Orlando sheriff’s office. So I pull in to the convention center and now running about 30 minutes late and for those who haven't been to the Orange County convention center. It is huge, no doubt about it. So after driving around, I thought I arrived at the concourse, so I got my stuff together and started walking. I asked a staff person where Microsoft was and of course he had to say “not in this building”. Oh boy not again. I get back in my jeep and I find the Microsoft conference. I’m in the home stretch. Not ten minutes goes by and I have LOST MY WALLET! I drive back to the other parking lot to look and don't find it. I decide I’m wasting time and I guess I’ll call all my banks soon to cancel my cards. I go back to the convention center and found out they require $10 for parking. I don't have my wallet and therefore don't have cash. I decided to drive over the curb to get in. I’m not proud of it and will likely regret this for a while, but maybe ill mail the convention center $10. So I’m finally in. I arrive and the developer session is getting ready to start. I grab one of those Microsoft handy dandy lunch boxes and go into the session. So anyone want to donate $200 to my cause? Email me at spoiledtechie (at) gmail dot com.

Microsoft Lunch box

The sessions are brought to us by www.Devfish.net.

Disclaimer: I was expecting to write an in depth article on what I learned, but these sessions were not able to go into learning new things, it was all about what Microsoft rolled out and so my points are brief.

Now on to the session:
They started off with a brief presentation and moved right into the changes with Visual Studio 2008.

Some features they listed off include:

Split view window
The split view allows for both your UI code and the UI display of the page to be displayed. It was one of those wonderful improvements that came with this upgrade.

JavaScript debugging
A big update for JavaScript which can let you go through the code and set breakpoints just like in your code behind page. This along with JavaScript intellisense is a HUGE improvement.

JavaScript intellisense
Just like the intellisense for the code behind page, they now have intellisense for JavaScript. This brings the entire library of JavaScript into our hands instead of looking through a book for them. Amazing!

Framework drilling
This feature allows you to change and upgrade your framework from 2.0 to 3.5 in just a few clicks. It is done by selecting the properties of the solution and clicking on the drop down in the display to select the framework.  Quite impressive.

Ajax control toolkit at codeplex.net
The toolkit now comes with both .NET 3.5 and Visual Studio 2008. Both of which is old news, but still very cool.

Next session: creating an outlook form control.
They talked on how to implement our code into office products. They used a web service for communication along with LINQ. The front end was built with regions and WPF.

They went on to discuss Sharepoint workflow's which looked interesting. They hit on about 20 steps in visual studio 2005 that needed to be completed in order to create workflow's. It looked extremely tedious, but now with VS 2008 It was only 3 steps.

Side note: if you know Microsoft, you know they love blogger's and if you know me, you know I am not the one to hold back. So in this session, they were probably told by Microsoft just what to talk about and probably got a lot accomplished on those topics, but they definitely need to look for better speakers next time that can code and speak at the same time.

Next session: smart client applications.

Presented by Russ Fastino with Microsoft and John Goodyear with aspsoft.

They talked about how to make client applications with a better user experience.

They asked about the weaknesses of what Microsoft is doing with WPF. I had to speak up and tell tem that my MSDN license doesn't allow me to use the Expression Studio. It costs too much for the average developer to ask his boss to upgrade to a better user experience.

Interesting point: WPF is offered in Visual Studio express and that means average developers can code with it and have it rendered.

They then showed off the tech preview for Expression Blend 2008. Awesome stuff. I already played with it and used it, but its always fun to see it again. Expression Blend 2.5 has full Silverlight 2.0 support.

Free Stuff received:
Microsoft Lunch box
Vista Ultimate
SQL Server 2008
Windows Server 2008
Visual Studio Standard 2008

Thanks for reading.

P.S. I found my wallet and $20.00 when I went back to look for it where I got pulled over. Interestingly enough, I found $20.00 in the grass and the wallet on the passenger side of the jeep.

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

Day 4 at DevConnections 2008

23. April 2008 17:34 by Scott in   //  Tags: , , ,   //   Comments (10)

Boy am I tired.  I can literally say I am exhausted.  Now here is why. Sessions today were AMAZING and today was a good day because yesterday I found a programmer just like me who is as young as I am who wants to start up his own company just like I do.  I am not telling you his name, but I got his contact information and will be giving him a ring ding ding soon!  Anyone else interested in helping me with my ideas?  I am poor and don't pay until we actually produce something, but I am looking for some takers. I don't mind splitting 60-40 or even starting a small business with employees.  It will NOT be a consulting business, too many of those floating around.  I want to start a business with my own ideas and make them a reality.  Any takers?

Sessions Attended:

Building Custom AJAX Controls:
Taught by Dan Wahlin.  If you have ever met him, he is as tall as me and married.  One question I asked him personally is how he gets so much done and his wife be okay with it, when I have a girlfriend of my own.  He said she gets used to it. This guy is also pretty interesting and pretty informed on the subject of ASP.NET.  I enjoyed this session, because the JavaScript he taught was pretty much down to my level of understanding.  He hit the topics of web services and JavaScript debugging in Visual Studio.  He hit on the things to do when your starting up a new JavaScript file and make sure it talks to ASP.NET.  Cool session, but far too much to be explained here.

Building N-Tier Applications with LINQ:
Taught again by Dan Wahlin.  Another great session about how to implement LINQ into your projects and showed the easy parts of LINQ which only gets easier from T-SQL.   Thank you Dan for this great session.  It is a lot to implement in this short session.

Can you tell I am getting tired?

PLINQ: LINQ but faster:
Taught by the one and only Stephen Toub.  The same guy I met last night is now teaching a session.  I didn't know much about what he was talking about last night, but when he hit on it today in the session, I WAS BLOWN AWAY.  So, he has got this 24 CORE computer up in Washington that he ran demos for us on.  If you don't know what LINQ is I should ask that you check it out.  PLINQ is the next step up and which you can select and transfer data at tremendous speeds using the processors that a person has in their computer.  He completed a select statement with one processor with 256mbs worth of data and took about 20 seconds.  The second select statement was with PLINQ with the same amount of data and the select completed at .5 seconds.  Amazing STUFF.  This kind of data selects could be used for gaming and even the Folding@Home project where they use personal computers from all around the world to fold protein.  Amazing things if they only had their hands on this.

.NET Rocks:
Live interview with Dan Wahlin.  I screamed a few times and asked the first question. Great interview and good times thanks to Carl Franklin, Richard Campbell and Dan Wahlin.

Time to Go home.  Thanks for reading.  More to follow. 

Side Note: I am required by my company to do a "What I learned" white paper.  I will post it to this blog when done, because it will contain a lot of things that I thought would be too detailed to explain in these entries.

kick it on DotNetKicks.com

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

Day 3 at DevConnections 2008

22. April 2008 17:32 by Scott in   //  Tags: , ,   //   Comments (8)

The third day and almost done.  I wasn't happy that the third day was here, but I guess I have to live with it.  There is something about being around a bunch of nerds. All I can say is I did thoroughly enjoy my self on this day.  I got to meet a bunch of interesting fellows including Carl Franklin and Richard Campbell.  I will speak more on that later, but now lets get to what I learned.

Sessions Taken:

Programming SQL Reporting Services:
Taught by Paul Litwin which is the director and coordinator of sessions at DevConnections.  He was extremely knowledgeable in Reporting Services and one area of development that I needed more time in.  I specifically need this for my job more and so any Reporting services sessions I saw at DevConnections, I made it mandatory for me to go to. This session along with the other reporting session I took, were very informative.  They talked about how to make very good looking reports along with the ability of drilling down to more detailed reports when you clicked on a certain data item.  The reports are coded on the back end with vb 6 and so this causes a slight problem when a developer works in C# or VB.NET and they have to convert to the old ways of vb 6.  I also learned a few things about configuration manger and how to access the web.config files information.  This was a rather valuable session and I must say that if you haven't already, meet Paul Litwin personally.  He is quite a character and was a great help on a personal level.

The Science of Great UI: A MUST see session!
Instructed by Mark Miller.  This was one of those sessions you take a lot of information in and only remember it for a small amount of time unless you implement it.  This session was taught by the same guy who invented and is the Chief architect of CodeRush.  Mark presented extremely well and talked about all the UI problems in many programs he sees out there in the real world.  To give you an example, the SAVE button is an old "A:" floppy drive, but who uses those anymore?  Another would be not to have keyboard shortcuts in any program you create. Shortcuts are essential to great UI because it lets you get around the program faster.  I must note that half way through the session, Marks computer went down and instead of saying "oh my god, the session is over" he pulled out his thumb drive and asked for another computer from the audience.  He is a great speaker and presenter which knows a lot about UI.  One session I would like to see over again.

ASP.NET Internals:
Taught by Rob Howard.  When I was done with this session, I was immersed in the amount of stuff I didn't know and the amount of stuff I will try and remember.  He described a lot to do with why the ASP.NET team built things the way they did.  Why the Update panel does a full page update, the need for sessions and caching, the underlying structure of the framework, the IIS advances with ASP.NET.  He also showed information about the HTTP Runtime and the underlying way to create a scheduled task. For Example:lets say you are on a virtual network and don't own the box so therefor you can't create a scheduled windows tasks.  He showed us how to do it using the Global ASAX and how to speed up our box by caching a lot of data.  I admire this man.  He has done exactly what I wanted to do with my life.  I went up to him at the end of the session and let him know he was my hero. He built a application that is free to non-profit organizations.  Its called Community Server and after quitting Microsoft he has turned a profit and is continuously working on it day in and day out.  He had an idea and went with it.  That is why he is my hero.  I have plenty of ideas and I am currently running with one of them, but finding the time is the issue. haha.  Thank you Rob for a wonderful job.

Building "Pure" Ajax Applications with ASP.NET Ajax:
Taught by Stephen Walther. This session went into a DEEP DIVE into JavaScript and how it could be made without full page posts backs.  I must say that I did drop out of this session half way through because it was more about politics and why using JavaScript over ASP.NET controls was better than the other.  It didn't take a deep dive into how to functionally use it which is what I would have wanted.  After dipping out I went to ASP.NET search engine optimization tips and tricks by Rob Howard.  This session after enjoying the first of Rob's sessions was also very cool.  I enjoyed understanding how to better suite my online application for the search engine these days.  Thanks again Rob for another wonderful half a session.

Building a LINQ-Based Business layer for ASP.NET application:
Instructed by Rick Strahl.  I must say I am a frequent visitor to Ricks site and the picture on the left hand side doesn't do him justice for the way he looks in person.  Sorry for being blunt, but he is an overall very cool and nice guy.  Sometimes after reading his blog posts, I think he is a bit too smart for his own good and after meeting him in person, I must say he is wicked smart and has a good sense of street smarts. heh.  In this session, he completed a lot of things I didn't know. Background "I have only been programming professionally for a year and a couple of months and he taught me through his code how to really set up an application or multiple applications with one code block." I also must say, because of this mans session, I have started my own framework called the STFramework for SpoiledTechie which builds off of the ASP.NET Framework with my own personal code. heh. He taught us how to set up an application layer, business layer, data layer and a UI layer for starters.  Then he went deep into how fast LINQ was compared to other data selects and I must say, it does become a bit slower, but over all LINQ is an awesome language to deal with.

Extra things I learned:
Bill Gates is genuine and has a good character.  I was talking to Julie Lerman which did an interview with Bill Gates and published it in Code Magazine.  Thank you Julie, and which if you haven't met her, she is a great person.  We chatted for a good 30 minutes all about what I was learning, how ASP.NET was evolving, how much people make on book deals heh, and which she introduced me to a guy up at Microsoft named Stephen Toub who works on Parallel Computing up at Microsoft's R&D labs.  Pretty impressive stuff he is working on and which I will explain more in my next post about DevConnections Day 4.

Google has an Achilles heel.  More to come on this topic in my next blog posts, but it is an interesting topic.

I got to spend an evening with Richard Campbell and Carl Franklin who run the Internet radio show DotNetRocks in which their fun an entertaining interviews of ASP.NET superstars are informative and topic related.  Richard, and Paul Litwin and I talked about various things until Carl and Mark Dunn came stumbling in from a Irish pub.  We had great conversation over Microsoft, good drinks and what are Gets:Sets in the programming language.  I did ask the question of what Gets and Sets are and out of Paul and Mark, I will have to say that Mark answered the question better.  Thanks for the great night guys.  I truly enjoyed your company and hope for many other nights like it in the future. heh. Pictures below. Also, Rob Howard was there for a few minutes, but he stepped up as I sat down because it was getting late of course.

Sorry about the lighting, Taken with my AT&T Tilt. From Left to Right (Richard Campbell, Me, Paul Litwin, Carl Franklin).

Ahh, before I forget, I won over $300,000 dollars in PLAY money at the craps table tonight! Too bad it didn't win me anything at the raffle the next day.

I can't think of anything else and I hope this was a good read.
kick it on DotNetKicks.com

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

Day 2 at DevConnections 2008

21. April 2008 18:56 by Scott in   //  Tags: , , , ,   //   Comments (10)

The second day at DevConnections was a bit more exciting than the first. On the first day, we had just basic keynote addresses from some pretty popular people.  On the second were a bit more hardcore and real sessions.  I was happy with the sessions I took, but clearly some developers cannot present well.  Before I talk about these sessions, please understand that these are my unique views and no one else's.  I know I will be giving a harsh critic on one presenter.

Sessions Taken:

A Lap around Visual Studio Team System:  Taught by Neelesh Kamkolkar, which is the Senior Project manager for Team System.  This is the only harsh critic I will give in this post and I am sorry for doing so, but in order for Microsoft to give better sessions, they must learn from their mistakes.  Neelesh spoke about the ins and outs of Team System.  He spoke in an extremely general topic which was dissatisfying.  It seemed to me that Neelesh wasn't prepared at all for this session.  Every test or application he tried to run, failed on him and not only did he NOT try to work on the problem and get it fixed so he can show us a working example, but every time he failed; he said okay lets move on to something else because of time.  I was just upset that we didn't see Team System work at all.  This to me was a very poor planned session and I hope Microsoft sees that he is a better manager than a presenter.  I do want to give him the benefit of the doubt seeing that he said he traveled to three different parts of the world in 7 days, but I imagine he can test app's on his laptop while on the plane. Am I correct?  The only true thing he got done was getting advice from one of his friends in the back (probably a developer at Microsoft) to tell him what to do on Team System.  It almost seemed to me that he had less than 20 hours on the actual application.  I would have rather had the person in crowd that was helping him present and fix his mistakes than him up there as the project manager.  Hopefully Microsoft will learn.

LINQ Deep Dives and Best Practices: This session was taught by Colin Meek.  Now let me tell you about an extremely intelligent programmer at such a young age.  This is your man.  He presented LINQ which didn't hold very many best practices actually he used bad practices, but I must say that he forewarned us that this is not a session on best practices.  The idea behind the session was to take about 15 lines of code to query a database and shorten it down to only 2.  Quiet an impressive goal if I may say and what's awesome is that he did it even with parameters for the query.  He started out going into pretty complex stuff which was a bit beyond me having not come from a CS background, but with a CE background.  He demonstrated what they do to get LINQ to actually work and example code of how they create LINQ. He then went on to actually show us a very basic LINQ query which if you used LINQ at all, you would have done these types of queries.  One thing I did take away from the Session if nothing else, was the point he made was the reason why they switched up the "from and select" syntax in LINQ from SQL. He said it was because they can't actually help you with intellisense against the query if they have the "select" first.  If the "from" is first, they can pull the information from the database and have it work with intellisense.  Pretty smart move if I must say so. Overall, I liked it a lot.

Introduction to the New ASP.NET MVC Framework: Taught by the one and only Scott Guthrie which many consider is an icon in to software industry.  From his keynotes, I saw people trying to get pictures with him and saying that he was a big talking point around the office.  As VP of Microsoft and in charge of ASP.NET, Silverlight, WPF, WCF, MVC and a few other off the top of my head, he is the man to talk to if you want a developers prospective.  At the session he discussed the things MVC framework has in store for developers.  He compared it to a "Car v.s. a Motorcycle" and he truly believed in that. Some people like the car and some like the motorcycle. he said, By no way do we need to switch over from webforms.  I saw only 2 truly real advantages over webforms.  MVC currently can be used for that avid testing bed of developers. It also has URL Re-writing built into it.  He said that ASP.NET will be implementing URL re-writing in the coming future so then the only difference will be the fact that it is easier to test in. That's it ladies and gents, that's the gist of it.  I hope you take that to heart, because that is the only difference.  I for one am glad to know that MVC will not be a new type of language I will have to continue in.

SQL Reporting Services: Advanced Report Design: Taught by Jason Carlson (Doesn't have a online profile).   This is one of the best sessions I have been to so far except for the MVC with Scott Guthrie.  I still think I am taking more from this session than any session so far.  Jason took a DEEP dive into Reporting Services and showed us how to create some pretty good looking reports which I am extremely happy with what I have taken back from this session because the reports I currently have on my application smell like a bad woman's perfume.  I could not say thank you more for showing me the light on reporting services.  I wish I could explain the depth we took, but it is too much information to be explained in one short paragraph.  Maybe later.

Things I learned today outside the sessions:

  1. MySpace.com runs completely on ASP.NET and has now for two years - Confirmed by Scott Guthrie after chatting with him for a few minutes, MySpace still has the CFM tags, but they made the switch over to ASP.NET 2 years ago. Scott told me to email him about a case study they did on the MySpace switch over so I did and will post that valuable information on my blog once I get it.  For a Stat, MySpace saw a 500% reduction of server resources when they switched over from ColdFusion to ASP.NET.  I was happy to hear that because its hard to find any facts on ColdFusion v.s. ASP.NET. This stat is comes from Scott Guthrie.
  2. ASP.NET, Silverlight, MVC, XAML and all the new technologies Scott's Team is coming out with are INTERCHANGEABLE! - What does this mean?  I can upgrade to ASP.NET 3.5 and already have a fully fledged application in production and I can add a XAML page developed in Expression Blend, a full Silverlight page and a complete MVC page running all on the same application with ASP.NET 3.5.  This is Impressive!  I can run all the developer technologies and integrate every single one, into one application that is already in production.
  3. http://memorabilia.hardrock.com/ is a MUST visit site for an awesome Silverlight application! - Hard Rock wanted to categorize all their memorabilia they had collected over the years so they brought it all together for a photo shoot using a 500MP Camera!  I ask you to just go check this site out.  When you Zoom in on the pictures, Really Zoom IN and when you zoom out, really zoom OUT. It is extremely impressive with what they did. I hope you enjoy it for I know I did.

Free Stuff:

  1. Everyone received a free copy of Visual Studio Standard.
  2. AT&T had a developer party and people walked away with LCD big screen TVs, AT&T Tilts and shirts along with free beer and food.

I think that's it and I hope I helped you out with what happened today at DEV Connections 2008.

kick it on DotNetKicks.com

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

First day of DevConnections 2008

21. April 2008 12:18 by Scott in   //  Tags: , , ,   //   Comments (38)

I thought I would tell you what the first day was like.  I am writing this at 1:30 am (too much fun and just kind of happened with the amount of knowledge obtained tonight).

I arrived around 5:30pm, running a little late doing errands and saying goodbye to my girlfriend before I left.  I arrived at one of the largest and finest hotels I have seen in my life I think.  On the shuttle from the parking garage to the hotel, I was told that this is the biggest Marriott in the world complete with 7 pools and a water slide.

From there, I checked in and got settled for about 10 minutes until I had to go downstairs for the keynote speaker of the night.  A guy named Norman (forget the last name) spoke on Visual Studio Team system.  I listened to these things and it is more like they are trying to sell you something than educate you on things, but they did provide some great examples.  If you can, imagine one company with a few hundred software applications currently in development and production.  Visual Studio Team System can bring together and allow for the Developers, Managers, Customers, Designers, etc access to each and every application that comes out of the company.  So like the project I am working on, I would be developing in Visual Studio and the customer and my boss would login to a web based portal and review the current bugs, changes, updates, check-in's, nightly builds etc and see what I am accomplishing.  At Microsoft, the Team system they are using is greatly expanding month by month and they have well over 11,000 users with over 1,000 software projects being built.  If my boss wanted to look at my project and see how it is coming along, all he would have to do is log into this web portal and review every intricate detail in my application.  He wouldn't log out either, he would stay logged in and visit another application in the company and see how it is coming along at the same time.  And then the customer would log in, and submit a change request.  That means no more time spent on developing an SCC workflow for change request from the customer!  From there, Team system dives into the testing the application.  Team System can record movements with the mouse and key strokes to have a live maintainable test.  This allows for automated tests to be completed with a save.  So let’s say I build a workflow and it runs for 5 years, but then I make a software change. Instead of making a new test, I would run the old test over night and see if it passes or fails.  Team system then has the intelligence to tell you all the tests that failed and succeeded over night.  It also has an amazing bug tracking tool that can only be built on.  (Getting more tired)

From there, Scott Rizzo came up and talked about SharePoint.  I have only used it as a web portal application, but it has the ability to create a web application with very little development time.  It blew my mind that I could be up and running with a intranet site in minutes that could be flexed out to thousands of users.  SharePoint definitely should be looked into by all companies more.  This one has the power and development turnaround time to beat out all the other intranet portals that have been built throughout the years.  I was impressed.

Free stuff:  So like I said, If I win the Harley, I will give it to my boss.  I have kept up my end of the bargain and so after the key notes we had to visit about 50 booths and get a card stamped to enter it for the Harley. Sure was interesting, because it actually made people stop and look at each product which I must say is pretty impressive.  80% of the floor was taken up by SharePoint add-ons and the other spots were taken by asp.net guys that have some awesome controls.

I have about 100 business cards, a free backpack with registration, a few cozies for bottled beverages, a bunch of hand outs, a bobble head that AT&T was giving out (by the way they are throwing a developers party tomorrow night and are pushing big for teaching developers to develop for the AT&T mobile apps), two note taking binders, and I think that is it so far.  Also, I had a chance to win a Wii, but of course I am unlucky.

At the end of the night, a free beer with a ticket and after some pie; I headed over to the computer lab and met a guy named Jason Carlson.  He is speaking about SQL Reporting services which I do fully intend on attending.
So far, I have had a blast and kind of wished there would have been some hard core software guys playing around in the lobby tonight, but I was wrong.  Instead I found a bunch of Microsoft guys to hang out with. (I guess I am somewhat of a farm boy "Fan boy")

Internet is $15.00 a day here also, so Instead I decided to just hook my laptop up to my phone and use its Internet so I don't waste money, therefore I don't think I will be online that much but still will see email on my phone after checking it periodically.  Hope you guys are having as much fun reading as I did type.  Later!

Scott Pio
kick it on DotNetKicks.com

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

Malicious Code in 2007

13. April 2008 23:50 by scott in   //  Tags: , , , ,   //   Comments (54)

Whenever I surf the web, I try to look for things to learn from. I try my best not to go to anything that can’t be learned from. I read news articles, I listen to audio books and some of my favorite movies are things that can be used in the real world. I specifically like the movie The Boondock Saints. But this blog isn’t about the Saints. Its about what I learn about the world and wish to share with others.

Today I found a white paper published by Symantec, the virus ware company. They listed off one of the most detailed papers about the overall Internet security threats that we were exposed to in 2007. I for one wasn’t going to read over the entire 105 page document. I just don’t have enough time in the day with all the other projects I am currently working on along with the countless hours of community service I try to do.

I did skim over it and pulled out the graphs (I love Graphs, Visual representations are amazing) which are represented below.

Below shows the amount of malicious activity by country which is extremely interesting. Not because United States is up on top, but because China which has the Great Firewall is second. It surprises me that a country that regulates an extremely large amount of Internet for its people isn’t able to hold back the amount of activity it produces. You would think that a web site that has malicious code on it would be blocked by the firewall, but from what these records show, is that hackers and phishers are thriving in this environment


Below shows the malicious activity per subscriber to broadband. This shows that the countries shown above on the top echelon that are on the bottom echelon of the image below have allot of open connections and are privy to wireless attacks. The countries above have a limited amount of Internet and the ones below have it spread throughout the country i.e. United States.


Below shows how much each person is worth on the black market, which if you think about it, its not much money when someone sells an email list. It is almost disgustingly low. Am I only worth $15.00 to capture my social security number and other information (row three)?


Patch Development

Below shows a breakdown of operating systems and how fast they can push a patch out. I am not going to argue for a particular operating system, but I am very happy to see with the amount of money Microsoft has, they do push out patches extremely fast compared to Apple, Red Hat and HP. I always knew that Apple had a large amount of vulnerabilities, but this graph shows that Apple can be vulnerable for an average of 79 days, which gives hackers a huge window to develop farms or computers from a large amount of user base. If they get control of these computers, they can then distrbute on going updates to their code which would allow them never to be detected.


Below shows browser vulnerabilities which is an awesome display of how fast companies work. Even though Internet explorer is so high on the list of days, 11 days is still a pretty quick turn around. But of course I do surf with Mozilla Firefox, so I am better off than most.


How many vulnerabilities were there in the past 6 months or a year? Looks like Firefox is high on the list, but I imagine they are getting a larger user base over the past 6 months and therefore are being exported allot more.


Plugins are not the best thing to run on your site unless required by a customer who shows a specific user community. Active X is definitely the worst in this case and that is enough said.


Below shows the amount of vulnerabilities in general for the passed year, which I am happy to say that they look like there overall decreasing.


Below is the graph showing that the code being written for malicious purposes is growing and not on a small scale. It looks like it is growing by 100% every 6 months. That is huge, and it also shows that more and more countries are coming online and creating more user communities that destroy and manipulate.


Below shows what kind of code is being written for malicious attacks.

Trojan - is a piece of software which appears to perform a certain action but in fact performs another such as a Computer Virus. Wikipedia.
Back Door - is a method of bypassing normal authentication, securing remote access to a computer, obtaining access to plaintext, and so on, while attempting to remain undetected. Wikipedia
Worm - is a self-replicating computer program. It uses a network to send copies of itself to other nodes (computer terminals on the network) and it may do so without any user intervention. Unlike a virus, it does not need to attach itself to an existing program. Wikipedia
Virus - is a computer program that can copy itself and infect a computer without permission or knowledge of the user. Wikipedia.


How do things propagate and spread to other systems? Well the answer is file sharing with executables or .EXE files. Most likely done through P2P systems that download and upload software along with other highly wanted software. A user could accidentally open a piece of software and never know it was a virus until it was too late.


For those P2P people out there who like sharing files, well I sure hope that you keep the directories closed and only share files through torrents. I know WinMX is still alive and kicking, but it has a hopefully robust detection system.


Who deals with advertising on P2C systems like Google or Yahoo? I know I am a publisher as seen on the side of the page, but there are Trojans out there that automate it for people allowing them to rake in allot of money. I know I used to be a part of a group that practiced in this activity when I was around 14 or 15 years old. I surfed the net while having banners displayed on my desktop, but during that time I was able to get around it because of a group of Angels I was associated with. I have left all that behind now after taking in a large amount of money and putting those companies into bankruptcy. I look back on it now and wish that I hadn’t.


On the last graph, I am also curious to see that China is one of the highest Phishing domains out there, but how is this possible with the Great Firewall?


I hope you now have a better understanding as I do of the problems with the net these days and the top contributors to malicious technology.