HNHacker News
TopNewBestAskShowJobs

ccollins

406 karma · joined September 26, 2009

Personal Website: www.christopherjamescollins.com

Currently: Co-Founder at https://www.catercow.com - We've made it easy to book catering online.

Previously: Engineer #2 at Airbnb.com, Engineer at CollegeHumor.com, Co-Founder at http://www.gusta.com

christopherjamescollins@gmail.com chris@gusta.com

submissionscomments
ccollins··on Website Wikileaks publishes '9/11 messages'
~13MB, 448,358 line text file of messages from 2001-09-11 03:00:00 - 2001-09-12 02:59:59

http://911.wikileaks.org/release/messages.zip

ccollins··on An Engineer's Guide to DNS
"The DNS hosting service typically thrown in for free by domain registrars is not very good. For most sites, solid DNS hosting costs about $USD 50 per year. It's worth the effort. Heck, set up with two different services for failover."

Can anyone recommend a company that provides solid DNS hosting? Are there measurable performance benefits? Thanks!

ccollins··on Staying With Newfound Friends, for a Fee (AirBnB, YC W09)
FYI: If you ever wondered if being on the homepage of the New York Times increases your server load, it does.

-Chris, Airbnb engineer

ccollins··on Twitter-Microsoft Bing Deal Confirmed, But So Is Facebook-Bing
Relevance for tweets / status updates is pretty simple: Newer = more relevant.

For example: http://www.google.com/search?q=san+francisco+halloween gives me a bunch of halloween stores

http://twitter.com/#search?q=san%20francisco%20halloween gives me a bunch of events (much more useful for me!)

ccollins··on Variable Cost Living Sadly Doesn't Work
It's definitely a point of contention, but one that can be solved easily by paying for utilities for a month & buying a 6-pack or two.
ccollins··on Variable Cost Living Sadly Doesn't Work
When you read this, keep in mind I work at Airbnb :)

I think this failed because it was so contrived. Here is a more realistic and reproducible example of how my girlfriend is living variably in NYC. She currently has a lease in Brooklyn for about $900 / month but doesn't need to be there all the time. This weekend she will be house-sitting in NJ, next week she is visiting me in SF for a week, and in December she plans to stay with her parents for the holidays.

To continue to have occasional access to her apartment, not screw over her roommates, and make this lifestyle remotely possible, she listed her place on Airbnb.com. She so far has booked about $700 that will go towards October rent. When she needs to be in Brooklyn, she simply marks her dates as unavailable. Her place is still open for December, but has enough interest that she'll be fine.

Using Airbnb absolutely reduces the friction for these short term stays. If a listing is dishonest, we'll drop it like it's hot. If your host bails on you, we'll find you a new place to stay. SO, sam lessin - Despite having a new lease, don't give up on variable cost living! -Chris

ccollins··on Ask HN: What's in your .vimrc file?
Sorry about how long this is!! This is the culmination of about 1.5 years using VIM as my exclusive text editor for web development. When I started I was using PHP and now I'm using Ruby on Rails. If you have any general questions about VIM, specific questions about my .vimrc, or anything related, ask in the comments and I'll try to answer:

set fo=tcqln ic nohls nu sc scs sm tm=200 wim=longest,list nonumber

let g:explDetailedList=1

" store all of your vim swp files in one place, make sure this directory exists

set backupdir=/Users/{YOUR_USERNAME}/vim_swp

set directory=/Users/{YOUR_USERNAME}/vim_swp

set bs=indent,eol,start

set hlsearch

" Use incremental searching

set incsearch

" Set standard setting for PEAR coding standards

set tabstop=4

set shiftwidth=4

" Auto expand tabs to spaces

set expandtab

" Auto indent after a {

set autoindent

set smartindent

" Linewidth to endless

set textwidth=0

" Do not wrap lines automatically

set wrap

" DO NOT Show line numbers by default

set nonumber

" Jump 5 lines when running out of the screen

set scrolljump=5

" Indicate jump out of the screen when 3 lines before end of the screen

set scrolloff=3

" Repair wired terminal/vim settings

set backspace=start,eol

" This function determines, wether we are on the start of the line text (then tab indents) or

" if we want to try autocompletion

function InsertTabWrapper()

    let col = col('.') - 1

    if !col || getline('.')[col - 1] !~ '\k'

        return "\<tab>"

    else

        return "\<c-p>"

    endif
endfunction

" Remap the tab key to select action with InsertTabWrapper

inoremap <tab> <c-r>=InsertTabWrapper()<cr>

" set list

" set listchars=tab:>-,trail:-

" set listchars=tab:>-,trail:-,eol:$

set ignorecase " caseinsensitive searches

set showmode " always show command or insert mode

set ruler " show line and column information

set showmatch " show matching brackets

set formatoptions=tcqor

set whichwrap=b,s,<,>,[,]

syntax on

" Added by chris

" from http://items.sjbach.com/319/configuring-vim-right

set hidden

set history=1000

nnoremap ' `

nnoremap ` '

set smartcase "is case sensitive only if there's a capital letter

set title

" enables matching if/elseif/else/etc., sort of works

runtime macros/matchit.vim

"from http://blog.learnr.org/post/59098925/configuring-vim-some-mo...

map H ^

map L $

" End Added by chris

let loaded_matchparen = 1

nmap <F6> <ESC>:call LoadSession()<CR>

let s:sessionloaded = 0

function LoadSession()

  source Session.vim

  let s:sessionloaded = 1
endfunction

function SaveSession()

  if s:sessionloaded == 1

    mksession!

  end
endfunction

autocmd VimLeave * call SaveSession() "Reopen your session with 'vim -S Session.vim'

ccollins··on Rent Your Room for Startup School 09
Don't worry, invitations have not gone out yet. We posted this early so hackers in the bay area can list their extra rooms ahead of time.
ccollins··on [dead]
Just an FYI - this is old news from July 29, 2009. YHOO stock tumbled 16% by July 31, but has subsequently recovered to within 1% of its July 29 value.
← PreviousPage 3 of 3