Here is how to install Git version 2.9 on the latest release of Ubuntu (16.04)
Transducers are built upon the design princlple in Clojure of composing functions together, allowing you to elegantly abstract functional composition and create a workflow that will transform data without being tied to a specific context. So what does that actually mean and what does the code look like? Is there a transducer function or is it just extensions to existing functions. These are the questions we will explore and answer.
If you are in the early stages of learning Clojure, then I suggest getting your head around functions such as map & reduce and composing functions with the threading macros before diving into Transducers.
This is my interpretation of the really great introduction to Transducers from Clojurescript Unraveled, expanded with additional code and my own comments.
Many languages new and old provide a way to write code using functional programming concepts, however learning those concepts can take a little time especially when they are joined with OO concepts in the same language.
As Clojure has a simple syntax, many find it easier to focus on learning the concepts and design of functional programming. Then either taking those concepts back to other languages or continuing with Clojure.
At DevoxxUK 2016 I have the pleasure of running a workshop where I can help developers understand the core functional concepts, using Clojure (and Spacemacs) as simple tools.
The tools for writing books and workshops have become so much easier and open. Even some enlightened publishing companies are moving with the times and not forcing you to write books in seperate word files. However, having to manage the expectations of a publisher can make book writing very unattractive.
Self publishing is much more fun and can be done at your own pace, using tools a developer can understand. Its also much easier to talk to a publisher when the book is mostly done.
I use GithubIO/gitbook, a node.js project to create my books and workshops. Gitbook generated a responsive design website as well as ebook formats in pdf, epub, etc.
You can also distribute your books via the self-publishing platform of Gitbook.io where you can sell your books on its marketplace.
- Simple to use tools, requiring only node.js to be installed
- Writing content in markdown keeps it human readable as you write it
- 100+ plugsins help you style the book, applying different styles to the range of formats
- Content can be managed in Git and collaboration can be done in services such as Github or Bitbucket
- Website versions can be published on any webserver, Github Pages works well for these.
Lets set up Gitbook.io and go through the content workflow.
Using a Static Site Generators like Hexo gives a developer a very fast blogging workflow, using familiar tools and giving the ability to write offline. Content is written in markdown, keeping it portable between any blog generators and making it easy to version in Git. You can also use Git to deploy your site quickly, even over slow networks.
Static sites can be hosted anywhere and are fast to serve and easy to cache. For example, Github Pages offers a very fast way to host your site.
Lets take a look at Hexo, my favourite static site generator.
When you clone, push and pull changes between Github repositories and your computer there are two network protocols to choose from, HTTPS & SSH. But which one should you use and why does it matter?
Here is a quick guide to both HTTPS & SSH and the reasons why you may want to choose one over the other.
Github Gists are really useful when you want to share a piece of code or configuration without setting up a version control project. Rather than copy & paste into a Github Gists website, you can create a Gist from any Spacemacs buffer with a single command.
All you need is to add the
github layer to your
~/.spacemacs configuration file and reload your configuration
M-m f e R or restart Spacemacs. Lets see just how easy it is to use Gists with Spacemacs.
You can also use gist.el with your own Emacs configuration
At the March 2016 London Clojurians code dojo at uSwitch our group created a Clacks Interpreter in honor of Terry Pratchett, the author of the amazing Discworld series of books (and a few TV shows of those books too).
In the 33rd Discworld novel called Going Postal, messages are sent faster than a speeding horse via the Clacks system. This composes of a series of towers that cross a continent and pass messages on via combinations of lights. Each tower sees a grid of lights from a distant tower and sends the message on to the next tower.
The Clacks system was actually introduced in the 24th Discworld novel called “The Fith Elephant”, however its the “Going Postal” book where we learn the full history of the Clacks system.
We created a Clacks Interpreter that converts any English message into its corresponding clacks signal, based on the Clacks alphabet as defined by the board game of the same name. The board game defines the alphabet as a 2 by 3 grid (although in the Discworld its actually 8 large squares). Naturally, the interpreter also converts the Clacks signal back into an English message too.
The code is available on Github at: https://github.com/liamjtaylor/clacks-messenger and read on for a walk through of how we came up with the solution.
Just being a great developer or even a good one is not enough to create a great career. How effective you are at communicating your skills, experience and the value you can bring to others really drives the quality of your career. Luckily there are many ways to show off your skills, including those soft skills that are harder to quantify.
It is not just recruiters & human resources departments that can get you a job, but more and more it is other developers that bring you in to their teams. The more developers who know who you are, the more opportunities will be presented to you.
Activities you can do to boost your career include:
- Blogging & technical content
- Social media for research and communication
- digital presence
- Meetups, Conferences and public speaking
- Understanding the modern recruitment process
I will walk through this aspects to help you understand them in more detail and describe my experiences and any tips I have to share
Previously I covered aspects of creating your digital self previously, covering a range of social media and developer community websites.
Creating your digital self helps you express who you are and what you are about online in a way that enhances your career and also help you in your daily work. Having a recognizable digital self also allow others to reach out to you and include you in the wider community.
Here are some tips and tools to help you create a consistent expression of your digital self.