Archive for May, 2006

Cumberland County

I almost forgot today is a primary election. I went hunting to make sure I was right. I found the calander of elections. Handy for those of us in cumberland county. I am going to bookmark this on delicious, with the tag ‘vote’. You should do the same with your local election information web page. Accessibility to information is key for the survival of democracy.

Smarty

I have been doing some PHP, mostly tada list clone, but also the app for work. I have been using Smarty as the templating “engine” for them. It’s actually quite nice. It allows me to do PHP much like I would Perl using html::template.

From more than one person I have heard “It just kills me that there is a template language for…well a template language”. And I understand the sentiment, however PHP, like it or not, has out grown it’s templating roots (if it’s good at what it does is another debate). However we can now code fairly complex web apps in PHP and in doing so, we should probably seek to keep the code and the content as seperate as possible to aid in debugging. I don’t think I would be interested in writing PHP if not for Smarty, it really does keep things cleaner.

Talking about

Talking about the DeVinci code and trying to disprove the assertions about the church is like walking around bitching about how orcs are portrayed in Lord of the Rings. It’s fiction people, relax.

Back to computers

Busy busy busy. Hacking all kinds of goodness. I am going to attempt to add multi users and multi lists to the tada list clone. It occurs to me that while I get some use out of it the way it is, it shouldn’t take long to add those features, and people might actually be compelled to use it if I put them in there. Has anyone tried it? What do people think about subbmitting it to freshmeat?

I ran into a stumbling block on my other super secret app a month ago. It’s weird, it’s not a programming hangup, it’s something else entirely, though at this point I’d rather not say what it is…though I do plan a future post about it. I didn’t want people to think I abandon it, I think about it just about everyday. However this block makes working on it seem lame right now, however there may be a way out…sorry for being cryptic on that point, I’ll clear that up soon.

At work I have been working on a admin frontend to proftpd, with a mysql back end. This is has been a lot of fun, though I did notice, this is the third app in a row where I used my ajax library. It has a fatal flaw in it that causes you to have to write some really awkward server side code. That ends today. Talking to Eric, is always a good thing, even if I don’t get an answer from him, usually the act of going over the problem with him and listening to his line of questioning will often give me a head slap moment when I see the error of my ways. Perhaps someday I will have slapped all the dumbness out :)

Will someone, anyone…

Will someone, anyone, hell I’ll pay you, blow this guy so we can get rid of him already


some jackass

Uh…

“What are people worried about? What is the problem?” asked Lott, a former majority leader. “Are you doing something you’re not supposed to?”

The patriots who gave their lives for freedom would surely disagree that freedom from an oppressive tyranny is not worth protecting. Just what are conservatives conserving?

Too far.

How you are screwing yourself

Tonite I wanted to bring a server back online for work. However part of the problem is that the other Sysadmin where I work is the person who knows the load balancer. I have been putting off the brain dump from him so I could get some other things done. Besides, there is a web interface…what could go wrong?

Well trying to bring the server back online I accidentally bound the server to the wrong fail over sequence. No problem I will just unbind it. Except that doesn’t work. It runs. But it remains bound.

I decide, I am leet enough to ssh in to the load balancer and figure it out. Not so fast Mr. Big Head. I was unsure what I was doing. I figured out how to bind and unbind servers to virtual IPs but I couldn’t seem to figure out how to only do it for one server. Rather than take down my whole company I decided to wait till at least tomorrow to read the docs in depth and try again.

This is how you are screwing your self using web UI’s to common programs. At some point that UI will fail you, and you will have to use the CLI anyway. Why bother to learn it in the first place I say. Just learn the way where you won’t be left high and dry.

The next time you log into phpXadmin, or webmin, think twice about not learning the right way to do something.

More TLC

Another revision of Tada List Clone. I fixed a stupid mistake on my part that was preventing it from being DB independent. I also included a MySQL script for anyone that would rather use that than Postgres.