HNHacker News
TopNewBestAskShowJobs

lightblade

232 karma · joined April 25, 2011

https://ming.codes
submissionscomments
lightblade··on Ask HN: Best over-ear headphones 2015
Lots of companies just updated their line up last week at CES. You should do a round of search on "headphones CES 2015".

Bose QC25 has best noise cancellation. What you can do is wear a good sounding earbud inside it so you can get best of both worlds.

Sennheiser updated their Momentum with Bluetooth, this is actually the one I want to get.

Philips released a MFi headphones with noise canceling powered by your iPhone (so the headphone itself is super light)

Bang and Olufson released BeoPlay H8 which is their premium line of Bluetooth headphones. It's priced the same as Momentum Wireless, but offered only as on-ear option where Momentum can be both on-ear and over-ear.

lightblade··on Why does this Threejs link give me a Blue Screen of Death on iOS?
I had instances of webGL crashing OSX, and this was independent of browser. It crashes whethers it Safari or Chrome.
lightblade··on Ask HN: Best way to sync data with JavaScript?
Yes, but my problem with meteor is that it's a whole package rather than pieces that I can just take what I need.
lightblade··on Ask HN: Best way to sync data with JavaScript?
Well this is my opinion.

I always thought CouchDB offers a great RESTful interface to communicate with their database. CouchDB also offers great multi-master replication, this also includes your local data.

There is a JavaScript implementation of CouchDB's data sync called PouchDB. I always thought it would be a great idea to just use CouchDB as your API layer. Anything your backend needs to do goes through Couch first and get synced to the client through Pouch.

I haven't experimented on the idea yet, but maybe you can take it further.

lightblade··on Software engineering interview questions
True, but I didn't expect someone post it on Hacker News. It's supposed to be a secret weapon. Not so secret anymore.
lightblade··on AngularJS Performance in Large Applications
Large should be at least 80k lines of code, preferably more than 100k.

Another metric I go by is there is no one on team have overlapping knowledge of the code base. In other words, no other teammate is suited to review your code because they have no context of it.

lightblade··on NASA: We're sending humans to Mars
Come to think of it, America was/is that highly advanced trading partner colony.

The exploration of this side of Earth had its own share of danger and uncertainty. Remember, people back then think the Earth was flat. Traveling far enough is doomed to drop off the edge.

lightblade··on Calling an Array of Functions in JavaScript
Is this better?

> _.invoke(callbacks, 'call')

Short and concise, but needs underscore dependency.

lightblade··on Class-based programming in JavaScript with inheritance
I think we needed something that makes JavaScript's prototype inheritance more stand out.
lightblade··on Facebook's surprise on developer console
I guess self-XSS also works with bookmarklet?
lightblade··on Pantelligent: Intelligent Pan – Cook Everything Perfectly (YC W13)
Yup, preferably an separable induction heating surface that can be paired with the pan to intelligently control the temperature.

Separate so that you can flip that pancake/burger.

lightblade··on Japan's levitating maglev train reaches 500km/h
Ugh! With all these down voting, it makes it hard for low karma people to voice opinion. I'll just shut up >:(
lightblade··on Japan's levitating maglev train reaches 500km/h
> ..production with this train in 10 years

Another 10 years? That means it goes into operation in 2024? That's 20 years after the Chinese built one.

lightblade··on Japan's levitating maglev train reaches 500km/h
Perhaps I should add that the maglev train I've ride at Shanghai was already that fast, and it was in commercial operation since 2004. That was 10 years ago. So no, I don't see how this is news.
lightblade··on The road to Ember 2.0 RFC
No mention of how htmlbars will affect famo.us integration?
lightblade··on Rails JS frameworks: Ember.js vs. AngularJS
Not only it is endorsed, it is Ember. The project will get lifted to Ember in github by the time Ember 2 comes around
lightblade··on Why Not Eat Octopus?
This reminds me of HG Well's Time Machine where it explored the theme of one human species eating another human species.
lightblade··on With Dry Taps and Toilets, California Drought Turns Desperate
Does America have any state or federal infrastructure project that transfer water from water rich region to the water poor region? Like this one,

http://en.wikipedia.org/wiki/South–North_Water_Transfer_Proj...

lightblade··on Jack Ma Says: If You’re Poor at 35, You Deserve It
I'll take a stab at this.

A person living in poverty and lack empathy may turn to a life of crime to get rich quickly. Selling drugs, burglary, or prostitution are all path to riches, however illegal or unethical it may be.

Those that go through prostitution may further advance their career by collect their clients information and sell it for money.

So yes, lacking empathy can definitely unlock more paths.

lightblade··on Dyson announces a robot vacuum cleaner
Judging from the brush, it looks like it is designed to clean carpet. Roomba had been designing their robots to clean all types of flooring. I don't think Dyson will be a big threat to Roomba.
lightblade··on Show HN: Give 7 billion people a physical address
True, but does those feature phones have GPS?
lightblade··on Microsoft gears up to mass produce large-screen touch displays
Don't be too sure about that. I would much rather buy a touch tv than ultra HDTV for my livingroom.
lightblade··on React vs. Ember – EmberNYC slides
I realized some time ago that the run loop inside Ember (aka Backburner) is really similar to Flux.

In Flux, everything is powered by the dispatcher. Changes to the store goes through dispatcher. All the stores changes that react to another store change needs to settle before re-rendering. This is almost exactly how to run loop works. The run loop is the dispatcher.

So in theory, we can just use Backburner to power a Flux app.

lightblade··on BBC begins kids coding push with Bitesize and TV shows
Oh, but we have proper ethics training for using cutlery. It's called table manner.

> Table manners are the rules of etiquette used while eating, which may also include the appropriate use of utensils.

> - http://en.wikipedia.org/wiki/Table_manners

Now the stabbing part, there are many court cases of these. I can't cite specifics, but I'm sure you can find them.

lightblade··on BBC begins kids coding push with Bitesize and TV shows
I don't think kids should learn to code at such early age, not without proper ethics training. Programming gives you a lot of power. The power to do both good and evil. Children just don't have that kind of judgement.

If you teach your kids to learn to code and they end up hacking the bank and got caught, who is going to take responsibility? Does the kid get tried as an adult or juvenile?

lightblade··on How do dolphins sleep without drowning? [video]
I wonder if human can be trained to do this. Certainly sounds like something coming out of sci-fi or martial art movie.
lightblade··on MIT study finds that human subjects prefer when robots give the orders
We let robots give order all the time. The traffic light is one example.
lightblade··on Choosing the Right JavaScript Framework
I develop with Sencha frameworks full time. The learning curve is on the same level as Ember, while not easy but still manageable, unlike many people want you to believe.

ExtJS component life cycle changed a lot form 4.0 to 4.2 and they refactored the code to be more like Sencha Touch. I guess this is the preamble to ExtJS 5, and it confuses a lot of people.

Sencha delivers on cross browser compatibility, since their layouts are all done by JavaScript. Trying to add CSS layout on top of that will break a lot of things. This is the so called "fighting the framework" people in Sencha community calls it. ExtJS 5 lets you develop desktop/touch hybrid apps for touch laptops. With smooth scrolling driven by touch event and transition, they work on Android as well (where it doesn't have WebKit overflow scroll touch)

lightblade··on Ask HN: Current best practice for drag-and-drop?
I was working on a blog post on implementing drag and drop using functional reactive programming (FRP) with bacon.js. Your question just pushed me to finish it :)

Here it is.

http://www.codingupfengshui.io/functional-reactive-programmi...

lightblade··on Ask HN: How much should a bootstrapped startup ask for an acquihire?
I would say enough to buy a house, which is in the range of 750k-1.5m. This range would go up as the housing price goes up.
← PreviousPage 3 of 9Next →