Better HN
topnewbestaskshowjobs
Log inSign up

anilgupta

4 karma · joined Dec 5, 2012 (14y ago) · 4 submissions

Submissions

comment 14y ago · link · parent

Git is full of nice tricks, this is a good collection. One it didn't mention that I use a lot, is manipulating history with human-readable dates:

  git whatchanged --since="yesterday"
  git revert master@{"1 month ago"}

comment 14y ago · link · parent

This seems like a very nice idea, but the API seems a little cumbersome. The first few lines of the example Ruby script:

    socket = Thrift::Socket.new('localhost', 9071)
    transport = Thrift::FramedTransport.new(socket) # Thrift::BufferedTransport.new(socket)
    protocol = Thrift::BinaryProtocol.new(transport)
    spacebase = SpaceBase::Client.new(protocol)
It seems like an awful lot to have to load, just to do some basic insertion/querying.

comment 14y ago · link · parent

Here's a good breakdown of his voting history on technology issues:

http://www.ontheissues.org/TX/Lamar_Smith.htm#Technology

Not a great picture. Voted against network neutrality, sponsored SOPA, although he did vote against taxing Internet access.