854 karma · joined Nov 27, 2010 (16y ago) · 355 submissions
comment 11y ago · link · parent
I feel like GraphQL can be something great and the pain points they identify with typical APIs are stuff I've felt but GraphQL just feels incomplete to me. I feel they're focusing too much on what GraphQL looks like on the client-side and not enough what it looks like on the server-side. The biggest question I have is what's going to process the GraphQL query on the server to fetch the data from the actual datastore? What does that look like when working with typical datastore such as a SQL-based database? The closest thing I've seen that answered that question was this blog post[0] which doesn't look very appealing if that's what the server-side implementation is going to look like. The blog post's implementation looks like a more complicated version of my own APIs which are usually a series of custom endpoints based on my client's needs. I don't see the big deal right now. Maybe next year...
[0] https://medium.com/@clayallsopp/your-first-graphql-server-3c...
comment 11y ago · link · parent
When I first transferred to that school I was terrible at it but I did get pretty good at it later on. I think it did a lot for my arithmetic skills.
comment 11y ago · link · parent
I don't know why anyone would want One True JS framework. Many of them provide different things. Angular has the kitchen-sink approach handling everything from templating, model-binding, routing and ajax requests and on the other end of the spectrum there are small libraries that do one thing well and encourage their users to adopt other libraries to do other stuff. Choice is a good thing.
13.
Ask HN: Why would people trust their banking credentials to a service like Mint?
49 points · by xtrumanx · 11y ago · 57 comments
comment 11y ago · link · parent
> To that end the target audience is not the client developer, but those who have or are actively interested in building their own GraphQL implementations and tools.
I guess I'm kind of happy that FB are releasing something regarding GraphQL since introducing it in February. I just thought they got busy with React Native and forgot about everything else they hyped up back in February.
comment 11y ago · link · parent
That sounds like a classic false dichotomy. How about less plea bargaining and more resources for the courts so they don't have require massive delays to deliver justice.
I doubt you'd feel the current system was just if you experienced what Browder went through. How about a little empathy.
comment 11y ago · link · parent
Odd, I was sure I had a lobste.rs account but it says my username is invalid. Do you have an invite available?
comment 11y ago · link · parent
In my React-based apps, I typically include react-router for routing and request or superagent for ajax calls. You can also include a Flux-inspired library if you're into that sort of thing.
comment 11y ago · link · parent
Since Clojurescript compiles down to JS, wouldn't it be possible to use Immutable.js and a slightly different app design (a single Flux Store for the entire app) to get the same benefit of using React with Clojurescript?
comment 11y ago · link · parent
Here it is: https://news.ycombinator.com/item?id=9598211
comment 11y ago · link · parent
Not trying to lure into an argument you're trying to avoid but I'm just curious; what is the religious argument about regarding port knocking? I know about both sides to tabs/spaces and vim/emacs but am curious what people have against port knocking.
comment 11y ago · link · parent
I learned about deferred a few years ago and kinda stuck with it. It's all over my code base and he didn't really justify why I should go about changing it. The only thing I can reason I can think of is using his recommendation follows the ES6 spec which doesn't matter to me that much for now.
comment 11y ago · link · parent
If you can capture that traffic, what I would like to know is if its encrypted. If it ain't, someone could do a lot of damage with this thing.