Republished here: https://hippieinablazer.com/map-versus-flatmapthrowing

This threw me off for a little and I’d like to share my findings.

I’m using Vapor on a little side-project and part of the beauty of that backend framework is that everything is a stream, backed by SwiftNIO. Now I haven’t done any benchmarks, performance-wise, but it’s nice to have a backend that uses streams, and a front-end built in a reactive way with Combine. It means the same paradigm applies to both and I don’t have to go all procedural in one and stream/reactive in the other.

Understandably, nothing is that easy. On the backend…


Republished here: https://hippieinablazer.com/deploying-swift-to-ubuntu

In this article, I’m going describe how to create a Linux environment where we can deploy a Swift-backed server-side app. In a past article, I created a Notes app with both a client and server component and shared business logic, all written in Swift. Now, we need to create a remote (or virtual) environment where we can safely and automatically deploy the server-side app, have it compile and run.

For this project, I’ve chosen Ubuntu 17.04 as our Linux distribution. This version is not an LTS version, but it’s recent, easy to work with and includes a…


Reposted here: https://hippieinablazer.com/sharing-swift-code-between-server-and-iphone-app

In this short exercise, I create an app that shares code with a server component using Swift, Xcode and Kitura. The goals of this exercise are as follow:

  • Create an environment where Xcode is the sole IDE
  • Create three Xcode projects: the mobile app, the server-side app, and the shared business logic
  • The mobile app and server projects must share the same business logic
  • The setup must work with Cocoapods and swift packages

I accomplish the above goals by creating a small Note taking app that stores text notes on the client’s device and synchronizes the data…


Reposted here: https://hippieinablazer.com/excerpts-from-steve-jobs

I started reading biographies a few years ago with Peter the Great: A Biography. My motivation to plow through 700+ page tomes was primairly fuelled by a love for history. When I finished that book it occurred to me that the Tsar’s life was more than a history lesson, it was a lesson on living as a man. It contained tidbits of wisdom that I looked back at with fondness and when searching for answers to life’s questions.

With every biography that followed, I would write down excerpts that I could then use in my day to…


Photo credit Bethany Legg

Republished here: https://hippieinablazer.com/how-to-motivate-and-retain-programmers

​In the tech industry, high turnover rates for programmers are all too common, and wildly detrimental to a company’s profitability. This phenomenon is especially problematic for companies in less subjectively interesting domains such as B2B software development. As people come and go, mounting technical debt and recruiting costs cripple the bottom line. How can a company escape this cycle and compete with major tech companies for talented individuals? In this article, I hope to shed some perspective on what companies can do to improve retention, from my point of view as an experienced programmer and team lead.


Map of affected users (Source: Downdetector.com).

Republished here: https://hippieinablazer.com/fridays-internet-outage

Friday’s internet outage was caused by multiple sustained attacks against one of the internet biggest service providers, Dyn DNS. The attack blocked access to services like Twitter.com for millions of users in the east coast of North America. The FBI is investigating the outage as a possible criminal activity and some have gone so far as to suggest Russian responsibility.

To understand what happened, imagine the following:

You have a friend, Bob, whom you’d like to write. Bob moves around a lot and he has no telephone. To get his address, you have to call his girlfriend…

Dimitry Z

Engineering Team Lead, former eCommerce director. Happy to help you solve your tech problems: https://mentorly.co/mentors?m=dimitryzhttp://webit.ca

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store