Phasor Burn

Warning: Do not look into phasor with remaining eye.

About

Yet another collection of random links and rantings of a greying unix geek with a photography bent. Pass the Guinness and Grecian Formula.

Archive for the 'System Administration' Category

Data vs BSOD

Friday, July 29th, 2011

hello %BLOGINTITILE% owner.

Wednesday, July 27th, 2011
hello %BLOGINTITILE% owner. i want to say that %BLOGINTITLE% is really nice and the article was excellant. it appears that you’ve got lots of visitors on your blog. i have started off blogging few weeks back and i’m still struggling to find any individuals to my blog. i would really really like it if you visit my blog and comment on the posts. though the blog is completely new, still there is certainly some very good content on it. i hope you’ll enjoy reading it. Cheers nintendo 2ds

Amusing blog-comment spam script failure…

Rube Goldberg Machinery is Everywhere

Tuesday, July 26th, 2011

The following bit of hackery is a type of Rube Goldberg Machinery that can be found nearly everywhere there is some sort of information processing, transforming, or transmitting system.

I continually perpetrate it myself in my day to day sysadmin work, writing scripts to glue systems together, migrate data from one form to another, etc.

What part of Instapaper’s infrastructure are you most proud of?

The bookmarklet has a mechanism to save pages from sites that require logins for full content, such as the Wall Street Journal and Harper’s, by sending a copy of the page’s HTML from the customer’s browser to the server. It’s like automating the “Save as…” menu item: if you have your own account for these sites and can see the page in your browser, you can save it to Instapaper.

The way it does this is ridiculous: instead of calling a simple GET request to save the page, since an entire page’s contents would quickly overrun any URL-length limits in the stack, it injects a FORM with a POST action and populates a hidden value with the page contents.

But form-data requests from browsers aren’t Gzip-compressed, so the resulting data is huge and needs to be sent over people’s (often slow, often mobile) upstream connections. So I found an open-source DEFLATE implementation in Javascript — really — and the bookmarklet compresses the page data right there in the browser before sending it.

The whole procedure is hideously complex, but works incredibly well.

Read the article

Pay what you owe me

Monday, July 4th, 2011
On 2011-07-03, at 10:58 AM, “ZHANG L.” wrote:

Hi, I’m Zhang L, Asst. Head of Operations East Asia Bank Hong Kong. I seek your attention for the confirmation of a Project. I have a Project of $26.5M for you. I shall provide you with detailed information immediately i hear from you

Hmm, yeah right… nice try… Let’s try this ….

On 2011-07-03, at 5:38 PM

You still owe me 47.3M from the last project.

Sent from my iPad

And what do you know. No response. :)

Bug vs Touch Screen

Wednesday, June 15th, 2011

If you can get keyboard lockers that activate upon detecting cat-like typing, how about screen locks that activate upon bug-like-scrolling?