Live data from Hacker News

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

fillmem.com

171–180 of 201 posts

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

#171

After many different iterations, I'm now using netlify (with middleman). Really hard to beat. GitHub pages are amazingly fast and a pretty good default choice. With cloudflare it's a pretty solid combo. But netlify's awareness/integration between the content and the cdn is really compelling. Imagine they'll be able to do a lot more with it down the line too.

Me too. My personal site is in Middleman hosted on a digital ocean instance so I can have more control of that side (also wanted to learn more about nginx and SSL) but lately I've been using Middleman with Netlify - it's unbeatable for getting projects up and running fast. Built-in continuous integration and automatic SSL, you can even get your domain through them. Their CMS makes creating a fully featured blog ridic…

Yup! Actually I forgot one feature that would be nice - being able to get the raw HTTP logs...

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

#173

Earlier quoted context omitted.

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/

This image installs the cowsay utility and then adds its own "cow" file. This is the default installation of the cowsay utility, not something created by Docker. This is clear from reading the Dockerfile on that page:

# install cowsay, and move the "default.cow" out of the way so we can overwrite it with "docker.cow"

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

#174
post #85

Earlier quoted context omitted.

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?

> Are you feeling picked-on because of what you're saying, or how you're saying it? That's impossible to answer without telepathy. (Aside from topics that generate lots of discussion that weighs one particular way, I find it impossible to determine a priori whether a particular viewpoint is controversial on HN. For instance I have recently and wrongly predicted that transhumanism would be uncontroversial; and while I…

I often use HN to practice writing. Good writing resonates with people. A post that is well thought out, well researched, communicates clearly and doesn't assume anything of the reader will often get up votes in my experience.

For me, the vast majority of down votes come from me being wrong (that is, I post something that I think is correct; I get down votes; I do more research and discover that I am, indeed, incorrect). In fact, this is such a good flag for my writing that when I get a down vote I immediately assume I must have made a mistake somewhere and start looking for it.

The next most common source of down votes (for me) is being argumentative. If I get a down vote, but decide that I am correct, I often discover that the tone of my writing is derisive. In all honesty, I never intend to have this tone of writing, but I am human and sometimes (either through lack of writing skill, or by unconsciously being an ass) it happens. My guess is that the person I'm responding too gets pissed off and down votes me. This has led me to have a kind of rule to try very hard never to piss off the parent poster, even if I think they are wrong. If I can't think of a way to comment without pissing off the parent, I try not to post. As a huge bonus, this avoids me getting dragged into >90% of trolling efforts (a statistic that I made up).

The next most common cause of down votes for me is lack of coherency in the comment. Sometimes people simply don't understand what I'm saying. It is important to realise that as a writer, you can't assume the readers understand what you are thinking, so this is completely down to you. Trying to put yourself into the role of a random reader and figuring out what they might think when they read your post is hard. However, this is what being a good writer is about. Again, if I write a post and upon reviewing it, I don't think most people will understand, I don't submit it.

Related to the last point, there are lots of times where I have relatively unique ideas. Very frequently people will not know what to think about them because they have never really explored that way of thinking. If I write in a way that makes it clear that I assume that the reader will find what I'm saying is obvious, I will get down votes. In a way it's insulting to say something that is not mainstream and assume that others will instantly understand/agree. Sometimes, if I feel the idea is interesting, I'll still post, but I'll try to broach the subject gently/apologetically. People are doing me a favour by getting out of their comfort zone and considering a different way of thinking.

Finally, when I'm posting, I often pick someone to respond to and try my best to help them. If I am successful, I find that the post is usually highly regarded by many people, even though my focus is only on helping one person. YMMV!

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

#175

Earlier quoted context omitted.

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?

It has partials, Front Matter as well and you can use Ace or Jade templates as an alternative but not Slim Lang as far as I know.

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

#176

Earlier quoted context omitted.

> Are you feeling picked-on because of what you're saying, or how you're saying it? That's impossible to answer without telepathy. (Aside from topics that generate lots of discussion that weighs one particular way, I find it impossible to determine a priori whether a particular viewpoint is controversial on HN. For instance I have recently and wrongly predicted that transhumanism would be uncontroversial; and while I…

I often use HN to practice writing. Good writing resonates with people. A post that is well thought out, well researched, communicates clearly and doesn't assume anything of the reader will often get up votes in my experience. For me, the vast majority of down votes come from me being wrong (that is, I post something that I think is correct; I get down votes; I do more research and discover that I am, indeed, incorre…

> I often use HN to practice writing. ...

> The next most common source of down votes (for me) is being argumentative.

Interesting. The main thing that motivates me to comment here - other than when someone touches the surface of a topic that piques my curiosity - is when I see something that is either blatantly wrong, or seems to be missing an obvious piece of clarifying information.

(Examples of wrongness: C# is the best language one can learn, any random non-MBA-holder can be given a loan and expected to make a successful business of it, random 6-year-olds can understand CS, one person without political office can make a difference among our population of 300 million, etc.)

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

#177
post #85

Earlier quoted context omitted.

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, for example, speak english as second language, and frequently a comment of mine is read more aggressively than I meant it, so it ends up at -10 or worse, even when being factually correct. So I’m reducing my activity on HN in general as far as possible, and only post as uncontroversial opinions as possible, because I fear that going against the established opinion would just get me downvoted again.

> frequently a comment of mine is read more aggressively than I meant it

This is a common occurrence. Written communication involves both the writer and the reader(s), and unfortunately that results in losing other channels of communication such as intonation and body language. I think written communication is a skill that can be improved with purposeful practice if you think it's worth your time (and to be fair, whether or not one considers posting on HN personally valuable is not a given :).

It sounds like it's at least a little important to you. I personally think the effort is worthwhile in general, as it's useful to know how one comes across in various media, and particularly if you feel you have something valuable to contribute.

I've got a few resources in my profile that I find useful to return to—and have, repeatedly done so to deepen my internalization of them. I'd encourage you to take a look and see if they might be useful to you as well.

Edit to add: I hadn't read this entire thread before responding. 'mikekchar has captured a lot of what I also think about in their comment here:

https://news.ycombinator.com/item?id=15234749

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

#178

Earlier quoted context omitted.

> Are you feeling picked-on because of what you're saying, or how you're saying it? That's impossible to answer without telepathy. (Aside from topics that generate lots of discussion that weighs one particular way, I find it impossible to determine a priori whether a particular viewpoint is controversial on HN. For instance I have recently and wrongly predicted that transhumanism would be uncontroversial; and while I…

I often use HN to practice writing. Good writing resonates with people. A post that is well thought out, well researched, communicates clearly and doesn't assume anything of the reader will often get up votes in my experience. For me, the vast majority of down votes come from me being wrong (that is, I post something that I think is correct; I get down votes; I do more research and discover that I am, indeed, incorre…

Well said. I've found this to be the case for me personally as well. It also reinforces for me that honest reflection can lead to better understanding (of others and how one comes across) and better communication. You've also underscored how productive communication is more than just laying out facts or correcting mistakes. How one does so strongly affects its effectiveness. And I generally feel happier as a result. In turn, writing when feeling happier results in better comments. A virtuous circle.

There are times when I feel I've done my best and the thread doesn't seem to be progressing well. When that happens I take even more time to see whether there's any way I could have approached it better, and restrain myself from having to put in the last word. Effective communication does take effort on the part of both parties. If I feel I've done my best and conclude it's not working, setting it aside is often better than persisting and possibly making the discussion worse.

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

#179
post #178

Earlier quoted context omitted.

I often use HN to practice writing. Good writing resonates with people. A post that is well thought out, well researched, communicates clearly and doesn't assume anything of the reader will often get up votes in my experience. For me, the vast majority of down votes come from me being wrong (that is, I post something that I think is correct; I get down votes; I do more research and discover that I am, indeed, incorre…

Well said. I've found this to be the case for me personally as well. It also reinforces for me that honest reflection can lead to better understanding (of others and how one comes across) and better communication. You've also underscored how productive communication is more than just laying out facts or correcting mistakes. How one does so strongly affects its effectiveness. And I generally feel happier as a result.…

> You've also underscored how productive communication is more than just laying out facts or correcting mistakes. How one does so strongly affects its effectiveness.

If someone can't understand a simple list of facts unless it's couched in ... literature-course fluff, I suppose it could be called? ... then that's their problem and they're accomplishing precious little by foisting it onto everyone else.

> And I generally feel happier as a result. In turn, writing when feeling happier results in better comments. A virtuous circle.

Interesting. I find that happiness tends to dull my wit, make me less observant, etc. While it's not unusual for me to recall a long-past conversation (from any medium) and suddenly formulate a much better response at some particular junction ... feeling happy or contented tends to increase the probability that a current conversation will result in this sort of after-the-fact second-guessing.

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

#180
post #178

Earlier quoted context omitted.

Well said. I've found this to be the case for me personally as well. It also reinforces for me that honest reflection can lead to better understanding (of others and how one comes across) and better communication. You've also underscored how productive communication is more than just laying out facts or correcting mistakes. How one does so strongly affects its effectiveness. And I generally feel happier as a result.…

> You've also underscored how productive communication is more than just laying out facts or correcting mistakes. How one does so strongly affects its effectiveness. If someone can't understand a simple list of facts unless it's couched in ... literature-course fluff, I suppose it could be called? ... then that's their problem and they're accomplishing precious little by foisting it onto everyone else. > And I genera…

Effective communication is more than just transferring a simple list of facts. You're correct that communication takes two people. If my goal is have someone accept my point of view (and while it may seem counter-intuitive, that includes facts), I have to take into account how it will be received by my audience.

If they don't take it in the way I'm presenting it, it's my responsibility to evaluate if there's a better way I can present it. Upon reflection (and that can be short or long, depending on how important it is to me), I can reasonably decide it's not worth the effort or time to do so. I can also come to the conclusion that perhaps the audience isn't really open to listening to what I have to say. That said, laying all of that on the audience without reflection in my experience is a recipe for failure and frustration.

Post reply on HN