I want to be rich and I want lots of money I don't care about clever I don't care about funny I want loads of clothes and fuckloads of diamonds I heard people die while they are trying to find them
And I'll take my clothes off and it will be shameless Cause everyone knows that's how you get famous I'll look at The Sun and I'll look in The Mirror I'm on the right track yeah I'm onto a winner
Chorus I don't know what's right and what's real anymore And I don't know how I'm meant to feel anymore When do you think it will all become clear Cause I'm being taken over by the fear
Life's about film stars and less about mothers It's all about fast cars and cussing each other But it doesn't matter cause I'm packing plastic And that's what makes my life so fucking fantastic
And I am a weapon of massive consumption And it's not my fault it's how I'm programmed to function I'll look at The Sun and I'll look in The Mirror I'm on the right track yeah we're onto a winner
Chorus I don't know what's right and what's real anymore And I don't know how I'm meant to feel anymore When do you think it will all become clear Cause I'm being taken over by the fear
Forget about guns and forget ammunition Cause I'm killing them all on my own little mission Now I'm not a saint but I'm not a sinner Now everything's cool as long as I'm getting thinner
Chorus I don't know what's right and what's real anymore And I don't know how I'm meant to feel anymore When do you think it will all become clear Cause I'm being taken over by the fear
The Photos application is one of Facebook’s most popular features. Up to date, users have uploaded over 15 billion photos which makes Facebook the biggest photo sharing website. For each uploaded photo, Facebook generates and stores four images of different sizes, which translates to a total of 60 billion images and 1.5PB of storage. The current growth rate is 220 million new photos per week, which translates to 25TB of additional storage consumed weekly. At the peak there are 550,000 images served per second. These numbers pose a significant challenge for the Facebook photo storage infrastructure.
I'm building an web app. Its need to be highly portable, very self contained, and no non-standard dependencies. I need "install is just copy the single file." Given a random Internet (not intranet) web server I have the highly likelihood of having a PHP interpreter.
So I picked PHP.
But my God ASP.NET has me spoiled! I would kill for an $_APPLICATON right now. I have an app where I need to persist data across page views and share it with all users. Sessions aren't going to work. I thought about forced Session Fixation so all visitors are using the same session and so in effect I have a shared global persistent data store. Nope. Not gonna work.
Share memory? Out, not supported on IIS+PHP. Using a database? Out, not part of a standard PHP install on some Linux installations and no IIS installations.
I'm down to using a temp file and serializing a hash table.
Public Booted from DVD Copying Trial Over ‘Secret’ CSS Code | Threat Level
Topic: Miscellaneous
8:17 am EDT, Apr 28, 2009
Fast forward to Friday. Patel excluded several reporters from the same courtroom in a case testing Hollywood’s lock on the DVD. The press, including Wired, CNET, Reuters, Bloomberg News Service, The New York Times and The Associated Press and other outlets were ordered removed as the guts of the case got underway.
Patel said the code of the Content Scramble System used to encrypt DVDs and prevent their copying was a “trade secret.” She told the press to scram when a University of California at Davis computer science scholar was called to testify about whether RealNetworks’ DVD copying software circumvented the CSS.
Regular Expression Matching Can Be Simple And Fast
Topic: Technology
5:50 pm EDT, Apr 27, 2009
Introduction
This is a tale of two approaches to regular expression matching. One of them is in widespread use in the standard interpreters for many languages, including Perl. The other is used only in a few places, notably most implementations of awk and grep. The two approaches have wildly different performance characteristics.
Notice that Perl requires over sixty seconds to match a 29-character string. The other approach, labeled Thompson NFA for reasons that will be explained later, requires twenty microseconds to match the string. That's not a typo.
It may be hard to believe the graphs: perhaps you've used Perl, and it never seemed like regular expression matching was particularly slow. Most of the time, in fact, regular expression matching in Perl is fast enough. As the graph shows, though, it is possible to write so-called “pathological” regular expressions that Perl matches very very slowly. In contrast, there are no regular expressions that are pathological for the Thompson NFA implementation. Seeing the two graphs side by side prompts the question, “why doesn't Perl use the Thompson NFA approach?” It can, it should, and that's what the rest of this article is about.
Today, regular expressions have also become a shining example of how ignoring good theory leads to bad programs. The regular expression implementations used by today's popular tools are significantly slower than the ones used in many of those thirty-year-old Unix tools.