Skip to content

Instantly share code, notes, and snippets.

James Abley jabley

Block or report user

Report or block jabley

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jabley
jabley / coed-ethics.org
Last active Jul 21, 2018
Note from CoEd Ethics, London 2018
View coed-ethics.org

CoEd:Ethics

Introduction by Anne Currie (@anne_e_currie)

  • Why are we here?
    • Is there a problem with ethics in and around technology use at the moment?
    • If there is an issue, what can we as engineers do about it?
      • What might stop me?
      • How can I get around that?
  • There is a workbook for the conference
    • It looks a bit like the ones DareConf used to do
@jabley
jabley / image.go
Created Mar 29, 2018
Generate a tracking pixel image
View image.go
package main
import (
"encoding/base64"
"log"
"os"
)
func main() {
b64 := "R0lGODlhAQABAID/AP///wAAACwAAAAAAQABAAACAkQBADs="
View cloning-haskell-repo.sh
> git clone https://git.haskell.org/ghc.git
Cloning into 'ghc'...
remote: Counting objects: 429508, done.
remote: Compressing objects: 100% (89887/89887), done.
Receiving objects: 20% (85902/429508), 15.03 MiB | 2.85 MiB/s Receiving objects: 21% (90197/429508), 17.63 MiB | 3.24 MiB/s Receiving objects: 22% (94492/429508), 17.63 MiB | 3.24 MiB/s Receiving objects: 22% (96993/429508), 20.26 MiB | 3.63 MiB/s Receiving objects: 23% (98787/429508), 20.26 MiB | 3.63 MiB/s Receiving objects: 24% (103082/429508), 23.11 MiB | 4.03 MiB/s Receiving objects: 24% (105088/remote: Total 429508 (delta 323225), reused 426618 (delta 320966)
Receiving objects: 100% (429508/429508), 98.99 MiB | 8.95 MiB/s, done.
Resolving deltas: 100% (323225/323225), done.
Checking out files: 100% (12695/12695), done.
> cd ghc
> git submodule -q update --init --recursive
@jabley
jabley / build-artifact.yml
Created Oct 24, 2016
Concourse Deployment pipeline
View build-artifact.yml
platform: linux
image_resource:
type: docker-image
source:
repository: maven
tag: latest
inputs:
- name: git-repo
View wow-that-ad-copy.md

My client is a global retail giant that are about to embark on an overhaul of their digital products. The business have recently hired a very influential Global Digital Director who is now starting to implement their plan, which is seeing many changes throughout the business. To support their proposed digital roadmap they have identified the need for a Head of UX that will play a very influential role.

The business have gone through various changes over the past few years with the introduction of product management and more recently the creation of a digital lab. The latter has been great a vehicle to promote and foster innovative design thinking in a blue chip organisation. However as the business looks to restructure their various channels and products, the lab teams will be dispersed in to the various product teams to ensure its consistent throughout the business.

In addition to the Director hire, there is another pivotal new hire to the business who will be overseeing Product, UX and Delivery. The futur

@jabley
jabley / delve.sh
Created Aug 25, 2016
Panic when trying to debug using Go 1.7
View delve.sh
~/gocode/src/github.com/elazarl/goproxy > dlv test
Type 'help' for list of commands.
(dlv) b https.go:376
Breakpoint 1 set at 0x85ad2 for github.com/elazarl/goproxy.TLSConfigFromCA.func1 ./https.go:376
(dlv) c
> github.com/elazarl/goproxy.TLSConfigFromCA.func1() ./https.go:376 (hits goroutine(222):1 total:1)
371: return nil
372: }
373:
374: func TLSConfigFromCA(ca *tls.Certificate) func(host string, ctx *ProxyCtx) (*tls.Config, error) {
@jabley
jabley / petition.md
Last active Jun 26, 2016
Create an independent regulator to ensure truth in political advertising – text of a submission on https://petition.parliament.uk/ about political campaigns
View petition.md

Overview

The UK has just seen one of the most vile political campaigns in recent times. Both sides made claims which were demonstrably false. There are no penalties or incentives which prevent this.

We urge the government to create an independent body to regulate political campaigns.

Background

The Advertising Standards Authority (ASA) has the power to ban or change misleading commercial advertisements.

@jabley
jabley / scale-summit-2016.org
Last active Mar 18, 2016
Scale Summit 2016
View scale-summit-2016.org

Fraud detection

  • People are scaling
    • Some parts of government can throw people at the problem
  • Delays inherent in the financial system can be helpful
  • batch jobs/overnight things can help fraud teams have the time to detect it
  • Things seeem based on:
    • IP address
    • new customer?
    • value of transaction
  • and scoring a transaction to see whether it should be flagged
View On-Reverse-Engineering.md

It has been a bit horrifying to watch the BitKeeper saga unfold. Not that it's surprising of course that Larry rescinded the BK Linux license; if you know Larry or even know of him, you know that Larry's tragic flaws -- hypersensitivity, volatility and vindictiveness -- made this an inevitability of sorts1. So the horrifying bit has not been the act itself, but rather the specific reason that Larry cited when rescinding the license: he seems to have taken issue with Tridge's attempt to reverse engineer the BitKeeper protocols. This rankles; I (like many engineers, I suspect) view reverse engineering as a Natural Right. That is, I believe that we are endowed with certain unalienable Rights, and that among these are Life, Liberty and the pursuit of Understanding how the hell something works (or doesn't, as is frequently the case). Perhaps perversely to some, it is my strong belief in the right to reverse engineer that lea

View Onename
Verifying I am +jabley on my passcard. https://onename.com/jabley
You can’t perform that action at this time.