elfs: (Default)

It used to be possible for Linux users to find and save the movie file from a Flash download with earlier versions of the Flash plug-in.  Flash put the file in the /tmp directory and if you were quick you  could copy it elsewhere.  If you had a plethora of Flash files, you could often find the one you wanted with a simple ls -lt /tmp/Flash* , which sorts the files in order from newest to oldest.

The latest version of Flash does something tricky, though.  It creates a temporary file to hold the Flash object, then, while keeping the handle to the file open, immediately deletes it.  This means that the Flash application can continue to access and use the file until you navigate away from it, but it no longer shows up in directory listings.

However, if you’re really Linux savvy, there are ways around even this little annoyance.

Looking for a Flash movie you’re looking at right now?  First, run this: lsof | grep Flash .  On my computer, the output was:

midori     9206  elf   57u      REG        8,3  10012691     64772 /tmp/FlashXXKoFQgx (deleted)

There’s that noxious little “(deleted)” flag, too.  But you have a hint.  First, your process id in 9206, and the file descriptor is 57.  Now, you can just cp /proc/9206/fd/57 /home/elf/movie.flv and there you go.  File copied.  At least, it’s worked for me the few times I’ve done it recently.

Lsof is a program that lets you identify all the open resources a running program is using. In this case, my running program is midori, a Gecko-using browser with a long history of trying to keep up. By identifying the resource, I can then wander down the /proc tree, getting at the process’s available resources directly. As a user, I’m free to access (and muck up) my own resources without risking anything or anyone else on the system– Linux is good about that.

This entry was automatically cross-posted from Elf's technical journal, ElfSternberg.com
elfs: (Default)

Last night at the Django meetup, we also talked about unit testing.  Someone mentioned continuous integration, and we all discussed our favorites.  At one point, the fellow at whose offices we were holding the meeting mentioned that his team used Hudson and pulled up an example on the overhead projector.  I mentioned that Hudson was my favorite as well, and he said, “Yes, I think it was your blog entries that led me to this solution.”

That’s the second time this year I’ve walked into a meeting and someone’s said, “I’ve used something you wrote.”  Kinda cool.  Wish it was addictive.

This entry was automatically cross-posted from Elf's technical journal, ElfSternberg.com
elfs: (Default)

I have this t-shirt.  It reads: “Knowledge is power.  Power corrupts.  Study Hard.  Be Evil.”  Because if we take those two first popular truisms and put them together, we get a very unpopular conclusion.

The truisms of our business are “It’s an attention economy, where revenue is driven by how much attention you can get,” and “In order to succeed, a website must have multiple streams of income.”

Therefore, “In order for your website to succeed, it must have multiple ways of getting attention.”

And that’s the tricky part.  In the real world, that still takes patience, legwork, and dedication.

This entry was automatically cross-posted from Elf's technical journal, ElfSternberg.com
elfs: (Default)

While visiting with friends and family this weekend, I ran into a long-missed flame who said she was frustrated because she’d gone back to school to renew her web design business, last heard from about a decade ago, but the school seemed insistent about teaching her programming instead. Her head was full of PHP and Javascript, when what she really wanted to do was “draw pretty pictures” and hand them off to the developers.

Curious, and because I’m always looking out for good designers, I asked her what her design aesthestic was.  Did she like grunge or cleanOrganic textures or vectorsDark or light?  What did she think of grids?  How about Minimalism? Typography?

I’m afraid in my high-speed way I hit her with all of those questions in one long stream and she stared back at me like a deer in the headlights.  She’d never heard of any of these terms being used in conjunction with her current studies or practices.  Now, admittedly, these were terms from poster and illustration work back in 1999 that had only just begun the leap into web design practices.  When she jumped out I was working with flat, vector advertisement people who thought the height of design sensibility was the Taco Salad typeface (Ugh, totally hate that one now, even though it’s immortalized in a design I did in 1997 that will live forever and that I can’t take back).

I’m still much more of a developer than a designer, but I keep a daily zeitgeist feed of what’s hot in the design world, and I collect and keep tickler files, so when I’m in need of a new design, I can collect a few and when I hire a designer I can say, “I want a feminine design, slightly three-d (drop shadows are adequate, some pseudo-perspective boxes would rock), with a wine-purple background to suggest sensuality and mystery.  The objective has some infographic weight, so a stable grid would be a good idea.  Let’s talk information architecture and session flow.  I want something that’s a mash-up, not a compromise, between a website that sells porn and one that sells high-end cosmetics.  The background has to be IUI compatible.” Or, “I need an info-rich magazine layout for the adult story set, something way sexier than what’s currently out there, but with enough whitespace that each article can successfully compete with its neighbors for eyeballs based on content about the length of a double-tweet. I need a bumper-sticker-sized banner, with a solid typographic cascade, for the story of the hour. And I need some Section-508 compliance in the site, so high contrast is a must.” Or, “I need a web 2.0 throwback site for a low-end web app. A simple thing. Let’s do green and white, subtle gradients and high-contrast borders, unless you’ve got something burning that I can buy into.”

Being able to talk this way with designers is a plus for me, but it also lets me experiment on my own.  I know what I want.  I know what other developers are doing with it, and I can whip out the Wacom (or, better yet, colored pencil and paper) and just let myself explore the possibilities.  I’ve been hanging out with a bunch of web “creatives” recently, and this is the language they use.  The posters of their office space run the gamut from photorealism to grunge to flat OEM (original English manga) style, with same 60’s psychedelic for a wine-and-Shakespeare festival on the far wall.

I’m sure you can run a good sized web business without this knowledge base.  But you’ll look like these guys.  I’ve sent these guys my resume’ because, you know, that’s what I’m required to do under the circumstances.   But let’s face it, these guys need help: four separate flash items on the home page, bad 2003 swirly headers, no alt tags on the title images, table based layout, and no grid sensibility at all.

This entry was automatically cross-posted from Elf's technical journal, ElfSternberg.com
elfs: (Default)

I don’t know if this is a common phenomenon.  I’ve spoken with a lot of artists who swear by their Wacoms and don’t ever work on anything else at all, but I’ve found that while my Wacom Bamboo is good for some things, when it comes to rapid design I’m much happier tossing off sheet after sheet of paper with a handful of colored pencils.   I’ll use the Wacom for clean-up, and that’ll be extensive use, but the initial will always be done on paper.  The tactility, simplicity, and above all else the narrow focus of “just draw it on paper” seems to work for me.

This was especially true yesterday.  I was trying to design a blackboard theme, with lots of chalk lines, and no matter what I tried, my handwriting via the Wacom sucked.  On paper, my hand is quite readable, but on the Wacom, no dice.  Scrawly, off-center, badly angled.  I imagine if I have a Wacom Cintiq the quality would have been substantially changed, but a Bamboo is for clean-up, nothing more.

This entry was automatically cross-posted from Elf's technical journal, ElfSternberg.com

Profile

elfs: (Default)
Elf Sternberg

May 2025

S M T W T F S
    123
45678910
111213141516 17
18192021222324
25262728293031

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 28th, 2025 09:31 pm
Powered by Dreamwidth Studios