Live data from Hacker News

Building a fast, secured and free static site in less than three hours

fillmem.com

161–170 of 201 posts

Re: Building a fast, secured and free static site in less than three hours

#161
post #94

Earlier quoted context omitted.

Can we avoid the ageism?

It's called humorous nostalgia. You must be young if you're so easily offended.

That is not the quality content this site provides.

You must be a racist if you can't see that.

If you can't contribute, leave.

Re: Building a fast, secured and free static site in less than three hours

#162
post #94

Earlier quoted context omitted.

Can we avoid the ageism?

You could make a website with vi and host it on Solaris today if you felt like it. I'm not sure why would want to though. Things have improved. Now I use vim.

Yes, we do have better tools than vi now: Emacs comes to mind.

Re: Building a fast, secured and free static site in less than three hours

#163
post #28

Earlier quoted context omitted.

Is there a reason something more standard like "if cond1 or cond2 then x else y" isn't supported? Parsing speed?

Maybe. It looks like Reverse Polish Notation.

It's regular Polish notation.

Re: Building a fast, secured and free static site in less than three hours

#164
post #85
post #79

Earlier quoted context omitted.

Right, that's why I recently started checking people's profiles before posting a dissenting reply, and not making the reply if they've enough karma to downvote me.

If you care deeply enough about fake internet points to go to that much trouble, IMHO, you're doing it wrong. Are you feeling picked-on because of what you're saying, or how you're saying it?

I always feel insecure of my own opinions but I do support HN's no bs-approach or joking anyway. That's why I try to be anonymous on here but don't attack people, but seldomly blurt out what I initially think. I do get hurt by downvotes hahaha.

edit: I'm working on being able to handle being wrong... usually flip out, like WHAT!!! You disagree with me?! (Contrary to my initial point about no bs)

Re: Building a fast, secured and free static site in less than three hours

#165

Can someone explain the use for cloudflare at the end? I thought you can do the same thing just through your domain registrar?

Cloudflare DNS is one of the best authoritative DNS hosters in the world, if not the best already. https://www.dnsperf.com/ Cloudflare is also a great free CDN and has a crap ton of edge servers to make your static content serve quickly around the world. Has a lot of other great features too. Anycast ftw.

Just need to remember to turn off caching when updating or set the time to update cached data at an interval that works for you. I keep forgetting that sometimes like why isn't the site changing?! Oh right...

Re: Building a fast, secured and free static site in less than three hours

#166
post #54

Holy cow. Is this an improvement? Remember in 1999 when you could get a static website up in 3 minutes using ftp?

That's how we do it in 2017. Want to handle an on-click? You need dozens of NPM modules and webpack. Look at Docker's cowsay "hello world" example - it has to satisfy several (dozens?) of perl dependencies just to render ASCII art.

What does Docker have to do with cowsay? Docker does not develop or maintain the cowsay utility [0].

[0] https://en.wikipedia.org/wiki/Cowsay

Re: Building a fast, secured and free static site in less than three hours

#167
post #162

Earlier quoted context omitted.

You could make a website with vi and host it on Solaris today if you felt like it. I'm not sure why would want to though. Things have improved. Now I use vim.

Yes, we do have better tools than vi now: Emacs comes to mind.

Obligatory xkcd :)

https://xkcd.com/378/

Re: Building a fast, secured and free static site in less than three hours

#168

Earlier quoted context omitted.

I see both Jekyll and Hugo mentioned frequently in the "Using GitHub and X to host your website" space. Do you have any practical our technical reasons for preferring one over the other?

Having used both quite a lot, I much prefer Jekyll's template language as it's easier to use and more readable. It's a lot easier to install plugins to extend Jekyll as well. However, Hugo coming in a single binary makes it easy to get working when you come back to a site you've not updated in a while (my Jekyll toolchain was a combination of Ruby + Node + Gulp that felt brittle but could be improved with some work),…

Does Hugo support partials? An equivalent of frontmatter? Slim Lang?

Re: Building a fast, secured and free static site in less than three hours

#169

Earlier quoted context omitted.

That's how we do it in 2017. Want to handle an on-click? You need dozens of NPM modules and webpack. Look at Docker's cowsay "hello world" example - it has to satisfy several (dozens?) of perl dependencies just to render ASCII art.

What does Docker have to do with cowsay? Docker does not develop or maintain the cowsay utility [0]. [0] https://en.wikipedia.org/wiki/Cowsay

You're right - I was actually thinking about their variation of cowsay that they include in a lot of their training, whalesay:

https://hub.docker.com/r/docker/whalesay/

Re: Building a fast, secured and free static site in less than three hours

#170
post #54

Holy cow. Is this an improvement? Remember in 1999 when you could get a static website up in 3 minutes using ftp?

You can still do that. Nobody bothers, though. Knowing how to write your own HTML, CSS and Javascript is starting to feel like knowing how to carve your own canoe.
Post reply on HN