miércoles, 8 de diciembre de 2021

Adventofcode

Cada año antes de navidad, en el sitio

    https://adventofcode.com/ 

hay una serie de acertijos que se resuelven con ingenio y programando en cualquier lenguaje. Cada media noche se publica un nuevo acertijo, y la idea es resolver cada problema en el menor tiempo posible.

Escribo esto acá para ver si me acuerdo de participar el próximo año, que éste ya es tarde :P

domingo, 6 de junio de 2021

Demasiada democracia

¿Los politicos deben hacer lo que los ciudadanos quieren, en la forma que la mayoria quiere, o deben hacer lo que es conveniente para ellos?

martes, 18 de mayo de 2021

etags: an useful tool to generate tags in Emacs

etags is an useful tool to generate tag tables for Emacs (ctags is the same but for vi). This allows us to jump to a function defined in some file in the code, without having to remember in which file is it. As could be expected, this tool understand the syntax of a lot of programming languages, like C, C++, Fortran, HTML or LaTeX.

 

To use it, in the folder where the code is run

     etags *.f90

 

This generates a file called TAGS with the information (a tag table) about in which .f90 is each function and subroutine of the code.


Then, in Emacs move the cursor on the subroutine/function what you want, and ATL+. (ALT and dot) opens the .f90 file where the subroutine/function is with the cursor on the definition of it. To go back, hit ALT+, (ALT and comma).


For more tips related with emacs visit papitas emacs.

jueves, 25 de marzo de 2021