News for hackers. Stuff that matters.
Re:Show HN: How I put together a lightweight blog in a few h... by bramgg on Wednesday September 30, 2015 @04:13AM (#10302470)
Haha classic http://i.imgur.com/kzza281.gifv

Might wanna spend more than a few hours.

Re:Show HN: How I put together a lightweight blog in a few h... by bbrennan on Wednesday September 30, 2015 @10:15AM (#10304094)
Hahaha thanks guys, great way to wake up in the morning.

I'd thought my markdown parser was stripping <script> tags...turns out I was wrong. Probably should have tested.

Fortunately, it took about 30 seconds to find and delete the malicious comments using GitHub...point for GitBack. A quick fix is in place with a better one on the way.

Next post: How I got hacked by hacker news

Update: markdown is now sanitized. Malicious comments restored for posterity

Re:Show HN: How I put together a lightweight blog in a few h... by fiatjaf on Wednesday September 30, 2015 @07:46AM (#10303187)
Please fix 99haskell, I'm on problem 10 and want to make progress.
Re:Show HN: How I put together a lightweight blog in a few h... by bramgg on Wednesday September 30, 2015 @05:29PM (#10307410)
Done. And I found and fixed the damn problem that was causing it to crash in the first place.

Sorry about that.

Re:Show HN: How I put together a lightweight blog in a few h... by fiatjaf on Wednesday September 30, 2015 @05:48PM (#10307612)
Thank you very much. Other two people have upvoted my comment, so we are at least 3 happy proto-haskell-users here.
Re:Show HN: How I put together a lightweight blog in a few h... by fiatjaf on Tuesday September 29, 2015 @07:40PM (#10300663)
It's cool that you made an experiment here, but I wanted to say that whenever I see people hosting blogs with expensive software (NodeJS with Express, or a PHP CMS, or other complete stack) I think it will be complicated to host those things forever, so probably the content will vanish some time in the near future. This could apply to experimental setups also, but perhaps experimental people are totally different from people that use the same tools for all kinds of jobs and will perhaps be able to migrate their data from the experimental tools if they prove to not be as good as first imagined.
Re:Show HN: How I put together a lightweight blog in a few h... by bbrennan on Tuesday September 29, 2015 @10:34PM (#10301372)
Curious what you mean by "expensive"...are you talking about monetary or maintenance cost?

I keep a cheap bottom-tier ec2 instance alive to run my website, stand up demos, etc. Keeping a node instance alive is pretty easy, and one of the reasons I used GitBack was so I wouldn't have to stand up a MongoDB instance...the content just lives with the code on GitHub.

Given that all my content lives in Markdown files, I'm not too afraid of migrating to GitHub pages, Medium.com, etc

Re:Show HN: How I put together a lightweight blog in a few h... by fiatjaf on Wednesday September 30, 2015 @07:36AM (#10303137)
Computing cost, or maintenance, whatever. It takes a machine running a memory-intensive NodeJS process, more if it uses a memory-intensive database.

It is much cheaper to host a static site, that's why GitHub offers it for free.

Re:Show HN: How I put together a lightweight blog in a few h... by fiatjaf on Tuesday September 29, 2015 @07:43PM (#10300684)
Totally forgot about my own experiment: I created this GitHub-based (somewhat similar to GitBack) blogging platform: https://github.com/fiatjaf/coisas and started my blog and my girlfriend's on it.

The development of the tool proved to be complicated and I wouldn't be able to maintain it, but I have managed to migrate my blog to Jekyll and my girlfriend's to https://websitesfortrello.com/, keeping content and URLs.

Thanks to me, the internet is a better place.

You can stop clapping now.

Re:Show HN: How I put together a lightweight blog in a few h... by wheresvic1 on Wednesday September 30, 2015 @08:35AM (#10303415)
Pretty cool idea to use git-back! However I can recommend React for your MV* framework and I guess you can use disqus for your comments and save yourself from comment spam on your github repo!
Re:Show HN: How I put together a lightweight blog in a few h... by timdavila on Wednesday September 30, 2015 @04:23PM (#10306865)
I'd add an RSS feed at a minimum, and probably email/twitter notifications as well. I'm not going to check your blog daily, but I would add you to my feed reader.
Re:Show HN: How I put together a lightweight blog in a few h... by bbrennan on Wednesday September 30, 2015 @05:55PM (#10307665)
Re:Show HN: How I put together a lightweight blog in a few h... by timdavila on Thursday October 01, 2015 @11:08AM (#10311653)
You're quick!