News for hackers. Stuff that matters.

TheMakeA

Re:It's a Tesla on Tuesday April 05, 2016 @05:20PM (#11434586)
> Unfortunately now those 250K people who reserved a Model 3 could be driving a EV right now and making an impact instead of waiting for 3 more years.

This is a false dichotomy. As an anecdote, I started a 3 year lease on an EV two weeks before the Model 3 was announced and still put in a reservation.

Who cares if I can get a Volt for 33k right now? It still burns dinosaurs and has a terrible electric range.

Tesla is the press "darling" because it's doing something that the other manufactures aren't: Good looking, All Electric, High Range, Affordable Price. These are things people clearly want.

Every other vehicle sacrifices at least one of those.

Re:Preact, a fast 3k React alternative on Thursday January 28, 2016 @11:43AM (#10989228)
PropType checking is compiled out of the production version of React.
Does anyone know if Docker Toolbox supports NFS (or something faster than VBox Shared Folders) yet?
Re:Running Swift code on Android on Wednesday October 14, 2015 @03:13PM (#10388705)
> Yep, it is easier to make languages target DEX than suffer the pain of the NDK.

So what does this look like in practice? Genuinely curious :-)

Re:The Personal Airplane Is Taking Off on Sunday October 11, 2015 @02:23AM (#10368293)
So you're saying it costs as much as a down payment on a house in the Bay Area to own my own airplane?

I'd rather do that and then live nearly anywhere in the 400 mile range that it provides, and probably be happier.

Re:GraphQL: A data query language on Tuesday September 15, 2015 @10:42AM (#10220888)
> I'd have to disagree in that it's not a query language, there is definitely ability to query different parts of the data

For sure. If I could still edit the post, I would probably change it to be something closer to "it's not really a general purpose query language like the name might imply"

It's definitely a query language, but folks start looking for the sorting/filtering/etc and get confused.

Re:GraphQL: A data query language on Tuesday September 15, 2015 @10:30AM (#10220819)
Let me clarify a little: I think the name GraphQL for sure makes sense from a technical point of view. But from a marketing point of view, it has been a nightmare and makes it _unusually_ difficult for others to initially grasp.
Re:GraphQL: A data query language on Monday September 14, 2015 @11:22PM (#10218802)
You totally can. One restriction (that you might be confused with) is that Relay currently only supports root fields with a single argument (which would typically be an ID).

But arbitrary arguments on any other field are totally supported.

Re:GraphQL: A data query language on Monday September 14, 2015 @09:23PM (#10218484)
It's important to realize that you're essentially defining an API for your product. If something is expensive to access, you should either not expose it directly through your API, or add appropriate levels of caching to mitigate the costs.
Re:GraphQL: A data query language on Monday September 14, 2015 @09:20PM (#10218469)
Anecdote: when Relay/GraphQL were first announced, we tried to get Relay without GraphQL by writing JSON. This had some advantages (a query was a valid/renderable response!)

...but we had some really ugly JSON. It was worth it for us to get the readable syntax to just use GraphQL.

With client tooling like GraphiQL and editor plugins, it should just get better.

Re:GraphQL: A data query language on Monday September 14, 2015 @09:15PM (#10218454)
To expand on lgas' answer, you can certainly over fetch with Relay/GraphQL if your product needs to.

The intent is to prevent accidental/unintentional over or under fetching that leads to bugs or poor experiences.

Re:GraphQL: A data query language on Monday September 14, 2015 @09:04PM (#10218413)
Every time there's a new post about GraphQL, I become even more concerned that "GraphQL" was the wrong name to use publicly. It seems like most people assume it's just another combination of two buzzwords, Graph and QL, and incorrectly pattern match it.

In an attempt to help resolve this issue, I suggest that you think of it as ProductQL or ProductAPI instead.

It's not a storage layer. It's not really a query language. It's an alternative way to define an API that more closely matches the typical mental and product domains than REST.

It's critical to realize that you're implementing an API. GraphQL does not concern itself with sorting or fetching data as the name might lead you to initially believe. It has little to actually do with graphs (except they are more easily expressed). It is designed to be added on top of your application layer and business logic to provide a single, well defined API for your product and tools.

It primarily targets product developers. From the scheme/API side, it is up to the server developer to decide what to expose and how, based on the product and any technical considerations that need to be made.

It sounds like what you're looking for is Business Intelligence. There are a couple of cloud tools like Chartio, Tableau, Looker, etc that provide similar functionality.
Re:YC Fellowship on Monday July 20, 2015 @01:05PM (#9917372)
This seems really close to what YC started as. Why the spinoff?
Re:GraphQL Working Draft on Thursday July 02, 2015 @05:02PM (#9821605)
Joe Savona says August.
Re:Killing Off Wasabi on Thursday June 25, 2015 @01:10PM (#9779353)
I agree. It also seems like they had a relatively straight forward migration path that worked out really well.

Sounds like good decisions were made at the right times.

Re:8^8 โ€“ Find another you on Friday May 15, 2015 @05:00PM (#9553666)
There seems to be an awful lot of gratuitous negativity going on here.

The site was on Reddit yesterday, now it's on the front page of HN. Maybe the author can't throw a lot of resources at it, or they used the project as an excuse to learn a new stack. Who knows.

Maybe it was slow for you. Maybe it's not a mathematically sound idea. Maybe the questions aren't ideal. The CAPTCHA isn't ideal.

Who cares? There's no need to be mean about it.

Re:Ask HN: How to cope with depression on Monday May 04, 2015 @03:48PM (#9488607)
> they haven't really offered any strategies I can implement

I think I made two mistakes the first time I sought help:

* I stayed on the first medication I tried for far too long

* I stayed with my first therapist/psychiatrist for far too long

My new doctors are far more helpful and push me further than my old team ever did. If it's not clicking, don't give up, but maybe see if there's someone else that might be better for you.

Re:React Native v0.4 on Friday April 17, 2015 @04:47PM (#9397119)
If you write most of your code in JS, you technically don't even need to build this on a Mac. For development, you could get away with just updating the bundle and re-signing the app locally.
Re:React Native is now open source on Friday March 27, 2015 @02:27AM (#9274987)
Absolutely. My primary concern is with the controls feeling native. Reimplementing controls with UIViews doesn't seem much better than reimplementing them with HTML/CSS (save for performance). There's still surface area to break the illusion.

Some food for thought: what if you kept HTML and CSS but instead of using a WebView to render it, you rendered the DOM manually using UIViews? You could even make overflow: scroll; turn into UIScrollViews automatically.

Re:React Native is now open source on Thursday March 26, 2015 @06:42PM (#9273645)
For some definitions of "100% native UI."

I'm a little concerned because, for example, a button is not implemented as a native UIButton, and a ListView doesn't use UITableView. Instead they are composed of native UIViews with a lot of JavaScript glue.

That being said, Facebook has more experience writing iOS apps than me, so it may be possible that those things don't really matter (and doesn't preclude 1:1 components from being added down the road).

Re:Building Building Blocks on Saturday February 21, 2015 @12:45AM (#9084835)
I actually independently discovered Nightmare today while this was open in another tab... very cool!
How much? IMO Level Frames seems pretty expensive... A 6x9 frame starts around $41, not including $15 for shipping.
Re:Brain Wound Eliminates Man's Mental Illness (1988) on Saturday February 14, 2015 @11:08PM (#9051752)
Wow, UCSF has a pretty long list of requirements before this is an option!
Re:YC for Hardware on Thursday February 05, 2015 @01:25PM (#9004879)
Are any of these resources available for anyone who isn't already a YC founder? Does that make sense?

Wouldn't it be valuable to give interested folks who aren't yet in YC a place to do their prototyping, get discounts, and help, and then use it as lead gen for the next batch?

Think of all the companies that could exist but don't because they don't have access to these resources.

Re:Show HN: AccountDock โ€“ Billing history for your Stripe app on Wednesday February 04, 2015 @10:48AM (#8997471)
Looks nice! Found a typo:

  Refund receipts are of course avaiable
Re:YC Demographics on Wednesday January 14, 2015 @05:42PM (#8889646)
Small correction: The W15 applications did ask for gender.
Re:Meditation Is Garbage Collection for Your Mind on Wednesday January 07, 2015 @09:23PM (#8854701)
You might have experienced a brief moment of depersonalization[1]. It can be a desirable state for some, but for others (like myself), it has caused the past six years to be hell.

[1] http://en.m.wikipedia.org/wiki/Depersonalization_disorder

Older ยป