Python virtualenv: quick reference
Virtual environement (Photo credit: wikipedia)
To isolate python developments, I use
virtualenv. This allow me to forget
about the specific python version used for each project, avoid interferences
with the default python installation and between my projects, is relatively light,
and may have other advantages I cannot imagine with my …
Read More
C*: Yaw
Vertical stabilizer (Photo credit: Wikipedia)
This post is about yaw control.
This is also the post for which I did not find many references.
Remember the yaw is the axis controlled by the rudder.
The rudder acts as any foil, providing a force dependant of its angle of attack.
This …
Read More
LaTeX makefile updated
My default LaTeX makefile evolved. Here is an update:
The makefile looks like:
LATEX=pdflatex
BIBTEX=bibtex
BIB=
RERUN='(There is undefined reference|Rerun to get (cross-references|the bars) right)'
%.pdf:%.tex
${LATEX} $<
@if [ -e $*.bbl ]; then ${BIBTEX} $* && ${LATEX} $< && ${LATEX} $< ; fi
@if egrep -q $(RERUN) $*.log ; then ${LATEX} $< ; fi
%.aux …
Read More
Functional Block diagram
How to make a block diagram
with \(\text{\LaTeX}\)?
This article is mainly inspired by tex example.
Here is an example
with tikz
resulting in the following figure:
The code:
\documentclass{article}
\usepackage[landscape,margin=1cm]{geometry}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
\begin{document}
\tikzstyle{block}=[draw,fill=red …
Read More
Sail ship maneuvers
Sail ship not tacking (Proto credit: Wikipedia)
Maneuvering a sailship is not straight forward, especially when against the wind.
This article is focused on sail position when turning for
full-rigged sailships.
The main sources are naval action videos.
Preambule
The sailship has 2 or 3 masts.
The fore-mast (the one …
Read More
Back online
I've migrated the blog from wordpress to pelican. Static files, quite easy to
use.
The migration process went well. The pelican import tool is easy to use
and my rst linter highlighted the few errors done by the import tools (mainly
empty sections).
There are still few artefacts due to …
Read More
Seine flooding
On this mounth, the Seine
decided to flood Paris and its
neighborouds, so I took my camera to take pictures. I realised:
Read More
UTF8, base64 and other encoding conversion
[caption id="" align="alignright" width="100" class="zemanta-img"] encoding conversion (Photo credit: Wikipedia)[/caption]
A common way to represent binary files in ascii-only diplay is to use base64. This is also done a piece of software does not handle unicode: it manipulate its base64 representation.
Read More
GPG key renewal
[caption id="" align="alignright" width="75" class="zemanta-img"] standard key (Photo credit: Wikipedia)[/caption]
What happen when a PGP key expire? Obvious answer: you can no longer securely use it. Nevertheless, you may not delete it as you must be able to read your encrypted files.
Basics step that should …
Read More
loop devices
Loop devices are used to acces any file as if it were a block
device such as a disk. On
GNU/linux, the canonical command to interact with loop devices is
losetup . To list the next
usable loop device :
losetup -f
disk image loop mount …
Read More