i’ll try to share useful stuff with you

twitpic and yfrog thumbnails

Filed under: — ohad @ 12:12 AM June 28, 2009

my facebook newsfeed is full of twits with links to images hosted on twitpic and yfrog. both twitpic and yfrog provide a super simple way to get thumbnails from these links. so, until facebook or some facebook-app does this for me, i had to do it for myself.

here’s a simple bookmarklet twitpicfix that will convert this:

ohad-b4to this:

ohad-after

and this:

yfrog-b4into this:

yfrog-after

since i’m too lazy to write a firefox extension (and there’s already a PowerTwitter that does some of this for the twitter website itself), so I hacked a bookmarklet that does it.

drag the bookmarklet twitpicfix to your links bar and click it whenever you have a bunch of twitpic/yfrog urls and want to preview them inline.

in fact, here’s a http://twitpic.com/892ti link, click the twitpicfix link and see what happens.

nice San-Francisco quote

Filed under: — ohad @ 6:14 PM June 20, 2009

“San Francisco is a city of misfits. And maybe thats why it’s so easy to fit in here. If it feels weird, we loved having you. If it feels right, welcome home.”

thanks David Ulevitch for this one

Download Kindle books

Filed under: — Tags: — ohad @ 4:07 PM March 2, 2009

just got my new Kindle 2 which is totally awesome.
I found this website, http://manybooks.net/ which has tons of books from Project Gutenberg, it also has all the titles in the Kindle’s AZW format.

My friend Amit Shafrir said it would be cool if there were some script that let you quickly download these AZW files, and so here it is.

It’s a bookmarklet, drag it -> ManyBooksKindlify <- to your bookmarks toolbar and whenever you are on a page that lists books on http://manybooks.net/ click it to automagically have direct-kindle-download links inserted into the page (a little ‘k’ icon).

You can start by visiting the weekly most downloaded books list.

Visual comments in code

Filed under: — ohad @ 7:52 PM October 15, 2008

an idea i had a few years ago, bumped into it while skimming through my documents and figured its better online than offline.

Visual CommentsUpload a Document to Scribd

car details

Filed under: — ohad @ 8:50 PM August 30, 2008

we were looking to buy a car and rather than dumping the results in the recycle-bin here they are for the web-crawlers:

* trip calculations are based on a 102m trip to SJ and back with gallon price at $4.3

Playing with Yahoo Pipes

Filed under: — ohad @ 7:20 PM August 17, 2008

So I was sitting this Sunday afternoon, getting pissed that there’s no easy way to monitor replies on Twitter. I talk with people there and there’s no serious built-in feature in Twitter that will notify me when people reply to me, which, other than direct messages, is exactly when I want to jump back in and continue the conversation.

I ended up taking the RSS for my updates – http://twitter.com/statuses/replies.rss (requires your credentials), pulling it through Yahoo Pipes (because its able to supply my credentials to Twitter), and using the result of that pipe with Pingie (a useful free service that does RSS to SMS). Why not Yahoo Alerts? It just didn’t work…

A few tests later and I get an SMS whenever someone replies to me on Twitter.

Now, who can stop there? just what I thought.

I have this stock which is suppose to fluctuate coming Monday/Tuesday, I’d like to have something automatic notify me when that fluctuation takes place. An hour later I’m done with my first “serious” Pipe – the Stock Alert:

It was fun to write because it forced me to learn the whole Pipes thing, and I’m happy to add that to my arsenal of ‘quick and dirty’ utilities, maybe even not that dirty. The idea is to generate a new RSS item any time the alert pops, so right now it achieves that by reiwiring the date and time into both the item’s guid and its pubDate.

Open issues:

  • What happens after 1 alert is generated and sent? right now a shitload more will keep on coming. If Pipes lets you store variables between executions this could help.

I have another pipe that does a Union bewtween my Twitter replies, the stock alert and whatever I come up with next. This endgame Pipe is what gets SMS’d whenever it changes.

My concusion: Pipes is very cool and more than cool its very powerful and useful. Works great as a Sunday afternoon game.

IM protocols, do they support dynamic embedded images?

Filed under: — ohad @ 9:53 PM July 9, 2008

here’s a scenario i’d like to have:

  • i’m chatting with someone on IM
  • i want to show him something i’m seeing on my screen
  • i hit ctrl+apple+shift+whatever, get an overlay control to crop some part of my screen
  • click my mouse, boom that part gets cropped and sent to my chat partner
  • my chat partner gets a small message embedded into his chat dialog saying an image is being transferred with a progress bar
  • when the image is transferred its shown as an inline thumbnail within the chat where the original message for ‘image being received’ was shown, this is chronological
  • single-clicking the thumbnail brings up the entire image in a thin embedded viewer, no external stuff
  • there’s a button to ’save to file’

i know i can screen-capture myself, save to a file, send to my friend, he accepts it, saves it to his hard drive and opens it with his default image viewer (which may be photoshop, OUCH). but we all know this flow sucks and that’s why we don’t do it.

what’s needed?

  • IM protocol support for dynamic inline images (i think MSN has something like this, others?) this should enable injecting an image into the chat and later changing it. the whole process (image being sent, progress) can be done using solely with images.
  • IM client support for capturing/cropping the screen and hiding the details from a the user while the data is being sent to his chat partner.

any ideas? if MSN supports enough of this in the protocol I vouch to get someone to write client support for this in Adium and maybe pidgin on windows.

Multi-Core Software

Filed under: — ohad @ 12:14 AM July 7, 2008

It’s a known fact that CPU cores are not going to see high increases in their singular power. The alternative chip-makers have come up with is multi-core – the poor man’s SMP. It seems like future CPUs will be trying to maintain Moore’s law using more cores rather than more singular power.

Does this change the game? does it pose an opportunity?

It certainly forces hard-core programmers to focus on parallel-ability. Most programmers don’t deal with stuff that needs to be optimized (writing on_click handlers for buttons anybody?) but the core that writes our OSs‘, implements STL for us, writes graphic drivers, and the algorithmic type will have to keep up on their multi-threading skills.

The more popular programming languages have done a good job of not introducing multi-threaded concepts into their language structure. I say good because it has been generally unnecessary until now. What happens though if our PCs are suddenly all multi-core by definition? Do we expose this in high-level languages such as C#?

I wonder if we can reuse ideas from the distributed computing move of the past 10 years. I remember how in ‘98 I was thinking about the potential growth of distributed computing and how this growing field lacked tools to write parallel-able code…

Youtube Bucket testing?

Filed under: — ohad @ 10:29 PM June 23, 2008

Where are the goddamn iPhone SDK Rules

Filed under: — ohad @ 10:13 PM

This one’s been burning through 5 seconds of my brain’s CPU a day. I keep thinking of what they are going to allow us to develop and what they won’t. 5 seconds is not much btw, its about 0.0057% of my day, but still, you gotta have high standards.

Here is the damn PDF telling you what you can and can’t do:
http://onemorething.nl/files/iphone_sdk_agt_608_final__wwdc08.pdf

Here’s the part that pisses me off the most:

3.3.3 Without Apple’s prior written approval, an Application may not provide, unlock or enable additional features or functionality through distribution mechanisms other than the iTunes Store.

This basically bars us from providing downloadable content for sale. lets say you have a level-based games and you want to give away the game for free with additional level packs for sale (aka the console’s way of making money). The current TOS won’t let you do this.

Sure you can pack your premium content as a new game alltogether and put it on their store, I don’t mind giving Apple their 30% cut of each level I sell, but give me a way to sell it with 1-click from within my game.

I’m sure they’ll fix this asap.

Older Posts »