From 83f1ad46e84c1a9016c9dee2c1ec749880dfd260 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sat, 1 Oct 2016 00:08:31 +0200 Subject: HTTPS fixes and link:man support in docs + doc update --- _build/Makefile | 9 +- _build/config.toml | 2 +- _build/data/projects/cowboy.toml | 2 +- _build/themes/ninenines/layouts/partials/head.html | 2 +- articles/cowboy2-qs/index.html | 40 +- articles/erlang-scalability/index.html | 40 +- articles/erlang-validate-utf8/index.html | 40 +- articles/erlang.mk-and-relx/index.html | 40 +- .../index.html | 40 +- articles/erlanger-playbook/index.html | 40 +- articles/farwest-funded/index.html | 40 +- articles/index.html | 80 +- articles/index.xml | 78 +- articles/january-2014-status/index.html | 40 +- articles/ml-archives/index.html | 40 +- articles/on-open-source/index.html | 40 +- articles/page/1/index.html | 2 +- articles/ranch-ftp/index.html | 40 +- articles/the-story-so-far/index.html | 40 +- articles/tictactoe/index.html | 40 +- articles/website-update/index.html | 40 +- articles/xerl-0.1-empty-modules/index.html | 40 +- articles/xerl-0.2-two-modules/index.html | 40 +- articles/xerl-0.3-atomic-expressions/index.html | 40 +- articles/xerl-0.4-expression-separator/index.html | 40 +- articles/xerl-0.5-intermediate-module/index.html | 40 +- categories/index.html | 4 +- docs/en/cowboy/1.0/index.html | 2 +- docs/en/cowboy/2.0/guide/architecture/index.html | 6 +- docs/en/cowboy/2.0/guide/broken_clients/index.html | 6 +- docs/en/cowboy/2.0/guide/constraints/index.html | 6 +- docs/en/cowboy/2.0/guide/cookies/index.html | 6 +- docs/en/cowboy/2.0/guide/erlang_web/index.html | 6 +- docs/en/cowboy/2.0/guide/flow_diagram/index.html | 6 +- .../en/cowboy/2.0/guide/getting_started/index.html | 6 +- docs/en/cowboy/2.0/guide/handlers/index.html | 6 +- docs/en/cowboy/2.0/guide/hooks/index.html | 4 +- docs/en/cowboy/2.0/guide/index.html | 2 +- docs/en/cowboy/2.0/guide/introduction.asciidoc | 2 +- docs/en/cowboy/2.0/guide/introduction/index.html | 8 +- docs/en/cowboy/2.0/guide/listeners/index.html | 6 +- docs/en/cowboy/2.0/guide/loop_handlers/index.html | 6 +- docs/en/cowboy/2.0/guide/middlewares/index.html | 6 +- docs/en/cowboy/2.0/guide/modern_web/index.html | 4 +- docs/en/cowboy/2.0/guide/multipart/index.html | 6 +- docs/en/cowboy/2.0/guide/overview/index.html | 2 +- docs/en/cowboy/2.0/guide/req/index.html | 6 +- docs/en/cowboy/2.0/guide/req_body/index.html | 6 +- .../en/cowboy/2.0/guide/resource_design/index.html | 6 +- docs/en/cowboy/2.0/guide/resp/index.html | 6 +- .../en/cowboy/2.0/guide/rest_flowcharts/index.html | 6 +- docs/en/cowboy/2.0/guide/rest_handlers/index.html | 6 +- .../en/cowboy/2.0/guide/rest_principles/index.html | 6 +- docs/en/cowboy/2.0/guide/routing/index.html | 6 +- docs/en/cowboy/2.0/guide/static_files/index.html | 6 +- docs/en/cowboy/2.0/guide/sub_protocols/index.html | 6 +- docs/en/cowboy/2.0/guide/ws_handlers/index.html | 6 +- docs/en/cowboy/2.0/guide/ws_protocol/index.html | 6 +- docs/en/cowboy/2.0/index.html | 2 +- .../en/cowboy/2.0/manual/cowboy.set_env/index.html | 255 ++++ .../2.0/manual/cowboy.start_clear/index.html | 307 +++++ .../cowboy/2.0/manual/cowboy.start_tls/index.html | 312 +++++ .../2.0/manual/cowboy.stop_listener/index.html | 225 ++++ docs/en/cowboy/2.0/manual/cowboy/index.html | 236 ++-- docs/en/cowboy/2.0/manual/cowboy_app/index.html | 162 ++- .../en/cowboy/2.0/manual/cowboy_handler/index.html | 2 +- docs/en/cowboy/2.0/manual/cowboy_loop/index.html | 2 +- .../cowboy/2.0/manual/cowboy_middleware/index.html | 2 +- .../cowboy/2.0/manual/cowboy_protocol/index.html | 2 +- docs/en/cowboy/2.0/manual/cowboy_req/index.html | 2 +- docs/en/cowboy/2.0/manual/cowboy_rest/index.html | 2 +- docs/en/cowboy/2.0/manual/cowboy_router/index.html | 2 +- docs/en/cowboy/2.0/manual/cowboy_static/index.html | 2 +- .../2.0/manual/cowboy_sub_protocol/index.html | 2 +- .../cowboy/2.0/manual/cowboy_websocket/index.html | 2 +- .../cowboy/2.0/manual/http_status_codes/index.html | 2 +- docs/en/cowboy/2.0/manual/index.html | 22 +- docs/en/cowboy/HEAD/guide/index.html | 2 +- docs/en/cowboy/HEAD/index.html | 2 +- docs/en/cowboy/HEAD/manual/index.html | 2 +- docs/en/cowboy/index.html | 2 +- docs/en/erlang.mk/1/guide/app/index.html | 6 +- docs/en/erlang.mk/1/guide/asciidoc/index.html | 6 +- docs/en/erlang.mk/1/guide/ci/index.html | 6 +- docs/en/erlang.mk/1/guide/common_test/index.html | 6 +- docs/en/erlang.mk/1/guide/compat/index.html | 6 +- docs/en/erlang.mk/1/guide/contributing/index.html | 4 +- docs/en/erlang.mk/1/guide/coverage/index.html | 6 +- docs/en/erlang.mk/1/guide/deps/index.html | 6 +- docs/en/erlang.mk/1/guide/dialyzer/index.html | 6 +- docs/en/erlang.mk/1/guide/edoc/index.html | 6 +- docs/en/erlang.mk/1/guide/escripts/index.html | 6 +- docs/en/erlang.mk/1/guide/eunit/index.html | 6 +- .../erlang.mk/1/guide/external_plugins/index.html | 6 +- .../1/guide/external_plugins_list/index.html | 6 +- .../erlang.mk/1/guide/getting_started/index.html | 6 +- docs/en/erlang.mk/1/guide/history/index.html | 6 +- docs/en/erlang.mk/1/guide/index.html | 2 +- docs/en/erlang.mk/1/guide/installation/index.html | 4 +- docs/en/erlang.mk/1/guide/limitations/index.html | 6 +- docs/en/erlang.mk/1/guide/overview/index.html | 6 +- docs/en/erlang.mk/1/guide/ports/index.html | 6 +- docs/en/erlang.mk/1/guide/releases/index.html | 6 +- docs/en/erlang.mk/1/guide/shell/index.html | 6 +- docs/en/erlang.mk/1/guide/updating/index.html | 6 +- docs/en/erlang.mk/1/guide/why/index.html | 6 +- docs/en/erlang.mk/1/guide/xref/index.html | 6 +- docs/en/erlang.mk/1/index.html | 2 +- docs/en/erlang.mk/index.html | 2 +- docs/en/gun/1.0/guide/connect/index.html | 6 +- docs/en/gun/1.0/guide/http/index.html | 6 +- docs/en/gun/1.0/guide/index.html | 2 +- docs/en/gun/1.0/guide/introduction/index.html | 4 +- docs/en/gun/1.0/guide/protocols/index.html | 6 +- docs/en/gun/1.0/guide/start/index.html | 6 +- docs/en/gun/1.0/guide/websocket/index.html | 4 +- docs/en/gun/1.0/index.html | 2 +- docs/en/gun/1.0/manual/gun/index.html | 2 +- docs/en/gun/1.0/manual/gun_app/index.html | 2 +- docs/en/gun/1.0/manual/index.html | 2 +- docs/en/gun/index.html | 2 +- docs/en/index.html | 2 +- docs/en/ranch/1.2/guide/embedded/index.html | 6 +- docs/en/ranch/1.2/guide/index.html | 2 +- docs/en/ranch/1.2/guide/internals/index.html | 4 +- docs/en/ranch/1.2/guide/introduction/index.html | 4 +- docs/en/ranch/1.2/guide/listeners.asciidoc | 20 +- docs/en/ranch/1.2/guide/listeners/index.html | 27 +- docs/en/ranch/1.2/guide/parsers/index.html | 6 +- docs/en/ranch/1.2/guide/protocols/index.html | 6 +- docs/en/ranch/1.2/guide/ssl_auth/index.html | 6 +- docs/en/ranch/1.2/guide/transports/index.html | 6 +- docs/en/ranch/1.2/index.html | 2 +- docs/en/ranch/1.2/manual/index.html | 2 +- docs/en/ranch/1.2/manual/ranch/index.html | 10 +- docs/en/ranch/1.2/manual/ranch_app/index.html | 2 +- docs/en/ranch/1.2/manual/ranch_protocol/index.html | 2 +- docs/en/ranch/1.2/manual/ranch_ssl/index.html | 2 +- docs/en/ranch/1.2/manual/ranch_tcp/index.html | 11 +- .../en/ranch/1.2/manual/ranch_transport/index.html | 2 +- docs/en/ranch/index.html | 2 +- docs/index.html | 2 +- docs/index.xml | 1264 ++++++++++---------- donate/index.html | 10 +- index.html | 14 +- index.xml | 82 +- services/index.html | 10 +- sitemap.xml | 256 ++-- slogan/index.html | 2 +- tags/index.html | 4 +- talks/index.html | 2 +- training/index.html | 2 +- 152 files changed, 2969 insertions(+), 1657 deletions(-) create mode 100644 docs/en/cowboy/2.0/manual/cowboy.set_env/index.html create mode 100644 docs/en/cowboy/2.0/manual/cowboy.start_clear/index.html create mode 100644 docs/en/cowboy/2.0/manual/cowboy.start_tls/index.html create mode 100644 docs/en/cowboy/2.0/manual/cowboy.stop_listener/index.html diff --git a/_build/Makefile b/_build/Makefile index cd8240e6..dc3cf23a 100644 --- a/_build/Makefile +++ b/_build/Makefile @@ -54,6 +54,9 @@ docs-$1-$2: tmp/$1 echo >> content/docs/en/$1/$3/guide/`basename $$$$f`; \ sed '1,/^$$$$/d' $$$$f | sed 's/^=== /== /' \ | sed 's/xref:/link:..\//' | sed 's/image::/image::..\//' \ + | sed 's/link:man:$1[(]7[)]/link:..\/$1_app/' \ + | sed 's/\(link:man:[a-z_]*\):/\1./' \ + | sed 's/link:man:\([a-z_.]*\)[1-9()]*/link:..\/\1/' \ >> content/docs/en/$1/$3/guide/`basename $$$$f`; \ done; \ rm tmp/$1/doc/src/guide/book.asciidoc.bak; \ @@ -78,7 +81,11 @@ docs-$1-$2: tmp/$1 echo "\"" >> content/docs/en/$1/$3/manual/`basename $$$$f`; \ echo "+++" >> content/docs/en/$1/$3/manual/`basename $$$$f`; \ echo >> content/docs/en/$1/$3/manual/`basename $$$$f`; \ - sed '1,/^$$$$/d' $$$$f | sed 's/xref:/link:..\//' >> content/docs/en/$1/$3/manual/`basename $$$$f`; \ + sed '1,/^$$$$/d' $$$$f | sed 's/xref:/link:..\//' \ + | sed 's/link:man:$1(7)/link:..\/$1_app/' \ + | sed 's/\(link:man:[a-z_]*\):/\1./' \ + | sed 's/link:man:\([a-z_.]*\)[1-9()]*/link:..\/\1/' \ + >> content/docs/en/$1/$3/manual/`basename $$$$f`; \ done \ fi diff --git a/_build/config.toml b/_build/config.toml index 224cdffa..ccb05b3b 100644 --- a/_build/config.toml +++ b/_build/config.toml @@ -1,4 +1,4 @@ -baseurl = "http://ninenines.eu" +baseurl = "https://ninenines.eu" languagecode = "en-us" title = "Nine Nines" paginate = 20 diff --git a/_build/data/projects/cowboy.toml b/_build/data/projects/cowboy.toml index a9bb6bf4..0c991c52 100644 --- a/_build/data/projects/cowboy.toml +++ b/_build/data/projects/cowboy.toml @@ -1,5 +1,5 @@ title = "Cowboy" -catchphrase = "Small, fast, modular HTTP server." +catchphrase = "Small, fast, modern HTTP server." description = "Cowboy is the ultimate server for the modern Web with support for Websocket, HTTP/2 and REST." name = "cowboy" repository = "https://github.com/ninenines/cowboy" diff --git a/_build/themes/ninenines/layouts/partials/head.html b/_build/themes/ninenines/layouts/partials/head.html index 68db2795..174168b3 100644 --- a/_build/themes/ninenines/layouts/partials/head.html +++ b/_build/themes/ninenines/layouts/partials/head.html @@ -8,7 +8,7 @@ {{ if .IsHome }}{{ .Title }}{{ else }}{{ .Site.Title }}: {{ .Title }}{{ end }} - + diff --git a/articles/cowboy2-qs/index.html b/articles/cowboy2-qs/index.html index c3a5ce9c..b9dcdbe4 100644 --- a/articles/cowboy2-qs/index.html +++ b/articles/cowboy2-qs/index.html @@ -11,7 +11,7 @@ Nine Nines: Cowboy 2.0 and query strings - + @@ -233,43 +233,43 @@ thoughts that went into this rather than just the conclusion.

More articles

diff --git a/articles/erlang-scalability/index.html b/articles/erlang-scalability/index.html index 2bffc170..836e2a99 100644 --- a/articles/erlang-scalability/index.html +++ b/articles/erlang-scalability/index.html @@ -11,7 +11,7 @@ Nine Nines: Erlang Scalability - + @@ -218,43 +218,43 @@ concurrently.

More articles

diff --git a/articles/erlang-validate-utf8/index.html b/articles/erlang-validate-utf8/index.html index 1c41f870..44e0f42f 100644 --- a/articles/erlang-validate-utf8/index.html +++ b/articles/erlang-validate-utf8/index.html @@ -11,7 +11,7 @@ Nine Nines: Validating UTF-8 binaries with Erlang - + @@ -269,43 +269,43 @@ http://www.gnu.org/software/src-highlite -->

More articles

diff --git a/articles/erlang.mk-and-relx/index.html b/articles/erlang.mk-and-relx/index.html index 7a941eb0..b37be0bd 100644 --- a/articles/erlang.mk-and-relx/index.html +++ b/articles/erlang.mk-and-relx/index.html @@ -11,7 +11,7 @@ Nine Nines: Build Erlang releases with Erlang.mk and Relx - + @@ -172,43 +172,43 @@ containing all the flags to pass to the Erlang VM, for example

More articles

diff --git a/articles/erlanger-playbook-september-2015-update/index.html b/articles/erlanger-playbook-september-2015-update/index.html index 0fa1e6ef..8b2c0245 100644 --- a/articles/erlanger-playbook-september-2015-update/index.html +++ b/articles/erlanger-playbook-september-2015-update/index.html @@ -11,7 +11,7 @@ Nine Nines: The Erlanger Playbook September 2015 Update - + @@ -97,43 +97,43 @@ will be used to allow me to work on open source full time.

More articles

diff --git a/articles/erlanger-playbook/index.html b/articles/erlanger-playbook/index.html index 16775ae8..7a5888ae 100644 --- a/articles/erlanger-playbook/index.html +++ b/articles/erlanger-playbook/index.html @@ -11,7 +11,7 @@ Nine Nines: The Erlanger Playbook - + @@ -150,43 +150,43 @@ You will receive updates to the book for free as soon as they are available.

More articles

diff --git a/articles/farwest-funded/index.html b/articles/farwest-funded/index.html index 407c78a0..597844a1 100644 --- a/articles/farwest-funded/index.html +++ b/articles/farwest-funded/index.html @@ -11,7 +11,7 @@ Nine Nines: Farwest got funded! - + @@ -105,43 +105,43 @@ can help!

More articles

diff --git a/articles/index.html b/articles/index.html index 87eac123..c7e525cd 100644 --- a/articles/index.html +++ b/articles/index.html @@ -11,7 +11,7 @@ Nine Nines: Articles - + @@ -22,7 +22,7 @@ - + @@ -74,7 +74,7 @@
-

Mailing list archived

+

Mailing list archived

29 Aug @@ -84,13 +84,13 @@

The old mailing list archives have been added to the site, mainly for referencing purposes. The mailing list has been shut down and all personal information has been deleted. If you need help with a project, consider either opening a ticket on that project’s issues tracker or going through the community channels (erlang-questions, #ninenines or #erlang on Freenode). Prefer tickets; often when people have issues it highlights an underlying problem in the project or its documentation.

- Read More + Read More

-

Website update

+

Website update

02 Apr @@ -100,13 +100,13 @@

Last week-end I updated the Nine Nines website. I switched to Hugo. The site is now built from Asciidoc documents. You probably saw me switch to Asciidoc for documentation this past year. This is the natural conclusion to that story. The great thing is that with a little bit of Makefile magic I can just copy the documentation files into Hugo and poof, they appear on the website. I am very happy with that new setup.

- Read More + Read More

-

The Erlanger Playbook September 2015 Update

+

The Erlanger Playbook September 2015 Update

02 Sep @@ -116,13 +116,13 @@

An update to The Erlanger Playbook is now available! The Erlanger Playbook is a book about software development using Erlang. It currently covers all areas from the conception, design, the writing of code, documentation and tests. The book is still a work in progress. Future topics will include refactoring, debugging and tracing, benchmarking, releases, community management (for open source projects). This update fixes a number of things and adds two chapters: IOlists and Erlang building blocks.

- Read More + Read More

-

The Erlanger Playbook

+

The Erlanger Playbook

18 Jun @@ -132,13 +132,13 @@

I am proud to announce the pre-release of The Erlanger Playbook. The Erlanger Playbook is a book about software development using Erlang. It currently covers all areas from the conception, design, the writing of code, documentation and tests. The book is still a work in progress. Future topics will include refactoring, debugging and tracing, benchmarking, releases, community management (for open source projects). The following sections are currently available: About this book; Future additions Workflow: Think; Write; Stay productive Documentation: On documentation; Tutorials; User guide; Manual Code: Starting a project; Version control; Project structure; Code style; Best practices; Special processes Tests: On testing; Success typing analysis; Manual testing; Unit testing; Functional testing Read a preview: Special processes The book is currently just shy of 100 pages.

- Read More + Read More

-

Validating UTF-8 binaries with Erlang

+

Validating UTF-8 binaries with Erlang

06 Mar @@ -148,13 +148,13 @@

Yesterday I pushed Websocket permessage-deflate to Cowboy master. I also pushed a change in the way the code validates UTF-8 data (required for text and close frames as per the spec). When looking into why the permessage-deflate tests in autobahntestsuite were taking such a long time, I found that autobahn is using an adaptation of the algorithm named <a href="http://bjoern.hoehrmann.de/utf-8/decoder/dfa/">Flexible and Economical UTF-8 Decoder</a>. This is the C99 implementation: // Copyright (c) 2008-2009 Bjoern Hoehrmann <bjoern@hoehrmann.de> // See http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ for details.

- Read More + Read More

-

On open source

+

On open source

05 Sep @@ -164,13 +164,13 @@

Last week I read a great article on contributing to open source by Alvaro Videla. He makes many great points and I am in agreement with most of it. This made me want to properly explain my point of view with regard to open source and contributions. Unlike most open source evangelism articles I will not talk about ideals or any of that crap, but rather my personal feelings and experience.

- Read More + Read More

-

The story so far

+

The story so far

23 Aug @@ -180,13 +180,13 @@

As I am away from home with little to do (some call this a vacation) I wanted to reflect a little on the story so far, or how I arrived to Erlang and got to where I am now. The raw personal experience. It’ll be an article that’s more about social aspect, communities and marketing a project than technical considerations. As a period piece, it will also allow me to reflect on the evolution of Erlang in recent years.

- Read More + Read More

-

Cowboy 2.0 and query strings

+

Cowboy 2.0 and query strings

20 Aug @@ -196,13 +196,13 @@

Now that Cowboy 1.0 is out, I can spend some of my time thinking about Cowboy 2.0 that will be released soon after Erlang/OTP 18.0. This entry discusses the proposed changes to query string handling in Cowboy. Cowboy 2.0 will respond to user wishes by simplifying the interface of the cowboy_req module. Users want two things: less juggling with the Req variable, and more maps. Maps is the only dynamic key/value data structure in Erlang that we can match directly to extract values, allowing users to greatly simplify their code as they don’t need to call functions to do everything anymore.

- Read More + Read More

-

January 2014 status

+

January 2014 status

07 Jan @@ -212,13 +212,13 @@

I will now be regularly writing posts about project status, plans and hopes for the future. Before that though, there’s one important news to share. Until a year ago all development was financed through consulting and development services. This worked alright but too much time was spent doing things that didn’t benefit the open source projects. And that didn’t make me happy at all. Because I like being happy I stopped that for the most part and spent the year figuring things out, experimenting and discussing with people about it.

- Read More + Read More

-

Farwest got funded!

+

Farwest got funded!

27 Jun @@ -228,13 +228,13 @@

This was a triumph! I’m making a note here: HUGE SUCCESS!! It’s hard to overstate my satisfaction. Thanks to everyone who made this possible. If you have backed this fundraiser, and haven’t provided your personal details yet, please do so quickly so that your rewards can be sent! I am hoping that we will be able to make good use of all that money. The details of the expenses will be published regularly on the 2013 Fundraiser wiki page, giving you full disclosure as to how your money is used.

- Read More + Read More

-

Build Erlang releases with Erlang.mk and Relx

+

Build Erlang releases with Erlang.mk and Relx

28 May @@ -244,13 +244,13 @@

Building OTP releases has always been a difficult task. Tools like Reltool or Rebar have made this simpler, but it’s no panacea. This article will show you an alternative and hopefully much simpler solution. There is two steps to building a release. First you need to build the various OTP applications you want to include in the release. Once done, you need to create the release itself, by including the Erlang runtime system alongside the applications, a boot script to start the node and all its applications, and some configuration files.

- Read More + Read More

-

Xerl: intermediate module

+

Xerl: intermediate module

25 Mar @@ -260,13 +260,13 @@

Today we will start the work on the intermediate module that will be used to run the code for the expressions found in our file’s body, replacing our interpreter. This is what we want to have when all the work is done: xerl -> tokens -> AST -> intermediate -> cerl Today we will perform this work only on the atomic integer expression however, so we will not build any module at the end.

- Read More + Read More

-

Xerl: expression separator

+

Xerl: expression separator

01 Mar @@ -276,13 +276,13 @@

As promised we are adding an expression separator this time. This will be short and easy. In the tokenizer we only need to add a line recognizing the comma as a valid token. , : {token, {',', TokenLine}}. Then we need to change the following lines in the parser: exprs -> expr : ['$1']. exprs -> expr exprs : ['$1' | '$2']. And add a comma between the expressions on the second line: exprs -> expr : ['$1'].

- Read More + Read More

-

Erlang Scalability

+

Erlang Scalability

18 Feb @@ -292,13 +292,13 @@

I would like to share some experience and theories on Erlang scalability. This will be in the form of a series of hints, which may or may not be accompanied with explanations as to why things are this way, or how they improve or reduce the scalability of a system. I will try to do my best to avoid giving falsehoods, even if that means a few things won’t be explained.

- Read More + Read More

-

Xerl: atomic expressions

+

Xerl: atomic expressions

18 Feb @@ -308,13 +308,13 @@

We will be adding atomic integer expressions to our language. These look as follow in Erlang: 42. And the result of this expression is of course 42. We will be running this expression at compile time, since we don’t have the means to run code at runtime yet. This will of course result in no module being compiled, but that’s OK, it will allow us to discuss a few important things we’ll have to plan for later on.

- Read More + Read More

-

Xerl: two modules

+

Xerl: two modules

03 Feb @@ -324,13 +324,13 @@

Everything is an expression. This sentence carries profound meaning. We will invoke it many times over the course of these articles. If everything is an expression, then the language shouldn’t have any problem with me defining two modules in the same source file. mod first_module begin end mod second_module begin end Likewise, it shouldn’t have any problem with me defining a module inside another module. mod out_module begin mod in_module begin end end Of course, in the context of the Erlang VM, these two snippets are equivalent; there is nothing preventing you from calling the in_module module from any other module.

- Read More + Read More

-

Xerl: empty modules

+

Xerl: empty modules

30 Jan @@ -340,13 +340,13 @@

Let’s build a programming language. I call it Xerl: eXtended ERLang. It’ll be an occasion for us to learn a few things, especially me. Unlike in Erlang, in this language, everything is an expression. This means that modules and functions are expression, and indeed that you can have more than one module per file. We are just starting, so let’s no go ahead of ourselves here. We’ll begin with writing the code allowing us to compile an empty module.

- Read More + Read More

-

Build an FTP Server with Ranch in 30 Minutes

+

Build an FTP Server with Ranch in 30 Minutes

14 Nov @@ -356,13 +356,13 @@

Last week I was speaking at the London Erlang Factory Lite where I presented a live demonstration of building an FTP server using Ranch. As there was no slide, you should use this article as a reference instead. The goal of this article is to showcase how to use Ranch for writing a network protocol implementation, how Ranch gets out of the way to let you write the code that matters, and the common techniques used when writing servers.

- Read More + Read More

-

Erlang Tic Tac Toe

+

Erlang Tic Tac Toe

17 Oct @@ -372,7 +372,7 @@

Everyone knows Tic Tac Toe, right? Players choose either to be the Xs or the Os, then place their symbol on a 3x3 board one after another, trying to create a line of 3 of them. Writing an algorithm to check for victory sounds easy, right? It’s easily tested, considering there’s only 8 possible winning rows (3 horizontal, 3 vertical and 2 diagonal). In Erlang though, you probably wouldn’t want an algorithm.

- Read More + Read More

diff --git a/articles/index.xml b/articles/index.xml index cfa19fdd..62988455 100644 --- a/articles/index.xml +++ b/articles/index.xml @@ -2,20 +2,20 @@ Articles on Nine Nines - http://ninenines.eu/articles/ + https://ninenines.eu/articles/ Recent content in Articles on Nine Nines Hugo -- gohugo.io en-us Mon, 29 Aug 2016 00:00:00 +0100 - + Mailing list archived - http://ninenines.eu/articles/ml-archives/ + https://ninenines.eu/articles/ml-archives/ Mon, 29 Aug 2016 00:00:00 +0100 - http://ninenines.eu/articles/ml-archives/ - <div class="paragraph"><p>The <a href="http://ninenines.eu/archives/extend">old mailing list archives</a> have been + https://ninenines.eu/articles/ml-archives/ + <div class="paragraph"><p>The <a href="https://ninenines.eu/archives/extend">old mailing list archives</a> have been added to the site, mainly for referencing purposes.</p></div> <div class="paragraph"><p>The mailing list has been shut down and all personal information has been deleted.</p></div> @@ -30,10 +30,10 @@ underlying problem in the project or its documentation.</p></div> Website update - http://ninenines.eu/articles/website-update/ + https://ninenines.eu/articles/website-update/ Sat, 02 Apr 2016 00:00:00 +0100 - http://ninenines.eu/articles/website-update/ + https://ninenines.eu/articles/website-update/ <div class="paragraph"><p>Last week-end I updated the Nine Nines website.</p></div> <div class="paragraph"><p>I switched to <a href="http://gohugo.io/">Hugo</a>. The site is now built from <a href="http://asciidoc.org/">Asciidoc</a> @@ -49,7 +49,7 @@ from now on. I will try to replace my long series of tweets with posts.</p></div> <div class="paragraph"><p>The sections have been rearranged. There used to be a separate training section; now -<a href="http://ninenines.eu/services">all my services</a> are described in +<a href="https://ninenines.eu/services">all my services</a> are described in one page. I have also clarified my areas of expertise. There used to be confusion in the past, so now it should be clearer that I am not a @@ -58,7 +58,7 @@ distributed systems expert.</p></div> services right now, I&#8217;m not available. I&#8217;ll have to work 7 days a week for a while. Try again in a couple months. More on that in a future post.</p></div> -<div class="paragraph"><p>The <a href="http://ninenines.eu/docs">documentation</a> becomes a first class +<div class="paragraph"><p>The <a href="https://ninenines.eu/docs">documentation</a> becomes a first class citizen. Bullet and Cowlib don&#8217;t have proper documentation&#8230; yet. I have started working on the Cowlib documentation, and Bullet shouldn&#8217;t take too @@ -81,8 +81,8 @@ a one-man company right now. Have been for a while. Doesn&#8217;t make sense to keep a facade. I want to be close to users, not put a barrier between us.</p></div> <div class="paragraph"><p>The RSS changed. The old link doesn&#8217;t work anymore. -The new link is at <a href="http://ninenines.eu/index.xml">/index.xml</a>, -or <a href="http://ninenines.eu/articles/index.xml">/articles/index.xml</a> +The new link is at <a href="https://ninenines.eu/index.xml">/index.xml</a>, +or <a href="https://ninenines.eu/articles/index.xml">/articles/index.xml</a> if you only care about my posts. I guess that&#8217;s the one most people want.</p></div> <div class="paragraph"><p>I still have some tweaks to do, but it will take a @@ -96,10 +96,10 @@ upgrading JS libraries.</p></div> The Erlanger Playbook September 2015 Update - http://ninenines.eu/articles/erlanger-playbook-september-2015-update/ + https://ninenines.eu/articles/erlanger-playbook-september-2015-update/ Wed, 02 Sep 2015 00:00:00 +0100 - http://ninenines.eu/articles/erlanger-playbook-september-2015-update/ + https://ninenines.eu/articles/erlanger-playbook-september-2015-update/ <div class="paragraph"><p>An update to The Erlanger Playbook is now available!</p></div> <div class="paragraph"><p>The Erlanger Playbook is a book about software development using Erlang. It currently covers all areas from the conception, design, @@ -109,7 +109,7 @@ refactoring, debugging and tracing, benchmarking, releases, community management (for open source projects).</p></div> <div class="paragraph"><p>This update fixes a number of things and adds two chapters: IOlists and Erlang building blocks.</p></div> -<div class="paragraph"><p>Learn more about <a href="http://ninenines.eu/articles/erlanger-playbook">The Erlanger Playbook</a>!</p></div> +<div class="paragraph"><p>Learn more about <a href="https://ninenines.eu/articles/erlanger-playbook">The Erlanger Playbook</a>!</p></div> <div class="paragraph"><p>This is a self-published ebook. The base price is 50€. All proceeds will be used to allow me to work on open source full time.</p></div> <div class="paragraph"><p>Thank you for helping me helping you help us all!</p></div> @@ -118,10 +118,10 @@ will be used to allow me to work on open source full time.</p></div> The Erlanger Playbook - http://ninenines.eu/articles/erlanger-playbook/ + https://ninenines.eu/articles/erlanger-playbook/ Thu, 18 Jun 2015 00:00:00 +0100 - http://ninenines.eu/articles/erlanger-playbook/ + https://ninenines.eu/articles/erlanger-playbook/ <div class="paragraph"><p>I am proud to announce the pre-release of The Erlanger Playbook.</p></div> <div class="paragraph"><p>The Erlanger Playbook is a book about software development using Erlang. It currently covers all areas from the conception, design, @@ -157,7 +157,7 @@ About this book; Future additions </p> </li> </ul></div> -<div class="paragraph"><p>Read a preview: <a href="http://ninenines.eu/res/erlanger-preview.pdf">Special processes</a></p></div> +<div class="paragraph"><p>Read a preview: <a href="https://ninenines.eu/res/erlanger-preview.pdf">Special processes</a></p></div> <div class="paragraph"><p>The book is currently just shy of 100 pages. The final version of the book is planned to be between 200 and 250 pages. A print version of the book will be considered once the final @@ -193,10 +193,10 @@ You will receive updates to the book for free as soon as they are available.< Validating UTF-8 binaries with Erlang - http://ninenines.eu/articles/erlang-validate-utf8/ + https://ninenines.eu/articles/erlang-validate-utf8/ Fri, 06 Mar 2015 00:00:00 +0100 - http://ninenines.eu/articles/erlang-validate-utf8/ + https://ninenines.eu/articles/erlang-validate-utf8/ <div class="paragraph"><p>Yesterday I pushed Websocket permessage-deflate to Cowboy master. I also pushed <a href="https://github.com/ninenines/cowlib/commit/7e4983b70ddf8cedb967e36fba6a600731bdad5d">a @@ -387,10 +387,10 @@ http://www.gnu.org/software/src-highlite --> On open source - http://ninenines.eu/articles/on-open-source/ + https://ninenines.eu/articles/on-open-source/ Fri, 05 Sep 2014 00:00:00 +0100 - http://ninenines.eu/articles/on-open-source/ + https://ninenines.eu/articles/on-open-source/ <div class="paragraph"><p>Last week I read a great article <a href="http://videlalvaro.github.io/2014/08/on-contributing-to-opensource.html">on contributing to open source</a> by Alvaro Videla. He makes @@ -513,10 +513,10 @@ of your company&#8217;s money.</p></div> The story so far - http://ninenines.eu/articles/the-story-so-far/ + https://ninenines.eu/articles/the-story-so-far/ Sat, 23 Aug 2014 00:00:00 +0100 - http://ninenines.eu/articles/the-story-so-far/ + https://ninenines.eu/articles/the-story-so-far/ <div class="paragraph"><p>As I am away from home with little to do (some call this a vacation) I wanted to reflect a little on the story so far, or how I arrived to Erlang and got to where I am now. The @@ -746,10 +746,10 @@ project and make sure it doesn&#8217;t happen again.</p></div> Cowboy 2.0 and query strings - http://ninenines.eu/articles/cowboy2-qs/ + https://ninenines.eu/articles/cowboy2-qs/ Wed, 20 Aug 2014 00:00:00 +0100 - http://ninenines.eu/articles/cowboy2-qs/ + https://ninenines.eu/articles/cowboy2-qs/ <div class="paragraph"><p>Now that Cowboy 1.0 is out, I can spend some of my time thinking about Cowboy 2.0 that will be released soon after Erlang/OTP 18.0. This entry discusses the proposed changes to query string handling @@ -904,10 +904,10 @@ thoughts that went into this rather than just the conclusion.</p></div& January 2014 status - http://ninenines.eu/articles/january-2014-status/ + https://ninenines.eu/articles/january-2014-status/ Tue, 07 Jan 2014 00:00:00 +0100 - http://ninenines.eu/articles/january-2014-status/ + https://ninenines.eu/articles/january-2014-status/ <div class="paragraph"><p>I will now be regularly writing posts about project status, plans and hopes for the future.</p></div> <div class="paragraph"><p>Before that though, there&#8217;s one important news to share.</p></div> @@ -1053,10 +1053,10 @@ the sponsoring idea, anything really! Thanks.</p></div> Farwest got funded! - http://ninenines.eu/articles/farwest-funded/ + https://ninenines.eu/articles/farwest-funded/ Thu, 27 Jun 2013 00:00:00 +0100 - http://ninenines.eu/articles/farwest-funded/ + https://ninenines.eu/articles/farwest-funded/ <div class="paragraph"><p>This was a triumph! I&#8217;m making a note here: HUGE SUCCESS!!</p></div> <iframe frameborder="0" scrolling="no" height="400px" width"236px" seamless="seamless" src="https://api.bountysource.com/user/fundraisers/83/embed"></iframe> <div class="paragraph"><p>It&#8217;s hard to overstate my satisfaction. Thanks to everyone who @@ -1083,10 +1083,10 @@ can help!</p></div> Build Erlang releases with Erlang.mk and Relx - http://ninenines.eu/articles/erlang.mk-and-relx/ + https://ninenines.eu/articles/erlang.mk-and-relx/ Tue, 28 May 2013 00:00:00 +0100 - http://ninenines.eu/articles/erlang.mk-and-relx/ + https://ninenines.eu/articles/erlang.mk-and-relx/ <div class="paragraph"><p>Building OTP releases has always been a difficult task. Tools like Reltool or Rebar have made this simpler, but it&#8217;s no panacea. This article will show you an alternative and @@ -1180,10 +1180,10 @@ containing all the flags to pass to the Erlang VM, for example Xerl: intermediate module - http://ninenines.eu/articles/xerl-0.5-intermediate-module/ + https://ninenines.eu/articles/xerl-0.5-intermediate-module/ Mon, 25 Mar 2013 00:00:00 +0100 - http://ninenines.eu/articles/xerl-0.5-intermediate-module/ + https://ninenines.eu/articles/xerl-0.5-intermediate-module/ <div class="paragraph"><p>Today we will start the work on the intermediate module that will be used to run the code for the expressions found in our file&#8217;s body, replacing our interpreter.</p></div> @@ -1319,10 +1319,10 @@ http://www.gnu.org/software/src-highlite --> Xerl: expression separator - http://ninenines.eu/articles/xerl-0.4-expression-separator/ + https://ninenines.eu/articles/xerl-0.4-expression-separator/ Fri, 01 Mar 2013 00:00:00 +0100 - http://ninenines.eu/articles/xerl-0.4-expression-separator/ + https://ninenines.eu/articles/xerl-0.4-expression-separator/ <div class="paragraph"><p>As promised we are adding an expression separator this time. This will be short and easy.</p></div> <div class="paragraph"><p>In the tokenizer we only need to add a line recognizing the @@ -1380,10 +1380,10 @@ expressions so I thought it was a good idea to anticipate.</p></div> Erlang Scalability - http://ninenines.eu/articles/erlang-scalability/ + https://ninenines.eu/articles/erlang-scalability/ Mon, 18 Feb 2013 00:00:00 +0100 - http://ninenines.eu/articles/erlang-scalability/ + https://ninenines.eu/articles/erlang-scalability/ <div class="paragraph"><p>I would like to share some experience and theories on Erlang scalability.</p></div> <div class="paragraph"><p>This will be in the form of a series of hints, which @@ -1523,10 +1523,10 @@ concurrently.</p></div> Xerl: atomic expressions - http://ninenines.eu/articles/xerl-0.3-atomic-expressions/ + https://ninenines.eu/articles/xerl-0.3-atomic-expressions/ Mon, 18 Feb 2013 00:00:00 +0100 - http://ninenines.eu/articles/xerl-0.3-atomic-expressions/ + https://ninenines.eu/articles/xerl-0.3-atomic-expressions/ <div class="paragraph"><p>We will be adding atomic integer expressions to our language. These look as follow in Erlang:</p></div> <div class="listingblock"> diff --git a/articles/january-2014-status/index.html b/articles/january-2014-status/index.html index cb3341a9..4dadce99 100644 --- a/articles/january-2014-status/index.html +++ b/articles/january-2014-status/index.html @@ -11,7 +11,7 @@ Nine Nines: January 2014 status - + @@ -224,43 +224,43 @@ the sponsoring idea, anything really! Thanks.

More articles

diff --git a/articles/ml-archives/index.html b/articles/ml-archives/index.html index 8e104759..c8203771 100644 --- a/articles/ml-archives/index.html +++ b/articles/ml-archives/index.html @@ -11,7 +11,7 @@ Nine Nines: Mailing list archived - + @@ -94,43 +94,43 @@ underlying problem in the project or its documentation.

More articles

diff --git a/articles/on-open-source/index.html b/articles/on-open-source/index.html index 97bed96f..86ed11d7 100644 --- a/articles/on-open-source/index.html +++ b/articles/on-open-source/index.html @@ -11,7 +11,7 @@ Nine Nines: On open source - + @@ -201,43 +201,43 @@ of your company’s money.

More articles

diff --git a/articles/page/1/index.html b/articles/page/1/index.html index 91d8267b..a8708041 100644 --- a/articles/page/1/index.html +++ b/articles/page/1/index.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/articles/ranch-ftp/index.html b/articles/ranch-ftp/index.html index 8fb86f64..226e07e4 100644 --- a/articles/ranch-ftp/index.html +++ b/articles/ranch-ftp/index.html @@ -11,7 +11,7 @@ Nine Nines: Build an FTP Server with Ranch in 30 Minutes - + @@ -294,43 +294,43 @@ binary protocol implementations in just a few lines of code.

More articles

diff --git a/articles/the-story-so-far/index.html b/articles/the-story-so-far/index.html index 538d0d19..7b3a2451 100644 --- a/articles/the-story-so-far/index.html +++ b/articles/the-story-so-far/index.html @@ -11,7 +11,7 @@ Nine Nines: The story so far - + @@ -308,43 +308,43 @@ project and make sure it doesn’t happen again.

More articles

diff --git a/articles/tictactoe/index.html b/articles/tictactoe/index.html index 830e3c64..416050b0 100644 --- a/articles/tictactoe/index.html +++ b/articles/tictactoe/index.html @@ -11,7 +11,7 @@ Nine Nines: Erlang Tic Tac Toe - + @@ -167,43 +167,43 @@ of writing algorithms to do things.

More articles

diff --git a/articles/website-update/index.html b/articles/website-update/index.html index f55e57a5..486a2b8f 100644 --- a/articles/website-update/index.html +++ b/articles/website-update/index.html @@ -11,7 +11,7 @@ Nine Nines: Website update - + @@ -141,43 +141,43 @@ upgrading JS libraries.

More articles

diff --git a/articles/xerl-0.1-empty-modules/index.html b/articles/xerl-0.1-empty-modules/index.html index 7b888725..0fac4a40 100644 --- a/articles/xerl-0.1-empty-modules/index.html +++ b/articles/xerl-0.1-empty-modules/index.html @@ -11,7 +11,7 @@ Nine Nines: Xerl: empty modules - + @@ -222,43 +222,43 @@ the next few articles.

More articles

diff --git a/articles/xerl-0.2-two-modules/index.html b/articles/xerl-0.2-two-modules/index.html index 0ebbcb00..44d60915 100644 --- a/articles/xerl-0.2-two-modules/index.html +++ b/articles/xerl-0.2-two-modules/index.html @@ -11,7 +11,7 @@ Nine Nines: Xerl: two modules - + @@ -227,43 +227,43 @@ though, so let’s get back to it after we add more.

More articles

diff --git a/articles/xerl-0.3-atomic-expressions/index.html b/articles/xerl-0.3-atomic-expressions/index.html index 377b8147..40f3250e 100644 --- a/articles/xerl-0.3-atomic-expressions/index.html +++ b/articles/xerl-0.3-atomic-expressions/index.html @@ -11,7 +11,7 @@ Nine Nines: Xerl: atomic expressions - + @@ -231,43 +231,43 @@ do that.

More articles

diff --git a/articles/xerl-0.4-expression-separator/index.html b/articles/xerl-0.4-expression-separator/index.html index 31ffa0ba..19eae3f2 100644 --- a/articles/xerl-0.4-expression-separator/index.html +++ b/articles/xerl-0.4-expression-separator/index.html @@ -11,7 +11,7 @@ Nine Nines: Xerl: expression separator - + @@ -136,43 +136,43 @@ expressions so I thought it was a good idea to anticipate.

More articles

diff --git a/articles/xerl-0.5-intermediate-module/index.html b/articles/xerl-0.5-intermediate-module/index.html index 0b40ea2a..d35d333a 100644 --- a/articles/xerl-0.5-intermediate-module/index.html +++ b/articles/xerl-0.5-intermediate-module/index.html @@ -11,7 +11,7 @@ Nine Nines: Xerl: intermediate module - + @@ -214,43 +214,43 @@ http://www.gnu.org/software/src-highlite -->

More articles

diff --git a/categories/index.html b/categories/index.html index f6e192c7..f6690448 100644 --- a/categories/index.html +++ b/categories/index.html @@ -11,7 +11,7 @@ Nine Nines: Categories - + @@ -22,7 +22,7 @@ - + diff --git a/docs/en/cowboy/1.0/index.html b/docs/en/cowboy/1.0/index.html index c1eedb2f..ea24e654 100644 --- a/docs/en/cowboy/1.0/index.html +++ b/docs/en/cowboy/1.0/index.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/docs/en/cowboy/2.0/guide/architecture/index.html b/docs/en/cowboy/2.0/guide/architecture/index.html index 6f2015d6..0b3f8cb7 100644 --- a/docs/en/cowboy/2.0/guide/architecture/index.html +++ b/docs/en/cowboy/2.0/guide/architecture/index.html @@ -11,7 +11,7 @@ Nine Nines: Architecture - + @@ -127,13 +127,13 @@ only processing short-lived requests.