Chez Mildred

Traductions

Programming good practices

Updated 2016-12-26

Inspired by the golang language, especially its interfaces that allows decoupling without introducing dependencies. First, some guidelines that shows the direction to take but with no hard rules: Separate private imports from public imports. Private imports are only needed for the implementation. Public imports are exposed to other modules and are visible to them because their types appear in public function signatures or public types. In public module interface, avoid using types from other modules that are not completely abstracted as an interface type.

Énergeie libre et force contre électromotrice

Updated 2016-4-9

Points clefs pour réduire les dépenses énergétiques dans une machine tournante électrique : Lorsque le champ magnétique d’une bobine s’effondre, il est possible de récupérer le courant en sortie de la bobine provenant de l’effondrement du champ magnétique et stocker l’énergeie dans un cendensateur pour la réutiliser et réalimenter une bobine peu après. Le fait qu’une self décale dans le temps le passage du courant permet cela. Trouver un agencement de la machine tournante qui permet d’éviter que le champ magnétique soit orthogonal aux fils.

HTTP/HTML subset for respecting privacy

Updated 2015-1-24

We can use HTTBy default, HTTP and HTML is not very respecting of our privacy. But, we could make it way better. Let’s imagine that out there, there will be some privacy-respecting web servers and browers, how could we do that? A privacy respecting browser should follow as much as possible the privacy subset of HTTP/HTML, and warn when websites do not respect this. The browser should sandbox web views that are not affiliated.