Hello! 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.
Centering in CSS is a pain in the ass. There seems to be a gazillion ways to do it, depending on a variety of factors. This consolidates them and gives you the code you need for each situation.
https://www.jeffgeerling.com/blog/2017/how-build-your-own-raspberry-pi-cluster, posted Sep '17 by peter in diy hardware howto video
How to build a 6-node Raspberry Pi "Dramble" cluster.
https://bheisler.github.io/post/writing-raytracer-in-rust-part-1/, posted 2017 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 2015 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.