.NET Junkies Blog .NET Junkies Blog

Ajaxian Ajaxian

Spectrum Visualization with the HTML5 Audio Data APIThe HTML5 specification introduces the and media elements, and with them the opportunity to dramatically change the way we integrate media on the web. The current HTML5 media API provides ways to play and get limited information about audio and video, but gives no way to programatically access or create such media. We [...]
» 9 Mar 2010, 3:20 am

modulr: a CommonJS module implementation in Ruby for client-side JavaScriptmodulr is a CommonJS module implementation in Ruby for client-side JavaScript Ruby? what does that have anything to do with it? Ah, its from one of those Prototype guys isn't it.... Yup, Tobie is at it again, this time with modulr: modulr accepts a singular file as input (the program) on which is does static analysis to [...]
» 8 Mar 2010, 3:28 am

Friday fun: Let’s translate YUI3 to jQueryI just came across this wonderful Gist on gitHub: PLAIN TEXT JAVASCRIPT:   var $; YUI().use('*', function(Y){   $ = Y.get;   for(var p in Y) {       $[p] = Y[p];   } });   // test $('body').append("boo!");   In case you want to use YUI3 but really really like jQuery syntax :) OK, it breaks the whole sandboxing idea of YUI3, but that's a small price to [...]
» 5 Mar 2010, 5:52 am

Firefox gets hardware acceleration in early stageBass Schouten is a cool name, and the Mozillan has presented Direct2D hardware acceleration. You have to grab Firefox nightly, do the about:config / gfx.font_rendering.directwrite.enabled game, but then you get to see it in action. IE9 showed off how they will support hardware rendering, and I am sure we will see more at MIX, but it is [...]
» 5 Mar 2010, 3:25 am

Color Picker: Works even in IE6Works even in IE6 Love that quote from the color picker over at RaphaelJS land. This plugin by Dmitry Baranovskiy gives you an easy color picker in short order: PLAIN TEXT JAVASCRIPT:   var icon = Raphael("picker", 23, 23).colorPickerIcon(11, 11, 10);   icon.attr({cursor: "pointer"}).node.onclick = function () {     document.getElementById("benefits").style.visibility = "visible";     var out = document.getElementById("output");     out.style.visibility = "visible";     [...]
» 4 Mar 2010, 3:02 am

Touching Cloth; Canvas FuAndrew Hoyer shows his canvas Fu with Cloth, a great experiment using nice physics. What makes this simulation special is the speed at which everything is computed. Javascript (the language this is written in) is not exactly the most efficient language for this type of computation. This being said, much time was spent squeezing out every [...]
» 3 Mar 2010, 3:12 am

Fin: self updating template languageMarcus Westin has created a new templating language called fin. It is an interesting beast, and he gave us a run down: Since this past November I've been working on a realtime templating system I call "fin". I'd love to get some eyes on it, and hope that you'll find it exciting. There is no demo, [...]
» 2 Mar 2010, 8:35 am

New performance case studies… starting with the Digg widgetWould we all like Steve to sit down with us on our project and do a performance case study? Well, we may not get that, but we are getting to at least sit in on others. Steve has kicked off his long awaited series that runs performance case studies on third party content. I have been [...]
» 1 Mar 2010, 3:53 am

Mozilla JägerMonkey: Method based JIT + Trace based JIT = speedDavid Anderson: "TraceMonkey has rocket boosters, so it runs really fast when the boosters are on, but the boosters can’t always be turned on." Opera's new JIT compiler Carakan is doing well as we just posted. What is Mozilla doing with TraceMonkey? A lot. Mozilla JägerMonkey adds method based JIT (of V8 and Nitro fame) to keep [...]
» 26 Feb 2010, 9:05 pm

Opera 10.50 out for Mac, impressive performance and moreThe Opera team has released 10.50 for Mac and along with it some impressive performance numbers: Stabilization Improvements: You will find that this build is much more stable than the pre-alpha build. More polished user interface: The whole UI is more polished now. We're still not done yet, and expect more polishes and improvements in [...]
» 26 Feb 2010, 1:27 pm

ZooTool by MooTool(s)Bastian Allgeier has developed a beautiful, native looking web application called ZooTool. Zootool is a visual bookmark tool for images, videos, documents and links. It is completely based on Mootools, even though it looks more like a Cappuccino app! Play with it. Enjoy it.
» 26 Feb 2010, 3:25 am

Online Presence
Awesome Hosting Plans
RupeeMail
Advertise Here
 

Apple Developer Connection Apple Developer Connection

Introducing the App Store Resource CenterPaid members of the iPhone Developer Program can log in to the App Store Resource Center for details on everything about distributing apps on the App Store -- from how to prepare apps for submission to managing apps once they've been posted.
» 23 Sep 2009, 12:03 pm

Develop for Mac OS X Snow LeopardLearn how to make the most of the new capabilities in Mac OS X Snow Leopard that will make your application faster, more responsive, and able to take advantage of the latest Mac hardware.
» 28 Aug 2009, 1:21 pm

WWDC Videos for PurchaseWatch Apple engineers deliver in-depth technical information on the technologies that power iPhone OS and Mac OS X from the Worldwide Developers Conference 2009. In addition to the session videos, you will also receive access to the presentation slides and sample code so you can make the most out of each session.
» 16 Jul 2009, 4:33 pm

iPhone OS 3.1 beta 2 Now Available for DownloadPaid members of the iPhone Developer Program can now download iPhone SDK 3.1 beta 2 and iPhone OS 3.1 beta 2 from the iPhone Dev Center. These versions are for development and testing only and should be installed on devices dedicated to iPhone OS 3.1 beta software development. Please read the iPhone OS beta Pre-Install Advisory and the iPhone SDK 3.1 beta 2 release notes before downloading and installing.
» 16 Jul 2009, 4:32 pm

WWDC Videos Available to Attendees and ADC Premier MembersAll WWDC attendees and ADC Premier Members can download the session videos and presentation slides from the Apple Worldwide Developers Conference 2009. In addition, you can download session-related sample code to follow along with the examples demonstrated during the sessions.
» 16 Jul 2009, 4:30 pm

WWDC 2009 Events, Updated Sessions & LabsView the events that are planned, as well as the latest set of sessions and labs for details on the presentations and hands-on learning planned for WWDC.
» 22 May 2009, 1:41 pm

WWDC 2009 Updated Sessions & LabsView the latest set of sessions and labs for details on the presentations and hands-on learning planned for WWDC.
» 12 May 2009, 11:55 am

Making Their Mark on iPhoneWatch developers share how iPhone changed what they thought was possible on a mobile platform.
» 21 Apr 2009, 9:35 am

WWDC Sessions and LabsAt the heart of your WWDC experience are technical sessions and hands-on labs presented by Apple engineers. This is where you get in-depth information on the technologies that power iPhone OS, Mac OS X Snow Leopard and Mac OS X Server Snow Leopard, gain insight into new development techniques, and learn best practices on integrating features that will define your product's success.
» 7 Apr 2009, 1:38 pm

Apple Design Awards 2009The Apple Design Awards at the Apple Worldwide Developers Conference reward and celebrate technical excellence, innovation, and outstanding achievement in iPhone and Mac software development. Winning products each year set new standards for usability, performance, technology integration and adoption. Enter your iPhone OS app or Mac OS X application and gain the recognition of your peers and prizes from Apple.
» 2 Apr 2009, 6:09 pm

WWDC 2009 AnnouncedThe Apple Worldwide Developers Conference will provide developers and IT professionals with in-depth technical information and hands-on learning about the powerful technologies in iPhone OS and Mac OS X from the Apple engineers who created them. Tickets to last year's WWDC sold out. Don't miss your opportunity: purchase your ticket by April 24 and save $300.
» 26 Mar 2009, 6:40 pm

ASP.NET ASP.NET

ASP.NET and Silverlight Conference with Scott Guthrie and Visual Studio 2010 Launch!Hear Scott Guthrie and key speakers talk about Silverlight 4, ASP.NET 4.0, MVC, AJAX etc - and see how it’s all supported in Visual Studio 2010! We'll even throw in the global Launch of Visual Studio 2010! Early bird ends March 8!
» 26 Feb 2010, 9:00 pm

Enhance Your Web Application with Components from the ASP.NET Control GalleryAdd social bookmarking, time and weather, file and folder browsing, and more to your web applications with the newest components in the ASP.NET Control Gallery!
» 24 Feb 2010, 6:00 am

New Articles and Updates to the ASP.NET WikiExpand and share your knowledge about Provider Factory, Xml Serializer, ASP.NET Chart, and more in the ASP.NET Wiki. Earn Community Recognition points by contributing!
» 22 Feb 2010, 9:00 pm

Listen to Four New PodcastsDon't miss The Misfit Geek's chat with Silverlight Geek Jesse Liberty, plus new podcasts from Hanselminutes, .NET Rocks!, and Coding QA.
» 21 Feb 2010, 9:00 pm

Get Popular Web Applications with the Windows Web App GalleryThe Windows Web App Gallery provides instant access to the most popular FREE web applications available today. With just a few clicks you can install any of the over 20 popular web applications such as CMS, blogs, wikis, e-commerce and more. Be up and running in just minutes. For more information or to browse the Application Gallery, please visit the Web Application Gallery page.
» 17 Feb 2010, 12:00 am

Microsoft ASP.NET: Create Dynamic Web ApplicationsAttend an upcoming live webcast or download the on-demand sessions and learn about the improvements in Microsoft ASP.NET 4. Hear about new controls and templating capabilities that enable rich Web development for applications using a variety of server-side technologies, new features of ASP.NET AJAX 4, and enhancements being made to server controls. Dive in and explore this content today.
» 15 Feb 2010, 9:00 pm

New Additions to the ASP.NET Control Gallery!Add GIS, multiple file uploading, image resizing, and additional capabilities to your web applications with the newest additions to the ASP.NET Control Gallery.
» 11 Feb 2010, 9:00 pm

ASP.NET 4 and Visual Studio 2010 Release Candidates Now Available!Download ASP.NET 4 RC and Visual Studio 2010 RC which are now available with "go-live" licenses that allow you to use them on production machines. To learn more about this release, read Scott Guthrie’s blog post.
» 10 Feb 2010, 9:00 pm

Download ASP.NET MVC 2 Release Candidate 2ASP.NET MVC is a free, fully supported framework that enables developers to quickly build standards-based, SEO-friendly Web sites by offering complete control over the HTML and URLs. Learn more about this release, and provide feedback to the team.
» 4 Feb 2010, 9:00 pm

New Articles and Updates to the ASP.NET WikiExpand and share your knowledge about the AJAX Control Toolkit, ASP.NET Open Source Projects, Web Services, and more in the ASP.NET Wiki. Earn Community Recognition points by contributing!
» 3 Feb 2010, 9:00 pm

Search Engine Optimization (SEO) Just Got EasyStart with the free download, review your website, and make changes fast. The SEO Toolkit with its detailed analysis and search engine friendly suggestions helps improve the relevance of your website in search results right away. The SEO Toolkit will help you increase website traffic and revenue, influence and update search engines, and improve customer experience. For more information or to download, please visit the Free SEO Toolkit page.
» 31 Jan 2010, 9:00 pm

Code Project Code Project

How the Windows built-in watchdog infrastructure can monitor performance counters and trigger alerts.Use the new PLA interface to monitor performance counters and triggers Alerts.
» 10 Mar 2010, 12:15 am

Static Code AnalysisA static code analyzer building method call networks + sample applications
» 9 Mar 2010, 11:29 pm

Recursion, Stacks and QueuesAn Article that hopes to Function as a Primer for Algorithms
» 9 Mar 2010, 10:44 pm

generic_ptr and it's generatorgeneric object wrapper for delayed type selection.
» 9 Mar 2010, 10:42 pm

ASP.NET AJAX MultiHandleSliderExtender - Slide by Year and MonthTutorial - How to utilize ASP.NET MultiHandleSlider extender to select year and month in a range, and set the Chart controls in action
» 9 Mar 2010, 9:08 pm

Marshaling with C# - Chapter 3: Marshaling Compound TypesLearn how to marshal compound types (structures, unions, etc.) with C#.
» 9 Mar 2010, 11:42 am

WPF PropertyGrid - MVVM techniquesHow to build a multicolumn ListView that selects cell templates based on the row data type; and how to create a ViewModel on the fly for each cell template.
» 9 Mar 2010, 11:37 am

Marshaling with C# - Chapter 2: Marshaling Simple TypesLearn how to marshal simple data types with C#.
» 9 Mar 2010, 11:30 am

ASP.NET Multipage TIFF Viewer with ThumbnailsASP.NET Multipage TIFF Viewer with Thumbnails
» 9 Mar 2010, 10:59 am

Calendar Gadget using Qt frameworkA very simple calendar to be displayed on your desktop similar with a Vista or Windows 7 gadget but works also for Windows XP..
» 9 Mar 2010, 10:50 am

Enumerate and Auto-Detect USB DrivesThis article describes how to use the .NET System.Management WMI (Windows Management Instrumentation) wrappers to enumerate and describe USB disk drives. It also includes a non-Interop solution for detecting drive state changes as they come online or go offline.
» 9 Mar 2010, 10:28 am

 

CodeGuru CodeGuru

Microsoft moves up Windows 7 SP1 release dateMicrosoft will issue the first service pack for Windows 7 later this year
» 8 Mar 2010, 9:00 pm

Microsoft changes European IE browser ballot shuffling algorithmIBM software architect gives the new randomization algorithm passing grade
» 8 Mar 2010, 9:00 pm

Class action suit against Microsoft approvedJudge approves class action against Microsoft Canada
» 8 Mar 2010, 9:00 pm

New Windows phone developer blog launchedThe place where members of the team building it can engage in conversations with the community
» 8 Mar 2010, 9:00 pm

Introducing Cloud Computing using the Microsoft Azure PlatformLeverage the features of cloud computing and Microsoft Azure to build applications that can reside in the cloud.
» 7 Mar 2010, 9:00 pm

Microsoft demos game across three platformsMicrosoft demos game across PC, mobile, and console platforms
» 7 Mar 2010, 9:00 pm

Microsoft discontinues development of Windows Essential Business ServerMicrosoft discontinues development of Windows Essential Business Server as of June 30
» 7 Mar 2010, 9:00 pm

Xbox Live changes policy on referencing gender, race and religionXbox Live members will finally be able to express their sexual orientation, race, or religion in their gamertags and profiles
» 7 Mar 2010, 9:00 pm

Developing a Real-time Autocomplete Control in Windows Presentation Foundation (WPF)Create a standalone autocomplete library that can be clubbed into any Windows Presentation Foundation (WPF) application and used with minimal efforts.
» 4 Mar 2010, 9:00 pm

Microsoft to Spend $9.5 Billion on Research in 2010Microsoft plans to spend $9.5 billion on research and development this year
» 4 Mar 2010, 9:00 pm

Coding Horror Coding Horror

The Non-Programming ProgrammerI find it difficult to believe, but the reports keep pouring in via Twitter and email: many candidates who show up for programming job interviews can't program. At all. Consider this recent email from Mike Lin: The article Why Can't Programmers... Program? changed the way I did interviews. I used to lead off by building rapport. That proved to be too time-consuming when, as you mentioned, the vast majority of candidates were simply non-technical. So I started leading off with technical questions. First progressing from easy to hard questions. Then I noticed I identified the rejects faster if I went the other way – hard questions first – so long as the hard questions were still in the "if you don't know this then you can't work here"
» 22 Feb 2010, 2:41 am

Welcome Back CommentsI apologize for the scarcity of updates lately. There have been two things in the way: Continuing fallout from International Backup Awareness Day, which meant all updates to Coding Horror from that point onward were hand-edited text files. Which, believe me, isn't nearly as sexy as it … uh … doesn't sound. I am presenting and conducting a workshop at Webstock 2010 in New Zealand. This is a two week trip I'm taking with the whole family, including our little buddy Rock Hard Awesome, so the preparations have been more intense than usual. On top of all that, according to the program, I just found that my presentation involves interpretive dance, too. Man. I wish someone had told me! My moves are so rusty, they've barely improved from E
» 12 Feb 2010, 11:03 pm

Cultivate Teams, Not IdeasHow much is a good idea worth? According to Derek Sivers, not much: It's so funny when I hear people being so protective of ideas. (People who want me to sign an NDA to tell me the simplest idea.) To me, ideas are worth nothing unless executed. They are just a multiplier. Execution is worth millions. To make a business, you need to multiply the two. The most brilliant idea, with no execution, is worth $20. The most brilliant idea takes great execution to be worth $20,000,000. That's why I don't want to hear people's ideas. I'm not interested until I see their execution. I was reminded of Mr. Sivers article when this email made the rounds earlier this month: I feel that this story is important to tell you because Kickstarter.com copie
» 25 Jan 2010, 12:00 pm

The Great Newline SchismHave you ever opened a simple little ASCII text file to see it inexplicably displayed as onegiantunbrokenline? Opening the file in a different, smarter text editor results in the file displayed properly in multiple paragraphs. The answer to this puzzle lies in our old friend, invisible characters that we can't see but that are totally not out to get us. Well, except when they are. The invisible problem characters in this case are newlines. Did you ever wonder what was at the end of your lines? As a programmer, I knew there were end of line characters, but I honestly never thought much about them. They just … worked. But newlines aren't a universally accepted standard; they are different depending who you ask, and what platform th
» 18 Jan 2010, 12:00 pm

A Democracy of NetbooksAs a long time reader of Joey DeVilla's excellent blog, Global Nerdy, I take exception to his post Fast Food, Apple Pies, and Why Netbooks Suck: The end result, to my mind, is a device that occupies an uncomfortable, middle ground between laptops and smartphones that tries to please everyone and pleases no one. Consider the factors: Size: A bit too large to go into your pocket; a bit too small for regular day-to-day work. Power: Slightly more capable than a smartphone; slightly less capable than a laptop. Price: Slightly higher than a higher-end smartphone but lacking a phone's capability and portability; slightly lower than a lower-end notebook but lacking a notebook's speed and storage. To summarize: Slightly bigger and pricier th
» 10 Jan 2010, 12:00 pm

Responsible Open Source Code ParentingI'm a big fan of John Gruber's Markdown. When it comes to humane markup languages for the web, I don't think anyone's quite nailed it like Mr. Gruber. His philosophy was clear from the outset: Markdown is intended to be as easy-to-read and easy-to-write as is feasible. Readability, however, is emphasized above all else. A Markdown-formatted document should be publishable as-is, as plain text, without looking like it’s been marked up with tags or formatting instructions. While Markdown’s syntax has been influenced by several existing text-to-HTML filters — including Setext, atx, Textile, reStructuredText, Grutatext, and EtText — the single biggest source of inspiration for Markdown’s syntax is the format of plain text email. I
» 29 Dec 2009, 12:00 pm

Building a PC, Part VI: RebuildingI can't believe it's been almost two and a half years since I built my last PC. I originally documented that process in a series of posts: Building a PC, Part I: Minimal boot Building a PC, Part II: Burn in Building a PC, Part III: Overclocking Building a PC, Part IV: Now It's Your Turn Building a PC, Part V: Upgrading Now, lest you think I am some kind of freakish, cave-dwelling luddite, what with my ancient two and a half year old PC, I have upgraded the CPU, upgraded the hard drive, and upgraded the video card since then. I also went from 4 GB of RAM to 8 GB of RAM, but I didn't happen to blog about that. Normal computers age in dog years -- every year they get seven years older -- but mine isn't so bad with all my upgrades! I s
» 17 Dec 2009, 12:00 pm

International Backup Awareness DayYou may notice that commenting is currently disabled, and many old Coding Horror posts are missing images. That's because, sometime early on Friday, the server this blog is hosted on suffered catastrophic data loss. Here's what happened: The server experienced routine hard drive failure. Because of the hard drive failure, the virtual machine image hosting this blog was corrupted. Because the blog was hosted in a virtual machine, the standard daily backup procedures at the host were unable to ever back it up. Because I am an idiot, I didn't have my own (recent) backups of Coding Horror. Man, I wish I had read some good blog entries on backup strategies! Because there were no good backups, there was catastrophic data loss. Fin,
» 14 Dec 2009, 12:00 pm

Microformats: Boon or Bane?I recently added microformat support to the free public CVs at careers.stackoverflow.com by popular demand. Designed for humans first and machines second, microformats are a set of simple, open data formats built upon existing and widely adopted standards. The official microformat "elevator pitch" tells us nothing useful. That's not a good sign. It doesn't get much better on the learn more link, either. I'm left scratching my head, wondering why I should care. What problem, exactly, do microformats solve for me as a user? As a software developer? There's lots of hand-wavy talk about data, but precious little in the way of concrete stories or real world examples. But I have a real world example: a CV. To some human resource departments
» 10 Dec 2009, 12:00 pm

Version 1 Sucks, But Ship It AnywayI've been unhappy with every single piece of software I've ever released. Partly because, like many software developers, I'm a perfectionist. And then, there are inevitably … problems: The schedule was too aggressive and too short. We need more time! We ran into unforeseen technical problems that forced us to make compromises we are uncomfortable with. We had the wrong design, and needed to change it in the middle of development. Our team experienced internal friction between team members that we didn't anticipate. The customers weren't who we thought they were. Communication between the designers, developers, and project team wasn't as efficient as we thought it would be. We overestimated how quickly we could learn a new technology.
» 3 Dec 2009, 12:00 pm

dZone dZone

Mozilla borrows from WebKit to build fast new JS engineMozilla's high-performance TraceMonkey JavaScript engine, which was first introduced in 2008, has lost a lot of its luster as competing browser vendors have stepped up their game to deliver superior performance. Firefox now lags behind Safari, Chrome, and Opera in common JavaScript benchmarks. In an effort to bring Firefox back to the front of the pack, Mozilla is building a new JavaScript engine called JägerMonkey. The secret sauce that will drive Mozilla's new JavaScript engine engine into the fast lane is some code borrowed from Apple's WebKit project.
» 9 Mar 2010, 11:49 pm

Hibernate, lazy loading and inheritanceA common problem with typecasting a lazy loaded Hibernate entity to its child is a ClassCastException. This exception occurs because the dynamic created proxy implements the baseclass and has no knowledge about its subclasses.
» 9 Mar 2010, 11:46 pm

Create Social Media Icons in Pure CSSFun with CSS3 - Creating social media icons in pure CSS.
» 9 Mar 2010, 9:37 pm

25 Useful CSS3 Techniques and TutorialsIt is essential today for a web designer to know about CSS3 and there are many tutorials and resources for the CSS3. Below i’ve listed 25 Useful CSS3 Techniques and Tutorials to get you started with CSS3, hope you find this collection useful
» 9 Mar 2010, 8:26 pm

Different “Read More” Link For Different CategoriesAs you can see here on wpcanyon, the “read more” links have different text depending on the category of the posts. Here is how to do that.
» 9 Mar 2010, 8:04 pm

Flash the savior of the universe?While Adobe is now moving to support Flash 10.1 on higher end phones, there will be a Flash Lite opportunity for years to come. Why? Because it’s not smartphone users who are the ideal target for socially connected gaming. They may be cash rich, but most are time poor.
» 9 Mar 2010, 7:59 pm

Why I switched to Pylons after using Django for six monthsI started using Django in June for a side project. Two months ago, I decided to rewrite a website I manage in django. It was drupal-based, which had served us well, but it was, by now too old and inflexible. One of the things that disturbed me about it was that I had started tweaking the code. Not much, but enough that I was afraid to upgrade and lose those changes. Also, I wanted recaptcha on signups, openid logins, twitter integration and a bit of a feeling of modernity. I worked on it a few hours per week, in the evenings, but I didn’t make much progress until I switched to Pylons. By then, I had invested a month into the project, but kept getting stuck and moving forward only at immense effort.
» 9 Mar 2010, 7:14 pm

FlexMonkey 1.0 GA and FoneMonkey AnnouncementI have written about the FlexMonkey many times, I also wrote about the 1.0 beta announcement several months ago. Such long beta stage will certainly improve a quality of the final product. I think FlexMonkey 1.0 GA will be a excellent application which make life easier.
» 9 Mar 2010, 6:15 pm

The Secret Origin of WindowsA quarter century ago, Windows wasn't everywhere. In fact, some were doubtful it would ever ship at all. And Tandy Trower was there. Trower recounts the inside story of his experience in transforming Windows from vaporware into a product that has left an unmistakable imprint on the world, 25 years after it was first released.
» 9 Mar 2010, 6:11 pm

JSON DB vs ODBMSDocument-oriented and object-oriented databases are philosophically more different than one might at first expect.
» 9 Mar 2010, 5:05 pm

FREE dynaTrace AJAX Edition 1.6 available for public downloaddynaTrace Labs released its next version of the FREE dynaTrace AJAX Edition for Web Site Performance Analysis in Internet Explorer 6, 7 & 8 including JavaScript/AJAX/DOM/XHR tracing, Network and Rendering analysis. Check out the full announcement and download this FREE tool at http://ajax.dynatrace.com
» 9 Mar 2010, 1:57 pm

 

Google Code Blog Google Code Blog

Integrate, Publish, Sell - The Google Apps MarketplaceThe Google Apps Marketplace, announced this evening at Campfire One, allows you to publish applications which integrate with Google Apps and sell them to more than 2 million businesses. Listing your integrated cloud app on the Google Apps Marketplace enables it to have seamless OpenID-based single sign-on with Google Apps, OAuth-authorized access to Google Apps data and makes it easy for customers to access your application from Google Apps' universal navigation bar. There are three simple steps for a Google Apps Marketplace application: 1) Have or create a cloud application and host it on the platform of your choice 2) Integrate your cloud app with Google Apps using available APIs 3) Create a manifest file describing your application and
» 9 Mar 2010, 10:41 am

Open Source Projects - Apply for Google Summer of CodeGoogle Summer of CodeTM, our flagship program to introduce college students to open source development, opens today. Over the past five years, we've seen more than 3,400 successful students "graduate" from the program, and we're looking forward to welcoming another group of students for our sixth year. We're now accepting applications from open source projects who wish to act as mentoring organizations and will begin accepting applications from students on March 29th. For more details, check out the Google Open Source Blog.By Leslie Hawthorn, Open Source Team
» 8 Mar 2010, 12:08 pm

The Business of Code, The Code of BusinessThis post is part of the Who's @ Google I/O, a series of blog posts that gives a closer look at developers who'll be speaking or demoing at Google I/O. This post is written by Albert Wenger, partner at Union Square Ventures (and still enjoys writing code!). Albert will be speaking alongside others in venture capital on a panel at Google I/O.Reading the Google Code blog, it is hard not to marvel at the fundamental transformation that is taking place in the business of code. By the business of code, I mean the economics of developing and selling software. My first exposure to the software business was as a teenager in Germany some twenty five years ago. Driver's education there is quite expensive because one has to take many mandatory lesso
» 8 Mar 2010, 10:15 am

Registration for Google I/O 2010 is now closedThis year's conference is now sold out, which means we'll be seeing over 4,000 of you on May 19-20 at Moscone West! For those of you who can't join us in person, video recordings of all sessions and keynotes will be available on YouTube following the conference.Continue to follow us on Twitter for updates on sessions, speakers and the Sandbox. We'll also continue posting updates and Google I/O-relevant content on this blog.By Joyce Sohn, Google Developer Team
» 4 Mar 2010, 10:20 am

SCVNGR and QR codes in location-based mobile gamingThis post is part of the Who's @ Google I/O, a series of blog posts that give a closer look at developers who'll be speaking or demoing at Google I/O. This guest post is written by Seth Priebatsch, Chief Ninja of SCVNGR, who's creating a mobile game for the conference.SCVNGR is a platform for quickly and easily building location-based mobile games. Each game is all about doing challenges at places. Go here and take a photo, go there and solve this riddle. You happen to be at this coffee shop? Awesome! Try this challenge and earn a couple points! SCVNGR powers games for all sorts of institutions ranging from Princeton to Harvard to the Smithsonian Institutes to SIGGRAPH and even the U.S Navy.If you're attending Google I/O this year, you'll g
» 3 Mar 2010, 10:57 am

Google PowerMeter API introduced for device manufacturersToday we're excited to introduce the Google PowerMeter API on code.google.com, for developers interested in integrating with Google PowerMeter. This API will allow device manufacturers to build home energy monitoring devices that work with Google PowerMeter. We're launching this API in order to help build the ecosystem of innovative developers working towards making energy information more widely available to consumers.In today's launch of the API on code.google.com we are highlighting the core design principles towards integrating with Google PowerMeter. In particular we outline the underlying data model and the accompanying protocols to ensure that Google PowerMeter provides consumers access to their energy consumption with utmost care in
» 3 Mar 2010, 9:55 am

Mark your calendars for Google Code Jam 2010!If you're reading this post, we know your passion is coding. You thrive when given the opportunity to tackle a challenge, and enjoy the rush of applying your knowledge and creativity to approach a problem. Once solved, there's nothing like the satisfaction that comes from knowing you've accomplished something great.That's why we are excited to announce Google Code Jam 2010 to the true die-hard coding fans. Google Code Jam, powered by Google App Engine, is our annual programming competition, where thousands of coders around the world attack algorithmic problems in several 2.5-hour online rounds. If you make it through the first four rounds, you'll be flown to our on-site finals, to be held for the first time at the Google office in Dublin!
» 23 Feb 2010, 12:04 pm

Introducing Google's DoubleClick For Publishers APIToday, we announced the next generation of our ad serving technology for online publishers, the new DoubleClick for Publishers (DFP) from Google. We are pleased to announce that the new version of DFP comes with a modern API that enables publishers and third-parties to customize and extend the product.The new API is available to publishers who use DFP, as well as to third-parties and vendors who would like to build applications on top of DFP. A growing community of developers are already working on sales, order management, workflow and data visualization tools. We've incorporated feedback on the existing DART for Publishers API and believe the new API is a significant step forward. It uses SOAP, a standard and widely-adopted messaging te
» 22 Feb 2010, 11:50 am

Who's @ Google I/O: all things Google Web ToolkitThe Google Web Toolkit (GWT) team had an exciting 2009 -- ending the year with a Campfire One where the team announced the release of GWT 2.0 with Speed Tracer. Developers are quickly adopting GWT to build compelling apps in the browser, and we're excited that we'll have the following companies demoing their applications and talking about how they leveraged GWT (and other Google technologies) in the Developer Sandbox at I/O:Clarity Accounting, Dimdim, DotSpots, Entrinsik, Hydro4GE Inc., JetBrains, Lombardi, Media Beacon, RedHat, Rosetta, SAS, and StudyBlue.In addition to developers from these companies, we'll also have Google engineers in the Sandbox, talking about how our internal teams have used GWT to build products like Google Wave.And
» 17 Feb 2010, 7:33 am

Announcing Google Chart ToolsA good chart can tell a story, such as depicting when you get home on Saturday night by plotting your tweet patterns along the week.A good chart can take an elusive concept and clarify it in a visually appealing manner. This ingenious XKCD strip uses a pie chart, a bar chart and a recursive scatter plot, to demonstrate the concept of self description. Whether you need a simple line chart, an interactive Geo Map or a complex Motion Chart , Google can help you add live charts to your web page using our Chart and Visualization APIs. Both of these APIs are free and simple to use, however they each have distinct advantages: 1. The Chart API provides Image Charts which are rendered by a Google chart server in response to a simple URL request
» 11 Feb 2010, 6:00 pm

Building Apps on Google Apps? A new blog just for youWe recently launched the Google Apps Developer Blog for developers interested in building applications that leverage Google Apps. This blog will cover topics of interest to Google Apps developers building applications on top of Google Apps, integrating with them or utilizing the APIs.Don Dodge will be the editor and a frequent contributor to this new blog. Don is a Developer Advocate at Google helping developers build new applications on Google platforms and technologies. Don has been a startup evangelist at Microsoft and is also a veteran of five start-ups including Forte Software, AltaVista, Napster, Bowstreet, and Groove Networks.You can follow the team's updates on Twitter, too – follow @googleappsdev – and, while you're at it,
» 11 Feb 2010, 11:24 am

Java.net Java.net

Kirill Grouchnikov Introduces Trident 1.2In his latest post at Pushing Pixels, Kirill Grouchnikov talks about what's New in Trident 1.2. The Trident animation library has as its objective providing "a powerful and extensible animation library for Java applications." The library is available under the BSD license. Java 6+ is required for using the library, both at compile time and at runtime. Here is Kirill's introduction to Trident 1.2: The Trident animation library was born in February 2009 out of the internal animation layer used in Substance look-and-feel over the last three years. A year after, it is nearing its third official release which focuses mainly on stabilizing the API and ironing out the existing bugs. The major milestone for this release is moving Substance
» 9 Mar 2010, 5:35 am

In Fond Memory of Our Friend, Felipe GaúchoBy now, probably many people in the java.net community are aware that we have -- completely unexpectedly, and out of the blue -- lost one of the most enthusiastic, bright, and kind members of the java.net community: Felipe Gaúcho. Clearly, there are many people in our community who knew Felipe better than I did; and clearly there are many who never had any personal contact with him, but who read his blogs and articles; and there are undoubtedly many people who are reading this who have no idea who Felipe was. I will tell you a little story. Because, indeed, my contact with Felipe was minimal. Yet, those brief contacts made an enduring impression on me. Such that, when I came home late Saturday night, turned on my computer, brought up my
» 7 Mar 2010, 11:07 pm

Poll Result: a Range of Views on Backward-Compatibility for JavaWhile a diverse range of views was expressed in comments posted to this past week's java.net poll, almost half of the voters considered five years to be the best duration for maintaining backward compatibility. This poll was submitted by java.net community member cowwoc (Gili Tzabari), and it was indeed a very successful poll: 562 votes were cast, and people took the time to post 11 comments. Here's the exact question and results: How far back should Java retain backwards-compatibility? 19% (108 votes) - Across minor releases (Java 1.6) 48% (271 votes) - 5 years back (Java 1.5) 16% (89 votes) - 10 years back (Java 1.3) 12% (69 votes) - As far back as possible (Java 1.1) 4% (20 votes) - I don't know 1% (5 votes) - Other Backward c
» 5 Mar 2010, 11:13 am

New Article: Rethinking Multi-Threaded Design PrinciplesWe've just published a new article, Dibyendu Roy's "Rethinking Multi-Threaded Design Principles". Multi-threaded software engineering continues to gain attention from new audiences as the developer and management communities come to recognize the significance of the Multicore Challenge. The history of software and hardware has been one of ever increasing speed, memory, and software capability. The speed aspect is where we now face a problem. Increases in speed were historically tied to new technologies that enabled successful utilization of ever thinner chips. The problem today is that we're down to a rather small number of atoms. Since we can't shrink atoms themselves, it's a considerable technological challenge to make an individual ch
» 4 Mar 2010, 5:38 am

It All Depends on What the Meaning of Equals EqualsI found Joseph Darcy's recent post "Notions of Floating-Point Equality" interesting, informative, and even entertaining. If you've done scientific programming, you're probably familiar with the problems of floating point uncertainties, significant digits, divisions by zero that really wouldn't happen if you were doing the calculation with pencil and paper, tests of whether the values stored in two memory locations are equal, etc. It's a pain in the neck, really, dealing with these issues in a program. So, what does the == operator really mean? I'm kind of reminded of a famous quote from a former United States president. When asked a particular question, his response was: "It depends on what the meaning of the word 'is' is." So what is the m
» 3 Mar 2010, 9:06 am

JUG-AFRICA Promotes Continent-Wide CollaborationYesterday and today, I've featured the first two blog posts by Jean-Francois Bonbhel on the java.net home page. Jean-Francois is the founder of JUG-AFRICA, an umbrella for Java User Groups located in Africa. The objective behind JUG-AFRICA is to help African JUGs "collaborate globally in ways that will ultimately benefit Java developer communities locally." As he says in his latest post, "Did you say JUG ? Java User ... What ?", Jean-Francois is a relative newcomer to Java User Groups: Is it still possible to ask this question in 2010? Isn’t the answer obvious? Well no! It was the question I was asking myself three years ago, even though I had been working as a consultant and Java trainer for seven years. In 2007, my ex-colleague Éric
» 2 Mar 2010, 5:44 am

In the Spotlight: LWUIT Featured App GalleryThis week's java.net Spotlight is the LWUIT Featured App Gallery, and along with it, Shai Almog's related post, "Latest & Greatest In The LWUIT Featured Apps Gallery". If you haven't visited the featured app gallery before, it provides multiple screenshots of about 80 different LWUIT applications. LWUIT, in case you're not familiar with it, is the Lightweight UI Toolkit. It's a project hosted on java.net. Here's the project preface: Writing appealing cross device applications today in Java ME is challenging. Due to implementation differences in fonts, layout, menus, etc. the same application may look and behave very differently on different devices. In addition much of the advanced UI functionality is not accessible in LCDUI and requires t
» 1 Mar 2010, 8:48 am

Poll: Developers Warn that Bugs and Perceptions Endanger Java's FutureDevelopers who posted comments to last week's java.net poll are sending a clear warning to the hierarchy that is deciding how and where to allocate future resources and effort for developing and enhancing Java. The poll (ostensibly about Java 7 objectives) attracted considerable attention from the java.net community: a total of 518 votes were cast; furthermore, six thoughtful comments were posted -- five of them presenting serious concerns about Java's current state and (implicitly) its future. The exact question and results: Which Java 7 objective is most important for Java's future? 29% (148 votes) - Modularity 4% (19 votes) - Multilingual support 20% (102 votes) - Productivity improvements (Project Coin, etc.) 21% (110 votes) - P
» 26 Feb 2010, 1:18 pm

Java and JavaFX Meet Web 2.0 at O'Reilly Answers and Oracle MixWeb 2.0 is a title that has been used to describe the generation of the World Wide Web that began with sites such as Flickr, MySpace, and Digg, and web technologies like web services, blogging, RSS syndication, and wikis. A defining aspect of Web 2.0 versus Web 1.0 is an increased level of participation by community members, and increased interaction between the authors of web pages and the people who visit those pages. Within the domain of software engineering, the history of online posting of questions and answers to problems exhibits the change from "Web 1.0" to "Web 2.0" when one considers content archives like newsgroups, forums, and modern sites like Oracle Mix and O'Reilly Answers. All of these are clearly archives for information th
» 25 Feb 2010, 6:11 am

Collating Tweets from JAX London (a Day's Worth, Anyway)As the final day of JAX London nears its close, it seems like a good time to browse the jaxlondon tweets to see what people have considered notable and quotable about the conference. Unfortunately, I was not able to be in live attendance. I really hope to be able to go to more conferences in the future. Someone has to resurrect the nearly lost art of "live blogging" at conferences -- and it may as well be me! For me, "tweeting" isn't a viable substitute for blogging. A twitter search feed just doesn't provide a coherent view on the actual essential points that were presented and discussed at the conference. To do that, I think you need to take notes during a session, then, on a break, consider what you've heard and compose a few paragrap
» 24 Feb 2010, 9:24 am

Joel on Software Joel on Software

Facebook / LinkedIn importersNew StackOverflow developer Kevin Montrose (6,878 reputation) added a neat feature to the career site that makes it a zillion times easier to file a CV if you’ve already put in your job and education history on LinkedIn or FaceBook. Try it out. Need to hire a really great programmer? Want a job that doesn't drive you crazy? Visit the Joel on Software Job Board: Great software jobs, great people.
» 18 Feb 2010, 6:05 am

Raising money for StackOverflowA few people heard me on This Week in Startups (starting at 15:45) asking Jason if we should take money from the first VC who fell into our laps, or spend time doing the Sand Hill Road rounds, meeting more VCs, and doing a road show for the other firms that might be interested in investing. Jason (and his guest James Segil) both agree that we should take more time picking the right partner. We’re going to be in bed with these guys for years, they say, and we have to approach this like picking a spouse. Anyway, people emailed me in shock and surprise that we would even consider VC, considering the things I’ve written. flickr.com/photos/niznoz / CC BY-NC-SA 2.0Why are we seeking venture capital for StackOverflow? Almost ten yea
» 14 Feb 2010, 6:21 pm

HeadcountIn the early days of a technology startup, you tend to have a lot of software developers, and you feel like you could never have enough. If you hire sales and marketing staff too early, they don’t really get much traction, and you may start to think that sales and marketing are a waste of time. This led me, in the early years, to believe that a healthy software company should have a lot of real software developers and maybe no sales and marketing. At one point I entertained the quixotic and, retrospectively, stupid idea of requiring every employee at Fog Creek to be a programmer... even the receptionist would have to have done some BASIC programming in high school to qualify. In the US Marines everyone, even the cooks, is a rifleman. Of
» 11 Feb 2010, 7:12 pm

Why testers?My sister got her kids a little puppy, and they’ve been trying to train it. To live with a dog in the house, you need to teach it not to jump on people, not to poop in the house, to sit on command, and to never, ever, ever chew on the iPad. Never. Good girl. With dogs the main trick to training is that feedback has to be immediate. If you come home to discover that, hours before, the dog tipped over the garbage can in the kitchen, it’s too late for training. You can yell at her but she just won’t get what you’re going on about. Dogs are just not that smart. For programmers, getting better at what you do requires quick feedback, positive and negative, on what you’ve just done. The faster you get the feedback, the faster you’ll
» 26 Jan 2010, 1:04 pm

Rocket Surgery Made EasySteve Krug has written a follow up to his usability classic Don’t Make Me Think. The sequel, Rocket Surgery Made Easy, is a terrific, short, concise, fun guide to running simple “hallway” usability tests to improve the usability of your software and websites. Highly recommended.   Need to hire a really great programmer? Want a job that doesn't drive you crazy? Visit the Joel on Software Job Board: Great software jobs, great people.
» 25 Jan 2010, 1:21 pm

A little less conversation“As companies expand, the people within them start to specialize. At such a point, some managers will conclude that they have a ‘keep everyone on the same page’ problem. But often what they actually have is a ‘stop people from meddling when there are already enough smart people working on something’ problem.” From my latest Inc. column: A Little Less Conversation   Need to hire a really great programmer? Want a job that doesn't drive you crazy? Visit the Joel on Software Job Board: Great software jobs, great people.
» 22 Jan 2010, 12:33 pm

Secret languageMicrosoft Careers: “If you’re looking for a new role where you’ll focus on one of the biggest issues that is top of mind for KT and Steve B in ‘Compete’, build a complete left to right understanding of the subsidiary, have a large amount of executive exposure, build and manage the activities of a v-team of 13 district Linux& Open Office Compete Leads, and develop a broad set of marketing skills and report to a management team committed to development and recognized for high WHI this is the position for you!” This is ironic, to use the Alanis Morissette meaning of the word [NSFW video]. The whole reason Microsoft even needs a v-team of 13, um, “V DASHES” to compete against Open Office is that they’ve become so insular tha
» 30 Dec 2009, 7:01 am

 

MSDN Channel 9 MSDN Channel 9

E2E: Erik Meijer and Leslie Lamport - Mathematical Reasoning and Distributed SystemsA distributed system is one in which the failure of a computer you didn't even know existed can render your own computer unusable. -Leslie Lamport. Leslie Lamport is a computer scientist and mathematician best known for his work with distributed systems. In fact, Dr. Lamport’s research contributions laid the foundations for the theory of distributed systems. He currently works in Microsoft Research where most of his time is spent developing formal semantics (with mathematical logic) for specifying and reasoning about algorithms. Here, Dr. Erik Meijer, computer scientist and programming language/library designer, sits down with Dr. Lamport to discuss several aspects of Dr. Lamport's body of work in computer science. Dr. Lamport's TLA
» 9 Mar 2010, 12:06 pm

Ping 51: TechFest, Ballmer, Xbox, Android & Tina Wood!You asked for it, so you got it! This week we have special co-host, Tina Wood bringing all the scoop that 'Softies wanna know about. TechFest recap Ballmer Tweets! Xbox & Facebook Microsoft & Android..BFF's
» 8 Mar 2010, 2:17 pm

endpoint.tv - Install/Uninstall AppFabric & Referencing Caching LibrariesLast week we saw the release of Windows Server AppFabric Beta 2 and came up with some interesting issues related to setting it up. We posted a great endpoint.tv episode, in which I talked through the setup experiences with Byron Tardif, and to follow up I added some blog posts. In this episode of endpoint.tv we look at How to install AppFabric with the Web Platform Installer How to uninstall AppFabric How to reference the AppFabric Cache client libraries from Visual Studio 2010
» 8 Mar 2010, 5:35 am

The Access Show: How the Microsoft Legal Department Uses Access 2010 Web DatabasesMeet Malori! Malori is a paralegal in Microsoft's legal department. She manages patent applications and assigns them out to attorneys and portfolio managers as well as other paralegals. Malori was looking for a way to make her team more efficient by presenting all of the information they needed in a single web page or application. Our team jumped in and made an Access Services solution, which allows her to manage all the data and provide custom views to her teammates. Today this web database is used by over 80 attorneys working on different cases at Microsoft.   In today’s episode, Malori shares her experience with Access Services and how it has helped her be more efficient.   Learn more about Access 2010 on the team blog.
» 7 Mar 2010, 11:44 pm

Big Brains and Video Games - An interview with MSNBC.com's science editor Alan BoyleAlan Boyle is MSNBC.com's science editor.  He has been with MSNBC since 1996 and won awards from the National Academies, the American Association for the Advancement of Science, the National Association of Science Writers, the Society of Professional Journalists, the Space Frontier Foundation and the Pirelli Relativity Challenge.  One of his recent articles Big Brains for Video Games got our attention so I sat down with Alan to discuss the article, the study it was based on and whether or not I have a new excuse when I lose on Xbox Live.  For more on Alan definitely check out cosmic log.
» 7 Mar 2010, 5:07 am

TWC9: 100th Episode! WPF, VS2010 RC tips, Bonus FootageThis week on Channel 9, Dan and Brian discuss the week's top developer news, including: Second patch for IntelliSense crashes in the Visual Studio 2010 RC ·Interesting because: The RC is the last public build prior to RTM. It’s pretty rock solid, but users of touch displays, tablet PCs, screen reader software, and potentially some others as well may need these patches. Enabling Silverlight 4 with the Visual Studio 2010 RC (NOTE: This is an unsupported hack.) ·Interesting because: The RC of Visual Studio 2010 did not support Silverlight 4. This support is “coming” but no timeline yet. In the meantime, you can try this hack. Getting Silverlight 3 to build with Team Build 2010 by Martin Hinshelwood ·Interesting because: If your pr
» 5 Mar 2010, 10:45 pm

Your Rx.NET Prescription Has Been RefilledToday, we released a new version of Reactive Extensions for .NET. This new version is a good reason to end the long video silence on C9. Here, Wes, Bart, and Jeff discuss the various changes in this release, why it took so long, and what we have been doing these last couple of months. Rx can be downloaded from the DevLabs project page.
» 5 Mar 2010, 4:10 pm

A Conversation with Bill Buxton and Albert Shum; Microsoft's UX GurusWith less than one week to go until MIX10, I sit down with Bill Buxton, Principal Researcher for Microsoft Research and Albert Shum, Director of Mobile Experience Design for Windows Phone 7 Series to talk about creating compelling user experiences, how developers and designers can work together in harmony and random Canadian trivia.
» 5 Mar 2010, 1:44 pm

Microsoft Research: Tools to Help Resolve Concurrency ProblemsIf you are developing multi-threaded applications, there is a possibility that you may be having concurrency problems, and these problems can be difficult to reproduce and identify. At PDC09, Madan Musuvathi and Sebastian Burckhardt showed off some tools (“Cuzz” and “FeatherLite”) that Microsoft Research is currently working on that may one day assist developers in addressing concurrency issues they may be having in their application. I’ve invited them to join me today to talk with us about some of the issues involved with tracking down concurrency problems, as well as how each tool works. If you’d like more information about the tools they are working on, you may want to check out their PDC09 session, which is available here:
» 5 Mar 2010, 1:02 pm

Cloud Cover Episode 3 - Worker Role EndpointsJoin Ryan and Steve this week as they cover the Microsoft cloud.  You can follow and interact with the show at @cloudcovershow In this episode: Learn how to host other web servers in Worker Roles. Hear about some new tools for working with SQL Azure. Find out how to calculate the size of your database and objects in SQL Azure. Show Links: CloudHarmony Cloud Storage Shootout LinqPad for SQL Azure SQL Azure ASP.NET Provider Scripts Incarnate Avatar Service Using Other Web Servers on Windows Azure Calculating the Size of Your SQL Azure Database
» 5 Mar 2010, 8:24 am

Erik Meijer: Rebel with a CauseOver thousands of years, language has evolved in order to provide mankind a mechanism for making it easier to communicate with one another. Today, the world is filled with a wide variety of languages, some of which are radically different from one another, while others bear striking similarities. In addition to improving interpersonal communications, however, languages have evolved to facilitate the transfer of information, instructions, and intent between people and machines. Understanding, designing, and evangelizing many of these languages, and democratizing the programming methodologies within them, is Erik Meijer. Erik is a legendary figure in the programming language design community and one of Niner Nation's favorite personalities.
» 4 Mar 2010, 12:13 pm

MySQL Performance Blog MySQL Performance Blog

How many fsync / sec FusionIO can handleI recently was asked how many fsync / sec ( and therefore durable transactions / sec) we can get on FusionIO card. It should be easy to test, let's take sysbench fileio benchmark and run, the next command should make it: ./sysbench --test=fileio --file-num=1 --file-total-size=50G --file-fsync-all=on --file-test-mode=seqrewr --max-time=100 --file-block-size=4096 --max-requests=0 run PLAIN TEXT CODE: Operations performed:  0 Read, 922938 [...]
» 4 Mar 2010, 8:09 am

Maximal write througput in MySQLI recently was asked what maximal amount transactions per second we can get using MySQL and XtraDB / InnoDB storage engine if we have high-end server. Good questions, though not easy to answer, as it depends on: - durability setting ( innodb_flush_log_at_trx_commit = 0 or 1 ) ? - do we use binary logs ( [...]
» 28 Feb 2010, 10:53 pm

MySQL 5.5-m2 scalabilityOracle recently announcent MySQL-5.5.2-m2 milestone, and I have a predition that MySQL-5.5 will be announced as GA on MySQL UC 2010 in April. So let's make quick on scalability characteristics we should expect from new release. I made sysbench oltp benchmarks on 10 mln rows (worth 2.5GB of data), on our Dell R900 system ( 16 cores, [...]
» 28 Feb 2010, 9:48 am

Why you should ignore MySQL’s key cache hit ratioI have not caused a fist fight in a while, so it's time to take off the gloves. I claim that somewhere around of 99% of advice about tuning MySQL's key cache hit ratio is wrong, even when you hear it from experts. There are two major problems with the key buffer hit [...]
» 28 Feb 2010, 9:34 am

Index lock and adaptive search – next two biggest InnoDB problemsRunning many benchmarks on fast storage (FusionIO, SSDs) and multi-cores CPUs system I constantly face two contention problems. So I suspect it's going to be next biggest issues to make InnoDB scaling on high-end system. This is also reason why in benchmarks I posted previously CPU usage is only about 50%, leaving other 50% in idle state. [...]
» 25 Feb 2010, 4:33 pm

Missleading Innodb message on recoveryAs I wrote about 2 years ago the feature of Innodb to store copy of master's position in Slave's Innodb tablespace got broken. There is a lot of discussions at the corresponding bug report while outcome of the fix remained uncertain for me (the bug is market duplicate while the bugs it [...]
» 15 Feb 2010, 7:03 pm

READ-COMMITED vs REPETABLE-READ in tpcc-like loadQuestion what is better isolation level is poping up again and again. Recently it was discussed in InnoDB : Any real performance improvement when using READ COMMITED isolation level ? and in Repeatable read versus read committed for InnoDB . Serge in his post explains why READ COMMITED is better for TPCC load, so why [...]
» 11 Feb 2010, 1:27 pm

Blob Storage in InnodbI'm running in this misconception second time in a week or so, so it is time to blog about it. How blobs are stored in Innodb ? This depends on 3 factors. Blob size; Full row size and Innodb row format. But before we look into how BLOBs [...]
» 9 Feb 2010, 10:54 pm

Introducing percona-patches for 5.1Our patches for 5.0 have attracted significant interest.  You can read about SecondLife's experience here, as well as what Flickr had to say on their blog.  The main improvements come in both performance gains and improvements to diagnostics (such as the improvements to the slow log output, and INDEX_STATISTICS). Despite having many requests to port [...]
» 9 Feb 2010, 9:03 pm

Introducing tpce-like workload for MySQLWe have been using tpcc-mysql benchmark for long time, and there many results published in our blog, but that's just single workload. That's why we are looking into different benchmarks, and one of them is TPCE. Yasufumi made some efforts to make TPCE working with MySQL, and we are making it available for public consideration. You [...]
» 8 Feb 2010, 9:30 am

Ruby Inside Ruby Inside

How To Find Ruby User GroupsRuby User Groups (RUGs, for short) are typically informal organizations put together to encourage Ruby developers with certain areas to get together, share ideas, and, often, to have some fun. If you're lacking for inspiration or want to get to know some Rubyists within certain parts of the world (or just around the corner, if you're lucky), heading to a Ruby User Groups' meeting can open a lot of doors. But how can you find them?
» 9 Mar 2010, 6:31 am

Vagrant: EC2-Like Virtual Machine Building and Provisioning from RubyVagrant is a Ruby-based tool for building and deploying virtualized development environments. It uses Oracle's open-source VirtualBox virtualization system along with the Chef configuration management engine along with lots of Ruby goodness to automate the creation and provisioning of virtual machines for development purposes.
» 8 Mar 2010, 1:52 pm

In-depth JRuby Q&A: What Makes JRuby Tick in 2010?JRuby is undoubtedly the most mature of the alternative Ruby implementations. Supporting Ruby 1.8.7 and 1.9.1 (mostly!) and JIT compilation, JRuby is already in use in mission critical Ruby apps and runs scarily fast on the JVM. In this interview with JRuby core member, Charles Nutter, we dig deep into what makes JRuby tick.
» 2 Mar 2010, 8:00 am

New Relic RPM Officially Supports Rack and Sinatra – Finally!New Relic's RPM, an application performance monitoring and reporting system, has today announced it has added full support for Sinatra and Rack-based Ruby applications to its traditionally Rails-centric service. It's been possible to hack in support for non-Rails apps into New Relic before, but this move brings them officially into the fold with all of the features only Rails apps used to be able to take advantage of.
» 24 Feb 2010, 5:50 pm

Building A Well Formed Number Handling Class From ScratchOver on the Ruby Best Practices blog, Robert Klemme walks through the process of building a new numeric class from scratch in Ruby - taking into account all the gotchas and considerations that pop up along the way. Robert's task is harder and more involved than you'd initially suspect.!
» 24 Feb 2010, 5:21 pm

How Ruby Manages Memory and Garbage CollectionGarbage Collection and the Ruby Heap is a presentation given by Joe Damato and Aman Gupta at the recent LA Ruby Conference. You only get the slides for now (all 70 of them!), but they're very detailed and can almost work as a standalone concise e-book on Ruby's garbage collection system.
» 23 Feb 2010, 4:33 pm

5 Chapters of O’Reilly’s Ruby Best Practices – Free!Ruby Best Practices is a book by Gregory Brown (and published by O'Reilly) that looks into the "Ruby way" of doing things in the Ruby language and, specifically, why Rubyists tend to write Ruby the way they do. It's an engaging book and we took a look at it and interviewed Gregory Brown about it just over a year ago.
» 23 Feb 2010, 3:03 pm

Harmony: JavaScript And A DOM Environment In RubyHarmony, from Martin Aumont, is a new Ruby DSL for executing JavaScript and DOM-using code from within Ruby apps. Why's that cool? Well, it enables you to build your own Ruby-level unit tests for JavaScript code within your Web applications - everything can be under one set of test suites!
» 16 Feb 2010, 5:37 pm

Ruby Quicktips: A Tumblelog of Quick Ruby TipsRuby Quicktips is a Tumblr-powered tumblelog (think of a blog but in bite-sized chunks) by Daniel Pietzsch that presents a growing array of Ruby related tips and interesting code snippets. Daniel seems keen for you to contribute, and you can do so on its submissions page. There's an "about us" post if you want to learn more in general.
» 12 Feb 2010, 3:31 pm

11 New Ruby Delights (For If/When You’re Tired of Rails 3.0)Sick of Rails 3.0 yet or still enjoying your Sinatra, Rango, Ramaze, Cramp, or totally non-Web-based development? OK - I've sniffed out 12 new, interesting Ruby related libraries or blog posts just for you! with no Rails whatsoever!
» 11 Feb 2010, 2:40 pm

 

School of Flash School of Flash

Motion Tweens in Flash CS3 and CS4Some of our students wanted to know if they would be able to follow along with the new 'Flash CS4: Step 1' training course if they had Flash CS3. The answer is yes. There are a few new features in CS4 that you won't be able to follow along with, but for the most part, [...]
» 12 Oct 2009, 5:31 am

ActionScript 3 Tutorial – A Better PreloaderHaving problems with your preloader? It's to be expected. Preloaders have a history of causing a lot of grief among Flash designers. Even once you get the loader bar working, you'll often find that it takes the preloader itself several seconds before it shows up. Which defeats the purpose of having a preloader in the [...]
» 9 Oct 2009, 2:41 pm

Flash Tutorial – Orient to PathThe following Flash video tutorial is an excerpt from the new School of Flash video course, Flash CS4: Step 1. In this course, you'll learn the basics of drawing, animating, ActionScript programming, and website building in Flash CS4. In this excerpt, I'll show you how to create an animation where the animated object automatically rotates to face [...]
» 8 Oct 2009, 7:48 am

Tutorial – How to Add Video in Flash CS4The following Flash video tutorial is an excerpt from the new School of Flash video course, Flash CS4: Step 1. In this course, you'll learn the basics of drawing, animating, ActionScript programming, and website building in Flash CS4. In this excerpt, I'll show you how you can VERY EASILY add video to your Flash website. Click here [...]
» 7 Oct 2009, 10:43 am

Flash Video Training Course Now AvailableClose your technical books and open up your mind! School of Flash is now selling full-length Flash training classes. Our first course, released today, is called "Flash CS4: Step 1." This is a beginner level Flash course that will get you up to speed on the basics of Flash. In it, you will learn how [...]
» 6 Oct 2009, 11:04 am

New Flash Training ClassesSchool of Flash will be entering an exciting new chapter in the very near future. In addition to the free Flash and ActionScript tutorials that are currently being offered on the blog, SchoolofFlash.com will also soon be offering comprehensive video training classes! The first course will be entitled  "Flash CS4: Step 1."  This video course, which [...]
» 5 Oct 2009, 10:28 am

At Your Service – Freelance WorkI'm now available for freelance work! Got any Flash, web design, graphic design, photography, video, blogging, or writing projects you need help with? My computer is booted up, and I've got my stylus pen in hand, ready to help out! If you have any needs, drop me a line through the School of Flash contact [...]
» 8 Sep 2009, 7:32 am

Learn Flash in One HourSign up for the brand new SchoolOfFlash.com newsletter and receive a FREE one-hour video tutorial. This tutorial teaches you everything you need to know to get started with Flash, from drawing to animation to building simple websites. Hopefully, you'll find the new School of Flash newsletter a useful (and sometimes entertaining) resource as you strive to [...]
» 28 Jul 2009, 6:57 pm

New to School of Flash – Templates!Flash templates, HTML templates, WordPress themes, and much more are now available through School of Flash. Don't have the time (or the expertise) to create your own website from scratch. Click here, or click on the "Templates" link in the main menu, to visit our new Templates section. Choose from thousands of professionally created website templates, [...]
» 8 Mar 2009, 1:17 pm

3D Particle Effect – Flash CS4 TutorialIn today's video tutorial, I'll show you how to create an ActionScript 3D particle effect that causes multiple stars to animate out in all directions in 3D space. Here is the ActionScript for this tutorial: var container:MovieClip = new MovieClip(); addChild(container);   root.transform.perspectiveProjection.fieldOfView = 120;   addEventListener(Event.ENTER_FRAME, addStar);   function addStar(e:Event):void { var mc:star = new star(); mc.x = stage.stageWidth / 2; mc.y = stage.stageHeight / 2; mc.z [...]
» 21 Dec 2008, 3:25 pm

Switch on the Code Switch on the Code

C# Snippet Tutorial - Determining if Aero is EnabledRecently I was working on a project and the UI required minor tweaks depending on whether or not Aero was enabled. Fortunately, I came across an MSDN forum topic with the solution, so I thought I'd share.
» 25 Feb 2010, 6:23 am

WCF Snippet Tutorial - Overloading MethodsThis snippet will show you how to add overloaded functions to your WCF service contracts.
» 22 Feb 2010, 7:30 am

Notepad++ Subversion Plugin adds RevertToday we've release version 1.2 of our Notepad++ Subversion Plugin. We received a comment asking for revert and since it was a pretty straight-forward thing to add, it has been added.
» 18 Feb 2010, 8:30 am

Python Snippet - Random NumbersProgramming, the final frontier......ok, so maybe programming is not really the "final" frontier, but it sure is close. Final frontiers aside, a couple weeks ago we had our second installment into pygame. It was fun, and we added some cool new features. However, after looking over what I wanted to add for the third installment, I decided to go over something in python itself.
» 8 Feb 2010, 4:58 pm

Pygame Primer, Mark 2 - MovementA long time ago, in a tutorial far away... Ok, so maybe it hasn't been that long since our last foray into the world of programming, but it sure seems like it sometimes. On a more serious note, however, a while back we did go over some very basic things involving Python and a library known as Pygame. Today my friends, we will be continuing on this path, and adding to what we build that fateful December day.
» 15 Jan 2010, 8:31 am

2,000,000 Visits and GrowingAnother year has come and gone here at Switch On The Code and that means it's time to look back at 2009 and how we did. First I have say it was a great year and we really did a lot of new things here. We started podcasting, doing video tutorials, and much more. A new version of the site was launched built completely in Drupal just about 1 year ago exactly. Now I really hope that this year will bring just as many goodies.
» 14 Jan 2010, 10:13 am

Rose-Hulman CSSE Unconference Video - Save the Code, Save the WorldThis talk will cover some basic tools that you can start using now that can save you a lot of time on your work. Some of these tools include version control, build systems, static analysis, debuggers, profilers and IDEs.
» 16 Dec 2009, 12:34 pm

Flex Datagrid Percentage Width ColumnsI have a multitude of tutorials on the Flex Datagrid here at Switch On The Code and none of them show you how to use percentage widths in your Datagrid. Now at the surface this seems really easy, but the way they implemented it in Flex is very unintuitive. So, today I am going to show you how to quickly get percentage based columns in your datagrid.
» 15 Dec 2009, 8:45 pm

Rose-Hulman CSSE Unconference Video - Interviewing CompaniesMost conversations about interviews involve how to land the job. What happens when you land the job and you don't love it. The job interview isn't just a one-way experience. Find out how to make best use of job interviews for yourself in the video below.
» 11 Dec 2009, 8:05 am

C# Tutorial - Using the BackgroundWorker ClassIt's a rule that should never be forgotten - don't ever perform work that takes a non-trivial amount of time on the UI thread. Of course you're now wondering, "Where do I perform tasks that take a non-trivial amount of time?". The answer is simple - on a different thread. There are lots of ways to get your work onto another thread, which can include directly creating a Thread or using the ThreadPool.
» 10 Dec 2009, 8:21 am

The Daily Python-URL The Daily Python-URL

#20yearsago I created Python.Guido van Rossum: #20yearsago I created Python.
» 1 Jan 2010, 4:23 am

People Using PythonSteve Holden: People Using Python ["The Python Software Foundation has embarked on a mission to find out more about Python users. We want to know as much about the organizations that use Python as possible. If you want to give us information about any Python usage at all (even organizations other than the one you work for) please fill out this form. We don't even need your details, and we'll filter for duplicates."]
» 11 Aug 2009, 4:07 am

So you want to learn Python?Guido van Rossum: So you want to learn Python?
» 27 May 2009, 10:43 am

Beards of PythonAndy Smith: Beards of Python
» 29 Mar 2009, 9:20 am

Python 0.9.1p1Andrew Dalke: Python 0.9.1p1
» 28 Mar 2009, 10:45 am

One Laptop Battery Later And I'm A Django FanZed Shaw: One Laptop Battery Later And I'm A Django Fan ["One laptop battery later, and I've completed teh django tutorial. Man django is *very* nice."]
» 20 Mar 2009, 3:02 am

Longest common subsequenceThomas Guest: Longest common subsequence ["In this episode we’ll discuss an elegant algorithm which solves our particular problem as a special case. On the way we’ll visit dynamic programming, Python decorators, version control and genetics."]
» 12 Mar 2009, 10:17 am

Help Publicize PyConSteve Holden: Help Publicize PyCon ["It's going to be difficult to get PyCon to exceed last year's numbers given the parlous state of the economy. One way you can help is to male yourself a part of its publicity campaign."]
» 15 Feb 2009, 9:52 pm

Giant, Python Powered Robots.Simon Wittber: Giant, Python Powered Robots. ["These are the robots I've been working on for the last 12 months. They each weigh about 11 tonnes and have a 17 meter reach. The control system is written in Python, with small sections of C which run in hard-real-time to guarantee safety."]
» 28 Jan 2009, 8:19 am

The History of PythonGuido van Rossum: The History of Python ["A series of articles on the history of the Python programming language and its community."]
» 13 Jan 2009, 10:34 am

How to make money with free software...Stani Michiels: How to make money with free software... ["The Dutch Ministry of Finance organized an architecture competition for which a selected group of architectural offices (unstudio, nox, ...) and artists were invited, including myself. The goal of the competition was not to design a building, but the new 5 euro commemorative coin with the theme 'Netherlands and Architecture'. The winner will be rewarded with a nice price, but most of all with the honor: his design will be realized and will be a legal coin within the Netherlands."]
» 30 Oct 2008, 2:16 pm