{"id":397,"date":"2014-07-03T00:14:07","date_gmt":"2014-07-03T00:14:07","guid":{"rendered":"https:\/\/aumhaa.com\/wp\/?p=397"},"modified":"2014-07-03T00:16:41","modified_gmt":"2014-07-03T00:16:41","slug":"setbacks","status":"publish","type":"post","link":"https:\/\/aumhaa.com\/wp\/?p=397","title":{"rendered":"Setbacks"},"content":{"rendered":"<p>Ableton released a new version of Live today, version 9.13.  Some of you unwittingly already have it due to the wonderful &#8220;autoupdate&#8221; feature of Live 9.  Many of you that use non-Ableton-endorsed remote scripts (like mine) are wishing right now that you had known that it was possible to turn this wonderful autoupdate functionality off in Live&#8217;s preferences&#8230;..<\/p>\n<p>I found out last week, just as I was finishing up work on the hex mod for Codec, that there were some problems with our scripts in the new beta build of Live, which was the release candidate that would become their official release today.  My first reaction was, hrmphhh.  Whatever.  Then I looked a little deeper.  And then I started to get uncontrollably depressed.  They&#8217;d done it again&#8230;.screwed everything up.  Before I&#8217;d even properly recovered from the last major release.  C&#8217;mon, guys, really???<\/p>\n<p>Besides changing a bunch of arbitrary things that really didn&#8217;t need to be touched (which are easily fixed, but irritating all the same, and basically makes it impossible to have cohesive scripts that work in more than a single subrelease of Live), they &#8220;fixed&#8221; a bug that had been present since the introduction of Live 9, even back in the prelease betas.<\/p>\n<p>That bug, which caused Live&#8217;s Python engine to completely disconnect and reload all it&#8217;s Python scripts every time one was inserted or removed, had actually been the cause of much elation on my part when Live 9 was first released.  Why?  Why am I so excited about a bug?  Well, basically, because it fixed another problem that Ableton or Cycling had never taken the time to address:  there is no implementation for a way to be notified in m4l that a Python script has been added or removed from Live&#8217;s preferences.  It&#8217;s kind of a big deal:  if I load an m4l patch in Live, and that patch is expected to connect to a particular control surface script, but the script isn&#8217;t currently loaded in Live&#8217;s prefs, then it can&#8217;t connect.  But since there&#8217;s no way for us to bump the patch when a change has been made to Live&#8217;s prefs, the only way we can ever connect is to have the patch sit there and poll the LOM over and over until one finally appears.  This is very undesirable, epecially considering it would be VERY doable to implement something on their end to deal with this. ControlSurface.connect_script_instances() is called every time Live&#8217;s preferences change, so there&#8217;s already hook in place&#8230;.it&#8217;s just never been implemented.<\/p>\n<p>Another irritating coincidence of the &#8220;bugfix&#8221; was that my Debugger was no longer capable of invoking a complete reload() of all the Python modules in a running instance of Live, which means that every time  I edit a script I have to completely restart Live in order to check the change.  This, of course, means development time is greatly increased (as well as my blood pressure, I&#8217;m afraid).<\/p>\n<p>Bottom line:  instead of finishing up all the mods for the ALREADY COMPLETED 9.12 scripts this week, I had to back up and completely rewrite my connection routines for mods, make a bunch of bugfixes for general Python incompatibilities, and rewrite my Debug script from scratch.  Happily, I&#8217;m pretty much done with that at this point&#8230;.but I thought I&#8217;d mention it&#8230;since&#8230;its&#8230;.taking&#8230;.so&#8230;.freaking&#8230;.long.<\/p>\n<p>Back on track, maybe we&#8217;ll git&#8217;r&#8217;dun this weekend.  Thanks for your support \ud83d\ude09<\/p>\n<p>a<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ableton released a new version of Live today, version 9.13. Some of you unwittingly already have it due to the wonderful &#8220;autoupdate&#8221; feature of Live 9. Many of you that use non-Ableton-endorsed remote scripts (like mine) are wishing right now that you had known that it was possible to turn this wonderful autoupdate functionality off [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"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":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-397","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/s3po2h-setbacks","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/aumhaa.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/397","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aumhaa.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aumhaa.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aumhaa.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aumhaa.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=397"}],"version-history":[{"count":4,"href":"https:\/\/aumhaa.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/397\/revisions"}],"predecessor-version":[{"id":401,"href":"https:\/\/aumhaa.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/397\/revisions\/401"}],"wp:attachment":[{"href":"https:\/\/aumhaa.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aumhaa.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=397"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aumhaa.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}