From the IBM support portal. I must admit that I thought my current list was saved, but obviously not, but then again, in my current list all my saved products are present…confusing
Anyone?
Had a directory with > 150 *.properties-files and needed to check if there where any files not ending with .properties. ls lists all the files, combine it with grep and you are saved.
# See all files ending in .html
ls | grep “\.html$”
# see all files not ending in .html
ls | grep -v “\.html$”
Solution found at unix.com
Spend five minutes watching this video showing the new feature in the next version of Photoshop “Content-aware fill”. You can delete everything, and that really means everything!
[video:youtube:NH0aEp1oDOI]Pretty hardcore…
In fact, analyzing the heap dump is not rocket science, many tools are available to do this. My intention was to use the IBM Support Assistant and then install the MDD4J-plugin on my laptop. All done without much hassle, so then of to analyze the actual heap dumps made available to me. Problem was that the dump-files are all about 400Mb, which it turns out my Windows XP-running laptop ain’t capable of managing. Tried to change default heap size for the tooling by following the steps I found in this post on Developerworks, but no help. I still got the “negative size” error. This was when using the 2.0.x version of MDD4J.
So, I tried to use the beta version of the 3.0.1.x version of MDD4J. I got rid of the negative size-error, just to get a new one “Capacity is less than zero”. Did a Google-search and found yet another post on Developerworks, with one reply from a guy named Thomas who is part of the MDD4J development team saying:
Hello everyone, this is Tomas, I’m a member of MDD4J development team.
I’m posting this just to confirm that in cases when MDD4J is unable to run analysis on a 32 bit platform, the right solution is to follow the instructions on how to run the analysis outside of ISA. The best combination is a 64bit Linux machine with IBM’ 1.5 JRE.
After running the analysis, you can copy the analysis directory back to your ISA’s workspace, into directory: <user home>/ibm/isa41/.metadata/.plugins/com.ibm.websphere.mdd4j.betaTomas
…so, just forget my Win XP and instead off to find a running Linux installation which I can use.
Spent about an hour or so in total this evening installing WebSphere Community Edition on my own laptop where I run Ubuntu 9.10. Needed an application server to deploy the web applications I create when trying to teach myself how to do Java development. The first try was to install Tomcat 6, which was quite easy using the package manager. But after I had done some thinking I turned to WAS CE instead, why not, since WebSphere is the product I know best (beeing well aware of the fact that under the hood in WAS CE, you will, among various open source projects, find Tomcat as well).
The installation was quite easy, just followed the Quick Start-guide combined with the Setup Troubleshooting (Prerequisites for Ubuntu, read this one first!!). After that I just had some issues with getting WAS CE to understand where to find the correct Java installation, but this guide saved me combined with me just realizing that I have to run it as root. Guess I could avoid that, but who cares, it is my own laptop.
Anyhow, this is the admin console, so the next step will be to deploy applications from Eclipse, but that will be another day…
@Update: Not a problem at all to get rid of the root:root
> su
> cd /opt
> chown -R myuser:mygroup IBM/
> exit
> cd IBM/WebSphere/CeAppServer/bin
> ./start-server.sh
…server started…
Had a problem at work, my laptop running Windows XP kept notifying me every second “Found new hardware Nokia 6280”. A bit tricky to get rid of it, found the solution way down on this post
GO INTO DEVICE MANAGER
GO TO VIEW
SELECT SHOW HIDDEN DEVICES
CLICK THE PLUS SIGN NEXT TO PRINTERS….
IS THEIR AN EXCLAMATION POINT ? if so select properties check and see what it says
TRY SELECTING DISABLE from the properties of it OR SELECT UNINSTALL SEE IF THE PRINTER STILL WORKS
Killed the problem!!
I’ve spent some time, with great help from two of my colleagues, creating a pom.xml using the Maven Ant plugin to call Ant targets in the build.xml file downloaded along with the source code for JMeter. Got the plugin working without to much struggle, but when trying to call “ant compile” from Maven “mvn compile” I got an error saying that no compiler was found since the JAVA_HOME variable was pointing to “…\jdk\jre” But all attempts to change the variable to “..\jdk” just returned the same error. Very strange since I could compile other Maven-projects without any problems and calling compile using Ant directly caused no problem.
But, then as always, Google to the rescue. The line below in bold was all what I needed.
<execution>
<id>compile</id>
<phase>compile</phase>
<configuration>
<property name="build.compiler" value="extJavac"/>
<tasks>
<ant antfile="${basedir}/build.xml">
<target name="compile" />
</ant>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
Found a post where someone else had got an error trying to use the maven-antrun plugin. It is in fact a property passed on to Ant, see ant.apache.org/manual/CoreTasks/javac.html
Have spent some hours today trying to figure out how to edit video and create DVD’s when running Ubuntu. After some reading I ended up trying Kino. First challenge was to import the files from my camera, the Canon FS11. The actual import is not that hard, just plug the USB and navigate in the folder structure of the camera and import.
But, there is an issue with the files on the camera, they are saved using the MOD-file format. Found this post at srixmk.blogspot.com describing how to convert them to avi-format. I used the script but changed it a bit. I wanted to convert the files to .DV, which is the format KINO wants. Thanks to another post that was solved easily as well. So now I have a script which changes the default name of the files to the format yyyyMMddHHMM.dv while converting them to DV and afterwards just deletes the MOD-file. I named the script convertmodfiles.sh, thanks to srixmk for making the script which I just edited a bit.
Then I started testing KINO, using tutorials like “Making movies with KINO” and the “Adding titles and credits. But I could not get it to work, since I did not find “DV Titler” in the drop down menu of available vidoe filters. After very much cursing, I suddenly realized, even though I started to get really tired, that first of all: You don’t need to install DVTitler separately as a plugin, it is included when installing KINO, but…it is labled in the drop down menu as “Titler”. Gotta learn to use my eyes…doh…
So now to bed!
Had some trouble with my Lenovo T60 becoming way to hot in the past. Not sure, but I guess it might have something to do with me having installed Ubuntu (Linux) on it. Here the other day it did in fact switch itself off because it was to hot, and when it today started getting as hot as before. So, a quick search on the Internet I found the description of what to do. Created the file “/etc/modprobe.d/options” with the following line “options thinkpad_acpi fan_control=1”. Then, after a reboot I was able to control the fan speed, setting it to automatic using “echo level auto > /proc/acpi/ibm/fan”.
Thinkwiki to the rescue, the article found there
A lot of cursing, but as always Google to the rescue, Shockwave Flash Plugin was the devil causing the problem. Just disable it and voila, back to normal. Solution found here www.computing.net/…/firefox-page-blanks-out-after-loading/..
@Update: Did just help for a while, so I enabled it and it all worked just fine. So now waiting until the next time when I have to disable it. And by the way, I do have the same problem on my laptop running Ubuntu as I have on the laptop I use at work running Windows XP.