Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 ALL


  What to Look for in PHP 5.4.0

PHP 5.4.0 will arrive soon. The PHP team is working to bring to some very nice presents to PHP developers. In the previous release of 5.3.0 they had added a few language changes. This version is no different. Some of the other changes include the ability to use DTrace for watching PHP apps in BSD variants (there is a loadable kernel module for Linux folks). This release features many speed and security improvements along with some phasing out of older language features (Y2K compliance is no longer optional). The mysql extensions for ext/mysql, mysqli, and pdo now use the MySql n...

2,998 0       PHP 5.4 NEW FEATURE BUILT-IN SERVER TRAIT


  Paint messages will come in as fast as you let them

There is a class of messages which are generated on demandrather than explicitly posted into a message queue.If you call Get­Message or Peek­Messageand the queue is empty,then the window manager will look to see if one of thesegenerated-on-demand messages is due,messages likeWM_TIMER,WM_MOUSE­MOVE,and WM_PAINT.Neil wonders,"In that program that called Invalidate­Rect 100,000 times,how many paint messages were generated?"The Zen answer to this question is "Yes."A more practical answer is "As many as you can get."When somebody calls Invalidate­Rect,the window manager adds the spec...

2,318 0       WORK WM_PAINT PAINT MESSAGE MOUSE MOVE


  Scala, Patterns and The Perl Effect

He tried to understand that one concept for a couple of months before it made sense to him. Admittedly, partial functions are not intuitive for anyone who has been schooled in traditional programming, but still, looking at the problem he was trying to solve it seemed like James was required to expend too much effort relative to the simplicity of the problem (as he pointed out, now that he understands the concept it seems straightforward).He showed me the code, and it was basically a situation where there was common code in the existing function, and the partial function completion allowed the ...

3,244 0       PATTERN SCALA PERL TEMPLATE PARTIAL FUNCTION


  Why developer-friendliness is central to API design

Today, APIs play a bigger role in software development than ever before. The evolution of computing has been dominated by ever-increasing levels of abstraction; the use of higher-level languages, of course, but also the development of platforms, libraries, and frameworks. Professor Douglass C. Smith claims the progression of this second category far outpaced the development of programming languages.  Developers are also noticing that difficulty has shifted from designing algorithms and data structures to choosing, learning, and using an ever-growing set of APIs. Yet, many developers may b...

1,885 0       API USER FRIENDLY SIGNIFICANCE IMPROVE QUALITY


  Making Your Tech Conference Presentation, and Experience, Not Suck

Tech conferences are incredibly expensive, and not just in dollars. Even free conferences like BarCamps incur the expense of the attendee’s time. Taking time off from work or family is a hassle at the very least, and it’s time that isn’t billable. The draw of the conference boils down to those 45 minute sessions, and speaker and attendee alike should make the most of it.Speakers often start off by wasting time. They front-load the presentation with worthless information. If you are a speaker: I don’t care what company you work for unless it’s somehow relevant...

2,168 0       SOFT SKILL TECH PRESENTATION ADVICE HIGHLIGHT


  Diving Deeper into HTML5 Offline Browsing

Recently, I published an article on one of the new features in HTML 5 called Offline Browsing  in HTML5 with ApplicationCache.The response to that article was good, and I was asked to expand on some further points including:how to decide on what files to cachethe implications of caching those filesdebugging the ApplicationCacheSo, that’s where this article will start: where the last one finished.  If you haven’t, you should probably read the previous article before this one.Let’s dive into what resources you and should not add to the ApplicationCache.What Should ...

2,647 0       HTML5 FEATURE OFFLINE BROWSING NEW BREAKTHROUGH


  Why we don’t hire .NET programmers

Skip my post and read this one instead.  It says the same thing, but less offensively.  (Or, rather, more offensively to Facebook and Google employees, less offensive to .NET developers, though the underlying message is the same.)Tuesday midnight edit: After >500 comments, >1000 tweets, and >1000 Facebook likes, I’m closing comments on this thread so we can all get back to work.  The very last comment takes the cake, however, and is a fitting close.  Thanks ez, whoever you are!As you might know, we’re hiring the best programmers in the world. &nb...

3,369 0       ASP.NET HIGH LEVEL LOW FLEXIBILITY WEAKNESS


  Unfortunate Python

Python is a wonderful language, but some parts should really have bright WARNING signs all over them. There are features that just can't be used safely and others are that are useful but people tend to use in the wrong ways.This is a rough transcript of the talk I gave at my local Python group on November 15, with some of the audience feed back mixed in. Most of this came from hanging around the Python IRC channel, something I highly recommend.[update 2011-12-19: improved "array" critique, add "python -i" suggestion to "reload" critique, add html targets to sections]Easy Stuff FirstStarting...

3,097 0       PYTHON WARNING DEFECTS DEPRECATED METHODS