The tool that will bring destruction upon the classic programmers. Is here!!!!

I have begun to take a liking to python as a web language of late. It is the first white space delimited language I have ever liked. However, I know have a big problem.

I have been finding a growing number of bugs in my C,PHP and assembly code over the last 4 weeks. Bugs that should have never gotten there. I have been forgetting my semicolons!!

What am I going to do. I am really liking the language and some of the frameworks built on it. But python has single handedly killed 20+ years of training in less the 4 weeks.

django-tagging and the DJANGO_SETTINGS_MODULE

While trying to install the django-tagging application I ran into some trouble. I did not know what it wanted in the DJANGO_SETTINGS_MODULE environment variable.

The answer is not django's defualt global settings or you current projects settings it is it's own settings.

django-tagging/# export DJANGO_SETTINGS_MODULE='tagging.settings'
django-tagging/# sudo python setup.py install

Bngn never got named

checkout the new bngn logo :)

VIM semi-complex search and replace with variables and regular expressions

This is how I search and replace in vim, where the text we are replacing is wrapped around text we want to keep.

So here are the basics:


:%s/MatchThis\(KeepThis\)MatchThis/ReplaceWith\1AndThis/g

This can look massive so I will use spaces to show the same thing grouped by function:

:% s/ MatchThis \(KeepThis\) MatchThis / ReplaceWith \1 AndThis /g

Explanation:

  • :%
  • the “:” means command in vim and the % means the current buffer

  • s/
  • “s/” means to use sed regular expression

  • MatchThis

R U Alive?

Lively is google's new 3d world toy, and boy can I not wait to get home and boot this thing into wine.

I will admit that Second Life is kinda cool and runs natively on POSIX Operating System (OS X, Linux, FreeBSD...) But I have always felt the it was lacking in usability and did not live up to the "Snow Crash" Hype. Although still (is if its been around for a while) in beta now, I look forward to playing with Lively and seeing what kind of features they add on in the future.


Blaze CMS is Blaze'n

As some of you may know I think that CodeIgniter is the most awesome php framework of all time. Even though it is laking much to make it what I would call "Enterprise."

While looking for some cool plugins and modules for CodeIgniter I ran across Blaze. Clean and fast this alpha stage Content Management System with no Official License (yet, currently dubbed as "fair") has really caught my eye. Check out the demo here. admin/password

This is a project I am going to definitely keep my eye on and perhaps write some modules for. Yeah, like I would have the time.


Teaching Kids That Intellect And Talent Are Earned Not Genetic.

Scientific American has an article called "The Secret to Raising Smart Kids" in which Carol Dweck describes two mind sets.

dhatu-garbha

Inhabitat, had an artical yesterday on some random "Green" valentines day gifts.

Things like...

Hallmark Red Cards,
Reindeer Greeting E-Cards,
Dagoba Chocolate's,
Terra Nostra Chocolate's,
... wait!... what?
Degoba Chocolate's?

That's right Degoba Like the System.

My curiosity was saverly peaked, so I dug around a bit.

Lets do Some Word association...

StartTrek TNG is to Star Trek as Journeyman is to Quantum Leap!

Let's review the facts.

NBC owns Quantum Leap and Journeyman.

The show by show outline is the same. Man goes back in time, man saves other human.

In Quantum Leap, Sam's quantum project is being shutdown as a failure. To save his funding Sam test's his work on himself prematurely and starts jumping from one person to the next. Each time with partial amnesia.

Now It's a bit early to say only having seen two episodes and all but I have a theory.

The Real World

So, I have a blog. Well I've had a blog for a while, a long while. What have I done with it? Nothing. I have had some, well, issues with the idea of a blog. Do to the extremely overpopulated “Blog Sphere” of whiny babies. However, I have arrived at my own conclusions on the matter. A blog can be an incredible opportunity to share my wisdom and experience with others. Plus nobody looks at this thing anyways :)