clvv's comments

clvv | 13 years ago | on: The Fay Programming Language

It is always better to have alternatives. Being self-hosting and compiling to a widely-used language like javascript is definitely a plus. Another useful case is that an interactive "Try Fay" page can be setup (like "Try CoffeeScript" page).

clvv | 13 years ago | on: The Fay Programming Language

I wonder if there're any plans to make it self-hosting. It would be more appealing if it can run in browsers and node like CoffeeScript.

clvv | 13 years ago | on: Why Do We Wear Pants? Horses.

What about Native American cultures? They had not seen horses until the Europeans arrived, but they certainly had pants.

clvv | 14 years ago | on: Codestre.am: streaming your code to the masses

Here is a quick-and-hackish way to stream / broadcast your terminal (http://www.commandlinefu.com/commands/view/6788/):

    script -qf | tee >(nc -l -p 5000) >(nc -l -p 5001) >(nc -l -p 5002)
The client can then run `nc your_ip port` to watch your terminal live.

Also, I once wrote a node.js script that broadcasts recorded terminal sessions. To see a demo:

    nc wei23.net 5000
Code is on Github: https://github.com/clvv/scriptbroadcast

clvv | 14 years ago | on: Android device as dev machine

The problem is the lack of an efficient input method. I personally haven't come across any good soft full keyboard. And special keys won't work on bluetooth keyboards on old Android versions. I personally do not have a ICS device yet, but I think it's definitely possible to develope on ICS if the input problem is solved.

clvv | 14 years ago | on: Introduction to Unix shell

> It's a near certainty that a bash interpreter will be available on a Unix system; bash has become the JVM of the Unix world.

Don't assume this if you want your shell scripts to be portable. Follow posix standard instead.

clvv | 14 years ago | on: HP's touchpad was bound to be a flop

I agree that WebOS has a good ambition. But maybe that they should have updated their software stack more often. If you look at the software versions, such as Webkit, V8, node, you find that their collection of tools are heavily outdated. That's completely against the nowaday web standard of fast updating.

clvv | 14 years ago | on: Some Asians' college strategy: Don't check 'Asian'

An asian high school senior here. I'm currently in the process of applying to colleges. In most college applications, demographics are listed under the section where they say the information you provide won't hurt your change of getting in. I have not and will not lie about my race on any of the applications. I understand that, statistically, it will hurt my chance of getting into a top-tier college, considering I don't have perfect SAT score and GPA. But I believe that the admission officers would be wise enough to evaluate a person as a whole instead of just puting "tags" on him/her.

clvv | 14 years ago | on: Ask HN: Any good Macbook Air alternatives?

I've been using HP dm1z for half a year now. It's a pretty good portable laptop with good battery life. Although in terms of computing power it won't compare to the airs. But at $400 it is a pretty good MacBook air alternative.

clvv | 15 years ago | on: Intel predicts 10GHz chips by 2011 (from 2000)

I believe the reason is memory latency, and the sequential nature of CPUs. http://en.wikipedia.org/wiki/SDRAM_latency

I'm no expert on this subject but I think Moore's Law is more or less still true, as we are getting more and more cores. Note that Moore's law never stated that clock speed doubles every 18 months. In fact, more transistor can cause a decrease in clock speed because of more gate delays.

http://en.wikipedia.org/wiki/Gate_delay http://en.wikipedia.org/wiki/Cpu#Clock_rate

Please correct me if I'm wrong.

page 1