This blog is outdated. Check out my website at http://cem.re or my work blog at http://cem.re/tumblr.

can't use it

a blog by Cemre Güngör

Type Mirror in Processing

Something I pulled up in half an hour for a class presentation.

Screenshot 2010-03-25 kohteessa 12.02.45

Click here to download it!

The marketing page of Tumblr did confuse the hell out of me.

Why Everyone Loves Tumblr-1

feedwordpress imports “A” as article content

If you’re using feedwordpress to syndicate content from another blog and the RSS2 feed comes up as only “A”, and only the summary appears in the excerpt section, try using the ATOM feed.

Intimidating.

5 MINUTES AND 44 SECONDS LEFT.

What is this, a bomb?

Screenshot 2010-02-18

Flash drive appears as 200 mb under Windows

I got this tiny flash drive from Amazon a couple of months ago and I really grew to like it. Something peculiar happened with it, Windows wouldn’t recognize the FAT partition that I had created using Mac OS X and re-formatting it with Windows reduced the capacity of the disk to 200mb.

Solution is to use HP’s flash drive format tool under Windows, it recognizes the full capacity.

http://www.pcworld.com/downloads/file/fid,64963-page,1/descr­iption.html

Keywords: flash disk, flash drive, usb drive, thumb drive (we really need a standardized name :), 200 mb, 200mb, partition, format

Quirky Proof of Concept: Automatic transition animation for CSS hovers (CSS transitions for older browsers)

I coded some javascript to emulate css transitions for older browsers. It works by parsing the CSS of the page, determining rules which also have a :hover state, then attaching itself to onmouseover/onmouseout events and animating according to the hovered definition in CSS.

Here’s the quirky proof of concept and you can read the source to look at the code as well. It’s quite a dirty solution:

  • IE has different ways of accessing the stylesheet, didn’t implement that
  • It’s probably very inefficient to iterate over all styles to get the hovered rules. Moreover, for each hovered rule, I search through the style rules again to find the un-hovered rule (O(n2) :)). Probably indexing all rules in a JS array would make things faster because of direct access? Another good idea if making the user provide all selectors which should be hover-animated.
  • It goes wonky if attributes that can’t be animated are defined (like font-family). I should probably make a list of all “animatable” attributes and only work on them.
  • It doesn’t account for default styles defined with a browser style-sheet (doesn’t restore them on mouseout)
  • For some reason margin-left and margin-right aren’t read in Firefox?

Anyway here’s the thing: Automatic transition animation for CSS hovers with jQuery.

Customize Macbook touchpad/Magic Mouse gestures

BetterTouchTool is a more advanced  version of MultiClutch that I talked about a month ago. It allows to customize the gestures of both Magic Mouse and the multi touch touchpad. It also incorporates functionality similar to “MiddleClick”.

Get it here: http://blog.boastr.net/

Convert RM to AVI in Mac OS

From http://www.macosxhints.com/article.php?story=20060906153448633

Convert Real audio and video into MP3 and AVI files
Authored by: straniero on Wed, Jan 17 2007 at 1:47AM PST

I want to thank the person who started this thread! I’ve been trying for years to convert my South Park Real Movie collection to Quicktime and have finally managed thanks to them!

But… The instructions are not real clear! Here’s plain and clearly what you need to do to convert .rm video to Quicktime….

1) Download ffmpegX.dmg, mencoder and mplayer from ffmegx.com/download.html
mencoder and mplayer are zipped together as “ffmpegXbinaries20060307.zip”
Unzip them after downloading or FFMPEGX can’t find them while it’s installing (D’uh!)
Run FFMPEGX so that it can complete the installation!!!!!

2) Download and install Real Player 10 (not 9 or any other version!) from real.com
I tried it with 9 and realized that these people who are saying that they couldn’t find the “codecs” folder in the right place were doing the same thing, and it doesn’t work! (I did only find 12 codecs and not 14, but it works!)

3) Control-click on the Realplayer icon and “open package contents”. Navigate to Contents -> Frameworks -> HXClientKit.framework -> Helix Plugins -> Codecs. Take all of the files in the “codecs” folder and copy them to a new folder that you create inside of /Library/Application Support/ffmpegX and name the folder “reallib”.

4)That’s it! Open FFMPEGX and convert your Realplayer media to Quicktime! For some reason though, you must use the DivX Mencoder preset or it won’t work, (So, export it again when you’re done!)

Other tips….
FFPEGX just has stripes on the progress bar while it’s doing this conversion, it’s normal.
If you do a “get info” while you’re converting, you’ll see millions of “1 Dupicate frame(s)!” messages. It’s not stuck in a loop! I think what it should say is “1 Frame has been duplicated!”. These messages just mean that it is working!

I also found that by putting the 3ivx codec into FFMPEGX in the same way as the Real codecs I could convert videos that I could get to run in Quicktime before! Who knows the possibilities?

Happy encoding!
The Straniero

[rant] Verizon Internet installer: painful and what’s worse, totally unnecessary!

In Europe, to get ADSL working, you plug the router in, and usually the first page you open asks for your username and password. You enter them, you get going. The most you do is opening 192.168.1.1 and putting down some info.

In the US, you are forced to download and install an installer, which will take a couple of hours out of your life, doing essentially nothing but setting up your username and password (and maybe a few router settings, but since they ship the router themselves they can preset them already). There is no option to skip the screens which tell you how to plug an electric adapter into the wall socket! And every screen loads in a few seconds meaning you can’t just press next next next and keep going.

And their installer refuses to run on Mac OS Snow Leopard, saying that the system I use is too old. Luckily I had a spare Windows laptop! Otherwise no internet for me.

You wait, going through tons of unnecessary screens, agreeing to unnecessary agreements, getting installed SH*T on your computer! I was baffled to see Verizon actually FORCES you to install the Yahoo stuff! If you deselect both the Messenger and the Toolbar, you can’t continue!

If they would rape my main computer this way, instead of the Windows partition of my old MacBook, I’d be very annoyed.

Why couldn’t I just plug my router in like elsewhere in the world!?

Middle click for Multi-Touch trackpads. Boost your productivity

http://clement.beffa.org/labs/projects/middleclick/

Three finger tap becomes middle click. This, added to MultiClutch that I previously mentioned, boosts my web surfing productivity tenfold. I can open pages in new tabs, browse between tabs and close tabs without using the keyboard at all, just with finger strokes. It’s very nice, I must tell you :)