Archive for the 'Journal' Category

My day-to-day activities

CakePHP

April 23rd, 2008

I’m rewriting Authware at the moment using CakePHP.
I figured I had to learn something about MVC sometime, but here I am doing so — and it isn’t funny.

Ruby (on Rails)

February 3rd, 2008

Back when I still had a print subscription to Linux Journal, I read an interview of David Hansson, creator of rails and thought, ‘wow, this is cool!’
My friend Kwame had a book on Ruby which I perused and found the language was relatively simple. Now for such a simple, amazing language — and framework — [...]

Open Link in New Window

June 15th, 2007

Isn’t there some way to disable this or move it further down in Firefox? Why does it have to be at the top? Everytime I righ-click a link, I intend to open it in a new tab. I hate new windows!
The crazy context menu item just keeps getting in my way…

SELECT * EXCEPT(…)

June 3rd, 2007

This would have been one of the coolest additions to SQL. Programmers are lazy, always looking for a way to avoid writing more code and I suppose this is one area I fit the norm. I need to select all the fields from a 20-column table… except one.
Doing a Google search, it’s apparent I’m not [...]

What’s with PHP Sessions?

June 1st, 2007

I’ve been tearing out my hair trying to figure out how to have persistent sessions on the client. Okay, I’ve done it before on several projects but those ones didn’t use a database-based session handler.
I’ve called session_set_cookie_params to no avail everywhere in my code — the time in the db’s correct, but the session always [...]

Code Profiling

April 27th, 2007

While running some tests on my local machine, I discovered a certain content item on Authware took between 2.5 and 2.9 seconds to load — when nearly every other one got loaded in less than 0.7 seconds. There were some basic references to clone — especially when determining the book name for a certain content item and discovering the book was it’s own parent — and I naturally erroneously assumed the overhead arose in those sections. Doing a manual copy of all the elements I needed instead of cloning changed nothing.

SpawEdit

March 6th, 2007

When I first wrote Authware I needed a WYSIWYG editor. I wanted one written in PHP that was basically drag and drop.
I couldn’t find a basic TinyMCE-PHP implementation back then. FCKEditor (it’s come a long way in the last two years) gave me a lot of bad code. By chance I came across Innovastudio’s editor. [...]

Ethical Freelancing

March 5th, 2007

I’ve getting some extra pocket change for a while now by picking up freelance jobs. So far, I’ve been most successful with Scriptlance.
From an ethical viewpoint how do you respond to a [fishy] project that asks you to create 100 fake MySpace profiles or these ones that ask you to spam blogs, forums and social [...]

So far

February 17th, 2007

Authware Screenshot

On WritingInn

February 10th, 2007

I know this is lame but I haven’t posted here in ages.
The way the new version of Authware’ll work, we can have something.com/~azuka for user profiles if a friendly url handler is defined. I recently did some Windows hosts file tampering, redirecting a new domain name (writinginn-server.com) to my system for testing out WritingInn [...]