Here is a podcast that might help managers and senior individuals managing multiple projects to better managing resources and planning projects.
The Project Management Podcast:Episode 231: Agile, Coffee, Tea and Trains
Here is a podcast that might help managers and senior individuals managing multiple projects to better managing resources and planning projects.
The Project Management Podcast:Episode 231: Agile, Coffee, Tea and Trains
I find the official documentation on remote logging wasn’t complete. Here are my notes based on various web sites I visited (here, here, and here). Hope this helps!
App.gwt.xml
You should add the inherits statement below. You should be able to adjust the log level to any of the following: ALL, FINEST, FINER, FINE, CONFIG, INFO, WARNING, SEVERE. I find the popup log console in the browser annoying, so I disabled it.
<inherits name=”com.google.gwt.logging.Logging”/>
<set-property name=”gwt.logging.simpleRemoteHandler” value=”ENABLED” />
<set-property name=”gwt.logging.logLevel” value=”FINEST”/>
<set-property name=”gwt.logging.enabled” value=”TRUE”/>
<set-property name=”gwt.logging.consoleHandler” value=”ENABLED” />
<set-property name=”gwt.logging.popupHandler” value=”DISABLED” />
web.xml
The following code is necessary for the server to receive log information and redirect to server log file.
<servlet>
<servlet-name>remoteLogging</servlet-name>
<servlet-class>com.google.gwt.logging.server.RemoteLoggingServiceImpl</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>remoteLogging</servlet-name>
<url-pattern>/YOUR_MODULE/remote_logging</url-pattern>
</servlet-mapping>
java
Here is the example code you can use in GWT client-side.
import com.google.gwt.logging.client.SimpleRemoteLogHandler;
import java.util.logging.Level;
import java.util.logging.LogRecord;
SimpleRemoteLogHandler remoteLog = new SimpleRemoteLogHandler();
remoteLog.publish(new LogRecord(Level.INFO, “log message”));
Motorola bluetooth keyboard just arrived today and I am happy to use it to type this blog post.
The only thing I wished it can do is to support Asian language keyboard layouts with Android. Besides that, I did notice that the keyboard would cause one of the keys to trigger multiple times when I only pressed the key once. This happens a few times while typing this blog post.
During installation of the latest version of Ubuntu, I realized that /dev/mapper was hogging two of my HDs, caused them unusable. After looked around online for solutions, this page solved my issue initially. The mapped device returned after reboot. So, I looked around again and found this page, which explained the root cause of my issue.
Here are my notes from the following sources:
Problems of strategic planning:
Steps to create a strategy:
A strategy for making strategy:
SSH tunneling is so useful that I find myself revisiting it again. This post helped me to get started. I would add the -f option to run the command in the background. 5126 is the port I use on my own machine once the tunnel is established.
ssh -f -N -L 5126:TARGET_SERVER:22 USER@GATEWAY_SERVER
Once the tunnel is established, I could establish a ssh connection using the tunnel. In this case I also enabled X forwarding.
ssh -X -p5126 USER@localhost
I need to list all files in a directory tree excluding files with certain text in its names. This thread helped me to create something similar:
find . -type f |grep -v '/[.svn-base]' -
I need to forward a call to a different number when the cell phone is unattended or has no signal. This inquiry led me to the following instructions. It worked beautifully!
Today I tried to use Parted Magic to clone a disk. At first, I used Clonezillathat came with Parted Magic. It failed on the last partition, which was a lvm2 pv partition. Next, I tried dd command with basic options, i.e.
dd if=/dev/sda of=/dev/sdb
That returned with an IO error. Then I used ddrescue, also bundled in Parted Magic, by following the first example to do a simple disk-to-disk clone. The command completed without a single error! The cloned disk boots successfully as well.
I needed to migrate a folder from one Subversion server to another. So, I attempted to follow this page to use dump with svndumpfilter. This combo led me to a lot of issues. The dump command exports all the commits for a repository while svndumpfilter attempts to filter the folder I am interested to keep. Unfortunately, the filter tool is very buggy and unable to filter correctly. Here are the scenarios that did not work for me:
If a commit contains a move action with source location outside of the folder I want to include, the filter fails. I had to include that location when filter. If a commit contains an add action, the parent folder has to exist when loading. I could resolve this by creating the parent folder manually. If a commit contains a delete action and the target folder/file doesn’t exist, the load fails. I could try to create the folder/file manually in an attempt to not fail the delete action. This trick didn’t work when the commit includes a delete of parent folder before attempt to delete the file in it.
When I about to give up, I came across svndumpfilter3 and was happy to find it dump/load without an error.
Here are the commands I used:
svnadmin dump [path to source repository] | ./svndumpfilter3 --untangle=[path to source repository] [target folder to include] > dump_file.dmp svnadmin load [path to target repository] --parent-dir [path to target parent dir] < dump_file.dmp