Provisioning’s a Bitch

timeWhat am I most excited for? Never having to run vagrant up --provision again. Spinning up a new build everyday can be time consuming! Simply, I was starting to feel like VVV was just getting in the way of being productive. I got things to do!

Those are My RAMS (Performance)

VVV will take up about 1GB of memory working or not (and don’t try and lower it). This isn’t really VVV’s fault, mainly my own. I bought a new Macbook Air and started with the lower-end hardware. Though things ran faster (because of the SSD), I had less RAM’s and less HD space now. On my Macbook Pro (may it rest in peace) I never had to worry about RAM, but as soon as I started hitting projects all day it became apparent I needed all the resources I could get out of my machine.

I’m probably not even using VVV all-the-way!

Ultimately, this is what it really comes down to. I just haven’t felt like it was that much better than a MAMP or XAMPP solution. Ever since I fired it up I haven’t really found anything great about it far from other solutions (except that it’s Linux), but that’s probably my fault anyways. I just don’t use a lot of the powerhouse things Vagrant probably does and I feel like I’m sacrificing a lot.

XAMPP

When I first broke up with MAMP for VVV, it seemed like a good fit (and it was the hip thing everyone was doing). I thought the right thing to do was run my dev environment in a box that worked most like the Internet does, on Linux. But, after using it for about a year, and throwing that --provision switch a few hundred times, I’m trying out XAMPP, which just runs Apache, PHP, MySQL. That’s all I really need to do what I do and sudo xampp restart gets it done in under 10 seconds!

We broke up, but we’re still friends

But that doesn’t mean you shouldn’t try out VVV! People swear by it, and there’s a reason, I’m just not sure if I’m aware of it yet… It was also built by very smart people that work on very smart projects. And, It’s still on my machine! Anytime I need to test a site outside of the typical Apache box (with NGINX becoming more and more popular), it’ll be there for me.

VVV probably does a lot of great things, but you better have a slow coffee machine–provisioning is a bitch!

Do you spend a lot of time doing task management as a Developer?

I spend a lot of time tracking what I need to do, we’ll call that “task management.” Be it work or play I always spend what I feel is an inappropriate amount of time tracking my tasks, issue trackers, emails, and planning. All my ducks seem to need to be in a row before I actually pull up my text editor and churn out some code.

I was wondering if this is simply just a normal part of being a developer, or if I have OCD.

Let’s just look at the process it took me to patch https://core.trac.wordpress.org/ticket/29772:

  1. When I had the idea, I of course had to add it to my Wunderlist ‘WordPress.org’ and write out my idea
  2. I had to make sure I knew what to do and created a few subtasks: Test it, Patch It, Report it
  3. I pondered whether or not I should also track these as issues on my fork
  4. I decided not to, but if this had been a development project I would have just so that issue is also out there on that repo (maybe a little OCD)
  5. I went through each sub-task and ended up creating a slew of patches
  6. Someone reported that themes would also need to be patched
  7. I spend a couple minutes pondering whether or not I should add that as a sub-task or not
  8. I concluded that the task ‘Plugins should not load when the plugins page is loaded’ had to do with plugins
  9. So, I created ‘Patch https://core.trac.wordpress.org/ticket/29772 so themes are not loaded using _wp_dont_load_functions’ to address that

Now, multiply that times the hundreds of tasks I probably will do this week and you can see the dilemma. #5 is where the work really was done.

Do you spend a lot of time around task-management? Did you? Any tips? Any pills I can take?

Moving to Git

Among the many things I learned at #wcphx this weekend is that a lot of developers are on Git vs. Bitbucket, so starting with GDU (Google Destination URL), I’ll be moving my public repos to Git (that are now on BitBucket).

So, please note GDU is now on Git.

And, by the way, this was pretty awesome at converting a mercurial repo to Git.

Sublime Text 2, Best Code Editor I Have Used!

Photo of Sublime Text 2 with code open

This is going to be short, but I’ve used a lot of editors in my time. I’m no pro, I need something lightweight, simple, cross-platform and inherently friendly with HTML, JavaScript, PHP and CSS. Sublime Text 2 has been all that and more. I’m no power user, I just need to type, make a few things easy (like autocomplete tags, quotes, etc), and just let me code dammit!

Check out Sublime Text 2

P.S. They just added text drag and drop, the only feature I ever griped about…