Live data from Hacker News

I rewrote my blog in Go

ironzebra.com

21–30 of 77 posts

Re: I rewrote my blog in Go

#21

OT but please don't put the solutions for Project Euler problems on GitHub, it is directly against the rules ( http://projecteuler.net/about , section "I learned so much solving problem XXX so is it okay to publish my solution elsewhere?"). You can put the solutions in the dedicated thread on the site though if you want to share :)

First, just a note, you can only see that section if you're logged in.

Second, I disagree that it is 'directly against the rules' - no where there does it say specifically that you must not post solutions elsewhere. I think the intent is there - but if someone simply cribs off another answer somewhere, they're not really learning anyway and are really robbing themselves. Project Euler is altruistic anyway and there's really no 'advantage' to stealing answers. (I guess someone could show off their progress, but I don't think that's much of an advantage, since they aren't really learning anything)

I have learned quite a bit from looking at Project Euler answers from others and am glad they published their solutions. For example, there are many different ways to do #2 in Haskell and it is enlightening to see how they work.

Re: I rewrote my blog in Go

#22
post #3
post #2

"I removed the Disqus comments" Wouldn't that by itself be enough to account for the download time differences?

Yes: "I removed the Disqus comments and the many many lines of CSS from the old site and replaced it with only a couple of lines of CSS alongside a CDN-hosted copy of Twitter Bootstrap. Finally, the Go site is deployed to a free instance of Heroku and the MongoDB hosted on a developer version of Mongolab, while the old Django site was hosted on a Webfaction shared server. All these things influence the validity of a…

I don't see how he can say, "Well I moved stuff to a CDN and changed hosts off of a shared server and greatly reduced my CSS file size, but surely it was the fact I changed languages that caused my page times to increase!"

No, author, Go had very little to do with your page load times. Both Go and Django are going to serve a simple blog at the same speeds.

Re: I rewrote my blog in Go

#23
post #15
post #10

It seems that people on hn just fell in love with go. So many new articles lately. It's like the node.js fever all over again.

Or Ruby on Rails, Arc, or whatever is the flavour of the year. Additionally it is funny to see the usual comparisons of young developers discovering execution and compilation speeds already possible in 16 bit systems.

I was surprised at how amazed people on one of the recent Go threads was with Go compilation speeds, given that gcc delivers similar compilation speeds for C code per line of code for me on my old, slow home server.

As for 16 bit systems, I'd love to see a comparison with the Turbo Pascal compiler, for example, on modern hardware. Maybe my memory is deceiving me and the program sizes just weren't comparable, but it sure did seem like it was just flying on a 4.77MHz 8086 based PC. It'd be an interesting comparison.

Especially given I remember how frustrated I was with a lot of other contemporary compilers (whether for C, Pascal, dBase or others). The only other compiler I remember fondly for being fast was the AmigaE compiler (by Wouter van Oortsmerssen, the strlen.com / Cube engine guy, who I see is now working at Google on Android gaming - nothing but good can possibly come of that)

Re: I rewrote my blog in Go

#24
After playing around with an Arduino in my spare time, I've realized how important it is to start thinking in multi-threaded concepts in programming. Nothing makes a better example than watching delay(); physical prevent your sketch from taking the next step.

Golang (Still can't believe Google would release a language so piss poor for SEO) WILL be the language I pursue when I start down this path, but right now I don't have any projects that force me to start rebuilding my libraries from scratch.

Re: I rewrote my blog in Go

#25

After playing around with an Arduino in my spare time, I've realized how important it is to start thinking in multi-threaded concepts in programming. Nothing makes a better example than watching delay(); physical prevent your sketch from taking the next step. Golang (Still can't believe Google would release a language so piss poor for SEO) WILL be the language I pursue when I start down this path, but right now I don…

Save yourself the pain and go with Scala and the JVM ... mature platform with battle tested GCs, all the libraries and concurrency idioms you'll ever need and a modern FP language designed for scale.

Re: I rewrote my blog in Go

#27

After playing around with an Arduino in my spare time, I've realized how important it is to start thinking in multi-threaded concepts in programming. Nothing makes a better example than watching delay(); physical prevent your sketch from taking the next step. Golang (Still can't believe Google would release a language so piss poor for SEO) WILL be the language I pursue when I start down this path, but right now I don…

Save yourself the pain and go with Scala and the JVM ... mature platform with battle tested GCs, all the libraries and concurrency idioms you'll ever need and a modern FP language designed for scale.

Scala problems (in the old days):

- You can't find people to work on it - Unbounded complexity, type-masturbation - Slow compilation (you need a better computer/SSD) - Might as well use Java, the tooling for Java is great

Do you know if those are still true?

Re: I rewrote my blog in Go

#28

After playing around with an Arduino in my spare time, I've realized how important it is to start thinking in multi-threaded concepts in programming. Nothing makes a better example than watching delay(); physical prevent your sketch from taking the next step. Golang (Still can't believe Google would release a language so piss poor for SEO) WILL be the language I pursue when I start down this path, but right now I don…

Save yourself the pain and go with Scala and the JVM ... mature platform with battle tested GCs, all the libraries and concurrency idioms you'll ever need and a modern FP language designed for scale.

Only if you don't mind paying approximately an order of magnitude penalty in RAM usage, which has long been an achilles heel of JVM languages.

http://benchmarksgame.alioth.debian.org/u64/benchmark.php?te...

Re: I rewrote my blog in Go

#29

Earlier quoted context omitted.

Disqus replaces the div on page load, then loads the comments asynchronously. I have Disqus on my Jekyll/Octopress blog and still get millisecond loads.

I intended to type this ;-) Still, Disqus has basically a no/low-impact

Agreed I moved my blog from Rails to static. I tested pageload speeds with disqus on/off and the differences were negligible.

Disqus loads almost entirely async.

Re: I rewrote my blog in Go

#30
post #15
post #10

It seems that people on hn just fell in love with go. So many new articles lately. It's like the node.js fever all over again.

Or Ruby on Rails, Arc, or whatever is the flavour of the year. Additionally it is funny to see the usual comparisons of young developers discovering execution and compilation speeds already possible in 16 bit systems.

Hey, you forgot to mention Oberon! :-)
Post reply on HN