Home » Archive

Articles in the Featured Category

Featured, Headline, Web 2.0 Experiments, Web Development »

[9 Apr 2010 | No Comment | ]
A Simple GWT Generator Example

Generators allow the GWT coder to generate Java code at compile time and have it then be compiled along with the rest of the project into JavaScript. They are a sort of similar to T4 Templates in the .NET world. I don’t recommend Generators because you end up writing a lot of code in printLn()s which is sort of the opposite of “maintainability”. However, there were so few examples available I decided to post a simple one here just for the sake of it.
My Use Case is I want …

Featured, Headline, Web Development »

[6 Apr 2010 | 3 Comments | ]
ExtJS, Metadata and GWT

Back around New Years I was looking for a way to simplify creation of cross-browser, DDA accessible HTML. Screens basically. They had to be very rich with lots of bells and whistles and they had to perform. Ideally this system had to be so simple to use that a non-technical person could create XBrowser, DDA compliant screens. I decided to take a second look at ExtJS and it has come a long way since I’d seen it last.
Using ExtJS you can create a screen programmatic-ally using classes and …

Featured, General Computing, Headline, Life & Introspection »

[22 Mar 2010 | 3 Comments | ]
On Frameworks, Abstractions and Code Generation

I have built many frameworks over the years and I have a love-hate relationship with them. Building frameworks or other types of abstractions such as code generators, template engines and so forth are great creative outlets which tend to distract the over-burdened developer from the primary task at hand which is shipping software. They’re a lot of fun to think about and build and you don’t need to worry about those pesky business requirements. But are they worth the investment?
The first problem with a framework is the requirements. Since …

Featured, Headline, Web Development »

[19 Mar 2010 | 2 Comments | ]
Essential Skills for Web Developers in 2010

I interview a lot of candidates for the role of web developer. I thought I would take a minute to describe what I think this role means and the skills *I think* you need to be successful in today’s world. This is just my opinion, your results may vary.
Let’s get core skills out of the way; you need some exposure to the MVC, asp.net code-behind model only just doesn’t cut it. You should understand the rendering pipeline, how to manipulate the HTTP request and so forth. Basic stuff.
You …

Featured, Headline, Life & Introspection »

[11 Feb 2010 | 5 Comments | ]
Fine Watches for Men

A slight tangent this time; If you’re looking for a good valentine’s day gift for men, specifically a watch, it can be a daunting task. Of course no one needs a watch into today’s world but that’s not the point.  The watch is the only piece of jewelry a man can legitimately wear so in my view it’s fairly important to put some thought into it. The worst thing you can do is walk into a jeweler’s not knowing what you want, you’ll end up $2,000 poorer with a boring …

Featured, Headline, Life & Introspection, Science, Weird Wide World »

[26 Jan 2010 | 2 Comments | ]
Life Is Ruthless

Is there an intelligent designer? If so then they are surely a mad and cruel scientist. Observe the parasite “Cymothoa exigua” [LINK]. Here’s is an animal, a parasite, that attaches to a fish’s tongue. Once attached it cuts off the blood to the tongue which eventually falls off. It then happily lives in its unfortunate hosts’ mouth. I assume its incredibly painful for the host fish who is powerless to get rid of it.
Or how about “Sacculina”, the mind-control barnacle? [LINK]
“Upon finding a host crab, a female Sacculina will crawl …

Featured, Headline, Life & Introspection »

[7 Jan 2010 | 7 Comments | ]
The Law of Attraction is Offensive

Bob Proctor is at it again.  The Secret, which benefited greatly from “The Oprah Effect” essentially put The Law of Attraction, around which much of Proctor’s shtick is based, on the map. The Law is…
“Essentially, “if you really want something and truly believe it’s possible, you’ll get it”, but putting a lot of attention and thought onto something you don’t want means you’ll probably get that too.”
This claim is entirely fantasy based, with no clinical evidence to back it up AT ALL. Yet The Secret was purchased by over 2 …

Featured, Headline, Web Development »

[4 Jan 2010 | No Comment | ]
Linq to SQL Hierarchical Data Serialization Problem (and fix)

I had a weird Serialization problem with Linq to SQL the other day and since I didn’t Google the fix I figured I’d publish it here.
I had a table which refers to itself, something like this:

CREATE TABLE [dbo].[node](
[id] [int] IDENTITY(1,1) NOT NULL,
[title] [nvarchar](50) NOT NULL,
[parentId] [int] NULL,
CONSTRAINT [PK_node] PRIMARY KEY CLUSTERED
(
[id] ASC
)
ALTER TABLE [dbo].[node]  WITH CHECK ADD  CONSTRAINT [FK_node_node] FOREIGN KEY([parentId])
REFERENCES [dbo].[node] ([id])

I have a stored function to retrieve all the nodes, including their descendants from the DB, mine’s based on the function included here [LINK]
Once I got the rows, …

Featured, General Computing, Headline, Life & Introspection »

[29 Dec 2009 | 6 Comments | ]
The Singularity

Moore’s Law states that the level of technology/computing power available doubles every 18-24 months. This exponential growth has held true the last thirty years and shows no signs of slowing down. There is a physical limitation which will be reach but I have no doubt that by that time we will switch from silicon-based transistors to some other means. E.g. Just the other day scientists announced the world’s first molecular transistor consisting of a single molecule of benzene [LINK].
So what’s next? Well if computers get stronger/smaller/faster you might think we’ll …

Featured, Headline, Life & Introspection »

[28 Dec 2009 | No Comment | ]
2009 – A banner year for the Catholic Church

“I wonder on what basis anyone can say condoms make AIDS worse. The Pope is either stupid, ignorant or dim.” so says Richard Dawkins, speaking at a the University of Valencia after having been awarded an honorary degree. [LINK]
Dawkins was referring to the Pope’s comments in Africa earlier this year where the Pope said this about HIV/AIDS: “You can’t resolve it with the distribution of condoms. On the contrary, it increases the problem.”
Dawkins loves to stir things up as it were but he’s not alone. The pontiff’s comments have prompted …