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’s
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.
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.
www.guidetojapanese.org/learn/grammar/conditionals, posted Sep '17 by peter in japan language reference
This whole section is dedicated to learning how to say "if" in Japanese. Oh, if only it was as simple as English. In Japanese, there's four (count them, four) ways to say "if"! Thankfully, the conjugations are sparse and easy especially since you don't have to deal with tenses.
The descriptions of the signs mostly follow Gardiner's publications. However, an attempt was made to achieve a greater consistency.
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.
So these are big problems with traditional law. Agreements are ambiguous. And enforcement is hard.
Ethereum solves both these problems. It does this with the marriage of two special ingredients: a digital currency, and a complete programming language. Let's look at both.
https://paragonie.com/blog/2016/02/how-safely-store-password-in-2016, posted 2016 by peter in development reference security toread
The Problem: You want people to be able to create a unique user account, with a password, which they will use to access your application. How can you safely implement this feature?
Easiest Solution: Use libsodium, which provides a secure password hashing API in most languages. As of version 1.0.8 it uses the scrypt algorithm, but in the next release (1.0.9) it will also offer Argon2, the most recent, carefully-selected algorithm from the Password Hashing Competition. Libsodium offers bindings for most programming languages.
S3QL is a file system that stores all its data online using storage services like Google Storage, Amazon S3, or OpenStack. S3QL effectively provides a hard disk of dynamic, infinite capacity that can be accessed from any computer with internet access running Linux, FreeBSD or OS-X.
S3QL is a standard conforming, full featured UNIX file system that is conceptually indistinguishable from any local file system. Furthermore, S3QL has additional features like compression, encryption, data de-duplication, immutable trees and snapshotting which make it especially suitable for online backup and archival.
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.