Showing posts with label misc. Show all posts
Showing posts with label misc. Show all posts

Tuesday, June 9, 2009

Get Chrome Work in Arch Linux

Abstract: several steps to get chrome working on Arch linux


  • Google only provides deb pkg officially, damn...

  • download the deb pkg from:
    http://www.google.com/chrome/intl/en/eula_dev.html?dl=unstable_i386_deb

  • unpack, copy everything in opt to /opt

  • mkdir lib32 in /opt/google/chrome, and make symbol links as:
    http://code.google.com/p/chromium/issues/detail?id=13425

  • enjoy chrome...though I can't input Chinese in its linux version...wtf...

Update Jun 13, 2010: Now chromium is in the official repo, and if you'd like to use Google Chrome(beta), it's in the AUR.

Thursday, May 14, 2009

EE in side?

Well I promised that I will blog about technique-related stuffs in English, but that is NOT always easy, especially when I want to talk about something not exactly technical… So let me try ;)

Today I helped Emma understand the confusing chip manual from TI, which is actually quite ordinary for a guy who was majored in EE – like me ;) Computers, cellphones, PDA’s and all lovely electronic gadgets are just chips connected on PCB in my eyes, and all programs to me are just bit streams flowing on the binary circuit… Parallelism has never be something hard for me since all the parts on a circuit should be working simultaneously (though some of the chips can be disabled to save energy or for some other reason…)

I do find some differences between me and those ‘genuine CS’ guys XD – What occurs to me when I meet difficulty in my experiments is to build a ‘lab-made’ hardware environments of my own instead of buying from some vendor; CS people say that this CPU features loading 8 instructions a time, while I say this CPU could work better with block-reading storage devices since reading multiple continuously stored instructions at a time is more efficient...

Currently I’m working on GCC and studying machine learning and data mining techniques, which are all interesting, but sometimes I do miss those days with FPGA and various chips and I’m still dreaming of building my CPU (perhaps with FPGA) which implements my instruction set, designing a circuit to support it, and finally writing a kernel, a compiler and several applications to form a minimal environment in my programming language for it. I don't believe this will be of any academic significance... but it really sounds INTERESTING~

Sunday, May 10, 2009

Tux Drawing

I'm not sure whether is a good idea to put it here, anyway, I think Tux is technique-related...

Done in OpenCavas(Maybe I should use Linux and GIMP to do this, but I really don't like GIMP)... This took me several minutes after a pencil sketch on real paper.

Monday, May 4, 2009

How many lines does it take to learn a new language?

It seems to be impossible for me to learn a new programing language by reading books without practice, so the question in the title occurs to me – how many lines does it take to learn a language?

The number obviously depends on many factors: whether it is the first programming language to me, if I have learned a language with similar grammar/design before, the size of the standard library… and a lot!

And it’s even harder to define when I should say I have learned a programming language… Having been programming in C for years, I still check the standard library now and then :(

Maybe I should define a metric of the familiarity of a programming language, ask all my friends in this trade to help me collect data, and take some statistical approach to obtain a equation of lines needed to practice a language... Hmm, a lot work to answer this simple question, isn't it XD

Saturday, March 21, 2009

My Score Summary as a Nerd…

I came accross this quiz (nerd quiz) when I was browsing my RSS feeds -____-b

Overall, you scored as follows:




10% scored higher (more nerdy),
1% scored the same, and
89% scored lower (less nerdy).

What does this mean? Your nerdiness is:
High-Level Nerd. You are definitely MIT material, apply now!!!.