menu

Alumni Blogs

Lots of our people have lots of opinions. Here are just a few of them

ThoughtWorks embraces the individuality of the people in the organization and hence the opinions expressed in the blogs may contradict each other and also may not represent the opinions of ThoughtWorks.

Unit testing – only pass it what you need

I was reminded again today how much better your code can be if only pass in those variables you need. Here’s where I started. But what’s wrong with this method. It’s passing in too much! I don’t need the full entity. Just the string. My trick to catching this like this is to consciously refactor. […]

JR
19 May 2017

Original Link

Uncovering Differences between Coaching and Consulting

https://www.flickr.com/photos/crdot/7827384514/

One of the main striking differences that sets apart coaching from consulting is their use of language. Whilst the former takes a non-directive approach, the latter has a quite directive slant on their utilisation of the language. It does not mean one style is better than the other, as Starr (Starr, 2008, p. 24) explains “it is important to acknowledge that a directive style has its uses and can be what is needed”. When it comes to consulting, a consultant is typically hired when there is a need for specialised skills to solve a problem where the current…

Pedro Pimentel
18 May 2017

Original Link

Starting a New Engagement as a Lead Consultant

Someone recently asked me for information on starting new consulting engagements.  A few years back I published Sean Doran and Scott Conley's thoughts on Being a Lead Consultant. Sean and Scott's list is great for any lead consultant, and the advice applies well for the lifetime of a project. I considered sending that list to the person looking for new engagement advice, but I'm not sure that list would be the best place to focus my attention at the beginning of a project.

The beginning of a project is a special and dangerous time. You get a mix of…

Jay Fields
17 May 2017

Original Link

How to layout two views side-by-side portrait and landscape (detailed walkthrough)

Setting up landscape First add a vertitical stackView Then add x2 UIViews colored red and blue inside it. Then pin the red and blue UIViews like so. For red For blue Equal height Give the subviews like read and blue by control dragging them into the ViewController. This will make them more readable. Then pin the stackView […]

JR
16 May 2017

Original Link

How to layout two views side-by-side portrait and landscape

So the trick with this is two fold. Use stack views Center the elements in the stackview Basically what do is add your constraints to the portrait layout the way you like them. Then you flip over to your landscape view and disable any controls you don’t want there by hitting the ‘+’ and the […]

JR
15 May 2017

Original Link

Autolayout Size classes

Making Apps Adaptive Part 1 https://developer.apple.com/videos/play/wwdc2016/222/?time=511 9min mark The Specifics of size classes Two classes – horizontalSizeClass, verticalSizeClass Two values – compact and regular Means there are four combinations of traits and values w = width class, h = height class Each one of these can have a value C or R How does this […]

JR
15 May 2017

Original Link

Autolayout with Paul Hagerty

Episode 12 – Autolayout Here is a simple way to view the Class Size diagram for autolayout If your layout is quite simple, just use these orientations. But what’s even better is if you have some layout in common, do it in the Any Height Any Width quadrant and just put the differences in the […]

JR
15 May 2017

Original Link

Example of method doing too much – unit testing

Was working on a refactor of this method when I realized it was doing too much. On the surface it doesn’t look that bad. Just figuring out what view to display, and then displaying it. But there are really x2 things going on with this method. One is displaying the view. But the other is […]

JR
15 May 2017

Original Link

如何分析竞争对手的网站

如何分析竞争对手的网站 没有对比就没有伤害,对于一个中小你小企业来说,要追赶上同行,需要付出的努力要比前面的同 […]

笑捧博客
15 May 2017

Original Link

TodoMVC and given-when-then scenarios

Business Analysts, in my opinion, are the best owners of Behavior Driven Development (BDD) initiatives For “good” BDD-using stories, I am like former Supreme Court justice Potter Stewart in that I know it when I see it. I see so much bad BDD though, it is demoralizing.

Rather than point out some bad Given/When/Then usage, I thought I’d take an application that did not use BDD and reverse engineer some for discussion. That application is the famous TodoMVC. Click on any of the examples to play with it, but I’m going to do screenshots in line too.

The…

Paul Hammant's blog
14 May 2017

Original Link

Maven Central as multiple Git repositories

How about all the jars (classes, source archives, and Javadocs) being up on a (rebooted) Maven central but as Git repositories instead of downloads over HTTP. As you ran your build locally, the suitably enhanced Maven would go get jars from Git repositories online.

Not whole jars, but the classes within a jar, unzipped. Afterwards on your local system that is either still a .git/ folder or a reconstituted Jar file again. There are ‘bare’ git clones too, so there would be much to decided about how it would work.

Why? Well I like the idea of VCS storing unconventional…

Paul Hammant's blog
13 May 2017

Original Link

Dealing with N+1 Queries in Rails

One of the most common problems in Rails applications is N+1 queries. As an example, let’s use a simple blogging application, with a Post model and a Tag model. When you visit the application you are presented with a snippet for the 10 most recent blog posts.

class HomeController  ApplicationController
  def index
    @posts = Post.order(published_at: :desc).limit(10)
  end
end

In our view we show the title for each blog post, as well as the tags associated with that post.

 @posts.each do |post| %>
  link_to(post

Jaco Pretorius
12 May 2017

Original Link

Devoxx London 2017 – Rethinking Services With Stateful Streams

Devoxx London 2017 – Rethinking Services withstatefulstreams from Ben Stopford

The post Devoxx London 2017 – Rethinking Services With Stateful Streams appeared first on ben stopford.

ben
12 May 2017

Original Link

Getting Organised with Sensory Kids

I’ve been a bit quiet this week, on the blog and in my writing.  I managed to submit a handful of manuscripts to two competitions early last week and so have been feeling less pressure on that front and have been slowly chipping away at a couple of picture book manuscripts. However, it’s a universal […]

The post Getting Organised with Sensory Kids appeared first on Pamela Ueckerman - Author.

pamela
11 May 2017

Original Link

Dual Track Development is not Duel Track

tl;dr: If you’ve heard the term “dual-track development” before, this article explains where it comes from, and what it means. Here are the key points: Development work focuses on predictability and quality Discovery work focuses on fast learning and validation Discovery and development are visualized in two tracks because it’s two kinds of work, and two kinds of thinking Discovery is a necessary part of product development. Practice it with the same agile and lean […]

The post Dual Track Development is not Duel Track appeared first on Jeff Patton & Associates.

Jeff Patton
10 May 2017

Original Link

Dual Track Development is not Duel Track

tl;dr: If you’ve heard the term “dual-track development” before, this article explains where it comes from, and what it means. Here are the key points: Development work focuses on predictability and quality Discovery work focuses on fast learning and validation Discovery and development are visualized in two tracks because it’s two kinds of work, and two kinds of thinking Discovery is a necessary part of product development. Practice it with the same agile and lean […]

The post Dual Track Development is not Duel Track appeared first on Jeff Patton & Associates.

Jeff Patton
10 May 2017

Original Link

Unit testing without mocks 1

Here is an example of how to remove a dependency and only pass in what you need. Avoids mocking Notification. Instead just extract value.Filed under: iOS, unit testing

JR
8 May 2017

Original Link

Front Stage to Backstage

During the last several years of my career, I have played a series of internal operations roles. This was a nice change after so many years being a client-facing consultant.    You have a different view of constraints when you come out of a client-delivery context.   Client constraints help you focus.  In the backstage… Continue reading Front Stage to Backstage

The post Front Stage to Backstage appeared first on Adam Monago.

Adam Monago
8 May 2017

Original Link

WordPress网站伪静态怎么设置?

WordPress网站伪静态怎么设置? 用WordPress建网站的人越来越多,笑捧在这里说一下WordPre […]

笑捧博客
8 May 2017

Original Link

Book Review: Sapiens by Yuval Harari

This week, I managed to finish Sapiens by Yuval Harari.  Not long ago, I listened to Harari’s interview on the James Altucher show that introduced some of the concepts in his next book, Homo Deus.  That book picks up on some of the threads presented at the end of Sapiens; I look forward to reading it… Continue reading Book Review: Sapiens by Yuval Harari

The post Book Review: Sapiens by Yuval Harari appeared first on Adam Monago.

Adam Monago
7 May 2017

Original Link