(Again) Why Test?

Posted by & filed under programming.

When whipping out the Josephus game, I used Jasmine to write the tests… er.. spec for anticipating the behaviour of the code. Among the many reasons I use a “test-driven methodology” (even in the smallest of projects) is that I like to (nay, NEED to) keep a close eye on the strategic direction of the… Read more »

Jospehus Interactive

Posted by & filed under programming.

If you’re into math puzzles, you have probably come across the Josephus Problem at some point or another. If you enjoyed testing your ability at finding the right spot, there’s an interactive version (the theme slightly mangled with creative licence). Enjoy!

Javascript Jasmine

Posted by & filed under programming, Technology.

If you know me (or have worked with me) then there’s one thing you’ll be quickly become aware of with regards my coding behaviour: tests. I love tests. More importantly, I love meaningful, passing tests that validate my sanity and check my logic in critical areas. And Javascript is no exception. I’ve run with jsUnit… Read more »

iTrainedToday Tech

Posted by & filed under Business, Technology.

The technology behind iTrainedToday is a nice mix. In fact, the chosen technology has enabled it to finally come to life. For a web application with persistence, you need basic moving parts: UI, backend persistence (ie. database), server-side middleware to translate the communication between the UI and the persistence. Straightforward for the most part except… Read more »

Relaxing on The Couch

Posted by & filed under perspective.

the last few days i’ve been looking at couchdb and started building my first app on it. Coming from a primarily “backend coder” perspective (complete with domain modeling, object-mapping, type-safety and so on…), it’s been challenging getting to grips with JavaScript on steroids, plain HTML and jQuery along with couchapp all at the same time…. Read more »

Invalid State Crashes Client?

Posted by & filed under Technology.

It’s the infamous view state again. My my my. I knew there were reasons I really didn’t dig the complexity ASP.NET were trying to cover up. This time though, my sense of amazement reached new heights when the client browser crashed (yip-crashed) because the server picked up some dodgy view state. Read that again. Carefully…. Read more »

Classical, Functional or Prototypal?

Posted by & filed under Technology.

I have updated the maths playground on this site as part of an ongoing adoption and learning of new languages and in particular, programming approaches. The language itself is not really the issue when you’re tackling a task. In fact, learning a ‘programming language’ itself (the syntax that is) is a non-issue. What you do… Read more »

Fractions and Foating-Points

Posted by & filed under Uncategorized.

Floating-point arithmetic on a computer is hazardous, at best. This post is not a detail description of the problem. Varied descriptions of the problem already abound, like this one, for example. There’s also documented pain out there to understand that it’s not just your computer No, this post is just one way of getting around… Read more »

Timeline + Blog = Blogline

Posted by & filed under Uncategorized.

:all that playing around has paid off nicely for some useful code of high geek value 😀 welcome, Blogline u can plug just about any rss feed into it.. at least, that is, i have been playing with implementations for Rss2 and Atom.