24,182 karma · joined Jul 22, 2017 (9y ago) · 14,302 submissions
https://hnbadges.netlify.app/?user=quickthrower2
comment 4y ago · link · parent
Let the experts deal with adding locations, location detection, DNS, redundancy and so on, for a very small price, relatively speaking.
I am not saying you need Astro: You can make the files yourself, then use a service like Netlify to do the CDN-ing for you.
comment 4y ago · link · parent
That said, for most side projects and commercial projects the complexity may not be worth it. It probably makes the most difference to very high traffic sites where money is lost for each millisecond delay in giving you the page (or the ads). And in this sense it may be premature optimization.
I like using Next.js, but I often wonder if it is "too much" and adds complexity I wouldn't have otherwise. An old fashioned rails app, and some caching / CDN done in front of it as a separate concern is probably more than enough performance for most people.
comment 4y ago · link · parent
> Next.js uses React to render your website. Astro is more flexible: you are free to build UI with any popular component library (React, Preact, Vue, Svelte, Solid and others) or Astro’s HTML-like component syntax which is similar to HTML + JSX.
> Both Next.js and Astro are frameworks for building websites. Next.js does best with highly dynamic websites (like dashboards and inboxes) while Astro does best with highly static websites (like content and eCommerce websites).
https://docs.astro.build/en/comparing-astro-vs-other-tools/#...
comment 4y ago · link · parent
comment 4y ago · link · parent
The purposes of phone numbers:
1. Verify you are a not a bot: no need to store anything except TRUE once verified.
2. 2FA - well use something better than SMS, but if you must, store the hash, and make me enter my number for the 2FA each time. Compare with hash and then send SMS.
comment 4y ago · link · parent
With software it might take days of testing to verify the result, and then repeat that for every iteration. Would be cheaper to build the thing!
Where AI might work is in some restricted subset of software, like a web CRUD app where you say "I want an app that stores a TODO list with dates". With the constraints of it being crud, it just needs to AI the database and arrangement of fields and so on.
The AI is not programming so much as it is choosing which "rails-like scaffolds" to initiate.
comment 4y ago · link · parent
Because instead of using types you can use proofs. And have the compiler prove things about your code.
You then may not need such complex higher order types in typed code.
And you could retrofit this to JS, Ruby, C so you don’t need to learn new languages to get excellent type safety.
For example assert that a number is in the 0-100 range and have the proven at compile time. Not just unit tested. It would be amazing.
comment 4y ago · link · parent
comment 4y ago · link · parent
1. It is also a hassle being in the office. I can focus much better at home. Unless the office wants to give everyone their own little sound-proof and well naturally lit room. No one does that though. It would cost at least 2% of the developers salary.
2. I can feel anything I want. I can feel part of something from a distance. We have great tools to communicate. I appreciate that if you start at a company it would be nice to physically meet up, and it is probably good to get together occasionally. But every day in the office is not necessary.