Ignored By Dinosaurs 🦕

So, you've gone and installed MAMP and WordPress on your computer, or if you wanna sound really hip you call it your “local machine”. You've gone and started building out a wordpress site for your school because your current website is an outdated embarrassment. Wordpress is kind of the no brainer choice, or so your buddy told you, because it's super easy for anyone to use who's familiar with a word processor. You'd like to attempt to keep the content on your site fresh, so it sounds good to you. Then you have a meeting with your principle and your so-called webmaster to talk about getting some of the things you've done put up and made available to the world. Then they drop a little piece of info on you.

Your school's webhost doesn't do PHP, and they don't know if the district will let you move to another host. Let me tell you what this seemingly innocuous piece of information means.

It's means you're screwed.

PHP is a programming language. It's what's formally known as a scripted language. I have a post here that explains what that means. Wordpress is written in PHP. The advantages of a scripted language are what lead them to be used to write the majority of cool, interactive websites in the world. If you wanna sound hip you call them “web apps”, since that's what they are. Site kind of implies a place, a static location that will be there when you come back and won't have changed much. An application is something you interact with. It does things for you, like letting you write news for the frontpage of your school's website that it will then display to the world without your having to go in and code HTML. Applications run on computers, or servers if they are web applications.

Compiled applications (the other kind besides scripted) have already been digested into machine code, which is to say 1s and 0s, prior to being run. This means that they are essentially frozen and you can't alter anything about the source code without going through a rigamarole. Scripted languages, in contrast, can be altered on the fly to add new features or fix bugs without having to be recompiled into machine code. This makes scripted languages perfect for constantly evolving web apps. The source code is right there on your webserver, and you can go and make changes to it. The downside is that you have to have some special programmatic gear installed on your server.

Scripted languages have to have their respective libraries of code installed in order to for them to be “interpreted” at “runtime”. This whole long explanation is to tell you that since your webhost doesn't appear to have the appropriate libraries installed, your WordPress application is going to look like a bunch of gibberish to your webserver. You can upload it, but as soon as you point a browser at the index.php file, the server is going to throw a “what the fuck is this?”, also called an error. That's why you had to install MAMP on your computer in the first place, remember? And unfortunately, installing PHP isn't an easy process, especially for someone who almost certainly doesn't have the proper “permissions” allotted to them in the operating system of the webserver.

I realize there's a bunch of gobbledeegook in here. I'll try to un-muddy the waters a bit in subsequent posts. Specific questions are most welcome. I should clarify that any webhosting company in the world is going to have PHP, and most likely a raft of other languages installed so that they can accommodate all types of clients and their disparately coded applications. That your school's webhost doesn't have PHP – the most widely used web programming language in the world for the last decade or so running – tells me that your district has their own hilariously outdated webservers set up in the furnace room of some office somewhere. We may be dead in the water, Jimmy...

#generaldevelopment

Because there is going to be one, trust me. This device isn't as obvious as iPhone. It's kind of subtle. Which means that those of you who have done the spiritual work to prepare for it will be fine, but those who haven't done the work, well, they're probably going to miss a lot of this at first. So you'll see some noise about who needs this thing, it's just a fancy desk ornament, and so on. I am telling you this now so that you can be ready for the harsh voices and they won't hurt you when you hear them. Just let the negativity pass by you. Do not engage with it or try to fight it or argue with it. Step aside, and let the dark energy flow away.

Peace, enlightened beings. This is what you and I were put on earth to achieve. And that is what this device ultimately is about. Yes, you can read on it, and watch movies. But those are functions. Features. Those aren't its purpose. The purpose of a device is something different altogether. What this is about is bringing people together to form the universal One, the great synchronization of human vibration in a global mesh of energy, like the planet in Avatar. That is the real goal. We are all one person. One spirit. I am inside you, and you are inside me. (Not really.) But anyway, do not allow yourselves to forget the higher purpose of what we are doing.

Oh, and we are totally going to fuck the cable carriers. But that too is just a side issue.

(Via The Secret Diary of Steve Jobs » Steve.)

Out with the old, in with the newer. Yes, I just spent the last 3 hours writing SQL queries, mostly by hand in order to move this blog back from Drupal to Wordpress where it belongs. Some of the effects are still evident, such as the weird catagories. Luckily I find this kind of shit fun now, so I'll fix it tomorrow. Thanks for stopping by.

This post is for my buddy Jimmy. He's a teacher in CT and has set up a Wordpress.com site for his classroom. Of course the parents love it, and he's the young techno-hip teacher in the school so his principal has allowed him to go and set up a new site for his school, whose hideous and outdated site was left for dead by the side of the road several years ago, apparently. He just sent me an email asking about downloading Wordpress. I responded by asking why because downloading and using Wordpress isn't the piece of cake that you might think it is if you've never dealt with web servers and databases before. So I decided to make this public so that he and I and we may refer to it from now on. Besides, this hasn't been blogged about nearly enough...

When I first downloaded Ruby on Rails I was a bit perplexed. It came with a README that gave these installation instructions that made no sense to me at all. I didn't know anything about webservers at the time, or for a few months afterward, so here's what I learned. This applies to Wordpress as well.

Wordpress and Ruby on Rails are both (more or less) database-backed content management systems. (If you know anything about Rails, you go right ahead and light my comments section up.) Drupal is, too. This means that the post that you're reading right now isn't stored as a word document or a text file on a file system as you know it on your computer. It's stored as plain text in a database. Search the term here for a brief newby explanation from my ongoing programmer journal/book. What this means is that you have to hook wordpress up to a database server to have your content served. You also need to hook it up to a webserver to have your content served to and from a browser. This sounds complicated because it kind of is until you do it once or twice.

If you are a Mac user go Google MAMP, and download it. the AMP part of MAMP stand for Apache -the webserver, MySQL – the database, and PHP – the coding language that Wordpress is written in. Pardon my grammar. Install it. Now you have a webserver and a database server on your computer, so you can play with Wordpress now. In the MAMP directory somewhere is a folder called htDocs, which is the root of your webserver.

If you make a subdirectory under htdocs called Wordpress, unzip and copy all the files from a Wordpress download, and start MAMP, you can then point your browser to http://localhost:8888/Wordpress and install wordpress in a way that you can then use. You also need to create a database. Use the PHPMyAdmin feature of MAMP for this. Just figure it out. You won't break anything. Create a database and give WordPress the name of that database. you're good to go with Wordpress on your “local machine”.

Comments/Questions are down there.

More to come.

So far it's been a little boring. I've added a few modules, mostly to achieve some comment functionality that Wordpress comes with almost out of the box, and somehow I find my database up to 90+ tables. And the comments don't even really work that well.

So, in researching how to move from Drupal to Wordpress (since I've of course been doing mountains of Wordpress hacking for the last weeks since moving to Drupal), I've discovered that it's basically not easily doable, due to the above mentioned database bloat and variety of setups. Thus...

Version 4.0 shall be a Rails app. I've said this before, but I'm going to have to manually import all of my old posts and comments shit like that in via SQL most likely. To the layman this means a lot of interesting and educational work. I'll bet I can copy what I need for a functional blog in <10 tables. Probably more like <6.

You'll know. thanks for stopping by. I'll have something more interesting to write about soon.

I don't buy Zuckerberg's argument that Facebook is now only reflecting the changes that society is undergoing. I think Facebook itself is a major agent of social change and by acting otherwise Zuckerberg is being arrogant and condescending.

via => ReadWriteWeb.

And, in my humble opinion, he's begging the FTC and the FCC to get involved in a sector of the economy in which they can only do lasting and permanent harm. This is why 25 year olds shouldn't be allowed to be CEO of companies this large. This is nothing more or less than youthful hubris and this giant mis-step is the first on the road to irrelevance. I hope for the sake of Silicon Valley that they don't IPO now, because they're done. It'll take a few years, but they're done...

I appreciate that you've stopped by. I unfortunately have nothing to say about anything. I feel like I should be giving some sort of summation on the last 7 years in a band, but I don't have anywhere near the perspective to do so yet. I also don't feel like just blathering about technology (again) yet, as I don't feel like I have the guns to be espousing my viewpoints on that either.

This blog might be a little static for a little while.

What I'm doing in the meantime is rewriting JohnnyGrubb.com as a Rails app. This will be my first Rails app from scratch. The Posts model (system) is pretty much done, and I, and only I, can blog away all I want. The trick is the comments model. I've got a commenting system in place, but what it needs is the simple little email verification and website linking tricks that all blogs have. I've got the database set up to receive the info, and display the info, but verifying that email addresses are in the correct format and setting the commenter's name to link to their website, if they put that in, is a bit more of a trick. when I get it figured out, you'll know.

Maybe ten years is too long a period of time to plan for. So how about seven?

Seven years from now, what will you have to show for what you're doing right now?

If your answer is, “not much,” perhaps you should consider a new plan, one that might generate a different answer, or, at the very least, be a more fun way to waste seven years.

via => Seth Godin).

“A systemic failure has occurred, and I consider that totally unacceptable,” an angry and unusually blunt Obama told reporters near his vacation retreat in Hawaii.

via LA Times

A few points =>

I haven't noticed any change in any security whatsoever in any of the 3 airports in which I've been in the last three days. I am not, nor has anyone that I've talked to been concerned with getting killed by a terrorist. The perp in the case was “subdued by passengers and crew” on the plane.

Flying is miserable. It has been for years by now. The entire process from finding a ride to the airport to getting picked up and certainly everything in between seems as if scientifically designed to exert as much stress on as large a segment of the population as possible. Atlanta's airport sees almost a million flights a year. Belligerence is high.

The “threat level” was already at orange, and probably has been for several months. It was not raised after the attempted attack. This got me to thinking.

Has the Bush/Cheney threat level mechanism actually desensitized us to the possibility of a terrorist threat so thoroughly by this point that even when there is an attack nobody really cares? And if the ultimate goal of the terrorist is to make us afraid, and we're not really that afraid, have we now won the war on terror? None of the security measures in place stopped this asshole, a fellow passenger did. I'm surprised they didn't beat him to a pulp, for if someone were attempting to blow me up on a plane on Christmas day, that's quite likely what I'd be inclined to do. And how much further past the point of diminishing returns are we going to push this quest for airline security? Wouldn't we be safer giving all passengers a set of brass knuckles before they board the plane?

I'm kind of ready to get this over with.