{"id":5484,"date":"2018-12-07T13:07:13","date_gmt":"2018-12-07T13:07:13","guid":{"rendered":"https:\/\/www.dyalog.com\/blog\/?p=5484"},"modified":"2024-09-10T09:44:39","modified_gmt":"2024-09-10T09:44:39","slug":"dyalog-18-videos-week-3","status":"publish","type":"post","link":"https:\/\/www.dyalog.com\/blog\/2018\/12\/dyalog-18-videos-week-3\/","title":{"rendered":"Dyalog &#8217;18 Videos, Week 3"},"content":{"rendered":"<p>The four presentations from Dyalog&#8217;18 that we are releasing this week address both the visible (user interface) and invisible (performance) parts of application design. Starting with performance:<\/p>\n<p><div id=\"attachment_5488\" style=\"width: 594px\" class=\"wp-caption aligncenter\"><a target=\"_blank\" href=\"https:\/\/en.wikipedia.org\/wiki\/Matra_MS80#\/media\/File:StewartJackie19690801MatraFord.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5488\" src=\"https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/MatraFord-1024x387.jpg\" alt=\"\" width=\"584\" height=\"221\" class=\"size-large wp-image-5488\" srcset=\"https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/MatraFord-1024x387.jpg 1024w, https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/MatraFord-300x113.jpg 300w, https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/MatraFord-768x290.jpg 768w, https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/MatraFord-500x189.jpg 500w, https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/MatraFord.jpg 1952w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/a><p id=\"caption-attachment-5488\" class=\"wp-caption-text\">\u201cYou don\u2019t have to be an engineer to be a racing driver, but you do have to have Mechanical Sympathy.\u201d &#8211; former Formula One racing driver Sir John Young &#8220;Jackie&#8221; Stewart, OBE<\/p><\/div><br \/>\nThis quote was at the heart of the talk by our invited keynote speaker Martin Thompson. In order to write software which performs well, you need to have a basic understanding of how the underlying machinery works. Understanding basic mathematical models for the theoretical throughput of software and hardware helps us take the step from being alchemists to scientists, as we endeavour to write high-performance systems. <\/p>\n<p><a target=\"_blank\" href=\"https:\/\/twitter.com\/mbaas\/status\/1057611346932580353\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/martin-1024x431.jpg\" alt=\"\" width=\"584\" height=\"246\" class=\"aligncenter size-large wp-image-5490\" srcset=\"https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/martin-1024x431.jpg 1024w, https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/martin-300x126.jpg 300w, https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/martin-768x324.jpg 768w, https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/martin-500x211.jpg 500w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/a>Martin takes us for an entertaining stroll through the evolution of modern processors, and some of the maths behind high performance systems. The good news is that systems which make sequential and predictable memory accesses are likely to find sympathy with modern hardware\u2026<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/dyalog.tv\/Dyalog18\/?v=-6no6N3i9Tg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/marshall2-1024x401.png\" alt=\"\" width=\"584\" height=\"229\" class=\"aligncenter size-large wp-image-5492\" srcset=\"https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/marshall2-1024x401.png 1024w, https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/marshall2-300x118.png 300w, https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/marshall2-768x301.png 768w, https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/marshall2-500x196.png 500w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/a>Marshall Lochbaum, the most recent addition to the core interpreter team at Dyalog, followed up with a talk on a number of his ideas for increasing the mechanical sympathy of Dyalog APL, to take maximum advantage of branch prediction and other features of modern processors. Some strategies take advantage of runtime inspection of the arguments, something that is more natural in an interpreter with the ability to dynamically select data types, as opposed to strongly typed strategies typically employed by compilers.<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/dyalog.tv\/Dyalog18\/?v=GgGD57B8iAY\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/smansour-1024x418.jpg\" alt=\"\" width=\"584\" height=\"238\" class=\"aligncenter size-large wp-image-5494\" srcset=\"https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/smansour-1024x418.jpg 1024w, https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/smansour-300x123.jpg 300w, https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/smansour-768x314.jpg 768w, https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/smansour-500x204.jpg 500w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/a><br \/>\nTamStat is an application which helps students <strong>Tam<\/strong>e <strong>Stat<\/strong>istics. In two talks at Dyalog&#8217;18, Stephen Mansour and Michael Baas focus on two different aspects of the user experience. In the first talk, Stephen focuses on the notation available to users of TamStat. Where many statistical libraries contain dozens of strangely named functions with a variety of switches and parameters, TamStat uses a small set of functions, combined with another small set of operators, to provide a very simple but extremely elegant notation for computing probabilities based on a wide variety of distributions. For example:<\/p>\n<pre><code class=\"language-apl\">\u235d Probability that 7 coin flips (0.5 specifying a \"fair\" coin) will result \r\n\u235d in at least 3 heads:\r\n7 0.5 binomial probability \u2265 3\r\n<\/code><\/pre>\n<pre><code class=\"language-apl\">\u235d Probability that a number from a normal distribution with a mean of 0 and \r\n\u235d standard deviation of 1 will be \u2264 3:\r\n0 1   normal   probability \u2264 3\r\n<\/code><\/pre>\n<p>I almost wish I could go back to University and start Statistics 101 again ?.<\/p>\n<div id=\"attachment_5496\" style=\"width: 160px\" class=\"wp-caption aligncenter\"><a target=\"_blank\" href=\"http:\/\/tamstat.com\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-5496\" src=\"https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/tamstat-150x150.png\" alt=\"\" width=\"150\" height=\"150\" class=\"size-thumbnail wp-image-5496\" \/><p id=\"caption-attachment-5496\" class=\"wp-caption-text\">There&#8217;s no lyin&#8217; in Statistics!<\/a><\/p><\/div>\n<p><a target=\"_blank\" href=\"https:\/\/dyalog.tv\/Dyalog18\/?v=rJWfLQUuECQ\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/michael-1024x354.jpg\" alt=\"\" width=\"584\" height=\"202\" class=\"aligncenter size-large wp-image-5495\" srcset=\"https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/michael-1024x354.jpg 1024w, https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/michael-300x104.jpg 300w, https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/michael-768x266.jpg 768w, https:\/\/www.dyalog.com\/blog\/wp-content\/uploads\/2018\/12\/michael-500x173.jpg 500w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/a><br \/>\nNotation is a powerful tool of thought, but graphs make it easier to visualise the results. Following Stephen&#8217;s talk, Michael Baas describes work that Dyalog is doing in collaboration with Stephen, with the goal of wrapping TamStat in a modern, HTML\/JavaScript based frontend. Current TamStat is based on the \u2395WC (Window Create) library function and is therefore restricted to running on Microsoft Windows. However, many of Stephen&#8217;s students use Mac or Linux laptops. The new interface also makes it possible to run TamStat as a web-based service with a web site. We expect that this work will make TamStat accessible to a much wider audience.<\/p>\n<p>Summary of this week&#8217;s videos:<\/p>\n<ul>\n<li><a target=\"_blank\" href=\"https:\/\/dyalog.tv\/Dyalog18\/?v=mK2WUDIY4hk\">U12: Rectangles All The Way Down (Martin Thompson)<\/a><\/li>\n<li><a target=\"_blank\" href=\"https:\/\/dyalog.tv\/Dyalog18\/?v=-6no6N3i9Tg\">D15: The Interpretive Advantage (Marshall Lochbaum)<\/a><\/li>\n<li><a target=\"_blank\" href=\"https:\/\/dyalog.tv\/Dyalog18\/?v=GgGD57B8iAY\">U03: Taming Statistics with TamStat (Stephen Mansour)<\/a><\/li>\n<li><a target=\"_blank\" href=\"https:\/\/dyalog.tv\/Dyalog18\/?v=rJWfLQUuECQ\">D07: TamStat 2018 (Michael Baas)<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The four presentations from Dyalog&#8217;18 that we are releasing this week address both the visible (user interface) and invisible (performance) parts of application design. Starting with performance: This quote was at the heart of the talk by our invited keynote &hellip; <a href=\"https:\/\/www.dyalog.com\/blog\/2018\/12\/dyalog-18-videos-week-3\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,4,33,19,6],"tags":[],"class_list":["post-5484","post","type-post","status-publish","format-standard","hentry","category-dyalog-18","category-events","category-implementation","category-tools","category-videos"],"_links":{"self":[{"href":"https:\/\/www.dyalog.com\/blog\/wp-json\/wp\/v2\/posts\/5484","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dyalog.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dyalog.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dyalog.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dyalog.com\/blog\/wp-json\/wp\/v2\/comments?post=5484"}],"version-history":[{"count":21,"href":"https:\/\/www.dyalog.com\/blog\/wp-json\/wp\/v2\/posts\/5484\/revisions"}],"predecessor-version":[{"id":5487,"href":"https:\/\/www.dyalog.com\/blog\/wp-json\/wp\/v2\/posts\/5484\/revisions\/5487"}],"wp:attachment":[{"href":"https:\/\/www.dyalog.com\/blog\/wp-json\/wp\/v2\/media?parent=5484"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dyalog.com\/blog\/wp-json\/wp\/v2\/categories?post=5484"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dyalog.com\/blog\/wp-json\/wp\/v2\/tags?post=5484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}