Just typing this from my iPhone. It works really sweet & is full of win.
Blog
-
Gear6.com Hijacks @memcached on Twitter
By taking the @memcached username on Twitter, Gear6.com has engaged in identity theft. Yes, someone call the police now.
I’m pretty sure this is one of those posts that won’t make anyone happy.
Let me first start off with what is meant by identity theft. Wikipedia provides a pretty solid, working definition. If you disagree with it, then I’m curious as to why and how, but for this discussion, I’m using it to prove a point.
“Identity theft is a crime used to refer to fraud that involves someone pretending to be someone else in order to steal money or get other benefits.”
For example, if I walked around telling people I’m Chow Yun Fat while flashing a fake ID that says Chow Yun Fat, and I say, “Let me into this party. Wasn’t Crouching Tiger Hidden Dragon an awesome film?” then I’m stealing Chow Yun Fat’s identity. There is no way he’d say, “It’s cool, go ahead and pretend to be me.”
Let’s take a look at @memcached on Twitter.
First off, having the url, http://twitter.com/memcached , is like having a business card. A business card cannot be used to legally establish identity, but it strongly suggests an identity.
In this case, I would expect that http://twitter.com/memcached is someone, or a group of persons working on the memcached open source project.
Let’s say I go to the url for the memcached twitter account.
What do I see?
http://twitter.com/memcached/status/1376487185
@bdeshong How are you liking the new changes in 1.3.2? Digging the new stats?I see a few posts of @memcached pretending to be a member of the memcache open source coding team just like some dude pretending to be Chow Yun Fat at a party.
And here’s bdeshong thinking he’s talking to memcache:
@memcached Haven’t had a chance to spend any time with it just yet. In the next week or two, though…http://twitter.com/bdeshong/status/1376501081
There are other examples where they announce releases of memcache as if they were the memcached development team.
This is the equivalent of me signing up with the @twitter account and announcing based on the twitter blog that twitter has released new code.Now they’re clearly pretending to be someone else, but are they doing it for stealing money? Getting other benefits? Well, no money has changed hands here. There are just a lot of confused people, but confusing folks isn’t a crime.
Are they getting benefits?
Yes! In the Internet age attention equals money in terms of pageviews. They are definitely getting the benefit of the advertising garnered through the memcached name!
This sort of reverse-swiftboating where the stolen, good name of an open source software project is used to prop up business interests. I really do believe that building scalable websites is a good business model, but please don’t steal names that represent reputations you haven’t earned.
I ask @ev and the folks at Twitter to please take away @memcached from Gear6.com and give it to the *real* memcached community.
-
A Quicksort in Erlang
qsort([]) -> [];
qsort([Pivot|T]) ->
qsort([X || X <- T, X < Pivot]) ++ [Pivot] ++ qsort([X || X <- T, X >= Pivot]).%% Let L be a list of unsorted numbers.
%% 2> L=[234,322,233,5,1000].
%% [234,322,233,5,1000]
%%
%% 3> lib_misc:qsort(L).
%%
%% qsort will return:
%% [5,233,234,322,1000] -
My Favorite Coder Interview Question
What is your favorite algorithm?
My favorite algorithm right now is the merge sort.

v1: Nuno Nogueira (Nmnogueira), v2: edited by Daniel Miller (cobaltBlue) I like it so much that I’ve implemented it in PHP and Ruby.
The problem is that as a web developer I’ve never had to use a merge sort. Back in the old days when pagination was tricky, I’ve had to use a linked list, but you really don’t have to use the merge sort anymore.
So at this point it’s really just academic.
What interview question should really count now?
More on that in my next post. As a clue, I’d like to say it has to do with Leibniz’s statement, “The present is big with the future.” A techie who believes that and the principle of sufficient reason is the kind of techie you want.
-
Google Adwords: A Great Trend Spotter
I initially put up Google Adwords to bring more traffic to this blog.
What’s interesting with using Google Adwords is that you get to bid on certain key words. 3 months later I’m noticing that a few word phrases have gone up in price:

It’s a great sign that the phrase, “newlisp webserver,” has gone up 400%. It’s definitely a sign that more people are taking a commercial interest in newlisp as a serious web server. I’ve wrote about how newlisp is the fastest way to get onto the Internet before, and it still continues to be the fastest.
What’s also interesting is seeing that ec2 and lamp are still pretty stale.
The big take away is that you can use Google Adwords as a trending tool.
-
Doing Sysadmin on the iPhone
For checking up on sites in the enterprise, I use Alertsite. It was suggested to me by a VP I work with at McCann, Ed Recinto. It’s been a great tool.
For personal websites that I manage, I’ve been using something I rolled in newLISP, sitebeagle. Why? Because beagles are great watchdogs.
Very often, most problems can be solved with tweaking code, changing permissions, or upgrading and apache or mysql.
Very often, it’s the weekend, I’m sitting in a cafe, and get an alert from Nagios or Alertsite. With iSSH, on the iPhone, I can ssh into a LAMP server and do the work I need.
I can see things getting a bit more complex. What tools do you use to sysadmin from an iPhone?
-
Who Barce Follows On Twitter
Herman Chan — a techie at McCann that often gives me good tech advice.
Faris Yakob — He’s the Chief Technology Strategist at McCann Erickson and I love his blog, Talent imitates, genius steals.
Craig Newmark — He’s the founder of Craig’s List. Craig is very involved with causes for the Craig’s List foundation.
Chase Jarvis — He’s an excellent photographer, perhaps one of the best, that takes breathe taking photos.
I will write more about the rest of my followers later. My plan is to add a few comments about those I follow each day.
-
Scalability Services
Codebelay provides scalability services.
A faster website makes more money.
We can triple the amount of traffic that your site can handle.
We use the following technologies:
- Memcache
- Gearman
- Perlbal
- Database Performance Tuning
- PHP Performance Tuning
- Table De-normalization for Speed
- Cloud Services for Traffic Spikes
- CDN via Akamai or Amazon’s Cloudfront
Please feel free to email me, barce[ a t] codebelay.com.
-
Oddments: A Great Blog For Keeping Up With Drizzle and Gearman
Alan Kasindorf just introduced me to a great blog by Eric Day, Oddments.
If you are into learning about alternatives to MySQL like Drizzle, or how to scale writes to a database using Gearman, then I wholeheartedly recommend his blog.
I really like the samples of code he puts up that acts as a very useful, and direct tutorial to new technologies.




