{"id":145,"date":"2007-12-17T14:26:35","date_gmt":"2007-12-17T13:26:35","guid":{"rendered":"http:\/\/albertomilone.com\/wordpress\/?p=145"},"modified":"2007-12-17T14:26:35","modified_gmt":"2007-12-17T13:26:35","slug":"a-fix-for-a-nasty-bug-in-urandr","status":"publish","type":"post","link":"https:\/\/albertomilone.com\/blog\/a-fix-for-a-nasty-bug-in-urandr\/","title":{"rendered":"A fix for a nasty bug in URandR"},"content":{"rendered":"<p>Today (thanks to Cyril Brulebois) I have found bug which in turn was cause by an ever nastier bug in URandR. The current refresh of a device was detected even if such device was not enabled (???) (i.e. plugged in but disabled). URandR knows that, if a device has a current refresh rate, such device must necessarily be enabled (otherwise the said refresh rate wouldn&#8217;t be called &#8220;current&#8221;).<\/p>\n<p>The cause of this problem was so stupid that I&#8217;m sure it was the result of one of my late night coding sessions :-\/<\/p>\n<p>Please let me know if you have problems with this <a href=\"http:\/\/www.albertomilone.com\/urandr.html\">new release<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today (thanks to Cyril Brulebois) I have found bug which in turn was cause by an ever nastier bug in URandR. The current refresh of a device was detected even if such device was not enabled (???) (i.e. plugged in but disabled). URandR knows that, if a device has a current refresh rate, such device <a class=\"read-more\" href=\"https:\/\/albertomilone.com\/blog\/a-fix-for-a-nasty-bug-in-urandr\/\">[&hellip;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,4,5,6,9,1],"tags":[],"class_list":["post-145","post","type-post","status-publish","format-standard","hentry","category-debian","category-envy","category-planet","category-python","category-ubuntu","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/albertomilone.com\/blog\/wp-json\/wp\/v2\/posts\/145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/albertomilone.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/albertomilone.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/albertomilone.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/albertomilone.com\/blog\/wp-json\/wp\/v2\/comments?post=145"}],"version-history":[{"count":0,"href":"https:\/\/albertomilone.com\/blog\/wp-json\/wp\/v2\/posts\/145\/revisions"}],"wp:attachment":[{"href":"https:\/\/albertomilone.com\/blog\/wp-json\/wp\/v2\/media?parent=145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/albertomilone.com\/blog\/wp-json\/wp\/v2\/categories?post=145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/albertomilone.com\/blog\/wp-json\/wp\/v2\/tags?post=145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}