サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
中東情勢
bitfieldconsulting.com
By order of the court, this article no longer contains subliminal marketing messages As we saw in Test names should be sentences, there’s a lot of valuable information our Go tests can communicate to readers, starting with the test names, and continuing with the logic of the tests themselves. By using the system in a test, we can not just verify things about its behaviour, but also show users how
I’m sure we’re all in favour of “clean code”, but it’s one of those motherhood-and-apple-pie things that no one can reasonably disagree with. Who wants to write dirty code, unless maybe it’s for a porn site? The problem, of course, is that few of us can agree on what “clean code” means, and how to get there. A rule like “methods should only do one thing”, looks great on a T-shirt, but it’s not so
The Unix shell is pure wizardry. With the right incantation of shell spells, you can organise files, process text, compute data, and feed the output of any program to the input of any other. We might even say, paraphrasing Clarke’s Third Law: Any sufficiently clever shell one-liner is indistinguishable from magic. In this article we’ll explore a package called script that aims to sprinkle some Uni
You may already be familiar with JSON or YAML data, possibly to the point of exasperation. It might represent Kubernetes services, API schemas, or cloud infrastructure of some kind. Configuration data specifies how things should behave or be arranged, and there's plenty of it around these days. So what's my problem? The problemJSON is easy for machines to generate or parse, but it seems verbose an
Get 30% off your purchase by entering the code RUSTVSGO at the checkout! For the Love of Go assumes no previous knowledge of coding, and walks you through the essential concepts of Go: functions, variables, packages. As you progress through the book, you’ll be developing more sophisticated Go programs, using features like structs, maps, slices, and custom types, and with a strong emphasis on testi
I reject your false dilemma, programming language advocates Which is better, Python or Go? Which language should you learn today, and why? How do the two compare in performance, ease of learning, scalability, and rapid prototyping? Let's find out, in this friendly and accessible overview of Python and Go for beginners, by the author of the For the Love of Go book series. Python and Go are both awe
I went to a general store, but they wouldn’t let me buy anything specific. —Steven Wright This is the first in a four-part series of tutorials on generics in Go. Generics Type parameters Generic types (coming soon) Constraints (coming soon) One of the newest and most exciting features of the Go language is support for generics. This tutorial series, extracted from my book Know Go: Generics, explai
In this blog post, John Arundel of Bitfield Consulting outlines how Puppet stacks up against Chef and other tools. John is a well-known Golang trainer and mentor, Kubernetes consultant, and Puppet expert and author. Say hello@bitfieldconsulting.com! Puppet, Chef, cfengine, and Bcfg2 are all players in the configuration management space. If you’re looking for Linux automation solutions, or server c
This post describes a simple approach to 'serverless Puppet' using Git instead of a centralised Puppet server. You can read more about this idea in John Arundel's bestselling Puppet Beginner's Guide book, which describes a complete, production-ready Puppet infrastructure you can use for your own projects, complete with sample code on GitHub. If you'd like help with Puppet, or infrastructure in gen
このページを最初にブックマークしてみませんか?
『Bitfield Consulting』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く