New chapter of Learn You Some Erlang
learnyousomeerlang.com
learnyousomeerlang.com
This one is on Relups and Appups, or a way to do hot-code loading and live software upgrades in a safe manner, hidden from race conditions and state changes. This is done using the OTP framework's release_handler. The process is a good bit messy, requiring some manual work that would benefit from being automated more.
However, this section of Erlang is hardly ever explained, so I attempted to make one effort into documenting it and its quirks for other fellow Erlang developers out there. Hopefully, Rebar and other tools will be able to build on that documentation to foster better relup abstraction layers, also making everyone else's work easier.
This safe way to do code upgrades is one of the feature that differentiates Erlang from many other languages when it comes to ad-hoc code updates. I've seen other languages do the equivalent of loading new code (reloading a module, calling eval() on a new version of the code, etc.), but I don't recall seeing many of these taking care of handling state change or race conditions on events the way Erlang/OTP does it.
Most of the stuff on the official website is either rather short in content, or made as reference manual rather than a tutorial. I was hoping that LYSE would become the de-facto free learning guide out there for Erlang. And not just for the syntax and modules, but also for the general ideas of the languages, de-facto standards in the community, etc.
Other languages do a much better job (IMHO) of helping you get your feet wet before committing further. If you want to learn javascript, you watch the Crockford videos. After a couple hours, you have a pretty good idea of what it's all about and if you want to spend more time learning it. Erlang didn't seem as accessible to me. That's not to say that there aren't resources available. They just aren't as immediately obvious as they could be.
I haven't had the opportunity to play around with it as much as I've wanted (I've just moved), but I'd highly recommend checking out his site, and reading further. He was incredibly knowledgable, and made learning enjoyable without being boring.
Thanks for the nice comments too! Your group was pretty fantastic at that. Being motivated with the weird conditions for the day, even with some of you having flooded basements and whatnot. It was a pretty fun day.