Editor wars: the revenge of vim

Al, like a lot of you out there, thinks that he “knows how to use vi”. I’m here to tell you that he doesn’t. And unless you’ve spent the last few years alone in a cave high in the Himalayas, with only food, drink, a laptop, and Vim Golf, you probably don’t either. Heck, I don’t consider myself a Vim master, but I’m going to write this overwrought essay praising it (using Vim, naturally). ...

September 11, 2016 · 1 min · 79 palabras · Nacho Cano

Demystifying the regular expression that checks if a number is prime

A while back I was researching the most efficient way to check if a number is prime. This lead me to find the following piece of code: public static boolean isPrime(int n) { return !new String(new char[n]).matches(”.?|(..+?)\\1+”); } I was intrigued. While this might not be the most efficient way, it’s certainly one of the less obvious ones, so my curiosity kicked in. How on Earth could a match for the .?|(..+?)\1+ regular expression tell that a number is not prime (once it’s converted to its unary representation)? ...

September 10, 2016 · 1 min · 92 palabras · Nacho Cano

DEF CON 24 - Panel - MR ROBOT Panel

DEF CON 24 - Panel - MR ROBOT Panel » DEFCONConference | youtube.com

August 26, 2016 · 1 min · 13 palabras · Nacho Cano

What the heck is the event loop anyway? | Philip Roberts | JSConf EU

What the heck is the event loop anyway? | Philip Roberts | JSConf EU » JSConf | youtube.com

August 25, 2016 · 1 min · 18 palabras · Nacho Cano

Motivos por los que recomiendo usar la distribución Debian en Linux

Llevo más de 5 años usando Debian y la verdad es que estoy más que satisfecho. De momento no me planteo cambiar de distribución básicamente por los siguientes motivos: Sus repositorios son excelentes La metodologia de desarrollo seguida por debian Estabilidad y seguridad Soporte existente para la distribución Ofrece múltiples posibilidades de instalación y uso Filosofia de la distribución La instalo una vez y me olvido para siempre » Joan | geekland.eu

August 14, 2016 · 1 min · 72 palabras · Nacho Cano

Meterpretear una apk

Primero digamos que en este post vamos a tocar los temas de las APKs de Android, que es el formato utilizado para empaquetar las aplicaciones. También vamos a tocar Metasploit, una gran herramienta para los pentesters, esta herramienta se basa en módulos los cuales permiten hacer (sobre todo intentos) de explotación de sistemas, con los módulos de exploit que cuenta la herramienta, o módulos auxiliares. Usaremos dos de las herramientas con las que cuenta metasploit: msfvenom (para generar payloads, dando la posibilidad de pasarlos por un encoder) y msfconsole (consola de comandos para hacer uso de exploits, modulos auxiliares…). Vamos a realizar un sencillo proceso de Ingeniería inversa en android, pero bastante sencillo. ...

August 14, 2016 · 1 min · 120 palabras · Nacho Cano

Lepton image compression: saving 22% losslessly from images at 15MB/s

Lepton achieves a 22% savings reduction for existing JPEG images, by predicting coefficients in JPEG blocks and feeding those predictions as context into an arithmetic coder. Lepton preserves the original file bit-for-bit perfectly. It compresses JPEG files at a rate of 5 megabytes per second and decodes them back to the original bits at 15 megabytes per second, securely, deterministically, and in under 24 megabytes of memory. » Daniel Reiter Horn | dropbox.com

July 17, 2016 · 1 min · 73 palabras · Nacho Cano

Programming the Pi over USB

A comprehensive video covering how to set up your Raspberry Pi Zero so that you can access it via the USB port. Yes, plug it in to a USB port and you can use the command line or with a few tweaks a full graphical desktop. Great for on the go or when another monitor or screen is not suitable. (It even supports Minecraft which can be played) » Te Co Ed | youtube.com | via raspberrypi.org

July 10, 2016 · 1 min · 77 palabras · Nacho Cano

How We Teach Computers to Understand Pictures

When a very young child looks at a picture, she can identify simple elements: ”cat,” ”book,” ”chair.” Now, computers are getting smart enough to do that too. What’s next? In a thrilling talk, computer vision expert Fei-Fei Li describes the state of the art — including the database of 15 million photos her team built to ”teach” a computer to understand pictures — and the key insights yet to come. ...

June 29, 2016 · 1 min · 79 palabras · Nacho Cano

Sentirás nostalgia al ver los puertos que has utilizado en tu PC

Los que llevamos unos cuantos años utilizando ordenadores hemos visto pasar por nuestras manos todo tipo de puertos. Hasta la introducción y estandarización del USB, muchos de los dispositivos que utilizábamos tenían conectores diferentes, y algunos hasta propietarios. Vamos a recordar algunos de ellos. » Alberto García | adslzone.net

June 28, 2016 · 1 min · 49 palabras · Nacho Cano