Bookmark
A Tutorial on Portable Makefiles « null program
nullprogram.com/blog/2017/08/20/, posted 2017 by peter in automation development howto reference
In my first decade writing Makefiles, I developed the bad habit of liberally using GNU Make’s extensions. I didn’t know the line between GNU Make and the portable features guaranteed by POSIX. Usually it didn’t matter much, but it would become an annoyance when building on non-Linux systems, such as on the various BSDs. I’d have to specifically install GNU Make, then remember to invoke it (i.e. as
gmake
) instead of the system’smake
.I’ve since become familiar and comfortable with make’s official specification, and I’ve spend the last year writing strictly portable Makefiles. Not only has are my builds now portable across all unix-like systems, my Makefiles are cleaner and more robust. Many of the common make extensions — conditionals in particular — lead to fragile, complicated Makefiles and are best avoided anyway. It’s important to be able to trust your build system to do its job correctly.
This tutorial should be suitable for make beginners who have never written their own Makefiles before, as well as experienced developers who want to learn how to write portable Makefiles.
Bookmark
Writing a Raytracer in Rust - Part 1 - First Rays | My New Hugo Site
https://bheisler.github.io/post/writing-raytracer-in-rust/, posted 2017 by peter in 3d development graphics howto rustlang
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.
Bookmark
How to Center in CSS
howtocenterincss.com/, posted 2017 by peter in css howto html reference webdesign
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.
Bookmark
How to build your own Raspberry Pi Cluster | Jeff Geerling
https://www.jeffgeerling.com/blog/2017/how-build-your-own-raspberry-pi-cluster, posted 2017 by peter in diy hardware howto video
How to build a 6-node Raspberry Pi "Dramble" cluster.
Bookmark
Writing a Raytracer in Rust - Part 1 - First Rays
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.
Bookmark
How I wrote and published my novel using only open source tools – Techspiration + Ideas + Making It Happen
https://medium.com/techspiration-ideas-making-it-happen/how-i-wrote-and-published-my-novel-using-only-open-source-tools-5cdfbd7c00ca, posted 2017 by peter in howto opensource writing
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.
Bookmark
CI as Code Part I: Stateless Jenkins Deployments Using Docker | zwischenzugs
https://zwischenzugs.wordpress.com/2016/01/24/ci-as-code-stateless-jenkins-deployments-using-docker/, posted 2016 by peter in automation continuousdelivery howto toread virtualization
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.
Bookmark
Perfect responsive images: HTML5 and Bootstrap 4
inspire.blufra.me/html5-element-and-bootstrap-4-media-queries/, posted 2016 by peter in css howto html reference webdesign
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.
Bookmark
Microcontainers – Tiny, Portable Docker Containers
www.iron.io/blog/2016/01/microcontainers-tiny-portable-containers.html, posted 2016 by peter in development docker howto performance toread virtualization
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.
Bookmark
How and Why I Taught My Toddler to Read
larrysanger.org/wp-content/uploads/2010/12/How-and-Why-I-Taught-My-Toddler-to-Read.htm, posted 2015 by peter in cognition howto opinion parenting toread
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.
|< First < Previous 41–50 (237) Next > Last >|