Nick Halstead's Blog:
123531
Nick Halstead has started up another programming competition today - this time it's a bit broader in scope and doesn't focus so much on just PHP.   I have a couple of licenses for Zend Studio Professional that I have been holding back to give away for a competition. So after writing yesterdays programming 'tips' I thought perhaps I should get my readers to submit their own tips and then give away one copy for what I think is the best 'tip' and then I will also hold a online vote for the second copy.   The basic process is to submit your favorite tip to Nick and he'll pick his favorite of the day. This happens each day and at the end of the week, there'll be a drawing for the licenses from each day's top tips.   Submit your entries via his contact form.
103810
Tycho:  We never sit down with the firm intention of making another Bioshock comic - indeed, we intend the opposite - but somehow Bioshock comics continue to be written.  One day, science will pierce these mysteries.  Until then, you'll simply have to endure more strips regarding interactive storytelling's electronic opus.  My recovery from this weekend's rigors would be quite accelerated if I were not up until two or more every night, which is to say morning, hacking and slashing my way through the new releases like some malarial jungle guide.  I put Bioshock to bed last night, and theoretically this should be cause for joy, but I suppose it's like finishing a pie.  There is a whiff of accomplishment, semisweet - but the pie is gone.  Without pause, I slapped the input stud on the video switcher before the final cinema faded to black.  Hurling the gamepad into a knitting basket, I dug deep into the faultlines of the couch, producing a wiimote/nunchuk pair.  I've now played enough of Metroid Prime 3 to know that they've washed the filth of Red Steel completely from the system.  For awhile, I was doing that thing we sometimes do, playing until "the next savepoint," which so frequently becomes "until the savepoint after that," only to meld seamlessly into "until I can no longer see."  They've been spinning the tumbler at Retro for awhile on this one, trying to define first person on Nintendo's weird little chimera, and they've drilled down with enough diligence to find it.  No doubt some measure of the enthusiasm directed toward the game is due to the fact that people are actually using their Wii again, but that shouldn't diminish what they've done.    People have seen Corruption for a couple years, now, builds that bubbled up at different press events, and it's been slightly different each time.  I think they've moved some of the interactions since I last played it - things that were mapped to the nunchuck's gyro before are now handled by the wiimote's pointing device, and I understand why.  Gestures are a very immersive, intuitive means of interaction, but when they fail (or when they fail to express us correctly) they are Goddamned infuriating.  In a case when your hand is actually "present" in the simulation - such as when your left hand is pulling, then twisting, then pushing forward - those motions need to be as authentic as possible.  They must have chosen the perfect translation of the pointing device over the more "correct" left hand interaction.  It creates situations where you are using a different hand than your character, but because the motion is really one to one it still feels pretty good.    That's the long way of saying what you could learn in five minutes, sitting in front of it.  This entire exercise has only stoked my ardor.  It is my intention to begin playing this game at ten, and continue doing so until light begins to creep under the curtains.
481653
I'm back, with a very interesting topic too!  Joel Spolsky, ex-Microsoft Manager and software engineering guru has a new essay, How Microsoft Lost the API War that is creating quite a big storm in the blogging communitiy.  Joel posits that the priests in the holy Temple of Microsoft have lost their way, because it has split into two factions, and the wrong faction is winning. One faction worships on the alter of backward compatibility, while the other is led by fervent priests who are proselytizing to raise up the new gods of .NET and Longhorn. Joel suggests that the new gods will cause the destruction of the holy Temple because Microsoft's great victories were built on the altar of keeping customers happy with backward compatibility. Furthermore the old gods of the Windows API continue to grow more grotesque and cruel with the passing of time, driving former worshipers into the arms of the friendlier gods of World Wide Web.  This story sounds extremely plausible. I must admit that i fit the profile of the developer who used to develop on the Window's API, is familiar with COM and Win32 who now develops mostly using PHP and Python. However I continue to develop and maintain Windows apps that keep our customers happy, and we still plan to develop new Windows apps. Some points:  Temple of the Blind? Firstly, Microsoft is still a compelling place to work for to people who feel that they can make a difference. The Temple continues to attract talented people with a Unix background. For example we have the recent hiring of Ward Cunningham, author of the Wiki.  Microsoft is still able to keep talented people like Raymond Chen, and others like him who continue to look after the Windows API, and Longhorn apparently will still give high priority to backward compatibility. Open sourcerers like Miguel Icaza are sufficiently attracted to the .NET vision to stake their careers on Mono. Longhorn and .NET are compelling technologies, so even if Win32 is not so cute anymore, M'soft is providing something that remains very attractive.  What i do see M'soft doing wrong is that they aren't disseminating the .NET runtime fast enough. It remains an optional install in XP Service Pack 2 for example. Also their IE dev team appears to be hog-tied due to political reasons; nevertheless IE remains good enough, particularly when I can embed IE as an activeX control, something I cannot do with Mozilla (AFAIK) - Update: I'm wrong.  Temple of the Spider?  Secondly, people don't merely use a web browser. They run the web browser in the OS.  So let me ask you, if you are using DreamWeaver or HomeSite or Photoshop or vi or emacs or Gimp, how many of you are willing to give it up for a java applet (or whatever your favorite technology is) running in your web-browser? Precisely.  Temple of the Abandoned?  Third, Joel makes the claim that developers are not developing to the Windows API. Well he could be right. But I bet a lot of them are still calling Win32.  If you are using a framework or IDE like Delphi or wxWindows (or .NET or VB) then you certainly are insulated from the Windows API, but that doesn't mean that you're not calling the Windows API all the time. I don't see Borland dropping their Windows version of Delphi at any point in time.   In fact, the fact that many developers are using some form of framework is a compelling argument for Microsoft to enhance the .NET framework to attract developers who are using other frameworks.  Today, not that many students learn x86 assembler, but that doesn't mean that Intel lost the CPU wars. Just because fewer people are learning Win32 doesn't mean Microsoft has lost the API wars, if the frameworks run predominantly on Win32.  Temple of the Lost  Joel even warns you in the beginning that "because I'm talking about big trends, I need to exaggerate and generalize". But you still get sucked in because Joel Spolsky is a first-class writer, in the same order as Philip Greenspun or Eric Raymond. That makes him so persuasive and plausible. But this is not Indiana Jones and doomed temples, but Steve Jobs and reality distortion fields.  Other opinions:  Harry Fuecks (PHP is ASP's upgrade path),  Dennis Hamilton (M'soft is just covering all bases), Robert McLaws (Joel is wrong in 7 points), Oliver Travers (the web is not good enough), One Run-time to Rule them all....
360148
Tycho:  I should have all the science lined up by the end of the week, ready to stuff into the piano black lozenge I've obtained to celebrate my return to personal computing.  Wish me luck; I've never before had the opportunity to fry four processors at once.       I know things.  Specifically, things that may be of interest to you.  For example, I know if playing Eye of Judgment online is an onerous as it might seem.  It is not!  I cannot express my relief.    Well, let's try.  In my last, vast expose, I broke down a card's unique language and expressed some misgivings about online play - ultimately just accepting it, because what they're trying to do is so weird that there's no prior art.  Essentially, you "register" your thirty card deck with the system itself, where it is stored and named for future use.  This process is extremely straightforward:  it is simply a matter of you laying your cards anywhere on the mat, a few at a time.  It will probably take two minutes if you really keep on it.  Then, you jump online, choose what nation you want to play for, and track down a partner.  At this point, the game will "draw" you your five card hand by showing you the card art onscreen.  You get one Mulligan (or redraw), but if you like your hand you move into the game proper.  We laid out our deck by element, face up, and this smoothed the turn to turn process considerably.      In the build we have, and I hope this is changed for release, it shows you these cards in a single file line without their name or text - just the art.  Once you got familiar with these images, slightly modified from their card format, it's pretty quick - but the names should be displayed on this screen.  You can use the controller to pull up the names, but let's be serious - at no point should the player be forced to interact with a mundane controller once the game is underway.     You should know that the game really wants a well-lit environment.  You don't need a flare gun or anything, but we didn't have what we needed before and certain squares would slow down the game flow with partial reads that would only resolve after several attempts and minute card adjustments.  I should state that here in the office, we removed all the overhead lights, installing a single track of illumination that we point at the ceiling, where lights used to be.  We tend to transform any place we live into a cave.  So, our scenario might be somewhat atypical.    Also, I know if playing Rock Band with all the instruments off of a USB hub is onerous.  You will be happy to know that it is not - we played said instruments spread out on an actual stage, and found it more than satifactory.  The reality is that the drum kit already needs its own wire, so it isn't as though the future had actually arrived anyway.  Plus, the mic isn't wireless either. This makes the contrived brouhaha over wired guitars a fairly transparent traffic ploy.    This is a matter quite apart from Microsoft's reticence to play ball with unique, third party hardware.  And when I say "play ball," I'm taking about the shakedown operation they've got going licensing their wireless technology, which either makes products for their system more expensive or (in the salient case of Rock Band) results in them bundling a wired controller for the same price as a wireless one on a competitor's system.  This is the last holiday they can get away with this sort of thing...  right?
466256
Ligaya Turmelle has relayed some great news in her latest blog entry, something that the web's been needing for a long time - a new group from the W3C created specifically for enhancing the HTML standard.   Now I have to admit to being curious about what is going on - after all anything new dealing with the web affects me as PHP coder. Since the W3C is supposedly interested in input from the Web community and content developers, I decided to see who from PHP would be there. Granted it is very early for the formation of the group so it didn't really surprise me to see no one from PHP that I know or heard about in there, but I wonder if anyone from the PHP Group will become a "invited expert" somewhere down the road.   The group is looking for members to help define this next generation of markup on the web. Check out their page for some of the qualifications needed to participate and for some of the upcoming events.W3C Launches New HTML Working Group
242215
The last podcast of the year, for sure, it's a tutorial on the meaning of the at-sign in Twitter for Dave Sifry. Maybe I got it wrong? If so, post a comment here.
359233
Following up on yesterday's piece about Demo-like conferences. Eric Norlin proposes that the economics are still out of whack. The people providing the value, the people attending the show, should get in for free. The demoers should pay. He has a point. In my HyperCamp proposal, that is how it works. The premise is that in 2007 everyone who attends is as much press as anyone else (everyone's a blogger) so what's the justification for some people getting in as press (i.e. free of charge) and others paying $2500.
152191
Hasin Hayder has started up a new project that he's documented in a new blog entry - the creation of a new jobs website in PHP.   I was involved in making a job site few days ago. During the development, I have studied how easily anyone can develop a job site using PHP (language independent in true sense) . So I decide to write a blog post about my experience and here it goes. But note that this article is not about scaling or balancing the load on your site during heavy traffic, heh heh.   He comments on the startup process surrounding this type of site and makes suggestions about something to consider for your careers site - pulling job content from other sites in two ways - screen scraping and using the job search APIs out there.
615138
Judging by the number of hits tallied for Troubleshooting Linux Audio Part 1 it seems the topic is of interest to many readers. Alas, I must apologize to everyone waiting for the next parts of the series. Various events have kept me from completing it in short order, but you may rest assured that it will return in my next installment. Meanwhile, this week we'll look at two excellent applications that are coming into greater use here at Studio Dave, the LiVES video editor for Linux, and Reaper (yes, again), a native Windows audio/MIDI sequencer running under Wine.
247975
Tycho: There are two things I must mention.First, Gabriel liked the cover for book four (entitled "Birds Are Weird") so much that he wanted to make a poster of it, and it's not worth arguing with him when he gets like that so we let him do it. It is, even now, awailable!Also: PAX preregistration opens today, and since we've had a couple of these now you probably know if it's something you'd like to attend. You save ten dollars over the door price, which is, like, ten bucks. This is money you could put toward some other purpose!(CW)TB
54701
Microsoft is applying for a patent for an operating system that starts out crippled.  You must pay to do things like take the throttle off network speed, disk access, install drivers, install software, and more.  Trust me, I rarely even visit Groklaw, even if this is my second consecutive blog entry with a link to a Groklaw article. My VarLinux.org readers posted the article, A Brave New Modular World, and I had to share it.
49126
A lot of things are happening in the Ruby world right now, and I wanted to highlight a few of them here:  At FOSCon this year, Amy Hoy has asked people to start writing more instructive articles about parts of Ruby or Rails so that newbies would have more "fine manuals" to read.  I've tried to do my part with two short series (so far), one on RubyInline and the other on ruby-prof.  The RubyInline articles are: RubyInline, making making things faster easier, and RubyInline: Going a bit Further.  The ruby-prof articles are:  Profile and ruby-prof, ruby-prof and call graphs, and Profile and ruby-prof:  getting specific. Another blog related event is the current blogging contest being run by Ruby Inside.  They're offering $100 US to their favorite informativ, ruby related blog post this week (Aug 14-20).  There have been a lot of interesting entries so far.  It would be pretty cool to see more contests like this crop up. We're getting close to a couple of Ruby conferences, I wrote about RubyConf*MI in my last post.  RailsConfEurope is also comingu up quickly.  If you're reasonable close to either of these, you should consider registering. O'Reilly has released the Ruby Cookbook.  It's a massive tome, chock-full of Ruby goodness.  I haven't had time to read the whole thing yet, but what I've read looks good, and I'm hearing good things from folks I trust.  Looks like another good book to add to your Ruby bookshelf. APress is getting ready to jump into Ruby and Rails in a big way.  They've got ten titles listed on their 'Rails Roadmap', and have lined up some well known Ruby names to write for them.  They're still looking for some Ruby authors according to this blog post. No Starch Press is also starting to make some Ruby related noises.  I can't be specific yet, but there's a good looking Ruby book on its way into their catalog.  If the book is half as good as what they've talked to me about, it's going to be another 'must have'. The Pragmatic Programmers also look like they're set to add some more titles to their Facets of Ruby line.  James Gray has said that he's writing a book for them that should be announced soon, Ezra Zygmuntowicz also has a book on the way, and I've recently signed a contract with them for a Ruby related book.  It looks like the PragProgs aren't going to be content to sit on their Ruby laurels. Finally, Developerdotstar is close to announcing a couple of books about programming.  Neither of these is Ruby specific, but from everything I've heard I think they're going to be solid, language independant books about becoming a better programmer.  Just the kind of thing you'd expect from these guys.
520393
Tycho: The whole reason I wrote that other post was to link the new article about it at 1up, and I didn't even manage to do that - here you go. In a way, I'm glad I didn't link it before - in the intervening period, a new episode of the 1up show has dropped that has a ton of interview and video material for every part of Episode 2 - including TF2 and Portal. It's the top video on this page. Unbelievably delicious.(CW)TB
313545
Luke Welling takes a humorous look at something he misses in PHP - register globals being set to on.    I am aware that there are some things so shocking that you are not supposed to say them in polite company [...] so confronting that they are best kept to yourself regardless of how strongly you believe them. I have a similarly shocking sentiment that I feel I have to share.   I really like register_globals in PHP.    He reminicies about the days gone by of being able to assume that register_globals is turned on, the days of simpler, lighter code that's even easier for the newbies to get into. Anyone for a tshirt?
669409
Tycho:  Our newest comic is available here, regarding the blogger that Nintendo fired recently.  As usual, Gabriel and I disagree absolutely on virtually every point of this discussion, my own perspective favoring greater liberty while he presents a naked defense of fascism.  The two universal axioms we were both able to agree upon were that:
66953
Chris Hartjes has posted again about the "rebirth" of a Zend Framework component he's worked on - the Zend_Service_Audioscrobbler.   So, dear readers, I received some nice emails and comments from those you have used Zend_Service_Audioscrobbler, along with having a nice email conversation with Wil Sinclair from Zend.   He still wants to "rip things up and start over", but has decided on a slightly different route - mapping the older function calls to the new ones via a __call catch and including a message stating that the older function call would be deprecated.
468481
Those that didn't get a chance to go to this year's UK PHP Conference but wanted to should definitely check out this great post by Caroline Maynard about all the goings on there.   Last week I attended the second UK PHP Conference in London. The organisers had clearly listened to the comments after the first conference, and this year's event was even better. It's the only event of its kind in the UK, and deservedly popular, with a large lecture theatre completely packed.   She talks about some of the talks that were given (including one from Cal Evans of the Zend Developer Zone and Rasmus Lerdorf giving a talk on "Fast and Rich Web Applications with PHP 5"). Check out the full post for the full story on the rest of the event.