Presented without comment. @stahnma #devopsdays pic.twitter.com/oeVy1PYvNH
— Josh Zimmerman (@TheJewberwocky) November 2, 2016
Category: Software Development
Wisdom
“There’s nothing more permanent than a temporary hack.”
Kyle Simpson (via @CodeWisdom)
Composing generators in JavaScript
It’s really nice, how one can compose generator functions in JavaScript using yield* to delegate from one generator to another.
function* parents() { yield "Sonja"; yield "Florian"; } function* children() { yield "Linda"; yield "Mathea"; } function* family() { yield* parents(); yield* children(); // And not to forget... yield "Grampa"; } for(var name of family()) { console.log(name); }
Output:
Sonja Florian Linda Mathea Grampa
Video: Simple Made Easy
Rich Hickey, author of Clojure, talks about Simple vs. Easy.
http://www.infoq.com/presentations/Simple-Made-Easy
Sharing GIT repositories with SSH for Mercurial users
I have used Mercurial for a lot of my private projects now and was always very satisfied with it. It’s a great source code management tool. I am working with different machines, so I need a shared repository to get access to the latest revisions everywhere. Since I have a virtual machine hosted at Linode, I setup a user named hg with SSH access. Now for every new project I created a directory inside the home directory of the hg user. Then I cloned the local project to the directory on my virtual machine. The cool thing with Mercurial is that you can clone in any direction not only from extern to local but also your local repository to an extern one. Just call hg clone . ssh://hg@hg.example.com/myproject to clone the current project to an SSH share. And from that point on I could easily push and pull to and from the SSH share.
Now since the whole developer world seems to move toward GIT I wanted to get some experience with it and use it for my next project. But I had some trouble to set up a shared repository with a SSH account. I had to do quite a bit of research to find the solution. So here I go:
On the server:
- Create a directory for your project, i.e. myproj
- cd into the this directory
- Execute git –bare init
On the workstation:
- Add the project to a local git repository of not already done
- Execute git remote add origin git@git.example.com:myproj
- Execute git push origin master
Presentation by Greg Young
Another great presentation by Greg Young about testing, overrated frameworks, CQRS and Event Sourcing. Recorded at DDD eXchange 2011.
http://skillsmatter.com/podcast/design-architecture/talk-from-greg-young
Presentation: From Months to Minutes – Upping the Stakes
Dan North gives an impressive presentation on Agile Development.
Diskussion mit Greg Young über CRUD und task based UI’s
Habe eben im Archiv von Herding Code eine Perle gefunden. Obwohl bereits fast ein Jahr alt, ist diese Diskussion mit CQRS Experten Greg Young immer noch hoch aktuell und jedem Software Entwickler zu empfehlen. Im Wesentlichen sagt Greg, dass die meisten Anwendungen nicht mit CRUD abgebildet werden sollten, sondern mit Systemen, die in der Realität benötigte Aufgaben abbilden.
Nine lessons learned. By Matteo Vaccari.
Introduction to Apache Tomcat 7
Mark Thomas, a core developer of Tomcat, introduces new features in Tomcat 7.