{"id":69,"date":"2007-01-02T18:33:00","date_gmt":"2007-01-02T16:33:00","guid":{"rendered":"http:\/\/www.thelins.se\/johan\/blog\/2007\/01\/the-efficient-month-starts-now\/"},"modified":"2007-01-02T18:33:00","modified_gmt":"2007-01-02T16:33:00","slug":"the-efficient-month-starts-now","status":"publish","type":"post","link":"https:\/\/www.thelins.se\/johan\/blog\/2007\/01\/the-efficient-month-starts-now\/","title":{"rendered":">The Efficient Month Starts Now"},"content":{"rendered":"<p>>Now Christmas is over and it is time to get seriously efficient. Right now I&#8217;ve got 30 days, seven chapters and three articles to write before I get back to writing in my spare time. Before my head falls of from all this writing (I have prepared 9 examples and written down all the notes for a chapter of multi-threading today) I just wanted to show a small update to my <a href=\"http:\/\/www.thelins.se\/johan\/2006\/12\/acer-annoyance-fix.html\">Acer fix software<\/a>.<\/p>\n<p>I found a gap in the calendar last week and added a small loop that looks for the window every five seconds. This means that it works regardless of the starting order of the applications. The new source looks like this.<\/p>\n<pre><br \/>#include &lt;windows.h&gt;<br \/><br \/>int APIENTRY WinMain(HINSTANCE hinst, HINSTANCE hinstPrev, LPSTR lpCmdLine, int nCmdShow)<br \/>{<br \/>HWND acerWin = NULL;<br \/><br \/>while( (acerWin=FindWindow( NULL, \"ACER_GraviSense\" )) == NULL )<br \/>  Sleep( 5000 );<br \/><br \/>if( !acerWin )<br \/>  return -1;<br \/><br \/>SetWindowLong( acerWin, GWL_EXSTYLE, GetWindowLong( acerWin, GWL_EXSTYLE ) | WS_EX_TOOLWINDOW );<br \/><br \/>return 0;<br \/>}<\/pre>\n<p>Using this you can alt-tab freely without having to run into an invisible window now and then. I wonder if it would be fun calling their help-desk and trying to give it to them as a contribution. :-)<\/p>\n<p>Another note is that my employer, <a href=\"http:\/\/www.bitsim.com\/\">Bitsim<\/a>, has announced <a href=\"http:\/\/www.linuxdevices.com\/news\/NS3708980972.html\">Badger<\/a>. This is a platform that I&#8217;m really looking forward to playing with. So if you&#8217;re ever in need of an Arm system capable of hardware accelerated graphics you know where to look :-)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>>Now Christmas is over and it is time to get seriously efficient. Right now I&#8217;ve got 30 days, seven chapters and three articles to write before I get back to writing in my spare time. Before my head falls of from all this writing (I have prepared 9 examples and written down all the notes &hellip; <a href=\"https:\/\/www.thelins.se\/johan\/blog\/2007\/01\/the-efficient-month-starts-now\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">>The Efficient Month Starts Now<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-69","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/posts\/69","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/comments?post=69"}],"version-history":[{"count":0,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/posts\/69\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/media?parent=69"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/categories?post=69"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/tags?post=69"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}