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.

遇到带着港腔的陌生人寻求帮助,你得小心了

遇到带着港腔的陌生人寻求帮助,你得小心了 很多没去过香港的朋友可能会很想去香港旅行,还有很多朋友也玩代购,毕竟 […]

笑捧博客
15 August 2017

Original Link

Neo4j: Cypher – Rounding of floating point numbers/BigDecimals

I was doing some data cleaning a few days ago and wanting to multiply a value by 1 million. My Cypher code to do this looked like this: with "8.37" as rawNumeric RETURN toFloat(rawNumeric) * 1000000 AS numeric ╒═════════════════╕ │"numeric" │ ╞═════════════════╡ │8369999.999999999│ └─────────────────┘ Unfortunately that suffers from the classic rounding error when working with […]

The post Neo4j: Cypher – Rounding of floating point numbers/BigDecimals appeared first on Mark Needham.

Mark Needham
13 August 2017

Original Link

Climbing family trees: Research lessons from my personal experience

Some years ago, I read the book ‘The Lost’ by Daniel Mendelssohn, and I finally thought that it might not be impossible to learn about my family history.  When you’ve descended from eastern European Jews, this is not uncommon to hear.      After a lifetime of hearing that we did not know origins of… Continue reading Climbing family trees: Research lessons from my personal experience

The post Climbing family trees: Research lessons from my personal experience appeared first on Adam Monago.

Adam Monago
13 August 2017

Original Link

Dropwizard Can Be Simple

We had a conversation at work the other day about Dropwizard vs Spark for Java services. One of my coworkers liked the simplicity of Spark, especially when building example applications. I pointed out that Dropwizard can also be pretty simple, but their Getting Started guide makes it hard to realize

Paul Gross
5 December 2016

Original Link

Serverless: AWS HTTP Gateway – 502 Bad Gateway

In my continued work with Serverless and AWS Lambda I ran into a problem when trying to call a HTTP gateway. My project looked like this: serverless.yaml service: http-gateway frameworkVersion: ">=1.2.0

The post Serverless: AWS HTTP Gateway – 502 Bad Gateway appeared first on Mark Needham.

Mark Needham
11 August 2017

Original Link

招工诈骗新模式-高薪司机

招工诈骗新模式-高薪司机 关于骗局,笑捧只能说,套路很深,且行且珍惜,知道套路多点,至少自己不迷糊,今天为大家 […]

笑捧博客
10 August 2017

Original Link

Accelerate Your Datacenter Transformation with Colocation and a Secure Cloud On-Ramp to Public Cloud Providers

According to IDC, worldwide spending on public cloud computing will increase from $67B in 2015 to $162B in 2020 attaining a 19 percent CAGR.1 Gartner predicts the worldwide public cloud services market will grow 18 percent in 2017 to $246.8B, up from $209.2B in 2016.2 Other experts suggest that we are just five years away […]

The post Accelerate Your Datacenter Transformation with Colocation and a Secure Cloud On-Ramp to Public Cloud Providers appeared first on .

Caitlin Boyd
3 August 2017

Original Link

5 digit remote code for Sony BDP-S370

This worked with a cheap Phillips universal remote: 51029

dan
8 August 2017

Original Link

Why I don’t get into arguments the way I used to

  Everything is opinion I believe if I had the same experiences as others I would most likely share a similar opinion And for every strongly held belief an example or counterexample can often be given Not all advice holds in all scenarios And I also have seen this happen in myself. My own thoughts […]

JR
7 August 2017

Original Link

A nice macro for designated initializers

Define a macro like this So you can do thisFiled under: iOS

JR
7 August 2017

Original Link

Serverless: Python – virtualenv – { “errorMessage”: “Unable to import module ‘handler'” }

I’ve been using the Serverless library to deploy and run some Python functions on AWS lambda recently and was initially confused about how to handle my dependencies. I tend to create a new virtualenv for each of my project so let’s get that setup first: Prerequisites $ npm install serverless $ virtualenv -p python3 a […]

The post Serverless: Python – virtualenv – { “errorMessage”: “Unable to import module ‘handler'” } appeared first on Mark Needham.

Mark Needham
6 August 2017

Original Link

Environment Creation Times in Modern Teams

Following “An Aspect of DevOps Improvements: The Reduction of Cycle Times” from six weeks ago, I thought I’d make a quick article about development teams and their relationship with their pre-prod environments.

The previous blog entry talked of alternate dev team’s cadences as one of the indicators of how far that team was from “high throughput”. This diagram has a classic ‘starting position’ for an enterprise development team that has a long way to go:

A factor that hugely affects a team’s ability to get to goals, is how long it takes to make a new non-prod environment…

Paul Hammant's blog
6 August 2017

Original Link

Tips on hiring more female developers

For nearly a decade I witnessed ThoughtWorks change from being like every other IT company, struggling to have female developers, to a notable 59% female of entry level jobsI observed ThoughtWorks, as well as the industry at large, trying to change the gender landscape through a swarm of [insert tech here] Girls events and meet ups, trips to high-schools and Linked-Iposts. Don’t get me wrong. These are all valid, good and necessary, but unfortunately insufficient. When ThoughtWorks was planning how to disrupt themselves, I often doubted that

Daniel Aragao
6 August 2017

Original Link

Why Colocation Delivers Greater Business Value than Hosting Your Own Private Cloud

According to Forrester: “Private cloud must include advanced virtualization, standardization, automation, self-service access, and resource monitoring if it’s to function as a true cloud service. As a result, private clouds aren’t easy or cheap for I&O leaders to build, and many private cloud initiatives have failed.”1 In fact, a survey of participants at a recent […]

The post Why Colocation Delivers Greater Business Value than Hosting Your Own Private Cloud appeared first on .

Caitlin Boyd
3 August 2017

Original Link

AWS Lambda: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory’

I’ve been working on an AWS lambda job to convert a HTML page to PDF using a Python wrapper around the wkhtmltopdf library but ended up with the following error when I tried to execute it: b'/bin/sh: ./binary/wkhtmltopdf: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory\n': Exception Traceback (most recent call last): File "/var/task/handler.py", […]

The post AWS Lambda: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory’ appeared first on Mark Needham.

Mark Needham
3 August 2017

Original Link

How to fix iMessage orientation crash

iMessage will crash in mysterious ways if you start in portrait, change to landscape, and then select something from your conversation. My buddy kevski figured out that you can fix this by dismissing yourself every time you send a message. MSMessageViewController.m Just another weird iMessage thing. But this seems to be what most apps do […]

JR
3 August 2017

Original Link

PHP vs Python: Generating a HMAC

I’ve been writing a bit of code to integrate with a ClassMarker webhook, and you’re required to check that an incoming request actually came from ClassMarker by checking the value of a base64 hash using HMAC SHA256. The example in the documentation is written in PHP which I haven’t done for about 10 years so […]

The post PHP vs Python: Generating a HMAC appeared first on Mark Needham.

Mark Needham
2 August 2017

Original Link

How to add a border to a UIImageView

Just change the CALayer on the UIImageView as shown above. Filed under: iOS

JR
1 August 2017

Original Link

网站技术到底是什么?

网站技术到底是什么? 相信很多想做网站的朋友都很想知道网站技术是什么?那今天笑捧和大家说说网站技术到底是什么! […]

笑捧博客
29 July 2017

Original Link

Emacs and PostgreSQL database names

Emacs brings REPL-driven development to SQL using sql-mode, so you can have a SQL buffer running and send commands to it.

Today however sql-mode didn’t show a prompt when connecting to my local dev database. It turns out that sql-mode has a regexp looking for the prompt, which expects the database name to be all alphanumerics for some reason It seems to be fixed but is not in the version I get from Arch Linux.

EmacsWiki provides the following fix which works:

(add-hook 'sql-interactive-mode-hook
            (lambda ()
              (setq sql-prompt-regexp "^[_[:alpha:]]*[=][#>] ")
              (setq sql-prompt-cont-regexp "^[_[:alpha:]]*[-][#>] ")))

Blog on Marcus Ahnve
27 July 2017

Original Link