Edited, memorised or added to reading queue

on 24-Apr-2019 (Wed)

Do you want BuboFlash to help you learning these things? Click here to log in or create user.

Flashcard 4009031765260

Tags
#deeplearning #initialization
Question

After the success of CNNs in IVSRC 2012 (Krizhevsky et al. (2012)), initialization with Gaussian noise with mean equal to zero and standard deviation set to 0.01 and adding bias equal to one for some layers become very popular.

Why it is not possible to train very deep networks from scratch with this initialization?

Answer
[default - edit me]

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

pdf

cannot see any pdfs







Article 4009032813836

​​​​​​​GENERALIDADES DEL DERECHO ECONÓMICO
#1a-unidad-conceptos-fundamentales #Economia-y-Derecho #Generalidades-del-Derecho-Económico

GENERALIDADES DEL DERECHO ECONÓMICO El Derecho Económico emerge al final del siglo pasado como un producto de la crisis y de la globalización. El Estado como único centro irradiador de Normas Jurídicas, tanto Públicas como Privadas, así como la discriminación entre Nacionales y Extranjeros; Inversión Nacional vs. Inversión Extranjera, son algunas de las problemáticas a las que se enfrentó, no fáciles de resolver, bajo el derecho tradicional. Así, el Derecho Económico cambia de un perfil Público-Social a un derecho de la promoción y des-regulación, en donde las leyes reemplazan a acuerdos y decretos. Se intenta pasar de un Derecho Económico Discrecional a un Derecho Económico Mandatario, al cual se le adicionan obligaciones internacionales no susceptibles de regateo y negociación. A.- DERECHO Y ECONOMÍA La palabra DERECHO se deriva de la voz latina DIRECTUM, que significa directo. En el sentido estricto estaríamos hablando de aquello que no se desvía, que es recto; figu



Flashcard 4009036221708

Question

In terraform, for map keys, fill out occulsion below to show how you would treat a map key that is a non-literal expression, specifically the map key is the value of input variable "business_unit_tag_name":

{

[...] = "SRE"

}

Answer

(var.business_unit_tag_name)

^^^ note how the non-literal map key is enclosed in brackets!!


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009041988876

Question
In terraform, configuration files (that decalre the resources to create), are named with the .[...] file extension.
Answer
.tf

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009044086028

Question
In terraform, a module is a collection of *.[...] files kept together in a directory. The root module is built from the configuration files in the current working directory when Terraform is run, and this module may reference child modules in other directories, which can in turn reference other modules, etc.
Answer
*.tf

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009046183180

Question
In terraform, the way it knows how to setup resources on different clouds (or native) environments (like AWS, Azure, etc), is via [...] .
Answer
providers

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009048280332

Question
In terraform, when you do "terraform init", terraform will go and install the plugins needed to setup your infra based on the [...] you declared in your configuration.
Answer
provider(s)

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009050377484

Question
Terraform, similar to other HashiCorp products (packer, vault), is very easy to install you just have to [...provide short phrase to describe installation process...]
Answer
download binary zip file and unzip it

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Article 4009062436108

​​​​​​​GENERALIDADES DEL DERECHO ECONÓMICO
#1a-unidad-conceptos-fundamentales #Economia-y-Derecho #Generalidades-del-Derecho-Económico

I.- Generalidades: Generalidades del Derecho Económico Reseña histórica de la Economía como ciencia Definiciones y conceptos de Economía Objeto de la Economía Problemas centrales de la Economía Principios de organización económica Política Económica y Economía Política Divisiones de la Economía Teoría Descriptiva Teoría Económica Política Económica La Macro y Micro Economía GENERALIDADES DEL DERECHO ECONÓMICO El Derecho Económico emerge al final del siglo pasado como un producto de la crisis y de la globalización. El Estado como único centro irradiador de Normas Jurídicas, tanto Públicas como Privadas, así como la discriminación entre Nacionales y Extranjeros; Inversión Nacional vs. Inversión Extranjera, son algunas de las problemáticas a las que se enfrentó, no fáciles de resolver, bajo el derecho tradicional. Así, el Derecho Económico cambia de un perfil Público-Social a un derecho de la promoción y des-regulación, en donde las leyes reemplazan a acuerdos y decreto



Flashcard 4009064533260

Question
In terraform, when declaring a resource block in the config *.tf file(s), you give the resource type (as part of the block label), which is always prefixed with the [...] name.
Answer

provider

^^^ e.g. below, note the aws prefix (for aws provider) in the "aws_instance" block label (remember that "resource" is block type and "aws_instance" and "example" are block labels)

resource "aws_instance" "example" {
  ami           = "ami-2757f631"
  instance_type = "t2.micro"
}


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009066630412

Question
In terrerform, the "terraform init" command does the following: 1) [...phrase description here...] , 2) it grabs any child modules declared in the configs, 3) it setups the remote backend
Answer

it installs any needed provider plugins based on stated configs

^^^ e.g. it installs AWS provider plugin
^^^^ note "terraform init" is idempotent (i.e. you can run it many times with no issues) but must be run before you do inital plan/apply


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009068727564

Question
In terrerform, the "terraform init" command does the following: 1) it installs any needed provider plugins based on stated configs, 2) [...] , 3) it setups the remote backend
Answer

it grabs any child modules declared in the configs

^^^ note "terraform init" is idempotent (i.e. you can run it many times with no issues) but must be run before you do inital plan/apply


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009072397580

Question
In terrerform, the "terraform init" command does the following: 1) it installs any needed provider plugins based on stated configs, 2) it grabs any child modules declared in the configs, 3) [...]
Answer

it setups the remote backend

^^^ note "terraform init" is idempotent (i.e. you can run it many times with no issues) but must be run before you do inital plan/apply


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009075805452

Question

In terraform, if you want to see what changes will be made to your infra, before you do a "terraform apply", you can run this command:

terraform [...]

Answer
plan

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009077902604

Question

In terraform, if you want to cleanup/delete all the infra declared in your *.tf configurations, you must run command:

terrafrom [...]

Answer
destroy

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009079999756

Question
In terraform, resources are created concurrently to speed things up, but in some cases, resources are created in some order, due to [...] or [...] dependency as declared in the *.tf configurations. <<---looking for two diff words
Answer

implicit / explicit

^^^ note implicit dependency is when the value of an argument in one resource block is derived from the output/creation of another resource
^^^^ explicit dependency is speified explicitly via the depends_on argument declaration within the resource block


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009082096908

Question
In terraform, sometimes one resource is created before another due to implicit dependency such as when [...long description here...] .
Answer

the value of an argument in one resource block is derived from the output/creation of another resource

^^^ e.g. when ec2 instace has to be created before elastic ip:

resource "aws_eip" "ip" {
  instance = "${aws_instance.example.id}"
}


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009084194060

Question
In terraform, you can explicitly tell terraform to create one resource before another via the [...] argument.
Answer

depends_on

^^^ e.g.:

resource "aws_instance" "example" {
  ami           = "ami-2757f631"
  instance_type = "t2.micro"

  # Tells Terraform that this EC2 instance must be created only after the
  # S3 bucket has been created.
  depends_on = ["aws_s3_bucket.example"]
}


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009086291212

Question
In terraform, you can run some startup configurations on a created resource using the nested (i.e. nested inside resource block) [...] block (although better option is creating proper AMIs via Packer).
Answer

provisioner

e.g.:

resource "aws_instance" "web" {
  # ...

  provisioner "file" {
    source      = "script.sh"
    destination = "/tmp/script.sh"
  }

  provisioner "remote-exec" {
    inline = [
      "chmod +x /tmp/script.sh",
      "/tmp/script.sh",
    ]
  }
}


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009088388364

Question
In terraform, if you want to provide some data at "terraform apply" runtime (e.g. like AWS secret which you don't want to directly put into your *.tf configuraitons and check into source control), you need to use [...] [...] s.
Answer
input variables

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009090485516

Question
In terraform, there are three types of variables: input, output, and [...]
Answer

local

^^^ input is for things like values you want to provide at "terraform apply" runtime (like sensative secrests you don't want checked into source control), output is for created resource info you wan to highlight at end of "terrafrom apply" or pass to child module (like elastic ip created), local is just used within the *.tf configs so you are not repeating code (and that things are easy to change in just one place)

^^^^ local variables are declared and defined within "locals" blocks in the *.tf files, and is just a map of values, e.g.

locals {
  default_name_prefix = "${var.project_name}-web"
  name_prefix         = "something"
}


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009092582668

Question
In terraform, input variables (data provided at runtime, for example that you don't want to put in *.tf directly, for security) can be set/assigned in three ways: 1) via -var flag to terraform command, 2) [...be as detailed as possible...] , 3) via environment variables that start with TF_VAR_{name}.
Answer
put in *.tfvars file and called via -var-file flag to terraform command

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009094941964

Question
In terraform, input variables (data provided at runtime, for example that you don't want to put in *.tf directly, for security) can be set/assigned in three ways: 1) [...detailed description here...] 2) put in *.tfvars file and called via -var-file flag to terraform command , 3) via environment variables that start with TF_VAR_{name}.
Answer

via -var flag to terraform command

^^^ e.g.:

terraform apply -var 'region=europe-west1-a'

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009097039116

Question
In terraform, input variables (data provided at runtime, for example that you don't want to put in *.tf directly, for security) can be set/assigned in three ways: 1) via -var flag to terraform command, 2) put in *.tfvars file and called via -var-file flag to terraform command , 3) [...details here....]
Answer
via environment variables that start with TF_VAR_{name}.

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009099136268

Question
In terraform, before you pass in runtime input variables to the "terraform apply" command (via either -var, or -var-file for *.tfvars flags), you must [...detailed phrase here...] .
Answer

declare them in the *.tf configuration files

^^ e.g.

variable "region" {
     default = "us-east-1"
}
variable "AMI" {}


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009101233420

Question
In terraform, declare variable "region" which has default value of "us-west-2" in your *.tf config file.
Answer
variable "region" {
   default = "us-west-2" 
}


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009103330572

Question

In terraform, say you declared input variable "region", using following block in your *.tf config file:

variable "region" {
   default = "us-west-2" 
}

how do you access the value of this variable in the following *.tf code block:
provider "aws" {
access_key = "AKIA98298ADFDDRDSFDFSF"
secret_key = "_adofijoeairjdsfDDF(*Fjij"
region = [...]
}

Answer

"${var.region}"

^^ Note the use of the var syntax
^^^ note the outer enclosure in double quotes to mean derived value is string
^^^^note the inner enclosure in ${} to mean that this value is derived.


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009105427724

Question

In terraform, say you declared input variable "region", using following block in your *.tf config file:

variable "region" {}

and you use its value in the following *.tf code block:

provider "aws" {
  access_key = "AKIA98298ADFDDRDSFDFSF"
  secret_key = "_adofijoeairjdsfDDF(*Fjij"
  region     = "${var.region}"
}

how do you assign it value of "us-west-2" in your *.tfvars file:

[...]

Answer
region = "us-west-2"

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009107524876

Question
In terraform, declare variable "cidrs" in your *.tf file, assuming its value will be a list
Answer
variable "cidrs" {
   default = []
}

OR:

variable "cidrs" {
    type = list
}


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009109622028

Question
In terraform, say you have a different required AMI for for each region, a clean way to pick the right AMI to build your EC2 instance from, based on your region (provided at "terraform apply" runtime), is to use [...] [...] .
Answer

map lookup

^^^ e.g.:

variable "amis" {
  default = {
    "us-east-1" = "ami-b374d5a5"
    "us-west-2" = "ami-4b32be2b"
  }
}

variable "region" {}

resource "aws_instance" "example" {
  ami           = "${lookup(var.amis, var.region)}"
  instance_type = "t2.micro"
}


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009111719180

Question

In terraform, say you have a declared (and assigned values via the default argument) a variabled called "amis", as
follows:

variable "amis" {
  default = {
    "us-east-1" = "ami-b374d5a5"
    "us-west-2" = "ami-4b32be2b"
  }
}

And you have declared region variable as follows:

variable "region" {}

Complete the configure code block below to assign the right AMI to your EC2 resource, based on the "region" input variable give at "terraform apply" runtime:

resource "aws_instance" "example" {
ami = [...]
instance_type = "t2.micro"
}

Answer

"${lookup(var.amis, var.region)}"

^^ note use of built-in lookup function that takes a map argument and a key argument and returns the value for the key
^^^ note the outer double-quote enclosing to denote a returned string value
^^^^ note the inner ${} enclosing to denote that the value is derived/computed


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009113816332

Question
In terraform, if you want to capture a piece of data to highlight/display after "terraform apply" creates your resources (for example, the public ip of your newly-created AWS Elasitc IP), or to use as input to another module, you
use [...] [...] s
Answer
output variables

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009115913484

Question

In terraform, say you create an Elastic IP resource (to get a static/non-changing public IP you can assign to an EC2 instance), as follows:

resource "aws_eip" "ip" {
  instance = "${aws_instance.example.id}"
}

After elastic ip resource is created, it will have an exported variable called "public_ip". Create a output variable called "ip" that will expose this value (as output to "terraform apply" or to a module that uses your module)

[...]

Answer
output "ip" {
  value = "${aws_eip.ip.public_ip}"
}

^^ note the keyword "output" for the block type


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009118010636

Question

In terrafrom, say you have already run "terraform apply" but still want to see the value of output variable "ip" (which is say the public ip of your newly-created AWS Elastic IP resource), you can do so via following command:

terraform [...] [...]

Answer
terraform output ip

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009120107788

Question
In terraform, what are local values/variables used for (i.e. what is their purpose)?
Answer
If you have a value that repeats all over the configs (i.e. *.tf files) and you want to be able to easily change it in one place, you create local values/variables (via the locals block).

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009122204940

Question
In terraform, if you have some values that repeat all over the place in the configs and you want an easy way to set their value in one place you can use local values/variables. With that in mind write code to setup the following local values/variables in your *.tf file:

default_name_prefix = "${var.project_name}-web"
name_prefix = "something"
Answer
locals {
  default_name_prefix = "${var.project_name}-web"
  name_prefix         = "something"
}

^^ note the use of the locals block type (un-named block) to decalre and assign all the local variables.

^^^ note that these values can be accessed in the rest of the *.tf configs, using the local.* syntax (e.x. "${local.name_prefix}")


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4009124302092

Question

In terraform, if the following local values/variables are setup in your *.tf file:

locals {
  default_name_prefix = "${var.project_name}-web"
  name_prefix         = "something"
}

How do you access these values in the rest of your *.tf config file, for example finish this code snippet:

resource "aws_s3_bucket" "files" {
  bucket = "[...OCCULSION IS HERE...]-files"
  # ...
}
Answer
resource "aws_s3_bucket" "files" {
  bucket = "${local.name_prefix}-files"
  # ...
}

^^ note the use of the "local" keyword

^^^ note the outer double quote enclosure to denote string value

^^^^ note the inner ${} enclosure to denote derived value.


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill