Hacker News new | past | comments | ask | show | jobs | submit | eurasiantiger's comments login

With GraphQL, the idea is to never change existing behaviour, but to use directives to flag them deprecated and direct devs to change to using the new type/field/query/whatever. This gives a guarantee about not breaking existing things.

This is really interesting. Is there any code you could share?

I'll try and see if I can dig something up, but it was really prototype quality and not made to be deployed anywhere else yet.

Seems to have been copy-pasted from /pol/

    table { table-layout: fixed; }

does nothing in Chrome for the speed of style recalculation and layout update

You also need to set explicit widths for columns

Your boss must love that you’re essentially doing work just to throw it away.

>Another example is prostitution is legal but you can only advertise yourself.

And then serious criminals are out of the advertising business, but can still offer consultation, business and personal protection, and, of course, forced sex labour through human trafficking.

Criminals would be out of a buissness because it became illegal? Are you sure about that?

And all that stuff is still illegal as it is in the US. I don't see your point?

GP’s comment makes a whole lot more sense if you assume a big fat /s at the end.

I would take this study with a grain of salt. It relies on self-reporting.

The issue with research and the internet can be boiled down to singular dimissive comments like this. You see them especially a lot on Reddit.

This is a prospective cohort study - it is not meant to cover all limitations. Every scientific study will have strength and weaknesses, an RCT won't ever have 350 000 participants. Studies with large sample sizes almost always have to resort to either self reporting or interviews in order to collect at least some of the data.

You're not meant to take an individual study's results as the truth - it's the overall body of research that's important. When you see the same or very similar results from studies with varying study designs from different populations done by different researchers with different methods the results become more credible.

Though this specific study is notable as the effect size is quite large, the bias from self reported coffee or tea intake would have to be quite large itself to remove it.

And with regards to coffee and tea consumption and research, this is a pretty well researched area already, and the general consenus is that consuming tea or coffee does have health benefits.

Well said, especially your 2nd and 3rd lines. Saying "correlation =! causation" or similar adds nothing

Time for a link to James Hoffmann - "The Magic of Salt in Coffee"


Copy (2) of 2021-11-11_client_project-name_v2_final_ridaj(1)__FINAL-v2.ext

How to migrate to a backwards-incompatible version of the schema without data loss?

This project has no state so to migrate your db you'd turn off the generated app, migrate the db, regenerate the app, and turn it back on.

When I used a similar-ish library, the answer was mostly: don't make backwards-incompatible versions of the schema

Everything is a scam nowadays, from tap water to US presidency. It’s almost if the rich people stopped caring about morals and just started setting up traps to entertain themselves with the suffering of others.

>It’s almost if the rich people stopped caring about morals and just started setting up traps to entertain themselves with the suffering of others.

There is even a successful Korean TV show depicting this current situation.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact