Better HN
topnewbestaskshowjobs
Log inSign up

nulltype

738 karma · joined Oct 15, 2013 (13y ago) · 478 submissions

Submissions

comment 11y ago · link · parent

I like the vjeux thing, I think for dynamic sites if we replace static html and css with javascript the world will be a better place.

comment 11y ago · link · parent

This is exactly where I am hoping reactive ui ends up. If you don't want to do 60 times a second you can render only on certain events like network call or mouseover. If you do the rendering in requestAnimationFrame you can batch things easily.

comment 11y ago · link · parent

In the article you say you "Reuse through React instead of CSS" and that you have CSS files for the components and no global CSS classes. Do you mean that the CSS files are applied to the elements as inline styles by react, or just that each component has its own CSS so it's not really "global"?

comment 11y ago · link · parent

Seems like .observe() would fix that polling thing, right?

http://www.html5rocks.com/en/tutorials/es7/observe/

Also you could just re-render whenever any event happens, which is probably when your state changes anyway.

comment 11y ago · link · parent

I've been looking at reactive UI design, and it seems weird to me that React.js has this React.createClass and .setState stuff. It seems like it would be better to let the user manage the state and just re-render whenever the state changes. Am I missing something about how this works that makes those necessary?

comment 11y ago · link · parent

What are the legal consequences of path rewriting? And why would the sane world look down on npm?

comment 11y ago · link · parent

I use specific versions of libraries in my app. If two libraries depend on some third library it's rarely an issue, and when it is an issue I often have to resolve it manually anyway.

Ideally I think each library would have its own internal copy of any dependencies, but there are some issues with doing that at least in go.

comment 11y ago · link · parent

What if it's debug() instead of debug? That could be an expensive function that does a bunch of things to produce the debug output.

comment 11y ago · link · parent

Thanks for the explanation! I'm not sure I personally want to rely on semantic versioning, but if you have a hierarchy of dependencies like that I see how that would be pretty useful.

comment 11y ago · link · parent

One thing I've never been able to figure out about these package management systems: why do you specify a version range, and not just always specify a precise version? I don't like dependencies randomly upgrading themselves, and then you don't need "pub upgrade" or "pubspec.lock".

comment 11y ago · link · parent

While StackOverflow has a number of flaws, it is pretty good for finding things that I'm looking for. I've definitely found posts from the BigQuery team on there answering my BigQuery questions.

As for Google's support plan thing, it might be a little odd that it costs $150 per month, but if you're spending any significant money GCP, it's well worth it. The support response times even at the lowest level are pretty good and they sometimes fix bugs.

Of course, I think if Google employees use GCP internally, it will improve at a much faster rate.

comment 11y ago · link · parent

It's true, if Google wants GCP to be good, they will have to use it themselves. I definitely don't trust public bug reports to fix issues. At least if you have a support plan they are good at responding and sometimes fixing things. There's no way anyone in Google uses URLFetch, which explains why it's so bad.

comment 11y ago · link · parent

urlfetch is the worst, at least MVM will be getting rid of that. I would just use the socket api instead of urlfetch, like I do here: https://code.google.com/p/googleappengine/issues/detail?id=6...

comment 11y ago · link · parent

I like the gcloud-node docs! I remember the oauth stuff being a pain just because oauth is kind of complicated and the terms are weird and there was no guide that just says "go here and click this" you had to just figure that out.

comment 11y ago · link · parent

Even if that were not the case, I doubt the performance of the OS X image pipeline is tuned for non-Apple hardware if it supports it at all.

comment 11y ago · link · parent

Unless of course you had to re-implement most of OS X's graphics framework on Linux, which could take both a lot of time and money.

comment 11y ago · link · parent

http://gdcvault.com/play/1012210/The-Implementation-of-Rewin...

comment 11y ago · link · parent

No I think it just means that we will not hit that level of usage again.

comment 11y ago · link · parent

Salary is only one part of a company's compensation. For instance, in the Buffer case, they do remote working, so some people could find that to be worth quite a bit.

comment 11y ago · link · parent

I think the things we want to conceptually do at least with code are not that complex, but the tools we have are. I don't know how to prove that without actually building better tools.

One example might be that sync is a complex problem, but Dropbox does a pretty good job of creating a simple tool to manage it. So even if source control is inherently complex, perhaps the tools to manage it do not have to be.

To continue with your utensil example, perhaps we should have one version control system for games, another for individuals and another for small teams rather than trying to make one tool do all those things.

comment 11y ago · link · parent

Clearly.

comment 11y ago · link · parent

My question would be along the lines of Alan Kay: is it really complex or did we just make it complicated?

comment 11y ago · link · parent

Oh, do you check in the rewritten packages into git?

comment 11y ago · link · parent

What is horrible about managing it? The biggest problem I encountered with vendoring is getting rid of git submodules.

comment 11y ago · link · parent

I'm guessing it remains firmly off the table.

comment 11y ago · link · parent

Could health care payments be tax deductible?

comment 11y ago · link · parent

Could employees of different companies form a group that could get better rates? One of the problems with 401ks is that they are still related to your employer.
1
111213
16