Archive for the ‘Meta’ Category

Erlang Observations

To those who are considering Erlang and Erlyweb as a framework for their website: just go for it.

A couple of days ago, there was yet another blog post on Reddit about the scalability of Erlang, with the same yaws-owning-apache graph we’ve all seen before. There was absolutely nothing new in the entire post.

In my opinion, there are many reasons to use Erlang that have nothing to do with server performance.

Those of you who found BeerRiot through the Ask Reddit thread about Erlang usage already know that it’s built on Erlang and Erlyweb. My experience with them will be different than others’, of course, but I felt the need to list a few of my [completely subjective] observations about this framework.

So, in no specific order:

  • I like the syntax. I got past the comma-semicolon-full-stop confusion that many complain about within the first few hours of coding. It’s different, refreshing, and not too hard to understand.
  • Development cycles go really fast. More than once, I’ve hashed out some new functionality on my subway commute, then polished it at home and posted it the same evening. Part of this is the pattern matching used in function calls and branches – it translates almost directly from my pseudocode.
  • Some complain about the lack of hierarchy and types – I love it. It makes evening coding feel very free-form after eight hours of Java.
  • Erlyweb and Yaws are both very powerful and useful, yet their codebases are small enough that the thought of digging through their code does not intimidate me.
  • Erlang doesn’t have all of the libraries of other languages yet, but they’re not hard to get to.
  • Hot code loading and the ability to open a shell connected to your webserver doesn’t get enough press. I never stop my webserver unless I’m making a huge change that I’m too lazy to plan the transition for.
  • I dislike typing underscore. I do think it’s a good visual representation for “don’t care”, but I just don’t like to type it. I often use camelCase to define my own functions, but it looks a bit messy in mixed code.

So, yeah, some of these are reasons to use Erlang, some are reasons to use any language with similar features, some are just things to note. I just felt like there needed to be some conversation about Erlang other than its scalability.

If anyone has any specific questions about my experience with Erlang, please post them in the comments. I’ll either answer here or write another post to cover them all in a few days.

What’s My Google Rep?

Maybe sometimes it’s better you don’t know…

So, I run stats over my logs a couple of times a day (AWStats, if you’re interested). One of the things it tells me is what people have typed into search engines to find BeerRiot.

Last month, the search terms were pretty innocuous – mainly “beerriot” and the names of a few beers. This month, people have started searching for my name.

I don’t find this that strange, of course. I’ve Googled friends and new acquaintances more than once. What has me a little worried is that I am very few of the hits that either Google or Yahoo search returns.

I have to wonder who people think I am after clicking through a page or two of search results.

Just a few hints to get people closer to the right track:

  • I have no religious affiliations
  • I have never broken a Track & Field (or any other sport) record
  • As a general rule, I do not post pictures of my birthday parties on the web
  • I am not a country singer (or a music student)

Any other new webmasters dealing with similar paranoia?

…yeah, yeah, back to coding, I know…

BeerRiot – The Blog

Hello Rioters! I realized there was a lot more I wanted to say about developing BeerRiot, enjoying beer, and other things, none of which quite fit under the category “news.” So, I’ve set up this blog as an outlet for those things.

As suggested, here you’ll find my thoughts on beer, the reasoning behind some of the features on BeerRiot, geeky discussion of some of the technology used to make BeerRiot, and probably a host of other things. I may even use this as a space to poll you all when I can’t make a decision on new features.

So, if any of that interests you, stick around.

P.S. This is my first blog, so bear with me while I learn the ropes.

Follow

Get every new post delivered to your Inbox.