Wikipedia crawling (part II)
Crawling (Photo credit: Wikipedia)
This article is the follow up of the one about
wikidata crawling.
Wikipedia has specific
infobox templates.
This is the normalized way to enter specification inside wikipedia articles.
It provides templates with already defined fields.
For example the
planet template
has fields such as periapsis or …
Read More
Travis setup
One job in continuous integration pipeline (Photo credit: Wikipedia)
The goal is to setup a CI pipeline based on Travis
with external dependencies integrated to a Github repository
Travis basics
To enable Travis integration in Github, one must edit ./.travis.yml file.
I won't go into detail. The setup is …
Read More
Wikidata crawling
Graph database representation (Photo credit: Wikipedia)
I wish to have reliable data about vehicles. I decided to rely
on one large source, namely Wikipedia. I chose it because it is reviewable and
most of the time reviewed, and regularly updated and completed.
Wikipedia - Wikidata relationship
Wikidata items are made to …
Read More
Differential equation in python
Second order differential equation (Photo credit: Wikipedia)
In python, differential equations can be numerically solved thanks to scipy .
Is usage is not as intuitive as I expected.
Simple equation
Let's start small.
The first equation will be really simple:
\begin{equation*}
\frac{\partial{f}}{\partial{t}} = a \times f …
Read More
Zombie propagation
Zombie favorite food warning (Photo credit: wikipedia)
I recently read a paper trying to model a disease propagation.
I wanted to play with this model.
The model
The model is know as "SIR" as it divide the population into 3 groups:
- S: suceptible to become a zombie
- I: infected …
Read More
Virtual Jupyter
Jupyter and a Python (almost) (Photo credit: Wikipedia)
Following the isolation of python environements
and given I use jupyter notebooks,
isolating jupyter kernels inside virtualenv is a logical step.
To do so, you must install a new kernel using the ipython you installed inside
your virtualenv:
- Create your virtualenv
- Install …
Read More
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