Archive for March, 2009

h1

You Win GNOME

March 30, 2009

Fine, have it your way…  GNOME Do will sport a straight GTK+ panel applet interface for the next release. Do you feel better now? Now GNOME Do can be as boring as you are.

edit – I have been asked to provide a small bit of rationality for this.  The reasoning is quite simple.  GNOME has a long history of having issues with applications that dont follow the HIG or do not look like other GTK apps.  Even if they look better. We can kill two birds with one stone by doing this and maybe go up for inclusion in GNOME.

Advertisements
h1

Slowly learning…

March 15, 2009

So I have been hacking on GNOME Do and lately Docky for hours and hours of my day to day life lately.  I am slowly picking up on a couple truths about software development.  I am sure I am not the first to realize this, but I am going to document them here for my sake and maybe any poor soul in my position.

1 – Simple fixes aren’t. Try as hard as you like, the fact of the matter is that you will rarely, if ever, implement something the first time perfectly with 0 bugs.  Additionally, the closer you are to release, the more likely you are to make mistakes.  This is not just murphy at work, this is also due to the fact that you are worried about release and getting things out the door properly.  It makes you sloppy.

2 – Never write code with excessive dependencies. There are always at least two ways to write any piece of code.  There is a quick and easy way, and a longer, harder, more thought out way.  Sometimes it can be very difficult to figure out which is which, but I have found a trick.  The method that relies the least on the other parts of your code will tend to be the best way.  In short, find dependencies, eliminate them, be happy. Sometimes it can be very very hard to notice your dependencies, but there are some big offenders.

  • Instances of classes that depend on (and are the sole users of) static classes
  • Static classes that take in instances of other classes and offer them back as properties (cheat for getting globals)
  • Anything to do with the word singlet.

3 – If you don’t know how to do something, sleep on it. If you are at all like me, your brain doesn’t stop just because you have. Sometimes it is useful to implement something wrong and then see its wrong and do it right, most of the time however it is not. I have in the past run into situations where I was not sure what to do, so I picked one of many options, got it wrong and felt stuck with it.  As time has gone on I have tried to go back and fix those, but there are a lot as they do accrue over time. I find now in these situations that its best to just put things down, and let your brain mull it over for a while (don’t even actively think about it, you will have it come to you). Sometimes I will talk it out, like a crazy person, but hey it works. In the end you will still get it wrong from time to time, but at least you will do better.

4 – Do something more than program with your computer. Programming is fun and rewarding, but you must do other things with your computer.  If you never use it for anything else you will suffer from several things.  Not the least of which is losing your ability to type fast.  Sure you can touch type, but your hands vocabulary goes to the shitter.  Write blogs, or articles, or documentation, anything that requires actually writing full complete sentences in your native language. Never let a day go by without writing a proper sentence or 20.

That is all for today.  I hope to get more blogging done in the future, I find this fun once I get into it.

h1

GNOME Do 0.8.1 Released

March 13, 2009

Announcing GNOME Do 0.8.1

It has been about a month since our last release and its time to follow up on all those bug reports and close them all.  Tarballs are available for both core and plugins. Please note that while 0.8.0 plugins will work with 0.8.1, it is strongly suggested that you upgrade to get the best experience, especially for Docky users. Some quick statistics.

  • 2 New plugins
  • 38 Bugs fixed
  • 8 New Translations

Additionally Docky has recieved a major overhaul based on all the feedback from the 0.8.0 release.  Here is what it looks like now!

Docky has received a minor visual refresh

Docky has received a minor visual refresh, and a clock!

Visible Changes:

  • Docky’s right click menu is now more compact and beautiful thanks to Kalle, our awesome artist
  • Zoom is visibly smoother and does not “wiggle” as much as it used to
  • Zoom is slightly wider to give a smooth appearance
  • Dock separator is sleeker and less obtrusive
  • Glow dot color changes to match your gtk theme

Functionality Changes:

  • Docky no longer differentiates window items from launchers in any manner.  They are all merged together.  Items can be pinned to the dock simply by dragging them to the left of the other transient launchers, making them permenant fixtures on the dock.  It’s never been easier to add running items to your dock.
  • Launcher matching is now much more robust with only prism and open office being the known remaining issues with it.  Hundreds of linux applications have been tested and confirmed to work.  As more testing comes in this will become even more robust.
  • Right click menus no longer have a remove from dock option, use drag off to do this.
  • Cannot drag off items that have running windows attached to them as this presents a conflict of ideas.
  • There is a clock!  And if you click it… something magical happens.

And last but not least, the magic…

Rock out with your clock out

Rock out with your clock out