I have only one regret…

And that’s that I didn’t start programming when it first occurred to me that I should. I’d be at least four years further along. Sigh…

A brief list of the things I’ve been working on.

The front burner:

  1. Wordpress customization
  2. CSS
  3. Photoshop
  4. jQuery
  5. GitHub

The back burner:

  1. Rails
  2. Sinatra
  3. HAML
  4. SASS
  5. Webby
  6. Facebook APIs

A whole lot of PHP, CSS, JS, and when I have time, Ruby.

Posted in Programming., personal | 1 Comment

Race to Running Software

Get something real up and running quickly. Running software is the best way to build momentum, rally your team, and flush out ideas that don’t work. It should be your number one priority from day one.

It’s ok to do less, skip details, and take shortcuts in your process if it’ll lead to running software faster. Once you’re there, you’ll be rewarded with a significantly more accurate perspective on how to proceed. Stories, wireframes, even html mockups, are just approximations. Running software is real.

With real, running software everyone gets closer to true understanding and agreement. You avoid heated arguments over sketches and paragraphs that wind up turning out not to matter anyway. You realize that parts you thought were trivial are actually quite crucial.

Real things lead to real reactions. And that’s how you get to the truth.

from “Getting Real
-via 37 Signals

And on that note, this blog is going away soon. I’m going to be needing this space for something else.

Posted in Technology/Internet | Leave a comment

Did you know…

…that the DOJ approved the merger of everyone’s two favorite companies in the touring business – TicketMaster and LiveNation? They found no reason to have anti-trust concerns with a merger between a monopolistic ticket service and a monopolistic concert promoter/venue owner. But wait! There’s more!

One person who may have had some input into this decision was FCC chairman Julius Genachowski. Fun fact about Mr. Genachowski – one of his previous gigs before he came to Washington was on the board of directors at – wait for it – TicketMaster! I’m sure there was no conflict of interest if he did in fact have a say in this decision.

I’m sure we’ve all heard of Obama’s hard-ass chief of staff, Rahm Emanuel. Fun fact about Mr. Emanuel – his brother, Ari, is a hard-ass Hollywood talent agent. He was supposedly the inspiration behind the character Ari on the HBO show Entourage. I’m sure that his being on the board of directors at LiveNation played no part in swaying the DOJ’s decision to let this absurdly anti-competitive, big-business friendly decision to go through.

I might as well have voted for Palin…

Posted in Music biz. | Tagged , , , , , | 6 Comments

Runtime

Basically, just what it sounds like. The time during which your application, script, program, or whatever is run.

Posted in Programmer's Glossary | Leave a comment

Prepare for the backlash

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.)

Posted in Business, Technology/Internet | Leave a comment

The newby web programmer. Episode 2.

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…

Posted in Technology/Internet, Websites | Tagged , , , , , | Leave a comment

Well that was fun.

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.

Posted in Uncategorized | 5 Comments

The newby web programmer. Episode 1.

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.

Posted in Technology/Internet, Websites | Tagged , , , , | 4 Comments

On Drupal.

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.

Posted in Technology/Internet, Websites | 2 Comments

On Facebook’s new no-privacy policy.

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…

Posted in Law, Technology/Internet | 2 Comments