-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathatom.xml
More file actions
182 lines (142 loc) · 7.73 KB
/
atom.xml
File metadata and controls
182 lines (142 loc) · 7.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title><![CDATA[Dark Side of the Spoon]]></title>
<link href="http://dephraser.net/atom.xml" rel="self"/>
<link href="http://dephraser.net/"/>
<updated>2013-06-12T21:06:20+01:00</updated>
<id>http://dephraser.net/</id>
<author>
<name><![CDATA[David 'DePhraser' Fraser]]></name>
</author>
<generator uri="http://octopress.org/">Octopress</generator>
<entry>
<title type="html"><![CDATA[Wednesday at Young Rewired State]]></title>
<link href="http://dephraser.net/blog/2012/08/08/wednesday-at-young-rewired-state/"/>
<updated>2012-08-08T13:35:00+01:00</updated>
<id>http://dephraser.net/blog/2012/08/08/wednesday-at-young-rewired-state</id>
<content type="html"><![CDATA[<p>This week I am volunteering at the Young Rewired State centre in Edinburgh.</p>
<p>Young Rewired State (YRS) is a national event running during a week in early
August where young people from up and down the country gather in centres to sit
and make something with the help of volunteer mentors from the local area.</p>
<p>This year the theme is open data with the participants taking data from
a variety of sources to try and make something interesting from it.</p>
<p>A quick scan of the hashtag
<a href="https://twitter.com/#!/search?q=%23yrs2012">#YRS2012</a> will reveal both the
number of projects people are working on, the passion of both the kids and the
mentors is teaching and demonstration their skills, and the fun people are
having.</p>
<p>We have only two kids here at the Edinburgh centre, being hosted by the
University of Edinburgh’s School of Informatics in Appleton Tower and the
Mentors outnumber the participants by 2:1. This has not been a problem
as the expertise of the mentors is reasonably well spread.</p>
<p>The knowledge and enthusiasm that the teenagers brought here has been
breathtaking. Within 3 hours of getting here they had already selected their
project and had got down to it.</p>
<p>It has been called Project F, mostly started as a joke, but it kind of stuck.
All to be released shortly as soon as they get it working. But they are
presenting at Edinburgh Techmeetup tonight so hopefully they will have
something working by then.</p>
<p>I am enjoying myself. I have always enjoyed teaching and teaching people who
actively want to learn is a joy.</p>
<p>We head down to Birmingham on Friday for the Festival of Code. Centres from all
over the country will gather in the Custard Factory to hear presentations, win
awards, eat pizza, and generally have good time.</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[The book what started it]]></title>
<link href="http://dephraser.net/blog/2012/07/29/the-book-what-started-it/"/>
<updated>2012-07-29T14:59:00+01:00</updated>
<id>http://dephraser.net/blog/2012/07/29/the-book-what-started-it</id>
<content type="html"><![CDATA[<p><em>I want to tell you about the pleasure, the sheer unbridled joy, of cooking
without a recipe</em>.</p>
<p>An odd start to a recipe book, but once you get into it you understand what Nigel
Slater is on about in his book, ‘Appetite’.</p>
<p>This was the first cookbook I really read, picking it out of the many books on
my Dad’s bookshelf purely because its orange spine stood out from the rest.
Before I had made things from memory and on my parents advice, my repertoire
consisting of a few pasta dishes and a fruit salad.</p>
<p>It is Slater’s manifesto of cooking, his mission statement for the kitchen.</p>
<p>The first third of the book doesn’t really contain any recipes at all rather
explaining his passion for cooking in drool inducing language with full page
gastronomic pornographic images. It talks about what you really need in your
kitchen, the little number of pans and knifes you really need, how and where to
shop, what flavours really go together, and when fruit and veg are in season and at
their best. He tells you that you should cook for fun, that you don’t have to
cook every night, that its fine to get a takeaway every so often.</p>
<p>His recipes are written in the way people cook. He understands that we don’t
all cook like they do on Blue Peter, with each ingredient pre-measured and put
in its own little dish all lined up ready to go. It’s not <em>20g of basil</em> it’s
<em>a good handful</em>. It encourages experimentation and the recipes should be
treated more as templates than anything else.</p>
<p>My copy is well thumbed and a couple of the pages are stuck together at the
back when the flat above me water pipe burst. The recipes I use on a regular
basis and flecked and stained with cooking debris. I love it.</p>
<p>I would recommend this book to people starting to cook or who have cooked for
a while.</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Ant Javadoc and GitHub]]></title>
<link href="http://dephraser.net/blog/2012/04/16/ant-javadox-and-github/"/>
<updated>2012-04-16T20:29:00+01:00</updated>
<id>http://dephraser.net/blog/2012/04/16/ant-javadox-and-github</id>
<content type="html"><![CDATA[<p>During our <a href="http://www.inf.ed.ac.uk/teaching/courses/sdp/">Systems Design Project</a>
course at Edinburgh we hit the problem of a large team coding on separate parts
of a system and not having instant access to each other like we would in
a development office environment.</p>
<p>We wanted to create a easy, automated way to share documentation about code
which was being worked on in separate branches. The code was already being
documented by JavaDoc and some of use were generating it adhoc to look at other
peoples stuff.</p>
<p>I had used Github pages service before (this site is hosted there). Since our
code was already hosted there this would create an easy platform to view the
generated JavaDoc as a web page, independent of the branch it was on.</p>
<p>Ant was being used to build the code so it was a simple task to add an ant task
into generate the JavaDoc and then call a script that would upload it Github
pages.</p>
<h3>Ant Task</h3>
<pre><code><target name="javadocgenerate">
<javadoc packagenames="uk.ac.ed.inf.sdp2012.group7.*"
sourcepath="src"
destdir="../pcdoc"
author="true"
version="false"
windowtitle="Group 7 PC code">
</javadoc>
<exec executable="/bin/bash">
<arg value="publish.sh"/>
</exec>
</target>
</code></pre>
<h3>Bash Script</h3>
<pre><code>#!/bin/sh
# Push javadoc files to a website hosted by github <http://pages.github.com/>.
# Before executing this script, generate the javadoc files into pcdoc
#
#David Fraser
# find out the current branch so we know where to switch back
OLD_BRANCH=`git branch --no-color | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'`
git checkout gh-pages || exit $?
# Clear out the old files: (files which will be served)
rm -rf javadoc/*
# Replace them with new files and commit them:
cp -pr pcdoc/* javadoc \
&& git add javadoc \
&& git commit -a -m "generated javadoc"
#Remove the generated doc
rm -rf pcdoc/*
git push origin gh-pages || exit $?
# Switch back to the old branch
git checkout $OLD_BRANCH || exit $?
</code></pre>
<p>All the user has to do is call ‘ant javadocgenerate’ and any JavaDoc they have
added to the code will be generate and put online. It does take 5 or 10 minutes
for the docs to appear online but Github notify you when the page is built.</p>
<h3>Links</h3>
<p><a href="http://help.github.com/pages">Github pages</a><br/>
<a href="http://ant.apache.org/manual/Tasks/javadoc.html">Ant JavaDoc</a></p>
<p><a href="http://sdpgroup7.github.com/code/javadoc/overview-tree.html">Example from SDP</a></p>
]]></content>
</entry>
</feed>