HN user

instcode

74 karma
Posts1
Comments27
View on HN

I don't think creating a new language just to compile the source to Javascript is a good move, especially when Javascript is being under heavily supervised & supported by a huge web development community. If Javascript isn't that expressive or weird, fine, why don't we just fix it or find another replacement? I find myself is comfortable to work on a language that's close to the platform than fancy languages that try to hide/fix trivial problems and take away other good aspects of the language. There are enough languages to learn already and CoffeeScript is probably fade away once these[1] kind[2] of stuffs[3] become stronger.

[1] http://www.ecmascript.org/

[2] http://www.mascaraengine.com/

[3] http://code.google.com/p/traceur-compiler/

The HTML5 test 15 years ago

The Firefox Mobile (Android) scores a necessary point (235+9 bonus) to be the leader.

I think a user content generated community where huge number of people participate needs an explicit feedback system. We all want to learn from the good sources and filter out what aren't worthy and we need a way to distinguish them. If you think the point rating system isn't good, it doesn't necessarily mean we don't need it.

Here is my suggestion: How about we use the absolute points to rank a comment in a different scale, such as if a comment collects enough a number of point, it will be ranked as 1 star, then 2 stars... and so on. In this way of rating, we not only get what we want but also not to follow "group thinking" as someone said in this thread.

I'm also using Minefield 4.0b8pre as my primary browser and always look for new "nightly" update with hoping it solves the annoying bug: location bar doesn't synchronize with the displaying page/tab. Other than that, FF 4 has a very nice looking UI and it's fast.

Ewww, You Use PHP? 16 years ago

Ha, if you are thinking that way, I would suggest VB.NET or C# instead. Why? I remember the first time I was creating an MFC project using Project Wizard, I felt like I'm a fool looking at a bunch of auto-generated text & having no clue what it is about. And once again, I was in the same situation when I was using VS.NET to generate code for my first ASP.NET web app. But I still completed that webapp without even knowing what code is for. Does that make VB.NET/C# community more stupid than Java? Does that mean C#/VB.NET should be the ugly & stupid thing other than Java? So, you should better have another way to explain that.

Ewww, You Use PHP? 16 years ago

I hate to say this and I know I will be downvoted by "hackers" but I really don't understand why people (who know limited or nothing about Java & blindly follow the norm) always pick the word "ugly", "stupid" for Java? What superior of PHP to Java when with Java I can program from a stand-alone app to webapp, from client side to server side, from desktop to mobile app?... If you are a coder, you must pick a language & a standard lib to be master, and I would say that picking a language that only sticks to a very specific application platform (web-only, desktop-only...) is a very bad choice. I started from C/C++ and moved to Java and I feel very comfortable to use/study Python, C#, Scala & Ruby.. but PHP, get off, never & never ever!

One last thing (to convince more PHP people to downvote me) is, if you are spending most of your time on PHP or a web-only-language, you will never see the beauty of asynchronous I/O, socket programming, threading, hooking...

Update: When I mentioned "web-only-language", I was thinking of people who use & only use Ruby with RoR for web apps. I don't know how many developers who can't distinguish between Ruby & RoR but I guess it's not a small number. And of course, what I said is toward to those who aren't willing to learn new things. They always think about web & only web.

It can be explained by the fact that Opera isn't the main rivals of Firefox in the browser market.

Edit: http://arewefastyet.com/faq.html

  The team's explanation: Right now, the performance tests
  are run on a Mac, which means no IE. Also the tests rely on
  a "shell" JS engine that runs in a command line. It doesn't
  test browsers. We'll change that, eventually.
   Nice, but I prefer C# there as well where you use the var keyword, like this:

     var tickets = new ArrayList<Ticket<ThingYouLove>>();
Actually, JDK7 is better in this case because it helps developer to "program to an interface".

Is McAfee really worthier than Sun? If IBM took a deal with Sun at that high, the Sun would have moved around the earth and Oracle doesn't stand a chance to slur the OS community!

Apple & HTML5 16 years ago

Yes! Why doesn't Apple just let every browser run it and see how superior Safari is in term of HTML5 support? The answer is: Listen up, people! Download our Safari now! Time to ditch your IE, Opera, FF & Chrome!..

Oh, get a life! How mean you always are, Apple!

Be nice because it hurts Dropbox.

I usually save my working source file every small amount of time (quite often) and every single change would create a history version on Dropbox storage server which I don't need that much. I'm not sure how many versions are kept but it is totally a waste of bandwidth as well as storage. So, pick what & when a folder/file to be synced is one of the most key features that I'm waiting for. Yup, cause it's very useful for live projects in Dropbox folder.

Just like you, many things that are keeping me from switching to Chrome from FF but the biggest one for me, and perhaps lots of FF users out there, is faithfulness. We have known it's a pain (since Chrome’s appearance) but we can bear with it because at least, FF doesn't leave their users behind.

They are working on new Javascript engine which targets to a significant improvement in speed: http://ajaxian.com/archives/mozilla-jagermonkey-method-based...

They are also working on stability and I would bet it will be much better than Chrome (my friend is using Chrome and he reported lots of crashes even though it is designed for "crash free" at beginning). http://www.maximumpc.com/article/news/firefox_implement_outo...

FF is playing catch up on these issues but hopefully, with all other stuffs (Weave, Contact, Account Manager...) that Mozilla is investing in, FF will be the world champion in browser competition market!

Yay! I really love Euclid proof of The infinitude of primes. It is so short, simple & elegant that any starting learner could understand it easily.

http://primes.utm.edu/notes/proofs/infinite/euclids.html

I put it here: Call the primes in our finite list p1, p2, ..., pr. Let P be any common multiple of these primes plus one (for example, P = p1p2...pr+1). Now P is either prime or it is not. If it is prime, then P is a prime that was not in our list. If P is not prime, then it is divisible by some prime, call it p. Notice p can not be any of p1, p2, ..., pr, otherwise p would divide 1, which is impossible. So this prime p is some prime that was not in our original list. Either way, the original list was incomplete.