The Basics of Hacking: Part 2

Let’s rock and roll. Below we have a C-program designed to accept and print command line arguments: » hackernoon.com | hackernoon.com

12 de febrero de 2020 · 1 min · 21 palabras · Nacho Cano

Reverb: speculative debugging for web applications

Reverb: speculative debugging for web applications, Netravali & Mickens, SOCC’19 This week we’ll be looking at a selection of papers from the 2019 edition of the ACM Symposium of Cl… » ~ | blog.acolyer.org

5 de febrero de 2020 · 1 min · 34 palabras · Nacho Cano

vardbg, un generador de vídeos para mostrar algoritmos

A simple Python debugger and profiler that generates animated visualizations of program flow, useful for algorithm learning. - CCExtractor/vardbg » GitHub | github.com

24 de enero de 2020 · 1 min · 23 palabras · Nacho Cano

Reverse debugging for Python

A ”reverse debugger” is a debugger where you can go forward and backward in time. It is an uncommon feature, at least in the open source world, but I have no idea why. I have used undodb-gdb and rr, which are reverse debuggers for C code, and I can only say that they saved me many, many days of poking around blindly in gdb. The PyPy team is pleased to give you ”RevPDB”, a reverse-debugger similar to rr but for Python. ...

11 de septiembre de 2016 · 1 min · 86 palabras · Nacho Cano

El primer ’bug’

Ese día, la programadora Grace Hopper se encontraba trabajando con un Mark II en la Universidad de Harvard: el ordenador dejó de funcionar, y los ingenieros encontraron una polilla enganchada a uno de los relés del ordenador. El bicho pasó a la historia de la informática, porque pegaron sus restos en el libro de registro del ordenador, junto a una nota que decía ’First actual case of bug being found’. ...

9 de septiembre de 2014 · 1 min · 72 palabras · Nacho Cano

Run time profiling with cProfile

Python is distributed with profiling modules. They describe the run time operation of a pure python program, providing a variety of statistics. The cProfile module is the recommended module. To execute your program under the control of the cProfile module, a simple form is: $ python -m cProfile -s cumulative mypythonscript.py » Alain Leufroy | logilab.org

27 de marzo de 2013 · 1 min · 56 palabras · Nacho Cano