I ran a test with a real termination. After terminate his contract, the employee has the information below:
Nos contactó la Fiscalia General de la nación, estan enloquecidos con la cantidad de documentos e información física que tienen en sus archivadores, no estan conformes con digitalizarla o escanearla ya que esto significaría demasiadas gigas de almacenamiento y no sería optimo, por lo tanto quieren que solucionemos este problema en el menor tiempo posible con un algoritmo de compresión.
## ¿Como lo haremos?
Debemos crear un algoritmo que nos permita comprimir la información de todos los procesos penales que allí se llevan a cabo, para eso debemos implementar la siguiente funcionalidad:
Si tenemos el siguiente texto:
En esta práctica repasaremos el manejo de archivos pueden visitar los ejercicios que trabajamos durante la sección anterior en el siguiente repositorio.
Para empezar con esta práctica crea un repositorio en GitHub, donde se encuentre los archivos necesarios para el desarrollo de la práctica y resuelve cada uno de los siguientes ejercicios en un archivo independiente:
1- Lee el archivo students.txt e imprime su contenido
2- Itera sobre cada una de las lineas del archivo students.txt e imprime cada linea de la siguiente forma:
# My basic ~/.slate file. | |
# It has some tweaks so it doesn't fuck with my IDE | |
config defaultToCurrentScreen true | |
config nudgePercentOf screenSize | |
config resizePercentOf screenSize | |
# Resize Bindings -> resize | |
bind right:alt;ctrl resize +5% +0 | |
bind left:alt;ctrl resize -5% +0 |
[user] | |
name = mardiniii | |
email = sezama03@hotmail.com | |
[color] | |
ui = true | |
[alias] | |
ch = checkout | |
com = commit -m | |
coma = commit -am | |
all = add . |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
# Practica de Arrays
zombie_apocalypse_supplies = ["hatchet", "rations", "water jug", "binoculars", "shotgun", "compass", "CB radio", "Tactical 10mm"]
-
Itera sobre el array
zombie_apocalypse_supplies
, imprimiendo cada elemento dentro del array. -
Para mantenernos organizados, organiza el array
zombie_apocalypse_supplies
de forma alfabetica.
We want to have a centralized source where any person from the finance team or the product department can find easy and fast the scripts and code related to the tasks from our team.
You will need access to the staging and production consoles, if you are not available to got into this enviroments talk to the Systems Team in #dev-systems Slack channel.
If you want to see the current implementation for this process you can check this Flow Diagram any comment about this process ask in #dev-finance Slack channel.
// Solve algorithm | |
func (s *Sudoku) Solve() bool { | |
// Find the next pending position in the board | |
pending, row, col := s.pendingPositions() | |
// If there aren't more pending positions we did | |
// and the problem is solved | |
if !pending { | |
return true | |
} | |
// If not, let's try to find a solution for the pending position |
package main | |
import "fmt" | |
// Factorial recursive function to find the factorial result | |
// using go routines and the channel passed as parameter | |
func Factorial(number int, product int, ch chan int) { | |
// Calculate the product until this point | |
product = product * number |