Netlify raises $105M and acquires OneGraph - https://news.ycombinator.com/item?id=29253069 - Nov 2021 (100 comments)
Bug no problem! Live editing!
It starts to feel like there’s an appetite to try another way where you actually move around the stuff you created and not entire containers of your setup.
I'd suspect it should be possible to test those 100 microservices. If you can do something, then you can do it twice, especially if your automation is good. If you can't, then maybe some of the systems came together in a non-reproducible or undocumented way and it's time to clean up a little. If you know your traffic you can build load tests that simulate production use.
You could find a bug in pre-prod and live edit it in prod
Now most of the time I dont have a clue why anything works. It is blackbox feeding into another blackbox which relies on another blackbox somehow we all agree that is how things should be done so we stick with it.
The old web is still there for us, if we let it, just as the old LEGO is still. we simply have to choose them, and promote them, and build with them.
Its fully up to us.
My naive question is: what happens if one user (or more) is making a payment at the very exact moment the code uploading is happening? My naive answer is: I don’t know, it could crash (e.g., half the code base has been uploaded to the server but the other half is still being transmitted… but code in the first half references code in the second) or not.
Am I missing something? I imagine failures like this one are of no importance to the author (which is totally fine, trade offs I know).
For years, a repeated (if, sadly, uncommon) experience for me has been:
"Holy shit, this web site/app is fast!"
Looks at URL bar, sees a '.php' at the end
I haven't written much PHP in a long time, but I'd believe it. There are some really slow programs in PHP (Wordpress...) but the language is damn fast. Its tendency to be only a thin wrapper over C or C++, such that one rarely spends much time in PHP itself, is probably the main reason.
Again, don't judge me - I was very, very young. :-)
I'd love something that I can just pick a template, write a command, and have a basic starter site for my idea up and running in less than 15 minutes.
My ideal workflow would be something like:
1) Buy a domain
2) npx create-fast-site --template basic-landing-page
3) echo "Hello, world!" > home.md
4) npm run build
5) Drag and drop build directory to Netlify
6) Add my domain to Netlify
Or even better better, get a domain, make an index.html with two tags in the body, like so:
<H1>My blog posts</H1>
<iframe src=“https://news.ycombinator.com/submitted?id=yosito” />
Then just make your posts on HN.
Much easier to write templates in a real language.
Most of the time I need to map data to something else suitable for rendering. That mapping goes from markdown frontmatter to some nice form.
I ended up not using templates at all due to how cumbersome it is to write any kind of data transformations inside the template language.
Might as well just generate html myself.
A nice example is generating menu contents from a list of menu items with their sort weight and links. Ends up being very cumbersome.
Once I got that, and learned some Go templating in the process, it's just markdown files, fire and forget.
2) Open Vercel (or Netlify)
3) Select the repo you forked
4) Add domain
If you want something blog-like: https://github.com/rodneylab/sveltekit-blog-mdx
I wrote a post on my reasons for moving away from Hugo
Something delectable about starting off "wtf is this stupid shit?" and ending with "it all makes perfect sense". Also heroicons.
I ran into an issue when building with netlify.
Not new, but just been here the whole time.
...and so I can't help thinking there's some dots not being connected somewhere, either in my brain (likely) or in Netlify's communication of their products and offerings (possibly?)
That’s about the only popular alternative I had found about a year ago.
I was working on a similar concept, but it still required some dev skills (use curl or github actions) - https://www.gostaticapp.com/
Then one day, Dropbox shut down that feature. Pretty sure there wasn't any announcement.
In practice, I've seen these being used for black hat SEO and copyright infringement.
And not really that different from the other free hosts out there (Github Pages, Vercel, Cloudflare Pages, Gatsby, Google App Engine). It's just easier to use.
- deploy the contents of a directory to a persistent url in seconds
- optionally tie a similar deployment to GitHub or Gitlab events (pull/merge requests)
- tear down urls as fast as I deploy them
I rely on surge.sh to do these things within a megacorp because our home-built tools just suck by any comparison.
> Have you seen the little green locks on your browser? That means the site is safe and secure using HTTPS.
Not to be nitpicky - maybe it's just my OS theme (KDE Breeze Dark), but the HTTPS padlock is gray or dark-white in all three browsers I tested: Edge, Chrome, Firefox. Can anyone confirm?
Now tell me what icon is on your browser's Home button! :-)
I have a Digital Ocean droplet with PHP installed, so I can drag and drop a simple folder-based website and only update the PHP include files if there's a change that needs to be displayed sitewide.
SSGs seem overly complicated to me considering that most web hosts already come with PHP installed, and the main benefit of such sites (dynamic menus) can be handled by a couple of lines of code.
There are tons of static site generators, and it’s fairly trivial to have a complex web app not require a hosted server since you can use local storage, web workers, Firebase, etc.
When I update my blog (statically-generated), I add an .md file containing the blog post, commit it to git, and push it to a git repo. A quick CI/CD build fires off which generates the HTML (~1 bash command in a docker container) and pushes the static files to a file server. Easy!
I remember starting an Android course ~9 years ago and then giving up within the first hour because I could not configure the Eclipse environment properly. I think the same would have been true of web dev if I had to set up a Docker container just to get to "Hello World".
HTML has that "just works" quality that kept me interested in learning.
Not running a backend can be limiting and force external services for simple tasks.
I just open my FTP, drop a markdown file, and that's it. No repos, no CI/CD, no nothing.
Anything new since then you think?
Not new people!
I’m Mark Zuckerberg, and I’m a visionary.