• submit to reddit
Steven Lott09/25/11
4 replies

"Strict" Unit Testing -- Everything In Isolation Is Too Much Work

Folks like to claim that unit testing absolutely requires each class be tested in isolation using mocks for all dependencies.  This is a noble aspiration, but doesn't work out perfectly well in Python. First, "unit" is intentionally vague....

Mark Needham09/24/11
1 replies

Learning node.js: Step

I’ve been playing around with node.js to generate some graphs from our git repository which effectively meant chaining together a bunch of shell commands to give me the repository data in the format I wanted. I was able to do this by making use of...

Krishna Kumar09/23/11
16 replies

Making Time for Hobby Programming

I noticed a couple of comments on DZone about programmers with family not having the time to do hobby projects. As I wrote about my own experiences having a child, I really empathize with such concerns. It is not easy. It is really hard to do a fair job...

Jesse Warden09/23/11
0 replies

Flash Player 11 Links

If you’re in a hurry, just read Ryan’s blog entry: http://blog.digitalbackcountry.com/2011/09/flash-player-11-air-3-and-flexflash-builder-4-6/ ————————- Flex 4.6...

Lorna Mitchell09/23/11
1 replies

Invalid Protected Resource URL in Pecl_Oauth

I had a funny (funny weird, not funny haha) problem the other day when working with pecl_oauth in PHP to talk to a service. I'd gone through all the handshaking steps, got the acces token and was ready to start talking to the service itself. However when...

Giorgio Sironi09/22/11
2 replies

Phar: PHP libraries included with a single file

Phar is a php extensions that provides the means for distributing code as a single archive, that does not have to be extracted to a folder before usage.The concept is similar to JVM Jars: each archive becomes a virtual directory where files can be accessed....

Mitch Pronschinske09/21/11
0 replies

In the Wake of Win8 Bombshell, Adobe Boasts Flash 11's Graphics are 1000x Faster

In a quick move to assure the public of Flash's continuing relevance in web and desktop development, Adobe revealed the coming features in their next version of Flash Player and AIR.  Hoping to 'wow' their loyal Flash-game developers, Adobe has been revving...

Mitch Pronschinske09/21/11
0 replies

WebMatrix 2 Beta Adds PHP IntelliSense

WebMatrix has made a name for itself by massively simplifying and accelerating the construction of a relatively complex web site—specifically the CMS, widgets, web server, and back-end stack.  

Alan Skorkin09/21/11
1 replies

When Developers Go To Great Length To Save Typing 4 Letters

Heroku is a great platform. Long before I joined and when I say long, I mean in startup terms (i.e. a few weeks before I joined :)) – the decision was made that CrowdHired would be hosted on Heroku. Shortly after I came on board, Heroku released their new...

Itamar Syn-hershko09/21/11
0 replies


Whenever you start doing real-world stuff with Lucene you find yourself hacking and extending. That's the beauty of Lucene - it has so many extension points, and you can write almost every part of it from scratch to match your requirements.

Giorgio Sironi09/21/11
0 replies

Practical PHP Refactoring: Replace Type Code with Class

The scenario of today will be familiar to many developers which have experience with ENUM database fields: it consists in a numerical or fixed string type code used to differentiate the instances of a class.For example, some users of your site may have a U in...

Axel Rauschmayer09/21/11
0 replies

Quasi-literals: embedded DSLs in ECMAScript.next

 Quasi-literals [1] are a syntactic construct that facilitates the implementation of embedded domain-specific languages (DSLs) in JavaScript. They are currently slated for inclusion in the next version of ECMAScript [2]. This post explains how...

jb j09/20/11
1 replies

10 super useful WordPress shortcodes

Shortcodes are real time-savers for all WordPress users. They allow you to do complex tasks easily, just by inserting the shortcode in your post editor. Today, I’m glad to show you 10 new and super useful WordPress shortcodes to boost your productivity!...

David Kelley09/20/11
1 replies

Windows 8 and what it means for Silverlight and the coming Slate Wars

What does Windows 8 mean to the Silverlight world? To be honest the past year has been kind of a let down with some certain ms employee's saying this that or the other thing that really effectively killed most Silverlight work and its made me somewhat...

Giorgio Sironi09/20/11
0 replies

Practical Google+ Api

Google+ recently releases to developers the first version of its Api, which focuses on public data about profiles and their activities: status updates, resharings and links.I dived into the Api and wrote a small sample application to get a feel of how easy is...