<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3472723728270495085</id><updated>2024-09-01T05:45:17.532-07:00</updated><title type='text'>Programming Action Hour!</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://bthpah.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3472723728270495085/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://bthpah.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06852230782281671512</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3472723728270495085.post-6454048787990158360</id><published>2012-06-04T06:25:00.002-07:00</published><updated>2012-06-04T06:25:37.557-07:00</updated><title type='text'>Version Control</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I have started learning about version control for my new project; putting together a series of math functions in c which will eventually be converted to assembler.&lt;br /&gt;&lt;br /&gt;I would quite like to use a version control program going forward because my hard drive is very messy with all the programs on it.&lt;br /&gt;&lt;br /&gt;My understanding is that there are two types of version control programs:&lt;br /&gt;Those that commit chnages to a master source in a central repository.&lt;br /&gt;Those that are stored in a distributed fashion similiar to shared folders in drop box.&lt;br /&gt;&lt;br /&gt;Git is a program made by Linus Torvalds so it should be ok to use when I learn Linux later.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bthpah.blogspot.com/feeds/6454048787990158360/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bthpah.blogspot.com/2012/06/version-control.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3472723728270495085/posts/default/6454048787990158360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3472723728270495085/posts/default/6454048787990158360'/><link rel='alternate' type='text/html' href='http://bthpah.blogspot.com/2012/06/version-control.html' title='Version Control'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06852230782281671512</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3472723728270495085.post-2145702988276585797</id><published>2012-04-12T14:46:00.000-07:00</published><updated>2012-04-12T14:46:23.744-07:00</updated><title type='text'>Simultaneous Equations?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I realised today just how important maths can be for programming.&lt;br /&gt;Based on my experience with my new Mastering Mathematics book it really does astound me that we are not taught algebra in University.&lt;br /&gt;I suppose most students going to university have been in education for a while so algebra is still fresh in their mind, but it has been more than five years since I studied the subject.&lt;br /&gt;
&lt;br /&gt;
One of the exercises was something called Arithmogons:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgea7RApPpUaKdWLKtlpKJESeSG2MnSgx9xDuLhVh4aUXa_Q5UaSn60u15zFUfa3u3S1PjbDs5LOM3ds9W4nUP7i0AfmyWgzlG_T2HcnEO2vnL66uTxmrhby9-ma4z2iUodkqIQI7ueAjA/s1600/Arithmogon.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;270&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgea7RApPpUaKdWLKtlpKJESeSG2MnSgx9xDuLhVh4aUXa_Q5UaSn60u15zFUfa3u3S1PjbDs5LOM3ds9W4nUP7i0AfmyWgzlG_T2HcnEO2vnL66uTxmrhby9-ma4z2iUodkqIQI7ueAjA/s320/Arithmogon.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
The numbers in the square are the sum of the circles on each side of the square.&lt;br /&gt;
I initially assumed they were whole numbers and was getting nowhere.&lt;br /&gt;
I decided I needed to employ some algebra.&lt;br /&gt;
&lt;br /&gt;
I wrote out a formula like this:&lt;br /&gt;
27 is the sum of all squares: &lt;br /&gt;
27=(X+Z)+(X+Y)+(Z+Y)&lt;br /&gt;I ended up with:&lt;br /&gt;27-Z = X+Z&lt;br /&gt;
-----&lt;br /&gt;
&amp;nbsp; Y&lt;br /&gt;
&lt;br /&gt;
That is 27 minus Z over Y is equal to X plus Z.&lt;br /&gt;
I assumed I needed to multiply X plus Z and decided this was the wrong approach.&lt;br /&gt;
Instead I asked my housemate how he would approach it and he came up with the following solution:&lt;br /&gt;&lt;br /&gt;X+Y=8&lt;br /&gt;
Y+Z=9&lt;br /&gt;
X+Z=10&lt;br /&gt;
&lt;br /&gt;
(9-Y)+2=10&lt;br /&gt;
Z=10-(8-Y)&lt;br /&gt;
y+10-(8-Y)=9&lt;br /&gt;
Y+2+Y=9&lt;br /&gt;
2Y=7&lt;br /&gt;
Y=3.5&lt;br /&gt;
&lt;br /&gt;
I recognised a bit of this from simultaneous equations and proceeded to repeat the word several times and then we both moaned about how boring maths was in school.&lt;br /&gt;
&lt;br /&gt;
Now that I had an algorithm for working out X,Y and Z I could write a program.&lt;br /&gt;
This is why whenever my tutors say programmers don&#39;t need to learn maths, I completely ignore them and continue reading my awesome book.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bthpah.blogspot.com/feeds/2145702988276585797/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bthpah.blogspot.com/2012/04/simultaneous-equations.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3472723728270495085/posts/default/2145702988276585797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3472723728270495085/posts/default/2145702988276585797'/><link rel='alternate' type='text/html' href='http://bthpah.blogspot.com/2012/04/simultaneous-equations.html' title='Simultaneous Equations?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06852230782281671512</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgea7RApPpUaKdWLKtlpKJESeSG2MnSgx9xDuLhVh4aUXa_Q5UaSn60u15zFUfa3u3S1PjbDs5LOM3ds9W4nUP7i0AfmyWgzlG_T2HcnEO2vnL66uTxmrhby9-ma4z2iUodkqIQI7ueAjA/s72-c/Arithmogon.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3472723728270495085.post-2201911876438476957</id><published>2012-04-11T02:43:00.000-07:00</published><updated>2012-04-11T02:43:17.780-07:00</updated><title type='text'>Maths III</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
One of my lecturers has suggested that I take a look at&amp;nbsp;Engineering Mathematics by Stroud&amp;nbsp;&lt;a href=&quot;http://www.amazon.co.uk/gp/product/0333620224/ref=oh_o00_s00_i00_details&quot;&gt;http://www.amazon.co.uk/gp/product/0333620224/ref=oh_o00_s00_i00_details&lt;/a&gt;&amp;nbsp;and also Math Centre &lt;a href=&quot;http://www.mathcentre.ac.uk/&quot;&gt;http://www.mathcentre.ac.uk/&lt;/a&gt;&lt;br /&gt;Seems promising.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bthpah.blogspot.com/feeds/2201911876438476957/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bthpah.blogspot.com/2012/04/maths-iii.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3472723728270495085/posts/default/2201911876438476957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3472723728270495085/posts/default/2201911876438476957'/><link rel='alternate' type='text/html' href='http://bthpah.blogspot.com/2012/04/maths-iii.html' title='Maths III'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06852230782281671512</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3472723728270495085.post-3028314548088598769</id><published>2012-04-10T10:35:00.002-07:00</published><updated>2012-04-10T10:35:25.329-07:00</updated><title type='text'>Maths 2</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
It looks like I need to learn about calculus, however I am also interested in brushing up on my algebra. I am sure there are more fields of maths that I need to know to help me with my programming.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bthpah.blogspot.com/feeds/3028314548088598769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bthpah.blogspot.com/2012/04/maths-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3472723728270495085/posts/default/3028314548088598769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3472723728270495085/posts/default/3028314548088598769'/><link rel='alternate' type='text/html' href='http://bthpah.blogspot.com/2012/04/maths-2.html' title='Maths 2'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06852230782281671512</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3472723728270495085.post-9097288398854578243</id><published>2012-04-09T23:33:00.001-07:00</published><updated>2012-04-09T23:33:13.886-07:00</updated><title type='text'>Students Are A Microcosm For The Research Community</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Although my lecturers are very approachable and helpful, my peers are the main support structure when it comes to learning programming.&lt;br /&gt;
&lt;br /&gt;
Others may argue that the lecturer is the person a student should turn to first, but peers are there on the weekend and at midnight.&lt;br /&gt;
&lt;br /&gt;
They are on Facebook and happy to talk to some one who needs help with really stupid problems.&lt;br /&gt;
&lt;br /&gt;They are also learning the same things as each other so in some ways they are more an expert on the work to be done than the the lecturer marking.&lt;br /&gt;
&lt;br /&gt;This is why I believe it is important to help my peers with any problems they have with their coursework because if I am the only one on the final task of an assignment and stuck. I am just as likely to fail as everyone else, whereas if I help everyone get to the final task; we can all help each other and collaborate.&lt;br /&gt;
&lt;br /&gt;
Students have strengths and weaknesses and by not being a prick, everyone becomes stronger by sharing their advantage for the good of the group.&lt;br /&gt;&lt;br /&gt;No matter how annoying some of that group may be.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bthpah.blogspot.com/feeds/9097288398854578243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bthpah.blogspot.com/2012/04/students-are-microcosm-for-research.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3472723728270495085/posts/default/9097288398854578243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3472723728270495085/posts/default/9097288398854578243'/><link rel='alternate' type='text/html' href='http://bthpah.blogspot.com/2012/04/students-are-microcosm-for-research.html' title='Students Are A Microcosm For The Research Community'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06852230782281671512</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3472723728270495085.post-1993880645744746296</id><published>2012-04-07T03:07:00.001-07:00</published><updated>2012-04-10T10:33:41.026-07:00</updated><title type='text'>Software Engineering Approach To Problem Solving</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Realised this week that because assignments and projects are:&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;getting larger in scope&amp;nbsp;&lt;/li&gt;
&lt;li&gt;not limited to one source file&lt;/li&gt;
&lt;li&gt;implement multiple unfamiliar functions&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
creating programs approach needs more structure&lt;/div&gt;
&lt;div&gt;
Systems Analysis and Design and lower level&amp;nbsp;programming&amp;nbsp;work has covered this&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
the following techniques will be implemented:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
//Technique One&lt;/div&gt;
&lt;div&gt;
only focus on implementing one function at a time&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
//Technique Two&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
when it seems the program runs after implementing the new function, save that version of the program and begin implementing the next function in a&amp;nbsp;separate&amp;nbsp;version&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
//Technique Three&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
begin a project by working on the function that can be tested most easily&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bthpah.blogspot.com/feeds/1993880645744746296/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bthpah.blogspot.com/2012/04/software-engineering-approach-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3472723728270495085/posts/default/1993880645744746296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3472723728270495085/posts/default/1993880645744746296'/><link rel='alternate' type='text/html' href='http://bthpah.blogspot.com/2012/04/software-engineering-approach-to.html' title='Software Engineering Approach To Problem Solving'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06852230782281671512</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3472723728270495085.post-1232177322865491252</id><published>2012-04-04T01:18:00.000-07:00</published><updated>2012-04-10T10:34:27.722-07:00</updated><title type='text'>Maths</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
While Pair Programming yesterday it&amp;nbsp;occurred&amp;nbsp;to me that I didn&#39;t know any maths.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
One of my lecturers suggested integrals and differentiation.&lt;/div&gt;
&lt;div&gt;
I didn&#39;t understand what either of those things were.&lt;/div&gt;
&lt;div&gt;
I searched the web for the best place to start.&lt;/div&gt;
&lt;div&gt;
There was too much information.&lt;/div&gt;
&lt;div&gt;
I have ordered a book on maths.&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://www.amazon.co.uk/gp/product/0333665082/ref=oh_o00_s00_i00_details&quot;&gt;http://www.amazon.co.uk/gp/product/0333665082/ref=oh_o00_s00_i00_details&lt;/a&gt;
&lt;/div&gt;
&lt;div&gt;
I looked at a GCSE mock exam and did not understand the first question.&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bthpah.blogspot.com/feeds/1232177322865491252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bthpah.blogspot.com/2012/04/maths.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3472723728270495085/posts/default/1232177322865491252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3472723728270495085/posts/default/1232177322865491252'/><link rel='alternate' type='text/html' href='http://bthpah.blogspot.com/2012/04/maths.html' title='Maths'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06852230782281671512</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>