When YouTube Borks!

youtube500.png

Posted in Coolhunting | Leave a comment

Radon Radon

We somehow managed to loose the last update to this page which is a shame because I outlined what I would be doing these next two weeks. Just as well it was lost because I have been waylaid working on Radon. http://radon.set-top.net which is an associated open source project. A kind of gtk for low end set-top box devices.

I’ve managed to get the build system to build _debug version of libraries which means I am now feature complete for starting development. Still a few things I would like to do to the testing framework, but they can wait. The web site needs work. I don’t write good.

The first bit of dev will be to finish off the shell. Then onto the plugin system and then the refactoring. If I get bored I may revisit the testing framework and add events.

Looking at http://www.swig.org

Posted in MetaWrap Server | Leave a comment

The Joy Of AutoMake

Anyone considering playing with Makefiles and Automake should be very clear about the different ‘flavors’ of variables. 🙂

http://www.gnu.org/manual/make/html_mono/make.html#SEC67

Also Recursive Make Considered Harmful. makes a good read. I can see the sense in what the paper says, but this project is so inherently hierarchical in its structure, I think I would loose too much functionality if I switched to a big Makefile. eg. being able to set a debug flag on one branch of the tree. Or just build one sub-branch. I have already encountered one issue that he describes, but this kind of thing is always to be expected in a hierarchical system. I’ve structured the project such that anything in a subdirectory is a component of the directory above. This does not work for tests, because they need to be build/run after the module. So I have created a test directory which then in turn has a dir for each of the projects. *phew*. This has taken forever, but I think I’m actually getting close to getting back to coding.

Posted in MetaWrap Server | Leave a comment

Getting Things Together

After a great holiday, I’m now gearing up to have a busy year with this project and at work (I’ve been approached to start porting some old Amiga games across to Interactive TV Formats.). I’m currently building the CVS source tree and getting the build to work under various platforms. I’m tackling the configure/build basics of linux-x86, cygwin, mingw, linux-alpha and hpux. I’ve found the following links very useful.

http://www.gnu.org/manual/automake-1.6.1/automake.html
http://www.gnu.org/manual/autoconf-2.53/autoconf.html
http://sources.redhat.com/ml/automake/2002-05/msg00071.html

I’m also agonizing over whether or not I should abandon my long worked on MetaWrap XML library and swap in the Xerxes library instead and get instant support for many of the available standards. I’m so close to getting schema working in my lib, but I’m thinking of biting the bullet and making a sensible decision, made all the more possible by MetaWrap being made GNU GPL now. using Xerxes would allow me to concentrate on other things. Xerces will continue to be maintained for a while and is rapidly becoming the best of breed XML parser. I would loose some of the features that made the metawrap xml library unique, as far as soft validation and auto repair of badly formed XML. The only real issue is license compatibility, which I think is going to be OK. It will take longer to remove and replace the existing MetaWrap XML library, and the MetaWrap XML library is much smaller. On a plus side, by the end of the process, I will be an expert in Xerces. The MetaWrap XML library is by far the oldest and ugliest part of the system and it would need an overhaul anyway. Hmmmm… – James.

 

Posted in MetaWrap Server | Leave a comment

CVS Repository

The source code for the MetaWrap is in a CVS repository. Now that the original commercial source has been released under GPL, I am currently in the process of pouring the released source code from the commercial CVS repository into the open repository.

Posted in MetaWrap Server | Leave a comment

Most Promising Battery Technology I have Seen In Years

Using nano-particles to increase the surface area and thus the capacity of a capacitor makes it a viable battery.

http://www.sciencentral.com/articles/view.php3?language=english&type=&article_id=218392803

Posted in Coolhunting, Quantum Mechanics | Leave a comment

Using New Monopoly Visa Debit Card Gadget As A Project Management Tool

In their latest edition of Monopoly “Monopoly Here and Now Electronic Banking“, Parker Brothers has made some changes. Players now use a Visa debit card to keep track of their bank balances.

I can’t find any detail on how the system works but I’m guessing its one of two possible modes.

  1. The card reader/writer contains all the smarts and keeps track of how much is on each card, which just has a unique ID.
  2. The cards keep track of their own value and the card reader/writer just transfers value.

Either way, I’ve come up with a way that you could turn this hardware into a simple project management tool.

The usual number of tokens in a monopoly game is 8, which is a reasonably large team for a project. I’m making some naive assumptions about the equivalence of hours to reduce the calculation required.

So a project manager starts with a budget of hours in a card. The project has three cards to represent its state.

  1. One card which is charged with the ‘budget’ time for the project. (this card is given to the project manager by someone the project manager is accountable to).
  2. One card that is charged to 0 which tracks the ‘spent’ time.
  3. One card that is charged to 0 which tracks the ‘spill’ time.

The rest of cards are charged to 0.

In a regular meeting with the team the project manager allocates tasks and charges each of the cards with the allocated time from the ‘budget’ card and hands each task card to the resource.

So each of these cards now represents a task that can be physically handed to a resource. It may even have an id on written on it that can be tracked in a bug tracker.

When the task is completed (on or ahead of schedule), the resource goes to the project manager with the “task card”. The producer moves the consumed time into the ‘spent’ time card and moves the remainder onto the ‘spill’ time card.

When the time is up for a task and it has not been completed, the project manager hunts down the resource, transfers the value of the ‘task’ card into the ‘spent’ card and then can allocate extra time from the ‘spill’ time card, which may go negative if there is no existing ‘spill’.

At any point in time…

  1. If the ‘spill’ card is negative then the project has gone over budget.
  2. If the ‘spill’ card is positive then the project is under budget.

At the end of the project, if the ‘spent’ card does not equal the starting ‘budget’ then something has gotten lost.

If the ‘budget’ and ‘spill’ card run out before the project is completed, the project manager has to go to someone to get the extra budget.

Or you can just roll your own strategy.. I think the important concepts in this idea are

  1. Physical representation of a task.
  2. Ability so see at any point in time the time budget state of the project.
  3. Formalised handover from one task to another.
  4. Limited number of task cards, so enforces some constraint and requires some thought by the project manager.

The real world of course does not work this way and unless the resources were locked out of their machines without a positive task card, its non enforceable – but its a fun idea.

Posted in Rants, Web2.0 | Leave a comment

This Month In JavaScript – 2006.7

“Timeline is a DHTML-based AJAXy widget for visualizing time-based events. It is like Google Maps for time-based information. Below is a live example that you can play with. Pan the timeline by dragging it horizontally.”

http://simile.mit.edu/timeline/


“Slightly ThickerBox is a modification of Cody Lindley’s Thickbox script. I modified it for use on my Jason’s Toolbox Redesign. The modifications allow the script to generate “Previous Image” and “Next Image” links. The result is that you can use Slightly ThickerBox to create image galleries. In addition, you can create groups of galleries by setting a “rel” attribute on the links. (I also moved the Caption and Close link to the top and made the script case insensitive.)”

http://www.jasons-toolbox.com/SlightlyThickerBox/


Cool Google IG style JavaScript widget.

http://ajaxian.com/archives/echo2-widget-panel


“The World Wide Web consortium’s (W3C) CSS working group recently released a draft of a new multi column layout module–to be included (with possible modifications) into the CSS 3 specs. For those web developers that have been lamenting the lack of adequate multi column support in current supported versions of the CSS specs, this is an exciting and welcome addition.”

http://blogs.pathf.com/uxd/2006/07/multi_column_la_1.html


“Ever wanted to match the look of your HTML forms with the rest of your website’ This article demonstrates how to apply customized backgrounds to HTML forms, while preserving stucturally clean markup and accesibility.”

http://www.picment.com/articles/css/funwithforms/


“The use of embed has gone on too long. Wishing for it to become part of the official specs is like wishing your partner would start putting the cap on the toothpaste. It’s not going to happen. It’s time to move on. If you want to validate your website, you have to get rid of embed. In this article, I’ll show you how.”

http://www.alistapart.com/articles/byebyeembed


‘Every once in a long while, I read about an idea that is a stroke of brilliance, and I think to myself, “I wish I had thought of that, it’s genius!” Microformats are just that kind of idea. You see, for a while now, people have tried to extract structured data from the unstructured Web. You hear glimmers of these when people talk about the “semantic Web,” a Web in which data is separated from formatting. But for whatever reason, the semantic Web hasn’t taken off, and the problem of finding structured data in an unstructured world remains.’

http://www-128.ibm.com/developerworks/library/x-microformats/’ca=dgr-lnxw01Microformats


“JavaScript is hip again; there’s no doubt about it. But if you’re starting to get down and dirty with it, there’s no excuse not to keep it clean.”

http://www.thinkvitamin.com/features/dev/the-importance-of-maintainable-javascript


“A little bit JavaScript, a little bit CSS and a little bit clairvoyance, Link Thumbnail shows users that are about to leave your site exactly where they’re going. When that curious mouse pointer hovers over a link pointing to somewhere outside of your site, the script displays a small image of the destination page. It’s a nice visual cue that serves a very real purpose: providing a clearer picture (no pun intended) of what’s ahead.”

http://lab.arc90.com/2006/07/link_thumbnail.php


“The Javascript Sound Kit is a wrapper around the ActionScript Sound Object, it makes it possible to use the Sound Object in Javascript the same way you do it in ActionScript.”

http://jssoundkit.sourceforge.net/


“Rails must be spoiling me. Every time I have to write ugly code, I wonder: could the language be different’

I wondered just that about CSS while making some Backpack Calendar styles work across browsers. Hacks are ugly. What if I could just type a special selector, based on the name of the current browser'”

http://37signals.com/svn/archives2/browser_selectors_in_css.php


“One drawback of working with AJAX is that an AJAX-based client cannot make calls to URLs outside of its domain, which means that it cannot access services located on another server. A technique such as JSONP can help in this regard, but it has some limitations. One limitation is that including third-party JavaScript inside script elements exposes your application to potential security risks because you are allowing external parties to interact with your client.

To overcome these problems, you need a generic proxy that can communicate with external services on your client’s behalf. The proxy passes a call from your client application to the service, receives the content in response from the service, and returns the content to your client. You can then use this content in your AJAX-based application.”

http://weblogs.java.net/blog/gmurray71/archive/2006/07/the_xmlhttpprox_1.html


“Which New Browser Is Best: Firefox 2, Internet Explorer 7, or Opera 9′ “

http://www.extremetech.com/article2/0,1558,1990850,00.asp


“Web applications are becoming more and more like “normal” desktop applications. Of course, they are more and more functional, but smooth user interface acts the primary role. So we have drag and drop, autocompletition, and much more. Many of those nice features got possible only with help of AJAX.

This page, however, is not about AJAX (or any other buzzword). It is about rather simple user input method — mouse wheel. I believe it would now be difficult to find a mouse without wheel. Vast majority of users are used to the wheel as a control for scrolling in lists, zooming etc. Rather few web applications, however, make smart use of mouse wheel. This page is to provide you with general information about handling mouse wheel-generated events in JavaScript programming language”

http://adomas.org/javascript-mouse-wheel/


“JavaScript malware is opening the door for hackers to attack internal networks.”

http://it.slashdot.org/article.pl’sid=06/07/30/0547227&from=rss

Posted in JavaScript, Web2.0 | Leave a comment

Aptana – JavaScript-focused web application IDE

Looks great and looks like it will run as an Eclipse plug-in! What more could you ask for. Not sure how it compares to the latest Eclipse 3.2 (Callisto) Web tools platform – which I use and love.  

“Aptana is a robust, JavaScript-focused IDE for building dynamic web applications. Highlights include the following features:
  • Code Assist on JavaScript, HTML, and CSS languages, including your own JavaScript functions
  • Outliner that gives a snapshot view of your JavaScript, HTML, and CSS code structure
  • Error and warning notification for your code
  • Support for Aptana UI customization and extensions
  • Cross-platform support
  • Free and open source. (Source available soon)”

http://www.aptana.com/

 

Posted in JavaScript | 1 Comment

ClickTale

ClickTale shows you the full story: every mouse movement, every click and every scrolling action. By using ClickTale you will gain insights that will improve your website’s usability, enhance navigation, and increase effectiveness.

http://www.clicktale.com/

Something that looks scarily like my Open Source JavaScript Macro Recorder but with a snazzy front and back end.

Something like this would probably make a good proof of concept application for my XML Storage server so I may build a white screen version of this in the near future as a test application.

Posted in Coolhunting, JavaScript, MetaWrap Server | Leave a comment