{"id":383,"date":"2014-07-02T21:09:18","date_gmt":"2014-07-02T21:09:18","guid":{"rendered":"http:\/\/www.wickensonline.co.uk\/rc2012sc\/?p=383"},"modified":"2014-07-02T21:48:28","modified_gmt":"2014-07-02T21:48:28","slug":"seafaring","status":"publish","type":"post","link":"http:\/\/www.wickensonline.co.uk\/rc2012sc\/2014\/07\/02\/seafaring\/","title":{"rendered":"Seafaring and Ship Building!"},"content":{"rendered":"<p>So I&#8217;ve been sailing the high-seas this evening! The first recommended reading book in the bibliography at the end of the manual was a book called Modula-2 &#8216;A Seafaring Manual and Shipyard Guide&#8217;:<\/p>\n<div id=\"attachment_392\" style=\"width: 562px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Modula2Seafaring.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-392\" data-attachment-id=\"392\" data-permalink=\"http:\/\/www.wickensonline.co.uk\/rc2012sc\/2014\/07\/02\/seafaring\/modula2seafaring\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Modula2Seafaring.png?fit=552%2C163\" data-orig-size=\"552,163\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Modula2Seafaring\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;An introduction to Modula-2&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Modula2Seafaring.png?fit=300%2C88\" data-large-file=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Modula2Seafaring.png?fit=552%2C163\" class=\"size-full wp-image-392\" src=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Modula2Seafaring.png?resize=552%2C163\" alt=\"An introduction to Modula-2\" width=\"552\" height=\"163\" srcset=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Modula2Seafaring.png?w=552 552w, https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Modula2Seafaring.png?resize=300%2C88 300w\" sizes=\"(max-width: 552px) 100vw, 552px\" \/><\/a><p id=\"caption-attachment-392\" class=\"wp-caption-text\">An introduction to Modula-2<\/p><\/div>\n<p>For some reason this title always intrigued me but as this was an American book and not on my set list I didn&#8217;t buy it at the time. I thought it was about time now that I got hold of a copy to take a look. 99p + postage later I had a copy.<\/p>\n<div id=\"attachment_389\" style=\"width: 255px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-389\" data-attachment-id=\"389\" data-permalink=\"http:\/\/www.wickensonline.co.uk\/rc2012sc\/2014\/07\/02\/seafaring\/seafarers\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers.jpg?fit=1024%2C1253\" data-orig-size=\"1024,1253\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;2.2&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;GT-I9505&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1404326801&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;4.2&quot;,&quot;iso&quot;:&quot;50&quot;,&quot;shutter_speed&quot;:&quot;0.0044642857142857&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Seafarers\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Modula-2: A Seafarer&#8217;s Guide and Shipyard Manual&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers.jpg?fit=245%2C300\" data-large-file=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers.jpg?fit=730%2C894\" class=\"wp-image-389 size-medium\" src=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers.jpg?resize=245%2C300\" alt=\"Modula-2: A Seafarer's Guide and Shipyard Manual\" width=\"245\" height=\"300\" srcset=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers.jpg?resize=245%2C300 245w, https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers.jpg?resize=836%2C1024 836w, https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers.jpg?w=1024 1024w\" sizes=\"(max-width: 245px) 100vw, 245px\" \/><\/a><p id=\"caption-attachment-389\" class=\"wp-caption-text\">Modula-2: A Seafarer&#8217;s Guide and Shipyard Manual<\/p><\/div>\n<p>The strange analogy is between programming languages and ships &#8211; with COBOL as a cruise liner, ADA as an aircraft carrier and my personal favourite Assembly that is a sub!<\/p>\n<div id=\"attachment_390\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers2.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-390\" data-attachment-id=\"390\" data-permalink=\"http:\/\/www.wickensonline.co.uk\/rc2012sc\/2014\/07\/02\/seafaring\/seafarers2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers2.jpg?fit=1280%2C862\" data-orig-size=\"1280,862\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;2.2&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;GT-I9505&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1404326823&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;4.2&quot;,&quot;iso&quot;:&quot;50&quot;,&quot;shutter_speed&quot;:&quot;0.0018867924528302&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Seafarers2\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers2.jpg?fit=300%2C202\" data-large-file=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers2.jpg?fit=730%2C491\" class=\"wp-image-390 size-medium\" src=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers2.jpg?resize=300%2C202\" alt=\"Seafarers2\" width=\"300\" height=\"202\" srcset=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers2.jpg?resize=300%2C202 300w, https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers2.jpg?resize=1024%2C689 1024w, https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers2.jpg?w=1280 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-390\" class=\"wp-caption-text\">Typical page from the Seafarers manual &#8211; analogies abound!<\/p><\/div>\n<div id=\"attachment_391\" style=\"width: 260px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers3.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-391\" data-attachment-id=\"391\" data-permalink=\"http:\/\/www.wickensonline.co.uk\/rc2012sc\/2014\/07\/02\/seafaring\/seafarers3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers3.jpg?fit=1024%2C1228\" data-orig-size=\"1024,1228\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;2.2&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;GT-I9505&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1404328199&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;4.2&quot;,&quot;iso&quot;:&quot;80&quot;,&quot;shutter_speed&quot;:&quot;0.033333333333333&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Seafarers3\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers3.jpg?fit=250%2C300\" data-large-file=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers3.jpg?fit=730%2C876\" class=\"wp-image-391 size-medium\" src=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers3.jpg?resize=250%2C300\" alt=\"Seafarers3\" width=\"250\" height=\"300\" srcset=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers3.jpg?resize=250%2C300 250w, https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers3.jpg?resize=853%2C1024 853w, https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/Seafarers3.jpg?w=1024 1024w\" sizes=\"(max-width: 250px) 100vw, 250px\" \/><\/a><p id=\"caption-attachment-391\" class=\"wp-caption-text\">A sample, straightforward Modula-2 program<\/p><\/div>\n<p>Anyway, I decided that I would pick a page at random and enter the program into Benchmark Modula-2 to see how successful it might be off the bat. Modula-2 comes with a fairly limited set of standard modules designed for things like simple console input\/output. As it happens this program was fully supported without issue in this version of Modula-2.<\/p>\n<div id=\"attachment_384\" style=\"width: 650px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/CalcWeight.gif\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-384\" data-attachment-id=\"384\" data-permalink=\"http:\/\/www.wickensonline.co.uk\/rc2012sc\/2014\/07\/02\/seafaring\/calcweight\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/CalcWeight.gif?fit=640%2C512\" data-orig-size=\"640,512\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"CalcWeight\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;A sample program entered from the Seafarer&#8217;s Manual&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/CalcWeight.gif?fit=300%2C240\" data-large-file=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/CalcWeight.gif?fit=640%2C512\" class=\"wp-image-384 size-full\" src=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/CalcWeight.gif?resize=640%2C512\" alt=\"A sample program entered from the Seafarer's Manual\" width=\"640\" height=\"512\" \/><\/a><p id=\"caption-attachment-384\" class=\"wp-caption-text\">A sample program entered from the Seafarer&#8217;s Manual<\/p><\/div>\n<p>I then decided to write my own little program, in a similar vein, to convert an imperial weight into metric. This was very straightforward!<\/p>\n<div id=\"attachment_387\" style=\"width: 650px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/GoMetric.gif\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-387\" data-attachment-id=\"387\" data-permalink=\"http:\/\/www.wickensonline.co.uk\/rc2012sc\/2014\/07\/02\/seafaring\/gometric\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/GoMetric.gif?fit=640%2C512\" data-orig-size=\"640,512\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"GoMetric\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;My GoMetric! Program &#8211; it converts stones\/lbs to kgs.&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/GoMetric.gif?fit=300%2C240\" data-large-file=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/GoMetric.gif?fit=640%2C512\" class=\"wp-image-387 size-full\" src=\"https:\/\/i0.wp.com\/www.wickensonline.co.uk\/rc2012sc\/wp-content\/uploads\/2014\/07\/GoMetric.gif?resize=640%2C512\" alt=\"My GoMetric! Program - it converts stones\/lbs to kgs.\" width=\"640\" height=\"512\" \/><\/a><p id=\"caption-attachment-387\" class=\"wp-caption-text\">My GoMetric! Program &#8211; it converts stones\/lbs to kgs.<\/p><\/div>\n<p>Not bad for a first effort! Next I plan to explore the editor a bit and go through some of the supplied sample programs.<\/p>\n<p>Current mood: <strong><em>Nostalgic<\/em><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So I&#8217;ve been sailing the high-seas this evening! The first recommended reading book in the bibliography at the end of the manual was a book called Modula-2 &#8216;A Seafaring Manual and Shipyard Guide&#8217;: For some reason this title always intrigued me but as this was an American book and not on my set list I &#8230;<\/p>\n<p><a href=\"http:\/\/www.wickensonline.co.uk\/rc2012sc\/2014\/07\/02\/seafaring\/\" class=\"more-link\">Continue reading &lsquo;Seafaring and Ship Building!&rsquo; &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-383","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p73JhD-6b","jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/www.wickensonline.co.uk\/rc2012sc\/wp-json\/wp\/v2\/posts\/383"}],"collection":[{"href":"http:\/\/www.wickensonline.co.uk\/rc2012sc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.wickensonline.co.uk\/rc2012sc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.wickensonline.co.uk\/rc2012sc\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.wickensonline.co.uk\/rc2012sc\/wp-json\/wp\/v2\/comments?post=383"}],"version-history":[{"count":8,"href":"http:\/\/www.wickensonline.co.uk\/rc2012sc\/wp-json\/wp\/v2\/posts\/383\/revisions"}],"predecessor-version":[{"id":400,"href":"http:\/\/www.wickensonline.co.uk\/rc2012sc\/wp-json\/wp\/v2\/posts\/383\/revisions\/400"}],"wp:attachment":[{"href":"http:\/\/www.wickensonline.co.uk\/rc2012sc\/wp-json\/wp\/v2\/media?parent=383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.wickensonline.co.uk\/rc2012sc\/wp-json\/wp\/v2\/categories?post=383"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.wickensonline.co.uk\/rc2012sc\/wp-json\/wp\/v2\/tags?post=383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}