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

I'm trying to understand how this tutorial works, I noticed it doesn't make any network requests when run one of the examples, but then if I edit the code in an example it does make a request. Is this the magic of next.js and server-side components at work, and do you have a real edgedb running on the server side that is used to pre-render the page and also handle updates? I would love to hear more about how this setup works and even look at the code if it's available.


You guessed everything right: we run an instance to prerender and cache at the build time and at runtime we query when the query has been changed


Aw man... and I just bought an Oryx Pro. Oh well, I guess this one doesn't come with coreboot and it's not even out yet - plus I think the Oryx Pro has a slightly faster processor?


You'd think at some point, if people were watching, they would've gotten the linesman to wear a hat or something.


It sounds like it would be pretty awesome in the winter


>However the surprise announcement throws in more questions that it answers

Does anyone know what announcement they're talking about? There's no link.


Does it typecheck queries for you based on the schema, and generate a response type for TypeScript?


No, but you can do something like this: https://formidable.com/blog/2019/strong-typing/


Oh cool, they have a package for urql: https://graphql-code-generator.com/docs/plugins/typescript-u...

I might try it out once it supports the new hooks.


What Uber report?



I know git has a way to show diffs based on words instead of lines. Is there a way to use words instead of lines for these stats? When I'm writing markdown I usually turn on word wrap in my editor, which means there are entire paragraphs on one line.

On the other hand, editing takes a lot of time per word changed, because you have to consider the whole sentence or even paragraph to make sure the grammar is still right, you're not repeating things, and you haven't removed any necessary context. So maybe a bit of overestimation is good.


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

Search: