-
Simon Parkin interviews Martin Hollis. As with much of what Martin says, it is gentle, readable, and dotted with nuggets of purest gold. And the word "teleportage". Martin's a lovely, lovely chap, and he really, really knows his stuff; reading this should convince you of that.
-
"My other half says I’m losing it. But I think that as an enthusiast kernel developer she doesn’t have the right to criticize people." Generating ASCII pie charts with a single SQL query. It's a very, very big query. It's a bit crazy.
-
"All yeahs in a baby are always the same height." Crazy markup preprocessor of the day, with suitably entertaining documentation.
-
"It seems to me that Transgaming have done more to hurt the Mac gaming world than anyone else. The idea that you can turn your product into a Mac game OVERNIGHT, without employing ANYONE WHO SEEMS TO CARE ABOUT THE PLATFORM is an absurd thing to peddle."
-
"Tig provides a simple command-line yet visual interface to Git." An explanation of what Tig does, and why you might find it useful.
-
"Tig is a git repository browser that additionally can act as a pager for output from various git commands."
-
Marvellous – case study of all the packaging concepts for the bonkers House Of The Dead: Overkill. Lots of gnarly, grindhouse-inspired graphic design going on here, and many things that are as good as the final version.
-
'"We studied these online gangs at the same time I was looking at the offline gangs and it turned out the model we were developing to explain the behaviour of the online guilds began to coincide with the offline gangs," says Johnson. "We could explain the data using the same mathematical ideas."' Which all makes sense, you know, but it's still interesting to see this stuff being done and taken seriously.
-
"In this project, we consider the problem of reconstructing entire cities from images harvested from the web. Our aim is to build a parallel distributed system that downloads all the images associated with a city, say Rome, from Flickr.com. After downloading, it matches these images to find common points and uses this information to compute the three dimensional structure of the city and the pose of the cameras that captured these images. All this to be done in a day." Woah.
-
"This is my boot fetish Pong game". I first saw James at OpenTech demonstrating his prawn-sandwich powered BBC Micro clock. It is good to know he is still building brilliant things. And: more Ellie Gibson interviews in the world is never, ever a bad thing.
-
"Michael Abrash's classic Graphics Programming Black Book is a compilation of Michael's previous writings on assembly language and graphics programming (including from his "Graphics Programming" column in Dr. Dobb's Journal). Much of the focus of this book is on profiling and code testing, as well as performance optimization. It also explores much of the technology behind the Doom and Quake 3-D games, and 3-D graphics problems such as texture mapping, hidden surface removal, and the like." My old URL for this no longer works, but fortunately, this one does.
-
"The commercial worked on Lucas but a few years later, the computer graphics group at ILM was sold by Lucas to Steve Jobs for $5 million and became Pixar. Loren Carpenter is still at Pixar today; he's the company's Chief Scientist." Marvellous.
-
"slideViewer (a jQuery image slider built on a single unordered list)". Which looks nifty.
-
"Flicking over to the old graphics — and I, for one, found it almost impossible not to do so on every screen — shows you the game as you originally experienced it, and it looks completely different. Suddenly you remember the old imagery too. Conceptual memory gives way to visual memory, in a clear illustration of how the mind functions on different levels. It’s an odd experience, first thinking you recognise something, then discovering that the original was in fact quite different, but that you now remember that too, as additional detail. In one way it’s a contradiction, and in another it’s sharper focus." Emmett on the Monkey Island remake, and the ability to dynamically swap between old and new interfaces.
-
Andrew Plotkin on some of the design of Inform 7, and rule-based programming as it applies to IF. Long story short: everything is exceptional, and designing systems to support the kind of stories IF authors want to tell is hard.
-
"Flickcurl is a C library for the Flickr API, handling creating the requests, signing, token management, calling the API, marshalling request parameters and decoding responses. It uses libcurl to call the REST web service and libxml2 to manipulate the XML responses." I did not know about this, but it looks nifty. Now, to compile it on OSX…
-
"The next time you see an application you like, think very long and hard about all the user-oriented details that went into making it a pleasure to use, before decrying how you could trivially reimplement the entire damn thing in a weekend. Nine times out of ten, when you think an application was ridiculously easy to implement, you’re completely missing the user side of the story." Yes. Similarly: what you don't see is the decision-making, everything that was thrown away.
-
Now that Net Yaroze has closed its doors, Edge catch up with some former Yaroze developers; they have some interesting things to say on the state of games education in particular.
-
"[Our heroine's] name is Marta Louise Velasquez, and she’s quite possibly the most unpleasant female lead character in the history of gaming. She’s also what makes TD2192 worth remembering." Indeed, I have many. She did not lead a happy life, I'll give Richard that.
-
"Critical thinking is the key to success!" Professor Layton is on Twitter. Officially. This is good.
-
why do it? To borrow from the site's About pages: "First, it will help you find shows that others have not only watched, but are talking about. Hopefully it'll throw up a few hidden gems. People's interest, attention and engagement with shows are more important to Shownar than viewing figures; the audience size of a documentary on BBC FOUR, for instance, will never approach that of EastEnders, but if that documentary sparks a lot of interest and comment – even discussion – we want to highlight it. And second, when you've found a show of interest, we want to assist your onward journey by generating links to related discussions elsewhere on the web. In the same way news stories are improved by linking out to the same story on other news sites, we believe shows are improved by connecting them to the wider discussion and their audience." Dan Taylor explains Shownar from the BBC's perspective
-
"Shownar tracks millions of blogs and Twitter plus other microblogging services, and finds people talking about BBC telly and radio. Then it datamines to see where the conversations are and what shows are surprisingly popular. You can explore the shows at Shownar itself. It’s an experimental prototype we’ve designed and built for the BBC over the last few months. We’ll learn a lot having it in the public eye, and I hope to see it as a key part of discovery and conversation scattered across BBC Online one day." Matt talks about Shownar on Pulse Laser.
-
"Shownar tracks the online buzz around BBC shows. It's an experimental prototype and we want your feedback." What I've been working on in the first three months at Schulze & Webb, and is now live. Exciting!
An ExceptionNotifier for CodeIgniter
25 June 2009
CodeIgniter really is turning out to be The Little PHP Framework That Could. I’ve now dived pretty deep into it and still have few complaints; as I’ve said before, it makes all the boring stuff easy, has almost no “magic”, and stays out of the way.
As the application moves towards production, though, I began to miss a few things from Rails – notably, its ExceptionNotifier plugin. ExceptionNotifier will send you an email every time there’s an error on the site, which is really very useful with production applications.
So I investigated alternatives for CodeIgniter. I stumbled across this Stack Overflow post, which basically outlines exactly what I was looking for.
Except it doesn’t work.
Never mind! We can fix that, and the end result is MY_Exceptions.php
:
(You might want to “view raw” on that – there’s some funky syntax-highlighting going on).
This really does work out-of-the-box with CodeIgniter 1.7.x. You just drop it into system/application/library
, call it MY_Exceptions.php
, and it’ll extend the existing Exceptions library. Obviously, you’re going to need to change a lot of the obvious details like email addresses you want things sent to, and the name of the production domain you’ve configured in your app’s config.php
. You also need to make sure the error log level is set to “1” or higher in that config.php
file. But that’s about it; it really does work, and means that in production alone, you’ll get email from your app when a PHP error gets thrown, along with not only the line number and file the error was thrown in, but the URL that the user was accessing to generate the problem.
Not bad for an hour’s work. And, because it’s a Gist, you can either copy and paste, or just clone it straight into your application.
-
"BREADBOX64 is a twitter client for the C64/128 which allows you to tweet from a real C64 and show your friends timeline." Now that's a classy look.
-
"There was a point a few years ago whenever somebody called a meeting that I had to attend, then whoever called the meeting had to pay me a dollar. And I got a lot of dollars that way. It did make them think twice about calling the meeting, even though it was only a dollar." Will Wright has a good point.
-
"What we didn't predict was how cheap storage (and other computer-ish) improvements would change the market. That's called the "X Market"—it's all about how the product you're introducing changes the marketplace you're selling into rather than how much of the existing market you'll be able to capture Had it not been for the X Market, hard drives would be specialty items today… Many consumers feel cramped with 100 GB of storage. Home entertainment systems are available with over 10 TB of storage. A consequence of super-cheap storage, at the same time that it's what makes said storage a viable product."
-
Italians getting into rental, rather than ownership. Products become services.
-
"The unforgiving streets of public television are no place for weakness: either you fight, or you die. Join the courageous young brawler Large Avian as he embarks on a rampage of revenge against the animatronic gang that killed his family and defiled his nest. Watch as our hero trashes Oswald the Grump, spells out certain doom for the Cracker Beast, and puts their calculating, blood-sucking leader down for the count. New episode every Sunday!" Want this so badly.
-
Huge, and a bit baggy, but nontheless interesting account of a trip to the SBO Qualifiers in the US; if anything, makes me sad that there's no way we'll ever see an arcade scene like this in the UK ever again.
-
"Some time ago, Simon Schama wrote an article for the Guardian on the perfect bolognese sauce. Like any other enthusiastic cook, I've been finely honing my sauce for years and finally had it nailed down to what I considered to be Very Good. However, I saw the article as an opportunity to challenge myself, rip it up and start again and above all, get one over Schama. So here's my recipe:" Epicly epic bolognese recipe. Should try this some time.
-
A rough guide to building your own ExceptionNotifier for CodeIgniter. Might come in handy.