WordPress -> Ghost -> Harp (part 2)

See the original posting on DZone Python

I wrote about moving away from WordPress to Ghost and then to Harp in part 1, this post details some of the specifics of my blog’s implementation.
Technical overview

I’m using Harp which is incredibly easy to get running with, but I’m also running Harp as a dependency inside my own custom node web server which allows me to add a few bells a whistles to my implementation.
Preview…

How To Get a Job in a Different City

See the original posting on DZone Python

There are subtle nuances to job searches outside of the local area. Unless a candidate is considered superlative, non-local applicants are not always given the same level of attention as locals when employers have healthy candidate pools with local applicants. Why might remoteness impact interview decisions (even in a tight market), and how can the potential for negative…

R: Filtering data frames by column type (‘x’ must be numeric)

See the original posting on DZone Python

I’ve been working through the exercises from An Introduction to Statistical Learning and one of them required you to create a pair wise correlation matrix of variables in a data frame.

The exercise uses the ‘Carseats’ data set which can be imported like so:
Preview Text: 

I’ve been working through the exercises from An Introduction to…

IsPrime Function in JavaScript

See the original posting on DZone Python

The following code sample illustrates how to use JavaScript to determine if a number provided is a prime number or not. In this example, the number is hardcoded in the JavaScript. You can edit this and experiment with other values at the isPrime at CodePen
Preview Text: 

The following code sample illustrates how to use JavaScript to determine if a…

RingBuffer Component with Put/Get/Clear Events

See the original posting on DZone Python

Sometimes I have a good idea how to extend one of my Processor Expert components with an extra feature, but then I step back because why implementing more than I need at the moment? Until another user of the component simply asks for the same thing, and here we go: if one or more can take advantage of a feature, that’s definitely a strong argument to add it :-). This happened with the…

Optimizing event processing

See the original posting on DZone Python

During the RavenDB Days conference, I got a lot of questions from customers. Here is one of them.

There is a migration process that deals with event sourcing system. So we have 10,000,000 commits with 5 – 50 events per commit. Each event result in a property update to an entity.

That gives us roughly 300,000,000 events to process. The trivial way to solve this would be:
Preview…

Streaming content for non-media applications

See the original posting on DZone Python

The vast majority of web apps and mobile apps use JSON or XML on the wire to transfer data. It is relatively easy to design a utility schema and the textual data on the wire is easier to debug. The schema designs, however, tend to emphasize an analytical perspective rather than a performance one. For example, the schema for hierarchical data will typically look like this
Preview…

Where do conditionals come from?

See the original posting on DZone Python

Given that we want to reduce the number of conditional branches in our code, I wonder whether it is possible to catalogue all of the reasons they exist, so that we might then in turn list a few ways to eliminate each category.
Preview Text: 

I’ve listed out those origins of conditionals that I could think of. Is this a fool’s errand?…

A problem with Primitive Obsession

See the original posting on DZone Python

By an odd coincidence, a number of the teams I work with have been looking at the Primitive Obsession code smell recently as part of the software habitability and craftsmanship training programmes I am currently running. As we have explored legacy code looking for examples of the smell, I’ve noticed a tendency to enthusiastically label every primitive in any method signature as…

The Measure Of Success

See the original posting on DZone Python

What makes a successful project?

Waterfall project management tells us it’s about meeting scope, time and cost goals.

Do these success metrics also hold true to agile projects?

Let’s see.
Preview Text: 

What makes a successful project? Waterfall project management tells us it’s about meeting scope, time and cost goals. Do these success…

One-Phase-Commit: Fast Transactions For In-Memory Caches

See the original posting on DZone Python

In my previous blogs I have talked at length about 2-Phase-Commit transaction protocol for in memory caches, and how in-memory caches can handle failures a lot more efficiently than disk-based databases. In this blog I want to cover yet another very important optimization that can be utilized for in-memory caches, specifically for cases where data is partitioned across the network.
Preview…

Load-Testing Guidelines

See the original posting on DZone Python

Load-testing is not trivial. It’s often not just about downloading JMeter or Gatling, recording some scenarios and then running them. Well, it might be just that, but you are lucky if it is. And what may sound like “Captain Obvious speaking”, it’s good to be reminded of some things that can potentially waste time.

So, when you run the tests, eventually you will hit a bottleneck, and then…

How to Enable Estimate-Free Development

See the original posting on DZone Python

 Most of us have been there… the release or sprint planning meeting to goes on and on and on and on. There is constant discussion over what a story means and endless debate over whether it’s 3, 5 or 8 points. You’re eventually bludgeoned into agreement, or simply too numb to disagree. Any way you look at it, you’ll never get those 2, 4 or even 6 hours back – they’re gone forever! And to…

The NoSQL Advice I Wish Someone Had Given Me

See the original posting on DZone Python

I suspect many of us have experienced bewilderment when attempting to make sense of the NoSQL industry. A dizzying array of products, together with all kinds of newfangled concepts, often add up to confusion in the mind of the architect, who only wants to use the right technology to get a specific set of jobs done. I directly empathize, of course, since I myself am well along my own journey down…

Letting Go of Agile (Culture)

See the original posting on DZone Python

 “If you want something very, very badly, let it go free.  If it comes back to you, it’s yours forever.  If it doesn’t, it was never yours to begin with.” – Harry Kronman

I have discovered the truth of this with Agile. The one time in my whole life I truly surrendered my attachment to Agile, it resulted in a beautiful transformation starting. But most of the…

A Short History of Computer Security Threats

See the original posting on DZone Python

Ever since people first connected their computers to the Internet, there have been people hacking into those computers, and these attacks have become more sophisticated over the years. Fortunately, the quality of network security has also improved as a result as programmers working to keep a foot ahead of those looking to cause damage. 
Preview Text: 

Your understanding of Kaizen is wrong

See the original posting on DZone Python

Kaizen is popularly associated with continuous learning or continuous improvement.  However, what people get wrong is who should continuously improve.

Most Agilists and Leanists use Kaizen in the context of team improvement. That is, an agile team should continuously improve, and thus excluding the managers/leaders and the rest of the company. 
Preview Text: 

1 140 141 142 143 144 148