News for hackers. Stuff that matters.
Re:Void – A website creation tool by krat0sprakhar on Saturday April 11, 2015 @08:58AM (#9359290)
I have nothing against PHP but it would be great if this is built in a language like Go so that anyone can download a static binary without any dependencies.

Kudos for shipping!

Re:Void – A website creation tool by dangrossman on Saturday April 11, 2015 @09:36AM (#9359383)
A PHP file has less dependencies than a Go binary. There's over half a billion websites. There are probably under 20 million people in the world who know what a "static binary" is, fewer still who have the knowledge and resources to deploy one on the web. The vast majority of people with websites can use this PHP file as-is, with no additional learning or work -- just FTP it over to any penny host in the world. They'd not be able to do anything useful with a binary file.
Re:Void – A website creation tool by amelius on Saturday April 11, 2015 @09:54AM (#9359421)
I respectfully disagree. A PHP file may have lots of dependencies. And worse, these dependencies are mostly hidden. (Think of libraries used from within the PHP file). You can't tell if you have resolved all dependencies until you have fully tested all of the functionalities of a PHP file!

Anyway, since the code takes only 100 lines, this project could very well be written in any number of languages, I suppose.

Re:Void – A website creation tool by philippnagel on Saturday April 11, 2015 @11:47AM (#9359665)
Obligatory question, asking for an implementation in Brainfuck.
Re:Void – A website creation tool by thefreeman on Saturday April 11, 2015 @09:44AM (#9359402)
And what advantage would that give you? How are you going to run your Go static binary on a shared host without ssh access?

You are literally trying to nitpick on PHP's greatest strength, ease of deployment.

Re:Void – A website creation tool by primroot on Saturday April 11, 2015 @09:09AM (#9359319)
How about http://gohugo.io/ ?
Re:Void – A website creation tool by josephernest on Saturday April 11, 2015 @09:13AM (#9359326)
Looks nice but when I click "Install" on home page of gohugo.io, I see: "brew install hugo". Another tool that I don't know: "brew", and that I probably cannot install on my shared hosting server.

The point of Void is minimalism: apache+php, nothing else required. < 100 lines of code in a single php file (+ the markdown parser lib of course).

Re:Void – A website creation tool by frio on Saturday April 11, 2015 @09:18AM (#9359331)
Immediately above that it has a big button that says "Download", which takes you here (https://github.com/spf13/hugo/releases). Above the `brew install hugo` part, it asks "Using Homebrew?", implying that option is for people already using that tool.

I definitely agree that less complexity is better, but I think levelling that complaint against (this part of) Hugo is unfair.

Re:Void – A website creation tool by krat0sprakhar on Saturday April 11, 2015 @09:20AM (#9359341)
Hugo is a static site generator much more fully featured than Void, so IMO its not fair to compare on LOC. As far as brew goes, that is just for convenience. You can might as well download the static binary from the releases page - https://github.com/spf13/hugo/releases
Re:Void – A website creation tool by epimetheus on Saturday April 11, 2015 @09:19AM (#9359340)
I believe the CMS should build on your local machine and then be pushed to your hosting after it builds the static files. Like Jekyl. That's how I'm reading it, and brew references Homebrew, an OSX package manager.
Re:Void – A website creation tool by blumkvist on Saturday April 11, 2015 @09:20AM (#9359346)
uhm... you don't need brew to install Hugo. It's an option.
Re:Void – A website creation tool by nosefrog on Saturday April 11, 2015 @10:50AM (#9359543)
How far along is hugo? I tried and failed to make the blog I wanted with it and had to hack around its deficiencies. I appreciate the fact that it's a single static binary, but its directory structure is overly complicated and arbitrary things don't work.