Affiliate marketing is undead
Dear Internet marketers: affiliate marketing schemes that pay money are dead, killed by spammers. Please get overit and find a marketing technique that doesn't cause spam and attractspammers. (And if you are actually a spammer hiding behind'affiliates', sorry, no one believes that any more.)
Affiliate marketing pays people for traffic. When people are beingpaid for traffic, spamming becomes the most cost effective way ofgenerating it. So people spam. Anyone who opens their eyes can seethis all over
The problem with If-Modified-Since as a timestamp
The If-Modified-Since header in HTTP requests is used as one way ofdoing 'conditional GET' requests, where the web server can give you anice bandwidth-saving '304' response if the URL hasn't changed sincethe version you already have. In theory the header has an arbitrarytimestamp and the server will 304 the request unless the page haschanged since that time.
In practice, the HTTP RFC strongly recommends that clients treat thevalue as a magic cookie, just
Inside building RPMs with Python distutils
For reasons outlined in CPANProblem , I don't installPython packages using their setup tools; I build them into RPMs andinstall the RPMs. Python's distutils (the setup system used by mostPython packages) have a command to do this, called bdist_rpm , butit has some issues that have caused me to become quite familiar withits inner workings.
bdist_rpm works in the following steps:
- use the distutils
sdistcommand to create a source tarball. - write an RPM specfile.
- create a local
Databases are APIs
I recently realized something: databases are APIs .
Just like library functions and classes with defined methods, thecolumns and tables and inter-table relationships in your databases areeffectively a collective API to the database. (As distinct fromthe APIs used to talk to the database program, ranging through ODBC toSQL.)
If you have what Martin Fowler calls an application database ,used only inside one application, you have an internal API, just likea module's interface or a class's methods. But if
An example of why DBAs make money
(The following example is a simplified and modified version of anonline discussion I had recently. All errors are my fault.)
Here's an example large database problem; it's simplest to cast thisas a customer support system that you sell to big companies.
In your first version, the customer support application databasesystem includes a table of companies that are being supported.
Multiple groups write various programs against this database, and inpart against this table and other tables hooked to it (such as peoplewho
哭
然後,
哭了整夜。
A smooth disk swap
It's nice when everything works like it's supposed to; the mostexcitement we had today was swapping in a replacement drive in thisserver. (I like Mondays for this sort of thing, since I'll be in theoffice for the next four days in case problems come up.)
The old IDE disk needed replacement because it was starting to remindus that it was consumer electronics by flaking out on seeks underheavy IO load every so often (hopefully it was the drive and not thecabling
我是間斷的讀者
我對音樂的鑑賞力特別低,所以份外不寬容。有時聽到覺得難聽的歌真的會走開。網吧嘛,總是有很多人播很多歌,很大聲。有時真的很難聽。那天不夠精神,完全無法思考,看看play-list,嘩最好聽已經是容祖兒的「16號
江記是惡魔!(vo: 廣告一則)
否定句總是令我著迷。在表達其否定姿態之後,否定句便會陷入巨大的兩難處境:它必須要表述其否定的內容,於是那些被否定的便會在閱讀者腦中出現——被否定者的具體內容會蓋過否定的姿態,甚至取而代之。否定句愈想框
心理測驗我都話食硬你
| Your Birthdate: February 25 |
Your feelings may run deep, but you are not very likely to let them show. This birthday makes you a more private person, more introspective and perhaps |