Friday, March 26, 2010

Launch of Microsoft Visual Studio 2010

JOIN US APRIL 12th, 2010
for the launch of Microsoft Visual Studio 2010

Visual Studio Logo

Join us at The Code Project Tech Summit to experience the Microsoft Visual Studio 2010 launch alongside the Visual Studio team. At this virtual event you can explore, network, and learn from the experts on the latest and greatest version of Microsoft Visual Studio. From the convenience of your desk, enjoy the following:

  • Instructional sessions on Visual Studio 2010 from the industry experts
  • Interactive chat rooms
  • A virtual tote bag with must-have programming resources
  • Virtual exhibit hall with the newest and latest products and services for all your programming needs
  • And prize giveaways!!!

The session topics will range from all the new, great features in Visual Studio 2010 to Silverlight, WPF, WF, WCF, Application Lifecycle Management, .NET 4.0, ASP.NET 4.0 AJAX, ASP.NET MVC and much more!

View a LIVE Video of the Las Vegas Conference Keynote!

You can witness Bob Muglia presenting his keynote for the Microsoft Visual Studio Launch Conference and Expo – no travel required!
Register link

Attend our live sessions to learn everything you can do with Visual Studio 2010:
Bob Muglia
President of the Server and Tools Business (STB),
Microsoft Corp.
Doug Seven
Senior Product Manager for Visual Studio Team System,
Microsoft Corp.
Tony Goodhew
Product Planner for Visual Studio 2010,
Microsoft Corp.
Sam Gazitt
Product Manager In Developer Division,
Microsoft Corp.
David Mackay
Manager of Technical Consulting Engineering Team, Intel
Arthur Haddad Software Architect and Senior Development Lead
Jason Beres
VP of Product Management, Community, and Evangelism
Robby Powell
Group Product Manager
Keith May
Director of Development

Check out some of the great prizes you can win just for showing up:
  • Win a Free Zune 16 HD from Microsoft
  • Lots of Free Products from out SPonsors, like:
    • Free 30-Day Evaluation Edition of the SLP Online Service from InishTech: Software Licensing and Protection
    • NetAdvantage ICON Preview Pack from Infragistics
    • NetAdvantage for .NET from Infragistics; over $2,599 value!
    • 1 Year, 5-user Quince Pro License from Infragistics, a $995 value!
    • Award-winning FarPoint Spread and ActiveReports Products from Grapecity
    • Win a Year of Free Training from LearnDevNow
    • Instructional books from Pearson: Addison-Wesley & Sams Publishing
  • Plus many more!


Monday, March 22, 2010

Stop Buffering a YouTube Video

Stop Buffering a YouTube Video

Sometimes you start watching a YouTube video and you realize that it's not very interesting. You pause the video, but YouTube continues to download the file. What can you do to stop the download?

Until now, a simple trick to stop buffering a YouTube video was to fast forward to the end of the video. The good news is that YouTube added an option to stop the download: right-click on the video and click on "Stop download".

YouTube's help center has more information about buffering. "The YouTube video player downloads a video as it plays. A buffer is a section of memory in your computer which allows for the simultaneous writing and reading of information -- on YouTube the buffered section is represented by the red section of the video timeline. The YouTube video player reads video information from one section of the buffer while writing to another. This kind of multitasking allows for smoother playback of video during a continuous process of downloading which is especially helpful for slower connections. "

Sunday, March 14, 2010

A Brief History of Pi

A Brief History of Pi

Sarah Jacobsson, PCWorld

Mar 14, 2010 7:00 am

Everybody knows that the value of pi is 3.14…er, something, but how many people know where the ratio came from? Actually, the ratio came from nature--it's the ratio between the circumference of a circle and its diameter, and it was always there, just waiting to be discovered. But who discovered it? In honor of pi day, here's a brief (sort of) history of how pi came to be known as 3.14(1592653589793238462643383279502884197169…etc).

It's hard to pinpoint who, exactly, first became conscious of the constant ratio between the circumference of a circle and its diameter, as human civilizations seem to have been aware of it as early as 2550 BC. The Great Pyramid at Giza, which was built between 2550 and 2500 BC, has a perimeter of 1760 cubits (one cubit is about 18 inches, though it was measured by a person's forearm length and thus varied) and a height of 280 cubits, which gives it a ratio of 1760/280 or approximately 2 times pi. Egyptologists believe these proportions were chosen for symbolic reasons, but, of course, we can never be too sure.

The earliest textual evidence of pi dates back to 1900 BC; both the Babylonians and the Egyptians had a rough idea of the value. The Babylonians estimated pi to be about 25/8, while the Egyptians estimated it to be about 256/81.

The Ancient Greek mathematician Archimedes of Syracuse (287-212 BC) is largely considered to be the first to calculate an accurate estimation of the value of pi. He accomplished this by finding the areas of two polygons: the polygon that was inscribed inside the circle, and the polygon in which the circle was circumscribed (see fig. 1). Archimedes didn't calculate the exact value of pi, but rather came up with a very close approximation--he used 96-sided polygons to find an average value of 3.1485.

Figure 1: Archimedes' Polygons

Chinese mathematician Zhu Chongzhi (AD 429-500) used a similar method to approximate the value of pi, using a 12,288-sided polygon. His best approximation was 355/113.

Pi, or, at least, the approximate ratio, also appears in the Bible:

"And he made a molten sea, ten cubit from the one brim to the other: it was round all about, and his height was five cubits: and a line of thirty cubits did compass it round about." --1 Kings 7:23

(It should be noted that the Biblical ratio for pi could be more accurate than one might think, since cubits changed depending on a person's forearm length. So, assuming the Bible isn't quoting cubits from the same person each time…)

In the 15th century, Indian mathematician Madhavan of Sangamagramam discovered what is now known as the Madhava-Leibniz series (named after German mathematician Gottfried Leibniz, who rediscovered the series in the 17th century), an infinite series that converges to four, and was subsequently able to calculate pi to 11 decimal places.

The Greek letter pi (p) was first used to denote the constant ratio in 1707, by Welsh mathematician William Jones, though the use of the symbol was not popularized until 1737 by Swiss mathematician and physicist, Leonhard Euler. Pi was taken from the Greek word for perimeter.

The most accurate calculation of pi before the advent of the computer was by D. F. Ferguson, who calculated pi to 620 digits in 1945 (previously, William Shanks had calculated pi to 707 digits in 1874, but only 527 of said digits were correct).

Of course, then computers entered the picture and calculating pi knew no bounds--beginning with D. F. Ferguson's calculation of pi to 710 digits in 1947 with a desk calculator to Takahashi Kanada's calculation of pi to 206,158,430,000 digits in 1999 with a Hitachi SR8000. The longest calculation of pi to date was performed in 2002 by a team at the University of Tokyo--1,241,100,000,000 digits, with the help of Hitachi.

So there you have it--Egyptians calculated pi using pyramids (or did they calculate pyramids using pi?), Archimedes busted out the 96-gon, Zhu Chongzhi one-upped him with a 12,288-gon (or is that 12,192-upped him?), Ferguson calculated 620 digits by hand, and the University of Tokyo used a Japanese super-machine to calculate a mere 1,241,100,000,000 digits.

Aren't you glad they did all that work for you, and that all you have to do on pi day is troll geek havens in search of free pie?



Popular Posts