Tweetz 2.0 Beta

Ok, I’m finally to the point where the new version of tweetz™ is good enough to warrant a beta release. For those who have been following this blog, you know that I decided to “start over” with tweetz. While the old tweetz was an OK gadget, it was bumping up against the limitations of it’s implementation.

The new version doesn’t do everything the old version did (yet). However, what it does, it does better. And more importantly, the code is more robust and extensible which means it should perform better, be easier to maintain and new features should be less disruptive code-wise.

Some things I was able to fix in the version.

  • Better font – Actually the font is the same as before but it’s not bolded. I never did figure out why the older version bolded fonts but I suspect it had something to do with lame IE implementation of opacity.
  • Better performance – The old version slowed down as the number of tweets increased. The new data model is much more efficient.
  • Better interface – This is obviously subjective, but I think I’ve made some interface decisions that make the program better. Your feedback will be the judge.
  • New features – I did sneak in some new features like hash-tag searches.

I’ll have much more detail in the release post. For now, I’m looking for feedback and validation of the new implementation.

Available on the downloads page.

 

Friday Links #87

Programming

Make All Links Feel Subtly More Button-Like | CSS-Tricks
fholm's IronJS at master – GitHub
Type initialization changes in .NET 4.0 - Jon Skeet: Coding Blog
Titan: An Introduction | Drewwilson.com 
Andrew Hoyer | Cloth Simulation
C# Frequently Asked Questions : What is the difference between “dynamic” and “object” keywords?
Nine Things Developers Want More Than Money | Software by Rob
How to Test your JavaScript Code with QUnit | Nettuts+
Euler Problem 14: Learn to Memoize - Bill Blogs in C#

Applications

JDcontextmenu: enhance Windows’ right-click menu with a host of useful functions | freewaregenius.com
CloudPad is a handy, lightweight GTD notepad with tag support
Chrome 5 debuts more settings options | The Download Blog
Rich-Text Editors for 2010 and Beyond
Bespin » Code in the Cloud

Science and Technology

Long-Awaited Barefoot Running Study Finds Sneakers Are Harmful | Popular Science
Carbon Crystals Harder Than Diamond Found In Finnish Meteorite | Popular Science
Physicists Prove Teleportation of Energy Is Possible | Popular Science

On the Web

BBC News - Google phases out support for IE6

Stuff I Just Like

Amazing Computer Concept Designs You Wish Were Real
Consumer Reports Home & Garden Blog: Buzzword: Energy Management

Posted  Friday, February 05, 2010  |   0 Comments
Tags  Links 

 

Tweetz, JavaScript, jQuery and Discovery

I’ve been busily working on the next release of tweetz™ these last couple of weeks and have mostly ignored my blogging duties as a result. Codemash 2009 was a real wake call for me in that I realized that I needed to update my skills in a number of areas. If you take your craft seriously, you realize that getting “comfortable” is the kiss of death, skills wise. Especially in the profession of programming.

So, after seeing all the cool JavaScript/jQuery (and other stuff like Ruby) at Codemash, I arrived back, cracked open the tweetz code and set about to employ the new techniques I learned. I was immediately hit with a sad and disquieting realization however. The code really “sucked”.

It’s my own fault perhaps but consider that tweetz started out as just a few changes to a gadget called Twadget. It was written way back in 2006 using jQuery 1.1. Much has changed since then.

The code suffered from a classic case of lack of separation of concerns. You see this a lot in Web programming. Here’s this fat old DOM sitting out there just begging to have data and handlers hung on it like a Christmas tree. I followed suit with my “incremental” improvements and well, the result wasn’t pretty.

If I’ve learned anything about programming over the years, it’s that I suck at it. That sounds harsh but consider that we all “suck” at programming to varying degrees. As Jeff Atwood has said many times in his blog, “The goal is to suck a little less as time goes on”.

So I started over with tweetz. It wasn’t really worth “saving” in it’s current state and I had the opportunity to “do it right” this time around. I’ve also learned a tremendous amount about JavaScript and jQuery over the last few months. It’s really been an eye-opening trip of discovery. JavaScript is more powerful and robust than I realized.

Tweetz™ 2.0  has a real data model now. The controller and views are separated (mostly), and the generated markup is and much leaner and therefore faster. Many of the odd quirks and behaviors have disappeared in this new version. The code still sucks. It just sucks a whole lot less.

I keep thinking I’ll release the new version any day, but then realize there are many features the new version doesn’t support yet. As much as I’ve maligned the old tweetz, it was feature rich and did it’s job well for the most part. The new one is better so far and like any craftsman, I’m enjoying the process as much as the result. It may be a few days or a few weeks before tweetz 2.0 debuts, but trust me, it’s coming.

 

Friday Links #86

Programming

A jQuery Twitter Ticker – Tutorialzine
Dive Into HTML5
Code Converter | Provided by Telerik
Browsing xkcd in a windows 7 way – CodeProject
jQuery 1.4.1 Released – The 14 Days of jQuery
.NET 4.0 and System.Threading.Tasks
Parallel Programming with .NET : FAQ :: Are all of the new concurrent collections lock-free?
Nice “Quick Hit” Videos about ASP.NET 4 and VS 2010 - ScottGu's Blog

Applications

Google Chrome Blog: Over 1,500 new features for Google Chrome
CloudPad is a handy, lightweight GTD notepad with tag support

Science and Technology

Video: Airborne Laser Tracks and Engages A Missile in Flight | Popular Science
Cesium-Snatching "Venus Flytrap" Material Takes the Bad Stuff Out of Nuclear Waste | Popular Science

On the Web

Boogie Board writing tablet costs $30, features ‘no power LCD technology’
To beat spam, turn its own weapons against it - tech - 25 January 2010 - New Scientist

Stuff I Just Like

Space pictures taken from garden shed – Telegraph
Román Cortés » Pure CSS Coke Can
RainyMood.com

Posted  Friday, January 29, 2010  |   0 Comments
Tags  Links 

 

previous | next

powered by Bloget™