TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Tell HN: I'm writing an Erlang recipes book, are you interested?

126 pointsby yrashkabout 14 years ago

18 comments

Xixiabout 14 years ago
Erlang recipes, not that much. Make that Erlang/OTP recipes with a strong emphasis on the OTP side of it, and a million times yes !<p>Or to say it slightly differently : I'm not that much interested in recipes about the Erlang language itself, but I'm very very interested in recipes/examples of architectures of actual Erlang/OTP softwares.<p>I'm doing mostly Python these days, but I worked on a couple of side projects in Erlang in the past (a large one ~3 years ago, and a small one ~6 months ago). And for me the hardest was (and still is) to figure out how to use the OTP behaviors in an optimal way. How to make a nice, working supervision tree.<p>I managed to pull working stuff out of the ground, but somehow it never fell OTPish. I couldn't tell if I did it right or wrong.
评论 #2513860 未加载
评论 #2513630 未加载
jeromecabout 14 years ago
Hey, I see you're gaging potential reader interest by asking what they might pay. You might consider using StoryFunded (<a href="http://www.storyfunded.com" rel="nofollow">http://www.storyfunded.com</a>) for this.<p>Our site lets authors raise funds for promising book projects. Like Kickstarter it's all-or-nothing where contributors only pay once the goal is met. If the goal is met authors receive the raised funds, minus 5% and processing fees. We've just went live, and our biggest challenge now is finding book projects people would be interested in funding. This may be such a project :)<p>&#60;/plug&#62; (sorry! :) )
elliot42about 14 years ago
I don't know if this is antithetical to these recipe/cookbooks, but please consider teaching coherent themes or design principles via these recipes, rather than simply providing an assortment of useful tidbits. Erlang has such a unique foundation (functional programming + event-driven awesomeness) and so few books that there is a great opportunity to teach the Erlang mindset/perspective and not just a bunch of tips and tricks.
评论 #2513246 未加载
asymptoticabout 14 years ago
Yes, I'm interested! I'm particularly interested in recipe books that are both task-oriented and language-oriented. For exaple, Doug Hellman's PyMOTW is a phenomenal guide to using libaries that are part of the Python standard distribution and would be a key part of the library.<p>However, some aspects of the recipe book should be task oriented:<p>- Web server hosting static files using the standard inets server, and 3rd party libraries like webmachine, nitrogen, and yaws. - How to log - How to enable tracing<p>etc.
评论 #2513242 未加载
buntarabout 14 years ago
excuse me for not answering your question, but I have a different suggestion (goes in a similar direction though):<p>"Erlang in the Real World"<p>From the top of my head:<p>- portraits of companies and products who are using erlang<p>- what does erlang do for them, that is not available in mainstream stacks<p>- discussing their infrastructure and design desiscions as detailed as possible<p>- what did they learn<p>- how are they involved in opensource projects<p>- numbers and figures of their running systems<p>This could be a win-win situation. Companies can show their cool stuff. We can learn in what cases Erlang is a good solution.<p>Anyway - Good luck with your book.
评论 #2513549 未加载
regularfryabout 14 years ago
Yes! Especially if you can cover mutual supervision - that sort of arrangement seems to get glossed over in the "tree of supervisors" world.
评论 #2513680 未加载
gabi38about 14 years ago
Very needed book. In particular I am interested in limiting message queues in Erlang. I still don't get it - How one should deal with situations where messages are produced constantly in higher rate than consumed.. There is no protection in Erlang for this common scenario (I think)
评论 #2513668 未加载
RichClaxtonabout 14 years ago
I have just stared learning Erlang after more or less leaving Java, and the heavy weight world of J2EE. I was surprised how easy I have found learning Erlang maybe it just seemed to make sense, or it feels like the right way of doing things. I would be really interested in the book.
spattenabout 14 years ago
For everyone who's interested in Yurii's book: if you go to <a href="http://leanpub.com/erlang-recipes" rel="nofollow">http://leanpub.com/erlang-recipes</a> and enter an email address, you'll get automatically notified when the book is first published.<p>Thanks!
showerstabout 14 years ago
For reference I tried to put a range of $ into your form (30 - 50), and it gave me an unfriendly error and cleared all of the fields.<p>You might throw some client-side validation on those fields to help rebels like me who can't follow simple directions. =)
评论 #2514787 未加载
评论 #2514084 未加载
pstevensabout 14 years ago
This sounds great. I have an introductory book to the Erlang language, and would love a recipe book on the language. I got into Perl via Programming Perl, and still refer to my Perl Cookbook to see how to use the language in certain scenarios.
rubyrescueabout 14 years ago
i like it. i was thinking about the same thing just last week... <a href="http://news.ycombinator.com/item?id=2501387" rel="nofollow">http://news.ycombinator.com/item?id=2501387</a> - let me know if you want a collaborator...
wladimirabout 14 years ago
Yes. I'd certainly value recipes that follow from using Erlang in real life. Especially if it contains succinct ways of solving common problems like the Python Cookbook, which is by far my favorite technical book.
rayboydabout 14 years ago
From the point of view of someone who likes to tinker with languages, yes. Recipe books are usually extremely helpful and massive timesavers.
patrickaljordabout 14 years ago
I know Yurii is very passionate about erlang and he's really good at it so this book should be great.
hanszeirabout 14 years ago
Yes please I can't wait.
scraplababout 14 years ago
Yes please!
aw3c2about 14 years ago
Nope, never used Erlang and probably will never do so. Good luck though.