Un fichero capaz de simular varios formatos de ficheros válidos a la vez

Cabecera real del fichero CorkaMIX.exe Este ejemplo creado íntegramente en asm, sólo sirve para probar que un fichero puede ser dado por válido por el sistema simulando ser varios tipos de ficheros distintos. Este fichero CorkaMIX.zip puede ser a la vez: Programa portable ejecutable (PE) Documento PDF Oracle Java JAR (o una clase dentro dentro de un ZIP) ó Script Python Página HTML Interesante para analizar y jugar un rato con los formatos de ficheros.
Leer más

Curso de Python en CodeAcademy

En la genial e indispensable web de CodeAcademy, han empezado un curso de Python (basado en la versión 2.7) del que ya hay cuatro unidades. En este enlace tienes la web principal del curso. Ahora es un buen momento para aprender Python usando el genial método de enseñanza que nos ofrece CodeAcademy.
Leer más

Street View en modo texto

Para los curiosos, aquí podéis navegar por Google Street View, pero en modo texto. Tiene toda su gracia. Necesitas un navegador moderno que soporte de texturas CORS (Chrome o Firefox 8 o superior lo soportan). La applicación está escrita en WebGL usando @thespite's Google Street View Panorama y three.js. Fuente
Leer más

Hacker gana acceso a 4 millones de habitaciones de hotel con un microcontrolador Arduino

Todos sabemos que en estos momentos se está celebrando la Black Hat USA 2012 en las Vegas, una de las conferencias sobre seguridad con más prestigio del mundo. Un hacker, Cody Brocious, desarrollador de software de Mozilla ha demostrado como usando un dispositivo Arduino puede acceder a las habitaciones de hotel, concretamente a aquellas que usan cierta cerradura electrónica de la marca Onity, de la que según parece hay 4 millones instaladas.
Leer más

Material de la OSCON 2012

La OSCON o Open Source CONference es una conferencia que se celebra anualmente en la que se habla del amplio abanico de productos y tecnologías de código abierto. La conferencia la organiza O’Reilly y fue celebrada entre el 16 y el 20 de julio en Portland, Oregon. La lista de presentaciones es bastante amplia y las hay para todos los gustos: Business Cloud Community Data Healthcare Open Hardware Mobile Geek Lifestyle Tools and Techniques Ops Programming Java & JVM Javascript & HTML5 Perl PHP Python UX Keynote Event Sponsored Sessions Education Business Leadership Day OpenStack Day Sponsored Tutorials
Leer más

Scripts en PowerShell para recuperar, crear y modificar entradas del registro en ordenadores remotos

En 4SysOps nos muestran un par de scripts que se han currado para recuperar entradas ("keys") del registro de Windows en un ordenador remoto y otro también para modificarlos o crear nuevas entradas. Todo está explicado paso a paso. En este enlace tienes el script para recuperar entradas del registro. En este otro el script para modificar y crear entradas del registro. Por si acaso algún día nos hace falta … ;)
Leer más

Introducción al ensamblador del 6502

Los que sigáis el blog desde hace algún tiempo ya sabréis que nos gusta la programación retro, es decir, programación de tecnología antigua y obsoleta que ya no se usa, pero que en su día fueron joyas. El motivo de esta entrada es la de hablaros sobre este tutorial de introducción al lenguaje ensamblador del microprocesador MOS 6502, chip que incluía sistemas como el Atari 2600, Commodore 64 o la consola NES entre otros.
Leer más

Curso audiovisual sobre Machine Learning

En la web del Instituto de Tecnología de California podemos encontrar un serie de vídeos orientados a la enseñanza de Machine Learning, titulado Learning from Data. Técnica ampliamente usada en el campo de la inteligencia artificial, dónde básicamente nuestra aplicación estudia el entorno en el que se encuentra para aprender más sobre el mismo y así poder tomar decisiones. El índice de los vídeos es el siguiente: Bayesian Learning Validity of the Bayesian approach (prior, posterior, unknown versus probabilistic) Bias-Variance Tradeoff Basic derivation (overfit and underfit, approximation-generalization tradeoff) Example (sinusoidal target function) Noisy case (Bias-variance-noise decomposition) Bin Model Hoeffding Inequality (law of large numbers, sample, PAC) Relation to learning (from bin to hypothesis, training data) Multiple bins (finite hypothesis set, learning: search for green sample) Union Bound (uniform inequality, M factor) Data Snooping Definition and analysis (data contamination, model selection) Ensemble Learning Overview of aggregation methods (boosting, blending, before and after the fact) Error Measures User-specified error function (pointwise error, CIA, supermarket) Gradient Descent Basic method (Batch GD) (first-order optimization) Discussion (initialization, termination, local minima, second-order methods) Stochastic Gradient Descent (the algorithm, SGD in action) Initialization - Neural Networks (random weights, perfect symmetry) Learning Curves Definition and illustration (complex models versus simple models) Linear Regression example (learning curves for noisy linear target) Learning Diagram Components of learning (target function, hypothesis set, learning algorithm) Input probability distribution (unknown distribution, bin, Hoeffding) Error measure (role in learning algorithm) Noisy targets (target distribution) Where the VC analysis fits (affected blocks in learning diagram) Learning Paradigms Types of learning (supervised, reinforcement, unsupervised, clustering) Other paradigms (review, active learning, online learning) Linear Classification The Perceptron (linearly separable data, PLA) Pocket algorithm (non-separable data, comparison with PLA) Linear Regression The algorithm (real-valued function, mean-squared error, pseudo-inverse) Generalization behavior (learning curves for linear regression) Logistic Regression The model (soft threshold, sigmoid, probability estimation) Cross entropy error (maximum likelihood) The algorithm (gradient descent) Netflix Competition Movie rating (singular value decomposition, essence of machine learning) Applying SGD (stochastic gradient descent, SVD factors) Neural Networks Biological inspiration (limits of inspiration) Multilayer perceptrons (the model and its power and limitations) Neural Network model (feedforward layers, soft threshold) Backpropagation algorithm (SGD, delta rule) Hidden layers (interpretation) Regularization (weight decay, weight elimination, early stopping) Nonlinear Transformation Basic method (linearity in the parameters, Z space) Illustration (non-separable data, quadratic transform) Generalization behavior (VC dimension of a nonlinear transform) Occam's Razor Definition and analysis (definition of complexity, why simpler is better) Overfitting The phenomenon (fitting the noise) A detailed experiment (Legendre polynomials, types of noise) Deterministic noise (target complexity, stochastic noise) Radial Basis Functions Basic RBF model (exact interpolation, nearest neighbor) K Centers (Lloyd's algorithm, unsupervised learning, pseudo-inverse) RBF network (neural networks, local versus global, EM algorithm) Relation to other techniques (SVM kernel, regularization) Regularization Introduction (putting the brakes, function approximation) Formal derivation (Legendre polynomials, soft-order constraint, augmented error) Weight decay (Tikhonov, smoothness, neural networks) Augmented error (proxy for out-of-sample error, choosing a regularizer) Regularization parameter (deterministic noise, stochastic noise) Sampling Bias Definition and analysis (Truman versus Dewey, matching the distributions) Support Vector Machines SVM basic model (hard margin, constrained optimization) The solution (KKT conditions, Lagrange, dual problem, quadratic programming) Soft margin (non-separable data, slack variables) Nonlinear transform (Z space, support vector pre-images) Kernel methods (generalized inner product, Mercer's condition, RBF kernel) Validation Introduction (validation versus regularization, optimistic bias) Model selection (data contamination, validation set versus test set) Cross Validation (leave-one-out, 10-fold cross validation) VC Dimension Growth function (dichotomies, Hoeffding Inequality) Examples (growth function for simple hypothesis sets) Break points (polynomial growth functions, puzzle) Bounding the growth function (mathematical induction, polynomial bound) Definition of VC Dimension (shattering, distribution-free, Vapnik-Chervonenkis) VC Dimension of Perceptrons (number of parameters, lower and upper bounds) Interpreting the VC Dimension (degrees of freedom, Number of examples) Además cada vídeo está acompañado de las diapositivas que el profesor usa, así como los deberes asignados en el mismo.
Leer más

Material de la C++Now! 2012

La C++Now! es una conferencia para entusiastas del lenguaje de programación C++ que se celebra en Auspen, Colorado. Este año se celebró durante el pasado mes de mayo. Ya están disponible para descarga tanto los vídeos como las presentaciones. Aquí tenéis la lista de los vídeos: Jon Kalb: Exception-Safe Coding in C++ (Part II) Jon Kalb: Exception-Safe Coding in C++ (Part I) Michael Caisse: Introduction to Modern C++ Techniques (Part II) Michael Caisse: Introduction to Modern C++ Techniques (Part I) Beman Dawes: Boosting Libraries for TR2 Bryce Adelstein-Lelbach, Matthew Anderson, Hartmut Kaiser: HPX: A C++11 parallel runtime system Karsten Ahnert, Mario Mulansk: Metaprogramming Applied to Numerical Problems Sean Parent: Value Semantics and Concepts-based Polymorphism Ale Contenti: C++ Component Extensions for WinRT Lucanus Simonson, Andrii Sydorchuk: Robust and efficient multi precision algorithms design Beman Dawes, Jeff Garland, Alisdair Meredith: Other C++11 Gems Andrew Lumsdaine, Larisse Voufo: ConceptClang: An Implementation Model for C++ Concepts Tony Van Eerd: How I Code and Why Patrick Mihelich: Linear programming made easy with Boost Proto Nat Goodspeed: Using Boost.
Leer más