Therese and I noticed that Gabe was doing some strange, headbanging motions which we realized was his way of mimicing someone sneezing. I grabbed some video of it and set it to some appropriate music.
I noted an issue with my original Pandora Desktop Hotkey script in that the embedded Flash control in the Pandora Desktop app sometimes has a different "control" name. This change in name would _sometimes_ make the script unable to send keys to the control. Here's an updated script that tries to work around this issue by simply sending keys to either of the possible names for that embedded control. Enjoy! DetectHiddenWindows, On ; Pandora Controls ;Ctrl-Win-Alt-Right Arrow ^#!Right:: IfWinExist, ahk_class ApolloRuntimeContentWindow ControlSend, WebPluginView1, {RIGHT} ; Next ControlSend, WebPluginView2, {RIGHT} ; Next return ;Ctrl-Win-Alt-Up Arrow ^#!Up:: IfWinExist, ahk_class ApolloRuntimeContentWindow ControlSend, WebPluginView1, {UP} ; Volume Up ControlSend, WebPluginView2, {UP} ; Volume Up return ;Ctrl-Win-Alt-Shift-Up Arrow ^#!+Up:: IfWinExist, ahk_class ApolloRuntimeContentWindow ControlSend, WebPluginView1, {SHIFT}{UP} ; Volume Max ControlSend, WebPluginView2, ...
In the course of working on some deadlock issues, I found that MS SQL Server exhibits some unexpected (to me, at least) locking behaviors that can affect performance and cause deadlocks. In the end, I found that SQL Server provides an isolation level called Snapshot isolation which removes the need for locks on rows and removes lock contention. To use this isolation level, you need to execute the following SQL on the database that you want to use the isolation level with (replacing MyDatabase with your database name, of course): ALTER DATABASE MyDatabase SET ALLOW_SNAPSHOT_ISOLATION ON ALTER DATABASE MyDatabase SET READ_COMMITTED_SNAPSHOT ON Next, you need to modify your hibernate.cfg.xml file to add a property to tell Hibernate to use the Snapshot Isolation level: <!-- The 4096 isolation level is the setting to use with the jTDS or Microsoft JDBC drivers --> < property name =”hibernate.connection.isolation”>4096</property> Snapshot isolation is not a panacea...
I've tried to be good. I've tried a number of times to use the version of ant that Fedora packages up into an RPM from the JPackage repos rather than caving to the temptation to install it myself manually. I also like to use optional tasks like ReplaceRegExp in my scripts to do all sorts of cool things. Of course, I see most of the installation instructions that refer to ant via RPM mention that I need to yum install ant-apache-regexp to get my optional task jars installed for this very nice task. Every time I've tried this, ant yells at me saying that it can't find the taskdef class for ReplaceRegExp. Huh? But I installed the proper, RPMs...didn't I? Usually at this point, I fall back to what works and just install ant by hand. However, I've finally realized why I've had so much trouble with this. There is one additional RPM that should be installed to get the classes that define all the optional tasks for ant called ant-nodeps. Before getting int...
Comments