N Queen problem, a Scala implementation.

The N Queen is the problem of placing N chess queens on anN×N chessboard so that no two queens attack each other. For example, following is a solution for 4 Queen problem. The expected output is a binary matrix which has 1s for the blocks where queens are placed. http://www.geeksforgeeks.org/backtracking-set-3-n-queen-problem/ Using Sets and for-expressions with Scala we can reach a solution very directly: def queens(n: Int): Set[List[Int]] = { def […]

Cybersecurity

  First, let me state the problem, then I will tell you the solutions: Yesterday the world echoed a news about how a hack attack had almost checkmated many hospitals and companies around the world. You can see here the news: https://www.nytimes.com/2017/05/12/world/europe/uk-national-health-service-cyberattack.html?_r=0 This is big news, some people blamed US government, some people blamed the NSA, […]

Apache YARN

Surge como una evolución de Hadoop dada la necesidad de ofrecer otro tipo de frameworks aparte de MapReduce. Dado que MapReduce inherentemente es un proceso lento que requiere una fase de map, una fase de distribución de resultados intermendios por red y una fase de reduce se hacía necesario tener datos fuera de HDFS para […]

Fall and Get up

Falling is a fact, how quick you get up is what measures your strength. Focusing your acts is paramount here. You’ll fall the same destroying the world as saving it. Save it and be prepare to fall and stand up back. Now it is time for stand ups. Anyway in this fight if we are […]

JornadaRSC: La Gestión Responsable de la Cadena de Suministro

Rob Weiss Acuerdo seguridad edificios e Incendios Acuerdo Legal entre 200 empresas internacionales Acuerdo industria inmobiliaria Motivo: hacer fábricas seguras en Bangladesh Seguridad y salud en fábricas que firman Compromisos de palabras de de hechos reales Inspecciones: publicación de los informes. Si no hay cumplimiento se publica y es un incentivo para el cumplimiento. Las […]

The Prince

Oh yeah, I am seeing what you are doing in your Chess party, what it looks like is just the tip of the iceberg All strategic war moves are not linear but chaotically ordered So, Machiavelli is always alive. Lies, death and lack of transparency are behind any big move. Power is still full of […]