サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
アメリカ大統領選
nathanleclaire.com
cURL the Night Away One of my favorite open source projects is cURL. Though frequently taken for granted I really feel that it deserves a lot of appreciation and respect. Without curl available in our toolbelt those of use who do heavy interaction with the network (quite a few of us) would really be in a pickle. curl is fast, minimal, and like most good tools, tends to stay out of your way and “ju
I’m a maintainer and big fan of Docker Machine for quickly generating and using Docker hosts in the cloud and elsewhere. Creating and accessing machines, however, is only the beginning of the battle, as most drivers will leave you with a machine which is a relatively blank slate, and you may want to customize the machines to your liking with a provisioning process of your own in addition to Docker
Go programs, when properly implemented, are fairly simple to test programatically. Go unit tests offer: Increased enforcement of behavior expectations beyond the compiler (providing critical assurance around rapidly changing code paths) Fast execution speed (many popular modules' tests can execute completely in seconds) Easy integration into CI pipelines (go test is built right in) Programmatic ra
The Nate Shells Out In a perfect world we would have beautifully designed APIs and bindings for everything that we could possibly desire and that includes things which we might want to invoke the shell to do (e.g. run imagemagick commands, invoke git, invoke docker etc.). But especially with burgeoning languages such as Go, it’s not as likely that such a module exists (or that it’s easy to use, ro
What? People from all sorts of backgrounds are flocking to the Go Programming Language and even for those who have written C and C++ before (myself included) it may be confusing to grok Go’s approach to pointers, and how they interact with the methods you can attach to Go’s structs. In Go, you define a method receiver to specify which struct to attach a certain function to in order to make it invo
Say that title five times fast! Seriously though, I wasn’t sure what else to call this article so that people would actually find it. This article is a spiritual successor to Evan Hazlett’s article on running the ELK stack in Docker and ClusterHQ’s article on doing it with Fig/Docker Compose and Flocker. Huge shout out to them for being the giants whose shoulders I stand on. It is also influenced
EDIT: As pointed out by effenn in this Reddit comment, a lot of information in this article is “dangerously inaccurate”. OOPS! I’ve written a followup/correction article here for your viewing pleasure, but I’m leaving this article up for “historical purposes”. Goroutines and channels are one of Go’s nicest language features. They provide a rather headache-free way to use the power of concurrency i
docker run -it nathanleclaire/article As mentioned in a previous post I just started a shiny new job at Docker Inc. and I’ve been accumulating all sorts of good Docker tips and tricks. I think there is probably demand for them in the community, where just the sheer amount of information about Docker to take in is very overwhelming. Once you’ve mastered the basics, the creative possibilites are end
Unfortunately, I haven’t been writing as much as I’d like to lately. Partially this is because I’ve been quite busy with Docker-related things, but it also has a lot to do with aspects of my blogging stack (and approach) that were beginning to show their weaknesses. The way that this blog got started was as an Octopress installation on a Macbook Air. I loved the Octopress default theme’s clean des
EDIT: Some commenters were confused about some things in this article, and I don’t want people to get an unclear picture, so to clarify: Yes, I know that insertion into a hash table creates an arbitrary ordering of elements by definition. For a variety of reasons, e.g. that not every map is a hash map as some posters have pointed out (and some languages have ordered hash maps), I can see how someo
Anyone who follows my blog even a little closely can probably see that I <3 AngularJS: How to Unit Test Controllers In AngularJS Without Setting Your Hair On Fire Don’t Fear Directives In AngularJS Fear and Loathing With Golang and AngularJS As I’ve learned more about the framework, I’ve come to appreciate many of the design decisions in spite of their initial (beastly) learning curve. For example
Developers almost universally agree that unit tests are a VERY GOOD THING when working on a project. They help you feel like your code is airtight, ensure reliability in production, and let you refactor with confidence when there is a need to do so. AngularJS code touts its high degree of testability, which is a reasonable claim. In much of the documentation end to end tests are provided with the
Direct what? As I mentioned in last week’s article I have been working with Angular.js for personal projects lately. This was largely the result of me, approximately six or seven months ago, feeling like I was missing out on the new hotness by not knowing a client-side MV* framework. I looked around at a lot of options, including: Backbone.js (A crowd favorite, with rock-solid online support/docum
Google’s Go Go is a new programming language released by Google. It has an excellent pedigree (see Rob Pike and Ken Thompson) and it brings a lot of interesting things to the table as a programming tool. Go has been the subject of rave reviews as well as controversy. As Google is a web company it’s no surprise that Go seems hard-wired from the start to be used in the context of the modern web and
Server Side JavaScript As many of you are probably aware, Node.js is all the rage with the kids these days. It’s so popular that users even have the nerve to gall Google developers, insisting that the V8 JavaScript engine is important for things outside of mere Chrome. Node has rapidly been evolving and maturing into the new hotness of the web development community. Its core is driven by the idea
このページを最初にブックマークしてみませんか?
『nathanleclaire.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く