Archive for category Software

Typical phases of programming

Identifying appropriate Architectural constructs to satisfy your project’s motivators.

Rapid end-to-end prototyping to flesh out the tool chain and highlight missing information/pain points.

Capture the prototyping steps in a high-level programmatic breakdown of the system behaviour.

Code and Refactor – with the emphasis being on clean data types, function calls, encapsulation and naming.

The importance of refactoring is not to be underestimated.  It takes FAR longer than you expect, but if you don’t keep on top of it you don’t really learn to master and decouple the dependencies in your code base, leading to the incremental emergence of a complexity which is no longer maintainable (as no soul can really understand the consequences of their actions fully when they make changes – if that code is not cleanly modularised in every sense).

No Comments

404 With Buddy Press theme – just enable apache2 rewrite and add .htaccess [Solved]

In the root of your WordPress install (e.g. in my case /opt/www/…/wordpress) add a .htaccess file (it must be named exactly the same) and fill it with

<pre>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

</pre>

Now type :

<pre>

a2enmod rewrite

/etc/init.d/apache2 restart

</pre>

and everything should work!

No Comments

The SE Architectural process

I’m currently coming to the conclusion that one of the most important things I can do when designing software, it to explicitly describe what my options are whenever I have a design decision to make.

Trivially, this is useful for justifying why a particular approach was taken, but more importantly, as unexpected road bumps appear, it can dramatically change the attractiveness of choices one has previously discarded.

It is very difficult to remember all the reasoning associated with a previous set of choices, so it is simple to say “ok, we’ll do it the other way after all” forgetting that it raises a different set of issues.

No Comments

Animated website .ico icon

Never seen this before. Probably a very simple trick. Take a look at the icon in the browser tab, it’s animated!

http://download-book.net/maven-junit-hsql-sample-pdf.html

No Comments

Cannot install Flash Builder 4 – Adobe Application Manager Freezes – OSX 10.6.2 – Fixed/Solved

I do not know what the cause of the problem was, but here is a solution.

Create a root user account :

  • Navigate to /System/Library/CoreServices and start DirectoryUtilites
  • Under Edit enable the root user account (on the main app bar, not in the window)
  • Login as root and install Flash Builder.

Now you can run it from any account.

No Comments

Trying to find a 3D coverflow plugin for Drupal – nightmare

The Drupal community is really lacking this basic functionality for product eyecandy.

The two most promising modules I’ve found are :

http://finnrudolph.de/ImageFlow – which doesn’t to proper 3D and doesn’t autorotate (FAIL)

and

http://mustardseedmedia.com/podcast/episode20 – from some scary looking folk, which when combined with ImageCache (to produce image reflections) might be interesting, but still not 3D and visually unsatisfying.

There are pure flash options, for which a custom Drupal backend module might be written : e.g.

http://www.flashcomponents.net/component/super_carousel.html

This looks like the best so far (and only costs $20 per commercial install), where a custom drupal module could populate the XML file dynamically as it makes its request, in order to furnish the carousel with applicable products.

This might be the path of least resistance.

No Comments

New CWE Top 25 Programming Flaws now out

http://cwe.mitre.org/top25/index.html

No Comments

Another Cross Platform Phone Development Framework

This one looks quite promising.

http://quickconnect.sourceforge.net/browser/index.html

No Comments

Reading some interesting stuff on Scala

http://szeiger.de/blog/2008/07/27/formal-language-processing-in-scala-part-1/

http://ropas.snu.ac.kr/%7Ebruno/papers/ScalaGeneric.pdf

No Comments

Nice colour tool

www.etsy.com/color.php

No Comments