This document has now been incorporated into the uWSGI documentation:
http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html
Steps with explanations to set up a server using:
""" | |
Clean and simple Keras implementation of network architectures described in: | |
- (ResNet-50) [Deep Residual Learning for Image Recognition](https://arxiv.org/pdf/1512.03385.pdf). | |
- (ResNeXt-50 32x4d) [Aggregated Residual Transformations for Deep Neural Networks](https://arxiv.org/pdf/1611.05431.pdf). | |
Python 3. | |
""" | |
from keras import layers | |
from keras import models |
defmodule DFS do | |
@moduledoc """ | |
Depth first search algorithm | |
Example | |
vertices = %{ | |
0 => [1, 3], | |
1 => [0, 2], | |
2 => [1, 3], |
defmodule BFS do | |
@moduledoc """ | |
Breadth first search algorithm | |
Example | |
vertices = %{ | |
0 => [1, 3], | |
1 => [0, 2], | |
2 => [1, 3], |
defmodule HamiltonianCycle do | |
@moduledoc """ | |
Find Hamiltonian cycle algorithm | |
Example | |
vertices = %{ | |
0 => [1, 2], | |
1 => [0, 2, 3], | |
2 => [0, 1, 4], |
import random | |
from typing import List, Tuple | |
class Randomizer: | |
MAX_VALUE = 100.0 | |
# Xác suất xuất hiện phần tử (0 <= x <= 1), hoặc tỉ trọng đóng góp | |
# trong tổng số lần gọi của mỗi phần tử |
Enum.at/3
function is used to find an element at the given index in zero-based. This document describe how this function work and explain it complexity.
The Enum.at/3
is defined in the official elixir repository at this code: https://github.com/elixir-lang/elixir/blob/d3285b176e87b025a6949867b58a7ce0e3839b58/lib/elixir/lib/enum.ex#L478
This article introduces some Anti-Corruption approaches to support communication between domains (business group) in the Domain-Driven Design pattern while keeping business logic between them isolated.
Assume we apply DDD (Domain-Driven Design) for an e-commerce project with the following structure: