• skip to sidebar
  • skip to search box

trainedmonkey

by Jim Winstead Jr.

August, 12, 2004 archives

i’m getting too old for this

blo.gs appears to be under some sort of strange indirect attack. it’s being hammered by various robots trying to index search results. so there’s requests from the feedster bot, the technorati bot, and all sorts of bots i’ve never even heard of. oh, and the the yahoo!, google, and msn bots have all decided to get in on the action.

it is extremely strange. perhaps it is supposed to be some sort of clever distributed denial of service?

» Thursday, August 12, 2004 @ 4:45pm » blo.gs » 3 comments, add yours

break-even

last month, the revenue from google adsense ads was almost exactly equal to my monthly hosting bill.

» Thursday, August 12, 2004 @ 7:57pm » blo.gs » Comment

this response to a news article about redeveloping an area in the miami area is spot on. (via hit & run.)

» Thursday, August 12, 2004 @ 9:05pm » living » Comment

generating a last-modified time from php

while the getlastmod() function can tell you when the main file was last modified, it would be cool if php kept track of the most recent last modification time of all included files, assuming that it is already doing a stat() on each file as it includes it.

the value may not always be directly applicable (sometimes you are pulling in other data, or database information), but it would be useful. i guess you would want another function to inject possible timestamps into the mix.

the alternative is to iterate over the results of get_included_files() and stat() all of them.

or i guess you could just live with getlastmod(), and ignore the fact that it isn’t accurate when you do something like change the header that you’re including via some other mechanism.

» Friday, August 13, 2004 @ 7:31pm » code » Comment
« Wednesday, August 11, 2004 • Friday, August 13, 2004 »
  • Home
  • About
  • Archive
  • Bookmarks
  • Photos
  • Projects
  • GitHub
  • @jimw@mefi.social

Dedicated to the public domain by Jim Winstead Jr.