-
Notifications
You must be signed in to change notification settings - Fork 5
/
faq.html
96 lines (80 loc) · 10.9 KB
/
faq.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="keywords" content="Erlang, Learn you some Erlang, FAQ, drawing, reading, book, author" />
<meta name="description" content="Frequently asked questions about 'Learn you some Erlang'" />
<meta name="google-site-verification" content="mi1UCmFD_2pMLt2jsYHzi_0b6Go9xja8TGllOSoQPVU" />
<link rel="stylesheet" type="text/css" href="static/css/screen.css" media="screen" />
<link rel="stylesheet" type="text/css" href="static/css/sh/shCore.css" media="screen" />
<link rel="stylesheet" type="text/css" href="static/css/sh/shThemeLYSE2.css" media="screen" />
<link rel="stylesheet" type="text/css" href="static/css/print.css" media="print" />
<link href="rss" type="application/rss+xml" rel="alternate" title="LYSE news" />
<link rel="icon" type="image/png" href="favicon.ico" />
<link rel="apple-touch-icon" href="static/img/touch-icon-iphone.png" />
<link rel="apple-touch-icon" sizes="72x72" href="static/img/touch-icon-ipad.png" />
<link rel="apple-touch-icon" sizes="114x114" href="static/img/touch-icon-iphone4.png" />
<title>FAQ | Learn You Some Erlang for Great Good!</title>
</head>
<body>
<div id="wrapper">
<div id="header">
<h1>Learn you some Erlang</h1>
<span>for great good!</span>
</div> <!-- header -->
<div id="menu">
<ul>
<li><a href="content.html" title="Home">Home</a></li>
<li><a href="faq.html" title="Frequently Asked Questions">FAQ</a></li>
<li><a href="rss" title="Latest News">RSS</a></li>
<li><a href="static/erlang/learn-you-some-erlang.zip" title="Source Code">Code</a></li>
</ul>
</div><!-- menu -->
<div id="content">
<div class="noscript"><noscript>Hey there, it appears your Javascript is disabled. That's fine, the site works without it. However, you might prefer reading it with syntax highlighting, which requires Javascript!</noscript></div>
<h2>FAQ</h2>
<p class="question">Isn't LYSE just Learn You a Haskell but with Erlang? Can't you get your own ideas?</p>
<p>Yes, that's in fact what it is. LYAH for Erlang. I e-know Miran Lipovaca and I even asked him the permission to do that site. Read the first chapter, it's explained in there! To answer the second question, it appears that no, I can't get my own ideas. Even this FAQ is more or less copied on his.</p>
<p class="question">Did you draw the pictures yourself?</p>
<p>Yep. Props to my girlfriend for making the site's design, though.</p>
<p class="question">Do you recommend any other Erlang reading material?</p>
<p>Of course. There's some free content on the web, like the official <a href="http://www.erlang.org/starting.html">Getting started</a> guides. They give a good overview, even though the information can be a bit outdated. You can also google for blogs helping you out, but the signal to noise ratio is relatively low for beginners' tutorial (in my opinion).</p>
<p>For stuff you can pay for, take a look at Joe Armstrong's <a href="http://pragprog.com/titles/jaerlang/programming-erlang">Programming Erlang: Software for a Concurrent World</a>. Joe Armstrong's one of the creators of Erlang and gives a pretty good description of the language and why it was thought the way it is. Then you should read <a href="http://oreilly.com/catalog/9780596518189/">Erlang Programming</a> from Francesco Cesarini and Simon Thompson. It's almost a continuation of Joe Armstrong's book in the sense that it will tell you more about Erlang's environment and how to make complete safe, reliable and scalable applications. For more advanced Erlang material (especially OTP), <a href="http://manning.com/logan/">Erlang and OTP in Action</a> is a good source of information.</p>
<p class="question">Can I get this in the form of a real book?</p>
<p>Thanks to No Starch Press, Learn You Some Erlang is available both as a <a class="external" href="http://nostarch.com/erlang">dead tree book and an ebook</a>! At a large 600 black and white pages, including images (in color for ebook copies), you can now have the largest Erlang-themed paperweight and bookcase decoration printed to date (as far as I know). This should ease the sharp pain of reading hundreds of pages on a computer screen.</p>
<p class="question">About the author</p>
<p>My name is Frederic Trottier-Hebert (oh please call me Fred), I'm a French-Canadian, living in Quebec. If you want to contact me directly, send me an e-mail to mononcqc+lyse at ferd.ca. I have a blog at <a href="http://ferd.ca/">ferd.ca</a>, and currently spend my time working for BLOOM Digital Platforms.</p>
<p class="question">I love to talk about web standards, tell me about web standards!</p>
<p>Alright. This question has (obviously) never been asked but I felt like having a place to talk about the web standards I used for this site as my day job concerns web programming a lot.</p>
<p>This site has been tested in Opera 10, FF3.0, FF3.5, IE7, IE8, Chrome, Safari, Elinks, Lynx, Opera mobile, Opera's accessibility layout and a Nokia N810. I've also made sure the site looks okay when printed and that it degrades well without JavaScript or images. I still haven't tested it for audio readers, but I plan on doing that sooner or later. I haven't tested IE6 and I don't plan to do so. If all the testing I've done for what's above is still not good enough for IE6, the problem is probably IE6.</p>
<p>I hope the effort will mean everybody will have clean looking content, although if you want me to support some additional software or device, I'll try to do so (with the exception of IE6). Yes, I pretty much dislike IE6 and decided not to support it out of principle. Sorry for you guys stuck at work with IE6 only :(</p>
<p class="question">Did you do all of this alone?</p>
<p>Yes and no. As said above, the concept comes from Miran, the site design from my girlfriend, and I've had the help of a lot of e-people who accepted to review my texts, fix my grammar and syntax mistakes, correct me on a few facts and suggested content for me to add. Here's a 'thank you' to some of them: <a href="http://buffered.io">OJ Reeves</a>, <a href="https://plus.google.com/104854939887541782231/">Michael Richter</a>, Dave Pawson, Robert Virding, Richard O'Keefe, Ulf Wiger, Lukas Larsson, <a href="http://erldocs.com" title="yeah, he totally owns that site">Dale Harvey</a>, Richard Carlsson, <a href="http://fitzgeraldnick.com">Nick Fitzgerald</a>, <a href="https://github.com/brendonh/">Brendon Hogger</a>, <a href="http://www.linkedin.com/in/geoffcant" title="Geoff is a pretty awesome guy and Erlang programmer and always helpful">Geoff Cant</a>, <a href="http://github.com/Vagabond">Andrew Thompson</a>, Bartosz Fabianowski, <a href="http://www.metabrew.com">Richard Jones</a>, Tuncer Ayaz, <a href="http://www.linkedin.com/pub/william-king/14/11a/9b7">William King</a>, <a href="http://dieswaytoofast.blogspot.com">Mahesh Paolini-Subramanya</a>, and a bunch more from IRC (ie.: <a href="http://functional-orbitz.blogspot.com">orbitz</a>, who didn't want to tell me his real name). Thanks guys! (if I have forgotten to include you (which means you're not in my inbox at the moment) and want your name added to the list, just tell me, it'll be my pleasure.)</p>
<p class="question">I want to read Learn You Some Erlang offline!</p>
<p>That's not a question. In any case, I never had the time to do it, and when a few people sent me PDFs version, they were never fully maintained. In any case, there is a script somewhere on github to help you turn this site into a Kindle book (which I can't openly advertise due to a publishing deal!). For personal copies, I can recommend using <a href="http://www.gnu.org/software/wget/">wget</a> to download your own HTML copy of the site. More precisely, use <code>wget --mirror -k -E http://learnyousomeerlang.com</code>. You should then have a local copy of the site that can be moved and whatnot.</p>
<p class="question">Can you open source the material?</p>
<p>It is open-sourced. Believe it or not, except for one very basic and ugly draft copy of the site in a .txt file, the whole thing is written straight in HTML with the help of a few Vim macros. So right click in your browser, pick 'view source' and you've got the whole thing (except a few templating rules and variables for links).</p>
<p class="question">What do you use to write LYSE?</p>
<p>As explained (partially) in the answer above, I begin with a bland .txt file. Everything is written flat—I don't want to be annoyed with markup. Once this is done, I copy/paste the site's directory in the repository, and start running a bunch of vim macros to mark everything up in proper XHTML, which I intended to make easily convertible to any other format if need was felt for it. Each chapter is then spellechecked, proof-read (by myself), and then proof-read by people in the Erlang community. Meanwhile, I add drawings, and after a short stabilization time and enough reviews, I push it online via SFTP.</p>
<p>Regarding the site's backend, I'm running everything from a nearlyfreespeech.net account (pay for what you use), with apache doing some dispatching for me. The site is basically a linked list implemented in PHP, with a few variables pre-defined to be used in ad-hoc templates (URLs and whatnot). That's about it. People often asked my 'Why PHP?' and the answer takes longer to debate with people online than it took me to write the site. It was simple, cheap, fast, and never caused me an issue with the site. I'm using PHP as a template, which is the best use case you can have for it. If I had to do it again, I'd probably use my own <a href="https://bitbucket.org/ferd/blogerl">blogging platform</a>, though.</p>
<ul class="navigation">
<li style="visibility:hidden;"><a href="content.html" title="Previous chapter">< Previous</a></li>
<li><a href="contents.html" title="Index">Index</a></li>
<li style="visibility:hidden;"><a href="content.html" title="Next chapter">Next ></a></li>
</ul>
</div><!-- content -->
<div id="footer">
<a href="http://creativecommons.org/licenses/by-nc-nd/3.0/" title="Creative Commons License Details"><img src="static/img/cc.png" width="88" height="31" alt="Creative Commons Attribution Non-Commercial No Derivative License" /></a>
<p>Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution Non-Commercial No Derivative License</p>
</div> <!-- footer -->
</div> <!-- wrapper -->
<div id="grass" />
<script type="text/javascript" src="static/js/shCore.js"></script>
<script type="text/javascript" src="static/js/shBrushErlang2.js%3F11"></script>
<script type="text/javascript">
SyntaxHighlighter.defaults.gutter = false;
SyntaxHighlighter.all();
</script>
</body>
</html>