Archive

2017

21
Mar
2017

Apple and Product Diversification

Today, with little fanfare, Apple dropped a bunch of new products, including anew cheap iPad and a red iPhone.What?Okay, let's rewind things just a little bit, all the way back...
12
Mar
2017

Extending ngResource To Access Metadata

AngularJS's built-in ngResource isa great tool for natively supporting REST APIs in your Angular application. Butwhat happens when you need to support something besides a simple call thatretrieves a list...

2016

7
Sep
2016

What I use: 2016

Since it's been awhile since I wrote a post about what I use in regards to software, hardware, etc. Perhaps it's time that I did that again. So here's a...
27
Aug
2016

Collecting Data From pfSense Using collectd

So I've recently been on a graphing thing, wanting to collect all kind of datafrom my home network. And collectd seems to be a good candidate for doing that.With a...
18
Aug
2016

Finding Multi-byte Characters in MySQL Fields

So I was recently helping a client with an issue in MySQL where a migrationfailed to transfer the full contents of some fields. This amounted to a littleover 1% of...
12
Jun
2016

Why I'm (Almost) Quitting Facebook

So this is something I've been meaning to write for awhile now.It's time we had a talk about Facebook.I was an early adopter of Facebook. Not as early as some,...
14
Apr
2016

Creating a simple predicate builder with AngularJS

So I've been working on a project recently where I needed a simple predicatebuilder. Basically I needed a way to allow users to build a somewhat complexsearch using a GUI....
24
Feb
2016

Multiple Calibre Servers under Mac OS X

So there's this program out there called Calibrewhich, despite it's pretty terrible UI, is pretty much the gold standard formanaging eBooks. Seriously, it's such a great program whose only fault...
18
Jan
2016

Pretty URLs - Serving Plex from behind a proxy using mod_proxy and Apache

I'm obsessed with pretty URLs. I admit it. I love looking at a properly formattedURL that just looks nice.I'm slowly converting our internal media library over to Plex now that...

2015

4
Sep
2015

Extending Homestead: Building A Laravel Dev Environment on Mac OS X

I'm a big fan of Laravel and I've really enjoyed building things on it. So I'm going to walk you through a quick lesson in getting a dev environment set...
14
Jul
2015

Securely Signing PHP Phar Files With OpenSSL

PHP's PHAR archives (PHp ARchives, get it?) are a neat development. They're a way to distribute an entire PHP application as a single archived file that can be executed directly...
2
Jul
2015

What Happens When Your Post Goes Viral

It's been a crazy week. Apparently my last post struck a nerve. :)After a momentus day which saw the Supreme Court legalize marriage equality, I was thinking about what could...
26
Jun
2015

An Open Letter to Chief Justice Roy Moore

Those of my longtime readers will know that I very rarely if ever mention anything on this blog other than my ramblings on tech. But today is a very different...
13
Apr
2015

Scheduled Throttling with pfSense

Apple has launched a new Photos App for OS X, along with the ability to upload your entire library to iCloud. And with prices that are so cheap, there's almost...
2
Apr
2015

NSHTMLTextDocumentType is Slow

So I was confronted with an interesting bug this week, and I wanted to share it with everyone so maybe it will save you some time. Put simply, NSAttributedString with...
18
Mar
2015

Responsive CSS3 Columns with Sass and Bootstrap

Impatient? Scroll to the bottom to download.So I recently was working on a site and wanted to use CSS3 columns. But I really like how the grid system works in...
16
Mar
2015

Installing the Ubiquiti UniFi Controller Software on pfSense 2.2

Note: I am leaving this here for the reference and posterity, but for a variety of reasons,I no longer recommend doing this. It is a neat hack, but tends to...
10
Mar
2015

Design Tweaks and New Content!

So I've tweaked the design of the blog a bit.There's now a header, and all the links that were in the sidebar are now in the header. There were simply...
4
Mar
2015

UILocalNotifications and time zones

Here's a tip when dealing with UILocalNotifications.If you want to schedule a notification for a specific time using fireDate, you need to apply a timeZone to the UILocalNotification object. Otherwise,...
15
Feb
2015

Switching to pfSense

So after several years of successfully using DD-WRT, I finally decided to move to pfSense. There are a multitude of reasons for this move, but I'll try to enumerate some...
10
Feb
2015

Cutting The Cord

"When television is good, nothing — not the theater, not the magazines or newspapers — nothing is better."But when television is bad, nothing is worse. I invite each of you...

2014

1
Sep
2014

360iDev 2014: A Review

So last month I had the pleasure of attending 360|iDev in Denver, Colorado. Overall, this was a very good conference. As always, I learned so much from my fellow developers.PositivesThe...
25
Jun
2014

Some Thoughts on Aereo

So today the Supreme Court ruled Aereo, the Internet TV streaming service, to be in violation of copyright law. And, at least to me, this was not unexpected.I think one...
11
Jun
2014

101 Ways to Save Apple: A Look Back to 1997

So this post from 1997 titled "101 Ways to Save Apple" made it to the front page of Hacker News today. Ahh, what a great look back to a time...

2013

9
Dec
2013

Why you shouldn't learn to code

The Internet is abuzz with the news that President Obama is calling on every American to learn how to code. And while I think it's a good idea for everyone...
20
Nov
2013

Cocoaconf Atlanta 2013: A Review

So this past week I attended the first (I think) Cocoaconf to be held within a reasonable distance of Huntsville. In this case, a mere 3.5 hours away in Atlanta.Overall,...
28
Oct
2013

What I use: 2013

Since it's been awhile since I wrote a post about what I use in regards to software, perhaps it's time that I did that again. So here's a list software...
19
Oct
2013

dystill moved to Jekyll and Bootstrap

I moved the dystill website to Jekyll and Bootstrap. This was pretty simple overall, since the site is just one page. It was more a task for converting the custom...
17
Oct
2013

Welcome to the new robpeck.com!

So you may notice that robpeck.com now has an entirely new look. It's not just a new look, but a ground-up re-architecture of my blog.No more Wordpress. This site is...
24
Aug
2013

Nine lessons I've learned since becoming a Dad

On November 27th, 2012, I became a Dad. My little girl, Scarlett, was born at a little past 8pm that night. Being that she's coming up on nine months here...
5
Feb
2013

Creating an iTunes Dropbox on a Mac

DownloadI recently added a Mac mini to my setup at home, that I'm using to drive my in-home "video on demand" system. With many of the TV's in the house...

2012

2
Oct
2012

On Apple and Maps

Unless you've been living under an Internet rock, you know that Apple released a new version of iOS, featuring a much heralded new mapping application. This application replaces the old...
31
Jul
2012

Merging M4V files on a Mac ... with chapters!

As I've mentioned a couple of times before, one of my projects right now is ripping all the DVDs I own so that I can watch them on my AppleTV...
28
Jul
2012

NBC and the Olympics

It's always amusing to watch what happens when old media slams head first into a new world.NBC, the broadcaster holding the rights to Olympic coverage in the United States, seems...
10
May
2012

A Year With Drobo: My Review of the Drobo FS

About a year ago, I picked up a Drobo FS. It was something I had been wanting to do for awhile to support my ever growing data needs. In particular,...
8
May
2012

Restoring a Mac from a Time Machine backup on a Drobo (or other network storage)

Been having some problems with my iMac upstairs. I'm pretty sure the hard drive is failing (again), although hopefully it's just bad sectors. But, with hard drive prices currently still...
17
Apr
2012

Mac Developers: Clean Up Your Output!

Over the weekend, I was having some hard drive issues. While I think I fixed the issues, I've been keeping a close eye on my console (Console.app) to look for...
25
Mar
2012

Don't be a PHP / JavaScript / Java / Ruby developer - Be a Software Developer

Among the many sites I follow for programming discussion is /r/PHP on reddit. While most of the discussion is more user-based than I would like - things like frameworks, use...
14
Mar
2012

Disabling Text Zoom in Netbeans

A couple of days ago, I upgraded to the most recent version of Netbeans - 7.1.1. I had been running a 7.1-DEV nightly from back in 2011 and just hadn't...
13
Feb
2012

New Personal Blog

While this blog will still have my occasional musings about life in dot-com and software development, there's a lot of other stuff I'd like to talk about that really doesn't...
10
Feb
2012

Professionalism and respect: raising the bar for developers (and myself)

This article and the accompanying discussion on Hacker News really got me to thinking tonight. I'm not going to say much about the post itself other than that I agree...
8
Feb
2012

Mac Oil Price Widget, Version 2.2 released

Another small update to the Mac Oil Price Widget has been released. This fixes a small bug that resulted in the negative symbol continuing to be visible. Not really necessary because the...
3
Feb
2012

gitcreate

I've created a new repository on my GitHub account where I can commit some of the little scripts I've written for use on my server. The first one I've committed is gitcreate, a small...
2
Feb
2012

Mac Oil Price Widget, Version 2.1 released

A small update to the Mac Oil Price Widget has been released. This fixes a couple of bugs that would cause all prices to be displayed as positive and for the percentage...
28
Jan
2012

The Right Way to Create an iCloud-enabled Mac App in Xcode

Because I've encountered this problem twice, I'm going to do a little write-up about it. As much for me as for the next person who encounters this problem. In a...
27
Jan
2012

What An Awesome Future We Live In

Sometimes it's easy to forget what an amazing modern world we live in. Even if I think back just 10 years ago, it blows my mind how much has changed....
25
Jan
2012

Mac Oil Price Widget, Version 2.0 released

After a far longer wait than was intended, the Mac Oil Price Widget version 2.0 has been released.It was completely rewritten – like, I didn’t even look at the old...
18
Jan
2012

dystill 0.2.1 released

Just a little announcement about a maintenance release to dystill. 0.2.1 has been released, which brings with it a couple of bugfixes for issues I ran into recently. First, it...
10
Jan
2012

PHP, methods, functions, and the global scope

It's funny. Even after nearly 10 years with the language, there are still little gotchas that sometimes get me. I ran across one today.Say you have two objects, and the...
8
Jan
2012

App Store Entitlements, and the Crippling of an App

A few months ago, I decided I wanted to try exploring the Mac App Store ecosystem as a developer. I've been writing little Objective-C apps for myself for awhile, and...

2011

28
Dec
2011

Goodbye GoDaddy

Using GoDaddy as my registrar is one of those things I've always felt vaguely ashamed of. Something I knew all the "cool kids" didn't do, but I was already so...
12
Dec
2011

The Stupid Simple Guide to Setting Up Your Own DNS Server

I'm a developer, first and foremost. I like writing code. To me, maintaining servers, configuring things, troubleshooting network issues and the like -  these are things I do to support...
30
Oct
2011

Goodbye, Eclipse.

Dear Eclipse,We've known each other a long time, haven't we? I remember when we first met. It was way back in 2005, two jobs ago when I was working at...
6
Aug
2011

Mac Oil Price Widget Redux

I'm aware that the Mac oil price widget has quit functioning, and I'm aware of the cause as well. I'm working towards a more robust solution and should have something...
25
Jun
2011

Mac Oil Price Widget

Because there doesn’t seem to be a good, simple way to track oil prices on the Mac dashboard anymore since the previous widget I used quit working, I whipped up...
23
Jun
2011

PHP Filtering: Validation, Sanitizing and Flags

PHP's filter functions are really, really great. I've started using them almost any time I need to get input from a user and, personally, I don't think you should use...
17
Jun
2011

A new home for dystill and a Roundcube plugin!

I've finally put together a website for dystill:www.dystill.orgI'll continue to post updates about this project here, though.I've also finished working on a plugin for Roundcube (the popular open-source webmail client)....
1
Jun
2011

dystill 0.2 released

Version (do those really matter anymore? :P) 0.2 of dystill has been released.This version brings a significant change to dystill. Namely, it breaks the unofficial association between dystill and Postfix...
30
May
2011

Do Version Numbers Matter?

The recent announcement by Linus Torvalds that the next release of Linux will be 3.0 has provoked rather furious discussion around the Internets about whether or not the incrementing of...
9
May
2011

MySQL mathematical operations and NULL values

So I came across an interesting quirk in MySQL the other day. Let's say you have a table schema and some values that look like this:+-------------------+------------------+------+-----+---------+-------+| Field             | Type             |...
22
Apr
2011

Interview Questions for Programmers

Over the years, I've seen a number of blog posts relating to common questions that should be asked of programmers. Obviously, this is going to depend on exactly what position...
9
Mar
2011

Xcode 4

So today, out of nowhere, Xcode 4 finally landed as an official release. After seemingly forever in beta, and me quipping more than once about it's similarity to Duke Nukem...
27
Feb
2011

BASH Quickie: Backing Up MySQL Databases

In some ways, after years of doing programming and scripting, I'm now sort of rediscovering the power of the shell.Tonight, I was working on my server and remembered that I...
20
Jan
2011

Automatically Setting Adium IM Status with AppleScript

I have more than 20 various IM accounts set up in Adium on my Macintosh. But during the day, the only one I really want to be active is the...

2010

27
Oct
2010

Automatically Provisioning Polycom Phones

The goal of this project were twofold:To completely eliminate the need for me to touch the phone to provision it. I want to be able to create a profile for...
5
Oct
2010

Google Chrome, Mac OS X and Self-Signed SSL Certificates

I've been using Google Chrome as my primary browser for the last few months. Sorry, Firefox, but with all the stuff I need to work installed, you're so slow as...
16
Sep
2010

Auto Re-Provisioning Polycom Phones

At dealnews, as I've written before, we run Asterisk as our telephone system. I find it to be a pretty good solution to our telecom needs: we have multiple offices...
7
Sep
2010

AppleTV and Me

My home entertainment center is probably second only to my computer(s) inn "things I interact with every day." Barely a day goes by when I don't spend a little relaxing...
3
Sep
2010

Ping and Social Overload

Two days ago Apple announced Ping: a social network geared towards music sharing. And a bunch of iPods too. Personally, I was more excited by the new AppleTV (I have...
20
Jun
2010

Diffing, flattening and expanding multidimensional arrays in PHP

PHP has functions that can compute the difference between two arrays built in. The comments sections for those functions are filled with people trying to figure out the best way...
26
May
2010

Hard Drive Upgrade

So Sunday night, my iMac died.been having strange problems the few months leading up to it. Mostly random freezes. I always notice when they happen because I leave Mail.app running...
18
May
2010

Scripting iTerm with AppleScript

Every day, when I get to work, there are a number of tasks I do. Among the first thing I do is connect to a number of servers via SSH....
10
May
2010

DD-WRT Hacks, Part 2 - Setting up an OpenVPN Server

In my previous entry, I wrote about how awesome DD-WRT is, and how it had replaced a number of network devices allowing me to reduce the number of machines at...
6
May
2010

DD-WRT Hacks, Part 1 - Setting up a PPTP VPN Endpoint

To celebrate the re-launch of my "blog," I'm going to do a multi-part entry about DD-WRT. But, first, a little history.For the first time in 10 years, I have no servers...
5
May
2010

Welcome!

Welcome to the new home for the Code Lemur blog ... robpeck.com! I've sat on this domain for six years - I don't know why it took me so long to...
4
Mar
2010

MySQL Conference, Santa Clara, CA

I’ll be attending MySQL Conference in Santa Clara, California this year. This will actually be my first time attending this conference, so I’m looking forward to it.Also, my coworker Brian...
13
Feb
2010

MySQL-based Apache HTTP Authentication for Trac and Subversion

In working on a side project with a few friendly developers, we decided to set up a Subversion repository and a Trac bug and issue tracker. Both of these, in...

2009

27
Jul
2009

OSCON 2009 Summary

Have to say that, everything that didn't involved air travel (I'll go ALL into that later) was awesome on this trip. Had a good time and learned some useful things...
26
Jun
2009

Why Bing Sucks

So I see Microsoft's is attempting to rebrand the old Windows Live Search as bing.com. The commercials on TV are advertising it as a different type of search engine -...
2
Jun
2009

Drama? In My Developer Community?

... it's more likely than you think!And here I thought drama was isolated to fandom mailing lists and MySpace!I was not at php|tek this year. I keep meaning to make...
30
May
2009

PECL memcache and PHP on Mac OS X Leopard

Wow, has it really been that long since I've written here? I really need to do better.So tonight I ran into an interesting issue this evening in configuring PECL memcache...

2008

14
Oct
2008

Slides from my talk at PHP Appalachia

Tags: asterisk, php, php appalachia, talks, slidesHere are the slides from the talk I gave at PHP Appalachia about using PHP and Asterisk.PowerPoint (585k)PDF (390k)
23
Aug
2008

Automatically Expiring Passwords

Tags: usability, passwords, securityI do a little bit of work for a friend on the side every now and then. He has a small online store set up with a...
21
Jul
2008

Usability in Everyday Life

Tags: oscon, usability, software engineering, portland, doubletreeAs software engineers (especially ones who work on forward-facing user interfaces), we are taught to think about usability. Many of us are not good...
17
Jul
2008

Search Engine Friendly URLs with mod_rewrite

Tags: apache, mod_rewrite, rewriteBy now, I'm sure we all know about search engine friendly (SEF) URLs - that is, URLs that are able to be traversed by a search spider....
29
Jun
2008

Diffing files via FTP

Tags: diff, ftpI ran into a situation today where I needed to diff files on a remote server against the ones on a local server when the only connection method...
15
Jun
2008

Security on Shared Hosts

Shared hosts are a reality for many small businesses or businesses that aren't oriented around moving massive amounts of data. This is a given - we can't all afford racks...
19
May
2008

Facebook Errors

Tags: facebook, brokenMy Facebook news feed hasn't update since May 15th - a span of four days, in which I know many of my friends have posted or at the...
15
May
2008

Installing PECL PS on Mac OS X

Tags: php, pecl, ps, leopard, os x, osxThe PHP that comes standard with Mac OS X Leopard doesn't come with the PECL PS extension. PECL PS requires pslib, and the...
14
May
2008

ngrep and memcache

You can use the Linux command ngrep to "watch" what is going into and coming out of memcache. ngrep is an amazingly useful tool for troubleshooting a wide array of...
11
May
2008

Ubuntu 8.04: My Thoughts

Tags: linux, ubuntuEvery so often I get the urge to check out desktop Linux - just to see how things have progressed and whether or not it is in a...
8
Apr
2008

Live from OSCON

Tags: oscon, oscon 2008I will again be attending OSCON this year in Portland, Oregon on July 21st - 25th. Come and say hello!
28
Mar
2008

Automatically Joining a Group Chat with Adium

Tags: adium, apple, applescript, jabber, group chatAt dealnews, we have an internal Jabber server that we use for our internal communications. As part of that, we have a number of...
26
Mar
2008

Gentoo

Tags: linux, gentooI've been a happy Gentoo user for the last few years. There's so much to like about it: built from source with only what you need and Portage...
24
Feb
2008

Cybersquatting Annoyance

I'm getting ready to launch a new open source project, and, as everyone knows, you can't do that without a cool sounding name. :PI've picked out about six cool sounding...
19
Feb
2008

Matthew Ebel

Tags: matthew ebel, musicThis weekend in Atlanta, I had the chance to hear an extrodinarily talented musician. I want to give him major props for one of the best concerts...
29
Jan
2008

PHP, PostScript and ATM Fonts

Recently, I've been expermenting with PHP's PS functions - the PECL extension that allows you to directly output PostScript from your scripts. There are other projects that come to mind...
27
Jan
2008

DIY 19-inch Rolling Rack

Tags: diy, 19" rack, 1uAfter my debacle with the 1U servers I bought (see my previous post), I went by a local technology recycling center and picked up a couple...
23
Jan
2008

Angry Rob is Angry

Tags: geeks, geekcom, hardware failure... or, beware of deals that look too good to be true.In my professional career, I have now found only two things that have a 100%...
15
Jan
2008

Something In The Air

Tags: apple, macbook, macbook air, macworld... or maybe the water.Unless you were living under an Internet rock, you likely know that today was Keynote Tuesday. That is, the day Apple...
2
Jan
2008

Four Free Mac Apps I Can't Live Without

Tags: apple, macI know top X lists are almost passe at this point, but that's not going to stop me from giving a shout-out to some of the applications that...
2
Jan
2008

Announcement

While in general I only use this blog for discussing programming, computers and my life as an engineer in dot-com, it's only natural that, every now and then, a personal...

2007

27
Nov
2007

Benchmarking Vista and XP: Apples and Oranges?

Tags: vista, windows, xpThis article posted to C|Net got me to thinking. In the article, they talk about vaguely defined "benchmarks" showing that Windows XP with the beta of Service...
18
Nov
2007

Set Leopard's Menu Bar Back To White

There's been a good bit of debate about Leopard's new translucent menu bar. For me, it doesn't cause many issues. However, some of my coworkers despise it and, to be...
13
Nov
2007

PHP/MySQL in Huntsville/North Alabama

Tags: php, mysql, alabama, meetupJust to let everyone know, we're trying to get a little meetup.com group going for those  developers interested in PHP and MySQL in the Huntsville and...
7
Nov
2007

Controlling iTunes with Python ... Cross Platform

So it's been awhile since I've written. In that time, my girlfriend has moved in here with me in Huntsville and, as always, dealnews has kept me very busy. However,...
10
Aug
2007

PHP Templating Celebrity Deathmatch!

Tags: php, smarty, blitz, includes, benchmarksLadies and Gentleman! Welcome to the PHP Templating Celebrity Deathmatch!I actually do like the idea behind templating. I know there are varying arguments about whether...
28
Jul
2007

AGI + PHP: Using PHP to route phone calls!

Tags: php, asterisk, agiHello there!I figure that if I'm going to start using this blog to post the wanderings and wonderings of a mid-level engineer at a dot-com company (I...