https://bheisler.github.io/post/writing-raytracer-in-rust-part-1/, posted 30 Mar by peter in development graphics howto rust
This is part one of a short series of posts on writing a simple raytracer in Rust. I’ve never written one of these before, so it should be a learning experience all around.
I’ve recently published my first novel The Golden Legacy on Kindle and paperback through Amazon, achieving very professional results. Along the way, I created a process and a couple of tools based exclusively on open source software. Here’s my process.
I don’t know about you, but I’ve always been uncomfortable with Jenkins’ apparent statefulness. You set up your Jenkins server, configure it exactly as you want it, then DON’T TOUCH IT.
Fortunately I now have a solution. With a combination of Docker, Python’s Jenkins API modules, the Jenkins job builder Python module, and some orchestration using docker-compose, I can reproduce my Jenkins state at will from code and run it in isolated environments, improving in iterable, track-able steps.
Let’s harness the power of these new media queries to serve an image of the right size based on the device a user views our site on. We’re going to save a lot of bandwidth for the small devices, and serve a beautiful large image for larger ones.
We’ll do that by using the HTML5 picture element and its powerful source tag and media and srcset attributes.
A Microcontainer contains only the OS libraries and language dependencies required to run an application and the application itself. Nothing more.
Rather than starting with everything but the kitchen sink, start with the bare minimum and add dependencies on an as needed basis.
In this essay, I’m going to try to convince parents that it is possible, and may be beneficial, to teach their children to read even while they are babies or toddlers. I also have remarks for researchers throughout. First, I will explain how I taught my own little one, beginning at age 22 months, and introduce some of our methods. Then I will answer various general objections to the notion and practice of teaching tiny tots to read.
wastholm.tumblr.com/post/135502300202/recept-tjockpannkakor, posted Dec '15 by peter in food howto inswedish reference
Eller amerikanska pannkakor, eller hotcakes, eller flapjacks, eller… Jag tröttnade på alla dessa recept på nätet som mäter ingredienserna i tum och uns och koppar och andra dumheter och letade upp ett recept med metriska mått. Skaparen av detta tyckte dock fortfarande att man ska hålla på och väga mjöl och andra torra ingredienser; det orkar inte jag så jag bestämde mig för att experimentera fram en variant som är enkel att komma ihåg och mäta upp.
- 12 msk (180 ml) vetemjöl.
- 2 msk bakpulver.
- 2 st ägg.
- 2 dl mjölk.
- 2 msk smält matfett.
Stek i gjutjärnspanna på medelhög värme. Det borde bli runt 10–12 pannkakor. Servera med sylt eller socker eller vad du nu gillar. Själv kör jag med lönnsirap och lite smör.
eblog.damia.net/2015/12/03/lets-encrypt-automation-on-debian/, posted Dec '15 by peter in howto linux security
Free SSL certificates for everyone! the https://letsencrypt.org/ initiative backed by Akamai, Cisco, Mozilla and EFF, is going to offer free certificates. On this post I am going to explain how I have automated the process of creation and renewal of certificates, on a Debian server with a lot of virtualhosts with the minimal modification of the apache conf files.
www.seriouseats.com/2014/05/the-secrets-to-peeling-hard-boiled-eggs.html, posted Nov '15 by peter in food howto reference
Lower your eggs straight from the fridge into already-boiling water, or place them in a steamer insert in a covered pot steaming at full blast on the stovetop. If boiling, lower the heat to the barest simmer. Cook the eggs for 11 minutes for hard or 6 minutes for soft. Serve. Or, if serving cold, shock them in ice water immediately. Let them chill in that water for at least 15 minutes, or better yet, in the fridge overnight. Peel under cool running water.
This tutorial demonstrates how to apply changes made to a project hosted in one git repository onto a completely separate project in a different git repository: essentially, merging changes between two totally separate git repositories. If you don't use git, this will likely not interest you much.