Joel Chippindale / CTO, FutureLearn / @joelchippindale
A workshop from BarCamp London X
- Visit http://projects.codeclub.org.uk/en-GB/index.html
- Pick a Scratch project and download the student project PDF
- Visit http://scratch.mit.edu/
- Sign up/in
<script | |
type="text/javascript" | |
src="https://www.ethicalbooksearch.com/widget.js"> | |
</script> | |
<script type="text/javascript"> | |
EBSWidget.setUp("/editions/9781509880829", "your-domain-name"); | |
</script> |
<div id="ethical-book-search-container"> | |
<noscript> | |
<p> | |
Find a responsible bookseller for the book you want to buy with | |
<a href="https://www.ethicalbooksearch.com/?source=your-domain-here">Ethical Book Search</a>. | |
</p> | |
</noscript> | |
</div> | |
<script |
LOCAL_DUMP=./tmp/local-dump.sql | |
APP_CONTAINER_NAME=prepfortests_app | |
all: build run create_databases load_data test smoke_test | |
./config/database.yml: | |
@echo "---> Create database config symlink" | |
ln -s database.example.yml ./config/database.yml | |
build: ./config/database.yml |
Joel Chippindale / CTO, FutureLearn / @joelchippindale
A workshop from BarCamp London X
Joel Chippindale / CTO, FutureLearn / @joelchippindale
A tutorial from BarCamp London X
We talked about using git commits to tell a story about your code and two things that helped
# A pure Ruby implementation of curry for Proc objects. | |
# | |
# For example | |
# | |
# >> f = Proc.new { |x, y| x**y } | |
# => #<Proc:0x007fb662016c18@(eval):1> | |
# >> curry(f).call(5).call(3) | |
# => 125 | |
# | |
def curry(p) |
12:00-12:45 on Tue 2nd Sep at the FutureLearn offices, The British Library, 96 Euston Road, London
In this lunchtime talk Joel Chippindale (CTO, FutureLearn) will outline what continuous deployment is and how it can reduce risk in your software development project.
It should be useful to those who are not sure what continuous deployment is, or who know what it is but would like to more clearly understand or articulate it's benefits.
This talk is free to attend but please drop an email to so that we can get an idea of numbers and also give you more details about how to get to our offices.
class BWT | |
def encode(string) | |
rotations("#{string}$").sort.map{ |s| s.slice(-1, 1) }.join | |
end | |
def decode(encoded_string) | |
encoded_string.chars.inject([]) do |strings| | |
encoded_string.chars.zip(strings).map(&:join).sort | |
end.detect { |s| s.slice(-1, 1) == '$' }[0..-2] | |
end |
$ bundle install --path ~/tmp/bundle && find ~/tmp/bundle/ruby/2.0.0/gems -name "*.rb" -print0 | xargs -0 -I file cat file | wc -l | |
1155178 | |
$ find . -name "*.rb" -print0 | xargs -0 -I file cat file | wc -l | |
62654 | |
$ irb | |
>> (1155178.0 / (1155178 + 62654) * 100).round.to_s + "% of ruby code in this project is in rails and other gems" | |
=> "95% of ruby code in this project is in rails and other gems" |
MIT/GNU Scheme running under OS X | |
Type `^C' (control-C) followed by `H' to obtain information about interrupts. | |
Copyright (C) 2014 Massachusetts Institute of Technology | |
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
Image saved on Friday May 23, 2014 at 5:50:11 PM | |
Release 9.2 || Microcode 15.3 || Runtime 15.7 || SF 4.41 || LIAR/C 4.118 || Edwin 3.116 | |
1 ]=> (or (quote a) (quote b)) |