Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ affecting **all external contributors**:
involved.
```

See <http://developercertificate.org/> for a copy of the Developer Certificate
See <https://developercertificate.org/> for a copy of the Developer Certificate
of Origin license.

## Building documentation
Expand Down
2 changes: 1 addition & 1 deletion lib/elixir/lib/float.ex
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ defmodule Float do

To learn more about floating-point arithmetic visit:

* [0.30000000000000004.com](http://0.30000000000000004.com/)
* [0.30000000000000004.com](https://0.30000000000000004.com/)
* [What Every Programmer Should Know About Floating-Point Arithmetic](https://floating-point-gui.de/)

"""
Expand Down
2 changes: 1 addition & 1 deletion lib/elixir/lib/gen_server.ex
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ defmodule GenServer do
* [GenServer - Elixir's Getting Started Guide](genservers.md)
* [`:gen_server` module documentation](`:gen_server`)
* [gen_server Behaviour - OTP Design Principles](https://www.erlang.org/doc/design_principles/gen_server_concepts.html)
* [Clients and Servers - Learn You Some Erlang for Great Good!](http://learnyousomeerlang.com/clients-and-servers)
* [Clients and Servers - Learn You Some Erlang for Great Good!](https://learnyousomeerlang.com/clients-and-servers)

"""

Expand Down
2 changes: 1 addition & 1 deletion lib/elixir/lib/string.ex
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defmodule String do
"hello world"

The functions in this module act according to
[The Unicode Standard, Version 17.0.0](http://www.unicode.org/versions/Unicode17.0.0/).
[The Unicode Standard, Version 17.0.0](https://www.unicode.org/versions/Unicode17.0.0/).

## Interpolation

Expand Down
2 changes: 1 addition & 1 deletion lib/elixir/pages/anti-patterns/process-anti-patterns.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,6 @@ end

Besides having a deterministic order in which processes are started, supervision trees also guarantee they are terminated in reverse order, allowing you to perform any necessary clean up during shut down. Furthermore, supervision strategies allows us to configure exactly how process should act in case of unexpected failures.

Finally, applications and supervision trees can be introspected through applications like the [Phoenix.LiveDashboard](http://github.com/phoenixframework/phoenix_live_dashboard) and [Erlang's built-in observer](https://www.erlang.org/doc/apps/observer/observer_ug):
Finally, applications and supervision trees can be introspected through applications like the [Phoenix.LiveDashboard](https://github.com/phoenixframework/phoenix_live_dashboard) and [Erlang's built-in observer](https://www.erlang.org/doc/apps/observer/observer_ug):

<img src="assets/kv-observer.png" alt="Observer GUI screenshot" />
4 changes: 2 additions & 2 deletions lib/elixir/pages/getting-started/erlang-libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ iex> :binary.first("hello")
104
```

As you grow more proficient in Elixir, you may want to explore the Erlang [STDLIB Reference Manual](http://www.erlang.org/doc/apps/stdlib/index.html) in more detail.
As you grow more proficient in Elixir, you may want to explore the Erlang [STDLIB Reference Manual](https://www.erlang.org/doc/apps/stdlib/index.html) in more detail.

## The binary module

Expand Down Expand Up @@ -188,6 +188,6 @@ If you want to get deeper into Erlang, here's a list of online resources that co

* Erlang's official website has a short [tutorial](https://www.erlang.org/course). There is a chapter with pictures briefly describing Erlang's primitives for [concurrent programming](https://www.erlang.org/course/concurrent_programming.html).

* [Learn You Some Erlang for Great Good!](http://learnyousomeerlang.com/) is an excellent introduction to Erlang, its design principles, standard library, best practices, and much more. Once you have read through the crash course mentioned above, you'll be able to safely skip the first couple of chapters in the book that mostly deal with the syntax. When you reach [The Hitchhiker's Guide to Concurrency](http://learnyousomeerlang.com/the-hitchhikers-guide-to-concurrency) chapter, that's where the real fun starts.
* [Learn You Some Erlang for Great Good!](https://learnyousomeerlang.com/) is an excellent introduction to Erlang, its design principles, standard library, best practices, and much more. Once you have read through the crash course mentioned above, you'll be able to safely skip the first couple of chapters in the book that mostly deal with the syntax. When you reach [The Hitchhiker's Guide to Concurrency](https://learnyousomeerlang.com/the-hitchhikers-guide-to-concurrency) chapter, that's where the real fun starts.

Our last step is to take a look at existing Elixir (and Erlang) libraries you might use while debugging.
2 changes: 1 addition & 1 deletion lib/elixir/pages/getting-started/sigils.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ iex> "bat" =~ regex
false
```

Elixir provides Perl-compatible regular expressions (regexes), as implemented by the [PCRE](http://www.pcre.org/) library. Regexes also support modifiers. For example, the `i` modifier makes a regular expression case insensitive:
Elixir provides Perl-compatible regular expressions (regexes), as implemented by the [PCRE](https://www.pcre.org/) library. Regexes also support modifiers. For example, the `i` modifier makes a regular expression case insensitive:

```elixir
iex> "HELLO" =~ ~r/hello/
Expand Down
4 changes: 2 additions & 2 deletions lib/elixir/pages/mix-and-otp/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,13 @@ The `rel/vm.args.eex` allows you to specify low-level flags that control how the
## Tweak GC to run more often
##-env ERL_FULLSWEEP_AFTER 10

You can see [a complete list of VM arguments and flags in the Erlang documentation](http://www.erlang.org/doc/man/erl.html).
You can see [a complete list of VM arguments and flags in the Erlang documentation](https://www.erlang.org/doc/man/erl.html).

## Summing up

Throughout the guide, we have built a very simple distributed key-value store as an opportunity to explore many constructs like generic servers, supervisors, tasks, agents, applications and more. Not only that, we have written tests for the whole application, got familiar with ExUnit, and learned how to use the Mix build tool to accomplish a wide range of tasks.

If you are looking for a distributed key-value store to use in production, you should definitely look into [Riak](http://riak.com/products/riak-kv/), which also runs in the Erlang VM. In Riak, the buckets are replicated and stored across several nodes to avoid data loss.
If you are looking for a distributed key-value store to use in production, you should definitely look into [Riak](https://riak.com/products/riak-kv/), which also runs in the Erlang VM. In Riak, the buckets are replicated and stored across several nodes to avoid data loss.

Of course, Elixir can be used for much more than distributed key-value stores. Embedded systems, data-processing and data-ingestion, web applications, audio/video streaming systems, machine learning, and others are many of the different domains Elixir excels at. We hope this guide has prepared you to explore any of those domains or any future domain you may desire to bring Elixir into.

Expand Down
4 changes: 2 additions & 2 deletions lib/elixir/src/elixir_json.erl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
%% you may not use this file except in compliance with the License.
%% You may obtain a copy of the License at
%%
%% http://www.apache.org/licenses/LICENSE-2.0
%% httpss://www.apache.org/licenses/LICENSE-2.0
%%
%% Unless required by applicable law or agreed to in writing, software
%% distributed under the License is distributed on an "AS IS" BASIS,
Expand Down Expand Up @@ -506,7 +506,7 @@ escape($\\) -> <<"\\\\">>;
escape(_) -> no.

%% This is an adapted table from "Flexible and Economical UTF-8 Decoding" by Bjoern Hoehrmann.
%% http://bjoern.hoehrmann.de/utf-8/decoder/dfa/
%% https://bjoern.hoehrmann.de/utf-8/decoder/dfa/

%% Map character to character class
utf8t() ->
Expand Down
2 changes: 1 addition & 1 deletion lib/mix/lib/mix/rebar.ex
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ defmodule Mix.Rebar do
end

# Translate a Rebar dependency declaration to a Mix declaration
# From http://www.rebar3.org/docs/dependencies#section-declaring-dependencies
# From https://www.rebar3.org/docs/configuration/dependencies/#declaring-dependencies
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this is the only one where its a completely different link, as opposed to just a protocol change

defp parse_dep(app) when is_atom(app) do
{app, override: true}
end
Expand Down
2 changes: 1 addition & 1 deletion lib/mix/lib/mix/tasks/app.tree.ex
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ defmodule Mix.Tasks.App.Tree do

dot -Tpng app_tree.dot -o app_tree.png

For more options see http://www.graphviz.org/.
For more options see https://www.graphviz.org/.
"""
|> String.trim_trailing()
|> Mix.shell().info()
Expand Down
2 changes: 1 addition & 1 deletion lib/mix/lib/mix/tasks/deps.tree.ex
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ defmodule Mix.Tasks.Deps.Tree do

dot -Tpng deps_tree.dot -o deps_tree.png

For more options see http://www.graphviz.org/.
For more options see https://www.graphviz.org/.
"""
|> String.trim_trailing()
|> Mix.shell().info()
Expand Down
2 changes: 1 addition & 1 deletion lib/mix/lib/mix/tasks/xref.ex
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ defmodule Mix.Tasks.Xref do

dot -Tpng #{inspect(file_spec)} -o #{inspect(png_file_spec)}

For more options see http://www.graphviz.org/.
For more options see https://www.graphviz.org/.
"""
|> String.trim_trailing()
|> Mix.shell().info()
Expand Down
Loading