Skip to Content

New to the Mac? Check out TUAW's Mac 101
AOL Tech

Alex Hung

New York, NY - http://www.downloadsquad.com/bloggers/alex-hung/

Filed under: Developer, Social Software, iPhone

iPhone App Review: Twitterrific exercises your EDGE connection and your patience

TwitterificSlick UI seems to be the norm for most 'big name' iPhone applications on the AppStore. Twitterrific easily gets the top spot in terms of having attractive UI and navigation. However, UI and usability are not synonymous. When I use my phone, I want to accomplish what I want to do quickly and easily. Unfortunately Twitterrific falls short in a few area which makes it one of the most frustrating apps to use on the iPhone.

Until recently, the only way for developers to test an iPhone application was to use the simulator. While it does a great job in allowing developers to see and interact with the app as they develop it, it doesn't show how the app performs in real-life situation.

There are two major differences between the simulator and the real iPhone that are at play here. One is the computer speed and the other internet connection speed. Even the slowest MacBook Air runs faster than the iPhone and thus any performance issue would be masked. Likewise with internet connection, there is no straightforward way to simulate the speed and latency of a EDGE connection and therefore any deficiency of the code in the app would not be exposed until the developers try it out on the real iPhone with spotty EDGE connection.

Twitterrific suffers from both of these problems. The scrolling performance of the message list is so jerky and slow that initially I thought there was something wrong with my iPhone. As I waited patiently for the list to scroll up and down, I also noticed that Twitterrific loads and re-loads every single user picture, even if it has previously been loaded. I stared at my iPhone in dis-belief because I could not comprehend how any sane developers would be as inefficient as that. My hunch that the reloading issue is tied to connection speed was confirmed last night when I got home and connected to the net via wi-fi. Both scrolling and picture reloading sped up because of the much faster connection I have at home.

Read more →

Filed under: Developer, Apple, iPhone, Beta

Dev Chair : iPhone SDK experience


The iPhone SDK has been out for couple of weeks now and I've been using it to develop an application for my work as a technology demonstrator. My experience thus far has been largely positive. I wasn't surprised by how well-made the SDK is, even at this beta stage. The amount of work involved in releasing any SDK, let alone one that is so tightly scrutinized, cannot be underestimated.

Consider that I am learning three new things simultaneously: programming in Objective-C, learning how to use Xcode, and what is available in the iPhone SDK, I am going to describe the whole experience instead of just confined to the SDK.

Read more →

Filed under: Developer

Dev Chair : A geek solution to the writers strike

As the Writer's Strike continues into the end of January with no real end in sight, most people are running out of quality TV programs to watch. Heck, we're even running out of quality-less programs to watch. Unless you are a fan of reality shows such as Gladiator, there isn't much coming in the next month or so, if at all, for this rapidly evaporating season.

I think it is time we in the software industry step up to the plate and offer our help. With what we know about artificial intelligence (AI), genetic algorithms, and natural-language parsing, it should be possible to develop a software program where TV scripts are created based on previous episodes.

What we need are:
  • Characters in the series and their attributes (gender, personality, etc.)
  • Tons of previous scripts
  • The series formula, e.g. The new clue to solve the case between minutes 39 and 40 in Law & Order, or CSI.
  • A genetic algorithm that learns the characteristic of the series through all the existing episodes, e.g. how each character behaves, their favorite catchphrases, and how the general plot line evolves. For many shows, just the catchphrase would suffice.
  • A software bot to trawl the net for bizarre news as seed to generate new stories.
The scripts generated by this AI program would probably not very good at first -- but hey, neither was Seinfeld -- they might not make sense at all. But, after some teaching sessions by a human -- perhaps volunteers from the audience? It's all about crowd-sourcing these days, right? -- some reasonable scripts should result.

Granted this strategy would not work for proper drama like 24, Dexter, Weeds, etc. which all have major story arcs running through entire seasons but, it should work great for formulaic shows such as Law & Order, CSI, Numbers, Psych, where almost everything stays the same from episode to episode with only minor plot device differences in between.

How much effort would it take to develop this AI program? I don't have the faintest idea. I just suggest stuff, it's up to other people to handle the sticky details of implementation. I can imagine modifying an existing AI algorithm to accept TV scripts instead of whatever scientific research data, let it run on some beefy servers (may be run it as adistributed project like SETI@home? New TV shows are at least as important as finding aliens, maybe moreso.), and see what comes out at the other end.

Remember, this idea is hardly new. It has already been done with financial news by Thomson Financial as reported by Wired back in 2006. Is it such a big leap from news to formulaic drama?

Come on, doesn't this sound like a fantastic final year college project? Surely the prospect of getting your final assignment done and being the hero who breaks the Writer's Strike deadlock sounds appealing to someone?

More interesting question is: Which one is smarter? Law & Order, or an artificial intelligence program? With Fred Thompson dropping out of the presidential race, our money is on the AI.

Filed under: Developer

Dev Chair : Do we want scientists or engineers?

Good computer science graduates do not make good software developers. Really, I mean it. But for the polar opposite reason that these two New York University computer science professors think.

When I was in high school my physics teacher once told us, "All physics experiments work. They just may not work the way you want them to."

This encapsulates neatly what software development is all about. On one hand, it is science. It is deterministic. Each programming language statement performs exactly as stated (baring bugs in the compiler, or the SDK, or the OS). On the other hand, software development is closer to engineering where years of experience allows a software developer to spot patterns in the model and apply them to build a system.

Unfortunately, just as in physics, computer science courses do not prepare students for what comes after graduation. Skills that are considered crucial in almost all commercial software projects are either not taught in college or are only touched upon. This disparity between the skills graduates possess and what the industry is looking for means it generally takes one to two years of working in real life project for a graduate to become fully trained.

Read more →

Filed under: Developer

Dev Chair : Faster, better, cheaper with Agile?

Nokia N800
As NASA starts to wind down their Space Shuttle activity in the next three years, the space agency's effort to return to the Moon has been ramping up quietly in the background. With their new Orion/Ares space vehicle combination, crew automation will definitely be on the top of software priorities for NASA. But with a much smaller budget and shorter timescale than the last lunar attempt, would NASA and its contractors embrace new approaches and techniques so our tax dollars are better spent? Can Dan Goldin's "Faster, Better, Cheaper" approaches be finally achieved?

A couple of months ago I was fortunate enough to join ThoughtWorks, a company that advocates the use of Agile software development practices (Extreme Programming, Scrum, TDD, etc.) to bring business value to our customers. I have been using Agile practices on my previous project for over three years and it had proved to be highly successful. And ThoughtWorks' experience in this area proves that Agile can also be applied successfully on large enterprise software projects. But can Agile be used on a highly mission-critical software project such as the one for the Orion spacecraft?

Over ten years ago my first programming job was for small software company developing real-time, safety critical software for controlling railway trains. The work we did was the embodiment of the Waterfall model. The system requirements were collected and analyzed. The model was designed and validated. Then we mere programmers set out to write code to realize the model. Huge amount of unit tests and integration tests were created to make sure our code did what the model said it should do. All the while, the project manager kept track of our progress to ensure that, hopefully, we delivered the product on time and on budget.

At first glance, Agile sounds like a good fit with this type of project where requirements are generally very well defined and correctness are paramount. Short iteration and test-driven development will ensure features are delivered often and proved to be working by the unit tests. Continuous integration means there will be fewer surprises as multiple systems are joined up to work with together. The costs of requirement changes will be reduced and can be implemented quickly, rather than in the next version.

But would the world of safety /mission critical software development, dominated by engineers and scientists, be receptive to the less rigid world of Agile development? Would they feel that without the top down approach, its highly structured development process, and the tightly prescribed set of delivery artifacts, the project delivery cannot be guaranteed?

I would love to hear from people who have more recent experiences in this area of software development with regard to Agile. Is it being used, is it being used widely, and how effective it has been?

Dev Chair : What can green do for you?

digg_url = 'http://www.downloadsquad.com/2007/10/01/dev-chair-what-can-green-do-for-you/';About a hundred years ago the Industrial Revolution transformed the lives of millions of people. The invention of steam power, telegraph, electricity and the like freed people from labor intensive jobs and let them spend their energy on improving living standards. The focus of the industrial revolution was ...

Mobile Minute: iPhone APIs are like life - they're full of compromises

Two weeks ago we saw the first wave of third party applications for the iPhone. But because Apple has yet to open up the device and provides an API (Application Programming Interface) for software developers, making third party applications right now is not for the faint hearted or even regular developers. A couple of weeks ago in MacBreak Weekly, Leo Laporte called for Apple to open up the iPhone ...

Dev Chair : Geeks are not Apple's target with the iPhone

digg_url = 'http://www.digg.com/apple/Geeks_are_not_Apple_s_target_with_the_iPhone'; This last Saturday I had the good fortune of being in the middle of a passionate debate between Roy Singham and another ThoughtWorker over iPhone vs. other smartphones. Roy argued that the iPhone is not the game changing device that most people claim it to be because his Nokia N95E90 smartphones can do more ...

Dev Chair : iPhone Safari and the rest of Web

iPhone day is upon us. Much has already been written about the iPhone despite the fact that only a handful of journalists have used it. One thing that is common among all reviews is the AT&T's EDGE network is slow. Perhaps it is faster now but EDGE is still no 3G. Earlier this month at WWDC, Jobs told Apple's developers to develop web applications for the iPhone instead of releasing a SDK. ...

Dev Chair : Why is Safari on Windows?

So Apple went and released Safari for Windows. It is interesting why Apple did this. Safari may be faster, as the Royal Steveness claimed, and provides a number of nice features that are not in IE7 or Firefox by default (e.g. Forms auto-fill and resizable text fields) but I am not sure it would get much traction in the long term once the novelty factor has worn off. Steve Jobs also announced that ...

Featured Time Waster

Civiballs is a beautiful, soothing physics puzzle Time Waster

CiviballsI have an absolute weakness for physics games, and while Civiballs isn't the strongest physics-based game, what it lacks in the physics department it makes up for a few times over in style and fun.

In Civiballs, you are presented with a few colored balls, and your goal is to get those balls into the same-colored urn on the level. The "civi" part of Civiballs is that there are 3 sets of levels to play, each representing a different civilization. While the civilization doesn't affect gameplay, the artwork for each level is beautifully themed to it's appropriate era.

To play the game, you are given only one tool - a sword with which to cut the chains that are holding the balls. The puzzle part of the game is in figuring out what order, and with what timing to cut each chain. Do it right, and all the right balls end up in the right urns, with no stray balls entering an urn (a no-no). Do it wrong, and you get to start over again.

Civiballs is not terribly deep on gameplay; the entire game can be completed in about 15 minutes. But if you enjoy this type of game, it will be a very enjoyable 15 minutes.

View more Time Wasters

Featured Galleries

Defective by Design, London: Protest Pictures
Microsoft Security Essentials
Chromium Pre-Alpha on CrunchBang Linux
Safari 4 Beta
10 Firefox themes that don't suck
IE8 RC1
Download Squad at the Crunchies After-Party
Download Squad at the Crunchies
WordPress 2.7
Cooking Mama: Mama Kills Animals
Windows 7 Hands On
Comodo Internet Security
Android First-look: Amazon.com MP3 Store
Android First-look: Twitroid
Google Reader Android
Android Hands-On
Twine 1.0
Photoshop Express Beta
Mozilla Birthday Cake
Palm stuff
Adobe Lightroom 1.1

 


Follow us on Twitter!

Flickr Pool

www.flickr.com

Download Squad bloggers (30 days)

#BloggerPostsCmts
1Lee Mathews8284
2Jay Hathaway721
3Brad Linder726
4Jason Clarke312
5Grant Robertson912
6Nik Fletcher20
7Christina Warren29
8Dolores Parker11

More Tech Coverage

AOL Radio