HNHacker News
TopNewBestAskShowJobs

hengli

24 karma · joined October 9, 2011

submissionscomments
hengli··on Announcing Backlift: Deployment and Hosting for Backbone.js
This is parse but for backbone instead of mobile?
hengli··on Poll: Do programmers care about FaceBook?
Github and Twitter is where it's at.
hengli··on I want to go to college
I can't imagine trying to learn art and literature without formal higher education. Programming... maybe, but literature? no. But yeah, just because it's mandatory for literature doesn't mean it's mandatory for programming. However there's a distinction between programming and CS.
hengli··on PhantomJS 1.5 released (headless WebKit with JavaScript API)
I need to do some web crawling, how does this compare to jsdom on node.js? I'm using node.js of course.
hengli··on "Lighten up"
While subtle discrimination is really bad, how does she get from low cut dress to slut? That's surely something she came up with herself and nothing like that the guy intended. The guy certainly doesn't want her to wrap herself up in sweaters, why does she feel like that's how she should respond?

I feel like there's a huge gulf between second and third wave feminists. Modern ones would find the above comment empowering, you only react in this way if you've been brought up in a society and culture that demeans female sexuality and teaches you that low cut dresses implies slutiness and so on.

hengli··on Real-Name Registration Threatens the Lively World of China’s Microblogs
Korea has this already, I believe?
hengli··on After 244 Years, Encyclopaedia Britannica Stops the Presses
http://www.britannica.com/EBchecked/topic/1493458/Pokemon
hengli··on Defining Property
Probably some kind of super DRM. Think OnLive or the new Diablo 3 where you need to be on the internet to play.

Obviously music cannot follow this model, meaning sounds themselves (in the context of the essay sounds are not so different from smells) will become un-ownable and the only thing left having any value will be live performances. Artists could still make a good living if they are any good at it. It would be the same as what we had a few hundred years ago before mass media, and the music industry would transform from a creative industry into a service industry.

Of course this is just my impression of what pg means, I don't want to put words into his mouth.

hengli··on AtomizeJS: A library for writing distributed programs in the browser
But if we're doing that will that really be that different from current client-server implementations?
hengli··on Mozilla's Open Badge Project
This is going to be more of a pain in the ass than Vista's Security popup or whatever it's called. It'll be the #1 way to make users hate using your application, I assure you.

Badges need to enhance the application not interrupt it. I have never seen a badge application pause the application to award you with the badge. The entire concept is pretty nuts. It's a good idea, such a shame about the implementation.

Mozilla can easily provide an interface to delete badges you don't want, or ban applications that spam you from the badge system. The whole threat model idea is just self-sabotage.

hengli··on Mozilla's Open Badge Project
"Threat Model

The reason we're even presenting the user with a dialog is because we want to prevent badge spamming, whereby third-party issuers spam a user's backpack with badges that they don't want. Consequently, we need the backpack to ask for the user's consent. This will be accomplished via an iframe embedded in the issuer's page.

The only sensitive information that a user needs to enter in this flow is login credentials. Since authentication is done via BrowserID, which opens in a pop-up window, the consequences of spoof attacks are minimal–so long as the user knows to look at domain names in their address bar and BrowserID's UI."

I was really interested until I got to this part. Asking the user for permission each time I want to award a badge? Complete fail. Mozilla doesn't get UI.

hengli··on Kim Dotcom’s first TV interview: ‘I’m no piracy king’
You don't need a guarantee, Megaupload is already passing the buck to the content provider who requested the takedown. Megaupload has a TOS to protect them in the event that they takedown a legitimate file.

I estimate the chance of a legitimate file being deleted by this process at 1% or less.

hengli··on Kim Dotcom’s first TV interview: ‘I’m no piracy king’
Because it's not going to be the same file as Batman.Haxxors.Xvid
hengli··on Kim Dotcom’s first TV interview: ‘I’m no piracy king’
Notice that when asked about the content provider's direct delete access he was very careful to say that he would remove any link they requested.

I'm sorry, but there's only 1 reason why you would remove a link to an infringing file but not the actual file. Aiding piracy.

hengli··on Gamers Launch Harassment Campaign Against BioWare Writer
I haven't played video games in a long time. Exactly as that writer says I find combat dreadfully dull. I wouldn't play any bioware games unless a no-combat mode is possible. But there is a genre of entertainment that's perfect for me. It's called Visual Novels. It combines all the best parts of multiple media with the interactivity of gaming. A popular visual novel you might've heard of is Phoenix Wright Ace Attorney. There's a ton more in that genre.

Here's a HTML5 example:

http://visualnoveldai.com/visualnovels/narcissu

hengli··on WebSockets versus REST?
http://stackoverflow.com/questions/6806263/websocket-api-to-...

One of the main practical problems is that websockets take a second or 2 to start up, clearly too slow.

hengli··on How to build the best of breed web apps
Gah, I want to read the contents of this book but the design is so terrible.
hengli··on Inbound.org: Community-curated Marketing News
Maybe something like this? Just a few minutes in developer tools.

http://cl.ly/1p1C0t0E3A0H400L293J

hengli··on Breastfeeding women protest outside Facebook offices
This is not a new development. People have been protesting corporations for a long time.
hengli··on Infrastructure at 99designs
I'm looking at the case studies of completed designs. They seem fairly unsatisfactory to me.
hengli··on Testing Socket.IO With Mocha, Should.js and Socket.IO Client
The visionmedia stack. Can't live without him.
hengli··on When She Codes, The Revolution’s Coming
The first thing my mom said when I showed her StarCraft was, "but why do you want to kill the aliens, why can't you be friends with the aliens."

That's the kind of game we need.

hengli··on Useful HTML5 Frameworks, Template Generators and Tools
I'm having difficulty believing this article got to the front page legitimately.
hengli··on A Depressive Journey With MongoDB
You opened a new connection for every request? Shouldn't you have just 1 connection with all the queries going through that connection.
hengli··on "Ender's Game" movie happening
I read this book when I was in 6th grade. I liked it a little. By 7th grade I thought it was lame (I read all the sequels up to Shadow of the Hegemon). I now think it's fairly terrible sci-fi. Anime (I understand that's a very broad stroke) is much better.
hengli··on Case study: How & why to build consumer apps with Node.js
I'm not the parent, but I have a similar story. I know numerous drupal people who are now doing node.js work. There is a great desire to make a 'drupal for node.js'. Hasn't quite been accomplished yet, but I know many people who have something that might amount to smallcore for node. I know I do. It's very difficult to actually publish usable code though.
hengli··on Case study: How & why to build consumer apps with Node.js
Exactly the same move here. We created ~2 dozen drupal sites and went to node.js in early 2011. There was about 4-5 months of learning curve, where we almost went back to drupal. The low level of abstraction in node.js resulted in some loss of productivity during that time. But over that time we stitched together sufficient little pieces of CMS capability that we have now fully recovered. And the benefits of working with node.js and javascript over php is pretty huge.

Our only regret now is not having moved to node.js sooner.