Results > Posts Filed Under > Code

Aug 1
Post Image Posted by mark.

Configuring apache 2.2.4 + mod_perl 2.0 + php 5.2.3 + libapreq with a worker MPM

3

I couldn’t find any docs on compiling mod_perl2 alongside php5 with apache 2.2, so hopefully this helps someone.
I’ve always statically compiled mod_perl into apache, but the easiest way to get mod_perl to play nice with PHP under apache2 is to compile them as DSO’s or dynamic modules that are inserted at runtime. I’ve tested this under Ubuntu 7 and CentOS 5.
At the time of this writing the server hosting this page is running with this config and handles a not-insignificant …

Read on »

Jul 23
Post Image Posted by mark.

The Nike Software Engineering Process

2

Starting a software business? Looking for a software engineering process? You can spend a month getting your head around one of these:
Agile software development
Crystal Clear
Extreme programming
Lean software development
ISO 12207
Rational Unified Process
CMM
ISO 15504
Or.. 2 seconds learning the Nike method:

Read on »

Jul 20
Post Image Posted by mark.

How to create a ZIP code distance lookup table with 1 line of SQL

3

A while back, Jobster CTO Phil Bogle blogged about some of the tricks I’ve used to do fast location queries in SQL. The link to my SQL query to generate the zip lookup table for radius searches is now dead (a cybersquatter stole my domain name and I don’t want to discuss it!). So here’s the original blog post:
If you need to build a radius search for something on your website, then creating a zip code distance lookup table performs …

Read on »

Jul 20
Post Image Posted by mark.

World-wide city database and other (free) geospatial data

9

The National Geospatial Intelligence Agency is one of my favorite data sources – it’s also one of my favorite names for any government agency. The agency provides a database of world-wide features which I use as a data source for Geojoey.com’s landmark search feature (top right of the screen).
These guys are selling the equivalent data for over $300.
For an up to date ZIP code database, you should contact USPS.gov and order it from them – which may take a while …

Read on »

Jul 17
Post Image Posted by mark.

Programming language choices for entrepreneurs

2

I’ll often find myself chatting about choice of technology with fellow entrepreneurs and invariably it’s assumed the new web app is going to be developed in Rails.
I don’t know enough about Rails to judge it’s worth. I do know that you can develop applications in Rails very quickly and that it scales complexity better than Perl. Rails may have problems scaling performance. I also know that you can’t hire a Rails developer in Seattle for love or money.
So here are …

Read on »

Jul 16
Post Image Posted by mark.

Saving server costs with Javascript using distributed processing

0

I run two consumer web businesses. LineBuzz.com and Geojoey.com. Both have more than 50% of the app impelemented in Javascript and execute in the browser environment.
Something that occurred to me a while ago is that, because most of the execution happens inside the browser and uses our visitors CPU and memory, I don’t have to worry about my servers having to provide that CPU and memory.
I found myself moving processing to the client side where possible.
[Don’t worry, we torture our …

Read on »

Jul 14
Post Image Posted by mark.

Lessons from three weeks of intensive I18N

0

When we launched LineBuzz on May 10, we had no idea that most of our press coverage was going to be Japanese. A site called 100Shiki.com put us up as dot-com of the day. All of a sudden we had lots of Japanese users. A few days later, a very popular blogger in China gave us a mention and we had lots of Chinese users too. Within a week we had over 15 languages on the site.
Three intense weeks later …

Read on »

 Page 2 of 2 « 1  2