Updates from September, 2008 Toggle Comment Threads | Keyboard Shortcuts

  • Kevin Chiu 6:38 am on September 28, 2008 Permalink | Reply
    Tags: , ,   

    Installing Erlang on Leopard 

    When I tried to install Erlang through Macports,

    sudo port install erlang

    I got this error:

    Error: The following dependencies failed to build: tk tcl
    Error: Status 1 encountered during processing.

    To fix it, I needed to move aside the iPhone SDK include files during the installation.

    sudo mv /usr/local/include /usr/local/include.bak; sudo port install erlang; sudo mv /usr/local/include.bak /usr/local/include

     
  • Kevin Chiu 1:57 am on September 25, 2008 Permalink | Reply
    Tags: ,   

    Google Docs should take a hint from Git 

    Problem:
    You want to revert a change you made to your document without losing more recent changes.

    Solution:
    Just like a wiki, Google Docs has a revision history. This is like having a magical infinite undo that takes your document back to nearly any state that it was at in the past.

    Problem:
    Unfortunately, reverting to an older revision causes you to lose any changes you made after doing that old revision. Optimally, you’d be able to undo something in the past without losing everything you’ve done since then.

    Solution?
    Well, using Git, you can do this easily. Every revision is tagged with a unique identifier, in this case, a SHA1 hash. Calling git revert [hash] reverts ONLY that particular revision, while keeping any work you’ve done since that revision intact.

     
    • JR 9:31 pm on September 25, 2008 Permalink

      Cool Idea… I think someone just mentioned this exact idea to me at a… oh… wait… that was you ;)
      hmmmm…
      Thanks for posting!

  • Kevin Chiu 7:35 pm on September 22, 2008 Permalink | Reply
    Tags: heroes, sylar   

    “It’s Sylar!” 

    Taken in my entrepreneurship class: “It’s Sylar!”

     
    • Kevin Chiu 1:59 am on September 25, 2008 Permalink

      When I told him he looked like Sylar from Heroes, he denied everything.

      Exactly what Sylar would do. Need to watch my brain.

    • djslash 2:07 am on December 8, 2009 Permalink

      he’s as cute as Sylar but definitly NOT Sylar :-)

  • Kevin Chiu 4:55 am on September 21, 2008 Permalink | Reply
    Tags: icanhascheezburger   

    Trying out Posterous for the first time… 

    Hope this works!

    Posted by email from kevinchiu’s posterous

     
  • Kevin Chiu 2:45 am on September 19, 2008 Permalink | Reply  

    Google Chrome a Success 

    Google Chrome was created to make the web a better place. A short while ago Squirrel Fish Extreme, a Javascript engine even faster than Google’s freshly minted V8, landed on the WebKit repo. Google has set off a chain reaction, spurring the race to create the next generation of browsers.

    From Summer of JavaScriptCore:

    The three most competitive JavaScript engines are the SquirrelFish Extreme engine in WebKit, the V8 engine in Google’s Chrome browser, and the TraceMonkey engine that is slated to appear in Firefox 3.1. I used the latest development version of each, from the respective SVN or Mercurial repository. In particular, the version of V8 used here is the bleeding-edge branch, which is a bit faster than the version that shipped with Chrome. Here are some SunSpider numbers on my 2.16 GHz MacBook Pro, using 50 runs with a 95% confidence interval of +/- 0.1%:

    SquirrelFish Extreme: 943.3 ms
    V8: 1280.6 ms
    TraceMonkey: 1464.6 ms

     
    • movie fan 5:11 pm on September 20, 2008 Permalink

      it's funny, the more i use Chrome (for windows), the more unstable it seems to get… crashes a lot more, can't handle sites with flash, hangs every time i close a tab… all that to say, i'm switching back to Firefox

    • Kevin Chiu 10:11 pm on September 20, 2008 Permalink

      My main browser is actually Firefox 3.0. I can't really use a browser without Adblock Plus. Also, I'm primarily a Mac user and Chrome isn't out for Mac.

      I don't think Google is trying to take over the world with Chrome, just give the other browsers a kick in the pants in terms of technology. In that perspective, I think they've done well.

c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel