Archive for category Me

Mac App store

Mac App Store

Counting down for Microsoft & Ubuntu to copy…

iSight problems with flash.. solution

If you are encountering problems by using your Macbook’s iSight Camera with flash programs (facebook, youtube, chatroulette, etc..) is because Flash doesn’t find the “USB Video Class Video” correctly as your cam in settings.

Anyway you can find the solution here:

Detect in you flash settings if you can find two “Google” cams. If yes:

  1. Launch /Library/Application Support/Google/GoogleVoiceandVideoUninstaller.app that will remove them if you have them installed
  2. Update Flash version if it’s not updated (check on http://www.adobe.com/software/flash/about/)
  3. Launch the website you like and choose in setting “iSight Camera”

It worked for me!

Starting your first company

A great mini-guide by chris Dixon. You can find the original here http://post.ly/19xRU

Things you should do when you are just starting up:

- make sure you have the right team. if you are doing a consumer web startup, you *need* someone on the team who is native web product person. if you are doing real tech, you need someone who is true native

- hire a good startup law firm (i like gunderson) and get standardized incorporation, vesting etc docs. it’s worth it. (but try to only pay $5K or so with promise to pay more later when you get funding etc).

- talk to everyone you can about your idea. collect feedback, criticism, maybe garner some allies along the way (even advisors which can help build your credibility).

- if you don’t already, read all tech blogs everyday. Techcrunch, gigaom, business insider, mashable, rww, etc. read vc blogs like fred wilson, mark suster, and eric reis. go back and read back articles

- start blogging & tweeting if you don’t already. don’t over think this. your blog posts don’t need to be shakespeare – just do minimal viable blogging. document your startup adventures, thoughts on tech, respond to others blogging/tweeting – whatever. just get out there and write.

- go to all good startup events and talk to

- how googleable are you? if you aren’t winning the first page of google when you type in your name, that means you aren’t doing a good job building your web

- try to work out of an office with other early stage startups. good energy.

- apply to ycombinator, techstars etc. no brainer to at least apply.

- if you don’t code, don’t try to teach yourself and code for your startup. partner with someone who is great at it. programming is an art & science and takes years to get good at.

- if you really want to do a startup, be ready to spend the next 5 years of your life doing it. if you aren’t ready for that level of commitment, don’t do it.

Tags:

Poipu Beach in Kauai

What you can find near your towel..

Getting married…

Charge iPhone 3g with a usb in a sigarette lighter socket

If you try to charge your iPhone 3G by plugging it in a non-PC usb or not-specific-iPhone accessory, it wil not do it. this is due because a standard usb have 4 pins, Power, ground, Data- and Data+. Usually you need Power and ground to recharge anything, but the iPhone need also a signal on Data- and Data+. By googling I found this:

To charge an iPhone 3G / iPod Touch 2nd gen, usb data- (25) should be at 2.8v, usb data+(27) should be at 2.0v. This can be done with a few simple resistors: 33k to +5v (23) and 22k to gnd(16) to obtain 2v and 33k to +5v and 47k to gnd to obtain 2.8v.

Here what I did by using a male/female standard USB cable.

With more patience you can do something the looks better for sure.

Ahh… it works!

Will_paginate on Ajax for Ruby on Rails!

This is a little trick to use the rails plugin “will_paginate” with ajax and classic prototype rails helpers that I used on Kontup. Naturally you should start from here:

http://wiki.github.com/mislav/will_paginate

and follow the classical installation steps. After that you could do in this easy way:

in your controller:

@posts = Post.paginate :page => params[:page]
if params[:page] == nil || params[:page].to_i == 1
@previousPage = nil
@nextPage = 2
else
@previousPage = params[:page].to_i - 1
@nextPage = params[:page].to_i + 1
end

and in your view the links will be:


<% if @previousPage != nil %>
<%= link_to_remote '&laquo; Previous', :url => { :action => "indexAJAX", :page => @previousPage }, :update => "content" %>&nbsp;&nbsp;&nbsp;Page <%= @previousPage %> of <%= @posts.total_pages.to_i %>&nbsp;
<% else %>
Page 1 of <%= @posts.total_pages.to_i %>&nbsp;
<% end %>&nbsp;
<% if @nextPage <= @posts.total_pages.to_i %>
<%= link_to_remote 'Next &raquo;', :url => { :action => "indexAJAX", :page => @nextPage }, :update => "content" %>
<% end %>

I know that there is a smart way to write this code, so please comment here!

Increment Alphanumeric string in ruby for shorturl

Here a code i wrote for generating alphanumeric code in “youtube style”. This code automatically increment using a..z, A..Z, 0..9:

def generate_code

carry = false

for i in 1..(shorturl.length) do

shorturl = “aaZ9″ #this is your starting string

index =  shorturl.length – i

if index ==  shorturl.length – 1

char = shorturl[index]

char = char + 1

if char == 123

char = 65

elsif char == 91

char = 48

elsif char == 58

char = 97

carry = true

end

shorturl[index] = char

elsif carry

carry = false

char = shorturl[index]

char = char + 1

if char == 123

char = 65

elsif char == 91

char = 48

elsif char == 58

char = 97

carry = true

end

shorturl[index] = char

end

end

if carry

shorturl = “a” + shorturl

end

puts shorturl

end

Ten Busiest VCs of 2009

From a PeHub article:

We’re still a couple of weeks away from official Q3 venture capital data, so here’s a preliminary look at the year’s busiest firms to date.

The below statistics refer to investments in U.S.-based companies, and rank based on number of companies supported in 2009 (as opposed to investment rounds, which can be higher if certain companies raised multiple rounds). Enjoy:

#1. New Enterprise Associates
Deals this year: 36
3 recent deals: Serious Materials, Vuclip, Chelsio Communications

#2. Kleiner Perkins Caufield & Byers
Deals this year: 35
3 recent deals: Pacific Bioscience, Booyah, Juvaris BioTherapeutics

#3. Polaris Venture Partners
Deals this year: 31
3 recent deals: Adimab, Turbine, Cerulean Pharma

#4. Draper Fisher Jurvetson
Deals this year: 27
3 recent deals: TargetCast Networks, iSocket, Myshape

#5 (tied). Sequoia Capital
Deals this year: 26
3 recent deals: Achates Power, Mobile Iron, Ruckus Wireless

#5 (tied). U.S. Venture Partners
Deals this year: 26
3 recent deals: Factery, DFX Battery, Blekko

#7. Canaan Partners
Deals this year: 25
3 recent deals: Liquidia, Chimerix, Relievant Medsystems

#8 (tied). Highland Capital Partners
Deals this year: 24
3 recent deals: Zoove, InXpo, Mix1 Beverage

#8 (tied). Venrock Associates
Deals this year: 24
3 recent deals: Xconnect, Durect Corp., Constellation Pharma

#10. First Round Capital
Deals this year: 22
3 recent deals: Continuity Engine, GumGum, DNAnexus

For comparison’s sake, here are the Top 10 from 2008:

  • Draper Fisher Jurvetson (92)
  • New Enterprise Associates (76)
  • Kleiner Perkins Caufield & Byers (65)
  • Polaris Venture Partners (61)
  • Intel Capital (55)
  • U.S. Venture Partners (50)
  • InterWest Partners (48)
  • Venrock Associates (47)
  • Sigma Partners (45)
  • Sequoia Capital (42)

My Nike Running Goal