Better HN
topnewbestaskshowjobs
Log inSign up

marknutter

6,558 karma · joined Oct 7, 2009 (17y ago) · 2,641 submissions

Submissions

comment 11y ago · link · parent

A hobby is just work you like doing. Countless companies have been started as "hobbies". So in that respect, life is about working, so you might as well try to find work you like to do.

comment 11y ago · link · parent

> Notch got lucky.

Lucky that he made a product that millions of people were willing to pay hard cash for? Luck is a funny word, and it can be used to dismiss people's sacrifices and hard work too easily.

If I plunk down 1 dollar to buy a lottery ticket and I win the jackpot, that's very lucky. Sure, I sacrificed a dollar, but that has very little impact on me. The risk is low. If, however, I plunk down a couple million dollars to buy lottery tickets and I win, it's less lucky because my chances of winning are greater and of course my risk is much higher.

In spending his time working on Minecraft when he could have been doing any other number of things he was putting the equivalent of the amount of money he could make working for someone else down on the table as stakes. Sure, there's an element of luck, but it doesn't mean he doesn't deserve to reap the benefits of his risk having paid off.

comment 11y ago · link · parent

> It's the fact that you can reason about your app as if you are re-rendering the entire application with every change in state. That way you never have to think about mutating the DOM, and you have less places to screw up.

This is really no different than Angular's value proposition - everything is bound to the DOM via the scope and re-renders automatically with every change in state.

comment 11y ago · link · parent

A better service at a cheaper rate.

comment 11y ago · link · parent

I believe Chris Rock said it best: "A man's only faithful as his options". Engineering is a male dominated field so the opportunity to meet someone you might want to cheat with is far lower than for bartenders or dance instructors. Case close, as far as I'm concerned, let's not let this go to our heads.

comment 11y ago · link · parent

Is there a reason why typing is so slow? It seems like it's really chugging away on something as I type. I would guess there's a 500ms or so delay between hitting a key and it ending up on the notepad. Same goes for clicking to change the cursor placement.

comment 11y ago · link · parent

> If you're forced to split out your view, your template, your stylesheet, your controller, your model, your business logic, et cetera into separate files you are forced to keep components large.

Why exactly does this force you to keep your components large?

comment 11y ago · link · parent

Would you feel less comfortable without the NSA? Or put another way, are you just cherry-picking the agencies you happen to like in order to make your point?

comment 11y ago · link · parent

Oh, wow, I thought it was some sort of lock screen for the app. There should be a description.

comment 11y ago · link · parent

The "screen security" feature on iOS appears to do nothing. Not exactly confidence inspiring.

comment 11y ago · link · parent

> Tons of tech buzzwords, yet the blog intercepts middle-clicks

They broke the middle-click? Good god, shut it down!

comment 11y ago · link · parent

Uh... like Facebook and Instagram?

comment 11y ago · link · parent

Exactly which part of that thread leads you to believe that "React plays just fine with Web Components". I suggest you watch https://www.youtube.com/watch?v=g0TD0efcwVg which gives a very clear picture of the current state of React/Web Component interaction, including the challenges associated with it.

edit: another good read if you're interested: http://futurice.com/blog/combining-react-flux-and-web-compon...

comment 11y ago · link · parent

> Web Components don't solve the problems React is solving. They are completely different (and sometimes complementary tools).

No, they don't solve the same problem, but that's not what I was suggesting. What Web Components are trying to solve is the problem of sharing code, and if React doesn't play nicely with Web Components it's going to make it very difficult for React developers to partake in that sharing. Contrast that with the Angular team who are drastically overhauling their entire framework in order to be compatible with Web Components. I prefer that strategy over the long term (Ember is also actively preparing for Web Components).

> I can't speak for Facebook but I think you're missing the point of React Native. It's not a solution to run webapps on native platforms.

I am not missing the point. I get that it's goal isn't to allow web apps to run inside native wrappers.

> React Native is a solution to write native UI code with declarative paradigm. That it runs in JS is an implementation detail. If you look at it from that point of view, hybrid vs native doesn't even come into equation. "Native" is the original requirement here, as far as I understand it. Unless you propose to not write native apps at all.

I'm proposing it's better to either choose to write native apps using native languages and SDKs, or write them as web apps and embed them inside native wrappers like Reapp is doing. Hybrid vs. native does come into the equation because it's worth pointing out the pros and cons of every approach to mobile app development.

People are frothing at the mouth in response to React Native without fully understanding the tradeoffs inherit with that approach, so it's worth properly setting expectations in response to overwhelming hype. Appcelerator has been around for years and solves the same problem in the same way (minus React's declarative pattern) and it hasn't been a panacea.

comment 11y ago · link · parent

I far prefer the hybrid approach to the js-to-native approach Facebook and Appcelerator are taking. If you go fully native, you get the complete benefit of the SDK, Native API's, and performance that comes along with it. If you go hybrid native/html5 you get the flexibility, productivity, and reusability of js/html/css with the option to write custom native components as needed. With React Native (AFAIK) and Appcelerator, you get some of the benefit of both approaches but nowhere near the full potential of either.

Everything is hidden behind a thick layer of abstraction and you have to trust that things will be wired up properly on the other side of the fence and continue to be wired up properly as native UI components and APIs evolve. The React team has famously stated that they don't believe in "write once read everywhere" and instead are proponents of a "learn once write everywhere" strategy, which is a clever twist on a controversial topic, but ignores the fact that web developers have been practicing "write once read everywhere" for a very long time now and have gotten pretty good at it (fighting with IE over the years tends to sharpen one's senses).

I believe that the negative feedback on their original hybrid mobile app deeply affected Facebook as an organization and as a result they have swung so far in the opposite direction they are in denial about any possibility that the web may be a viable target for mobile experiences. They've gone so far as to abstract away the entire DOM and ignore coming standards like Web Components. To Facebook, the web browser is nothing more than a render target. It's a clever short term hack to get back to the good ol' days of server side templating (like they used to do with PHP) and get around poor browser reflow/repaint performance. But it's a long term bet against the web as an application runtime and it's sad to think what gains we might be seeing toward that dream if Facebook wasn't so opposed to that goal.

comment 11y ago · link · parent

That seems like a pretty simplistic conclusion to make. Do you really think, given the recent embarrassment that was the ACA enrollment website, Intuit is worried the Government will come up with better software to file taxes than they have? It makes more sense to me that Intuit is worried the Government will shut out alternatives once they put their tax filing service online by making it the only way people can e-file, and that it will only be "better" because it will involve further reach of the Government into our personal financial information. I would absolutely spend millions to lobby against that potential outcome if I were them and I'm glad they do. If we have tax reform, I'd rather it be a complete overall of the tax system to make it simpler rather than spend millions allowing the Government fumble around trying to make software that helps people navigate the laughably complex tax system they were responsible for creating in the first place.

comment 11y ago · link · parent

I predict there will be a lot of comments in this thread complaining about this website.

comment 11y ago · link · parent

> For Netflix, the interface can only get in the way.

I would argue that for most apps, the interface can only get in the way - Facebook included.

comment 11y ago · link · parent

The best part of React Native, if it can deliver on its promises, is that it will provide web developers with a toolset they can use that will satisfy customers or product managers who demand perfect native experiences (whether or not it makes business sense to demand it).

I think the poor reviews of Facebook's HTML5 mobile app shook the company to the core and they swung a bit far in the other direction, abandoning the possibility that the web will ever be mobile ready. I think the truth lies somewhere in the middle; no, you can't get native performance from the web, but you can get close. And every year it gets a little closer because phones are getting ridiculously powerful.

All this said, I think Facebook's approach to the platform fragmentation problem is clever and worth checking out, but I'd still bet on HTML5 over the long term.

comment 11y ago · link · parent

The desktop app is HTML5

comment 11y ago · link · parent

Don't overestimate users either. It's very easy to build for other geeks rather than the General public. Netflix apps are almost all built using web technologies and it doesn't seem to bother most users. I think there's been an overemphasis on pixel perfect UI and on UX in general but people don't want nice UI's, they want useful apps.

comment 11y ago · link · parent

There's quite a bit of hyperbole in this talk. Some web apps do in fact come close to native, but to the trained eye of a Facebook software engineer it will feel miles behind. Your average Joe doesn't give a shit, as long as they can use the app. If they did, Facebook's Paper wouldn't have been such a flop.

comment 11y ago · link · parent

What about motorcycles?

comment 11y ago · link · parent

Your bottles keep rolling away?

comment 11y ago · link · parent

It was a bit irritating to see the kid running up to the model of the rocket ship with excitement and no goggles on. Why lie and make it seem like you'll be able to see these "holograms" without the goggles on? Everyone walking around with these big ski goggles strapped to their head seems worse than Google Glass, which is awkward enough as it is.

comment 11y ago · link · parent

A lot of developers, myself included, do not perform well under a microscope. They almost can't even type when someone is watching them, making stupid mistakes and blanking on simple concepts. Luckily, the vast majority of programmers don't have to code under this kind of pressure on a daily basis. I find the most effective way to get a good sense of how someone can code is to give them homework to do that they can bring to the interview and discuss. That way they can take their time, put their best foot forward, and it won't weed out introverts or people with test or social anxiety.

comment 11y ago · link · parent

I'm sure the estimated cost for the Iraq War was significantly less than what it ended up costing. I'm thinking the estimated cost for Obama's community college initiative will far too low as well. In fact, I'm willing to bet community college costs skyrocket over the next few years in response.

comment 11y ago · link · parent

> Not at all, the author praises Backbone

Backbone is as lightweight as a framework can get - to the point where one might call it a library. It's common for people who are anti-framework to embrace smaller frameworks like React and Backbone.

> The learning curve, busted syntax, and performance issues unfortunately ARE specific to Angular, that's the entire point of the article.

But they're really not. Ember has the same learning curve and performance issues that Angular has, and "busted syntax" is completely subjective.

comment 11y ago · link · parent

When you're working on large teams it's no longer your global namespace alone. I've worked on quite a few projects that abused the global namespace and it's very painful to try and recover from.

comment 11y ago · link · parent

He could have replaced the Angular code with Ember code and levied the exact same complaints. Re-read the article and try to figure out which complaints aren't also valid for other large JS frameworks. It's clear he's a libraries > frameworks guy, which is a perfectly valid viewpoint to have, but it's cowardly to frame such a debate as a thoughtful criticism of a specific framework because it won't draw rebuttals from nearly as many people who might otherwise feel the need to chime in.
1
262728
89