Mar
02
Mar
10
Domino Memories
Toolbar Functions, I can still picture when I would use each of these functions. This code saved me many times. I even created a screen cast of the features, wow! Does anyone still use this?
Mar
08
Change image hue with PHP
I am considering changing the color of my dojo grids so it is easier to distinguish them because there will be so many on one page (this is an internal application). I have not worked through the CSS changes which could be a small challenge but more on that to later. For now this is the php code that I used to change the hue on the images from the soria theme. I am using ImageMagick, specificly the modulateImage function. Yes, I did search and could not find any existing app that could batch change the hue, so PHP came to my rescue!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | <?php $originalPath ='/dojo/chadsmiley/Themes/soria/'; $path ='/dojo/chadsmiley/Themes/Hue30/'; $dir_handle = @opendir($originalPath); //running the while loop while ($file = readdir($dir_handle)){ if($file!="." && $file!=".."){ $img = new Imagick(); $img->readImage($originalPath.$file); /** *@var brightness 100 = no change *@var saturation 100 = no change *@var hue (percentage of absolute rotation from the current position) */ $img->modulateImage(100, 100, 30); $img->writeImage($path.$file); $img->clear(); $img->destroy(); } } //closing the directory closedir($dir_handle); ?> |
Feb
20
The Time has come…
to move on, I have been learning PHP for about 6 months and have not done any Notes/Domino development for a couple of years. I have converted my blog to WordPress so I am sure some things will be lost or missing so if you need something please let me know. I hope to blog more about what I am doing but I just have not made the time to do it.
A little update about life: I have been doing my share of computer work on the side the last year and web development (just static pages). The kids have been keeping us busy, we now have a teenager, that seems a little wired but life must continue. I got a camcorder for Christmas!!!!, so hopefully some posts about that. I also am looking for some good but not expensive editing software, any suggestions welcomed. We took a family vacation to PA in the fall and that was awesome. We got to got to NYC and Washington DC. There is more but that would take away form some possible posts.
Dec
04
It is a boy
Apr
20
Open Audit – Attachments
Got asked a question the other day, inquiriing if Open Audit can capture changes to documents. My first answer was no, but Open Audit could determine if a attachment was removed, added, or updated. The example below I used two computed fields that used @Attachments & @AttachmentLenghts to determine that changes where made.
Mar
12
Building Windows Mobile application with Visual Studio
I am still working on this Windows Mobile application. I am in the polishing stage now. It has been a challenaging project becuase of having to learn about SQLCE, Windows Mobile, wireless printing (which Windows Mobile does not support natively). One of my biggest frustrations was the Visual Studio build was getting longer and longer. It seemed the more I added the slower it got, but shutting down Visual Studio also helped. I could not find anything anywhere that described this problem or anyone else that had the same problem. Until yesterday I found VS2008 Windows Mobile 5 Project very slow to compile on a MSDN form. Yes, I have tried 2005 & 2008 version and they both act the same. The builds where taking 30 minutes.
It got to the point that I started developing this application as a Windows application and the builds would take only a couple of minutes. This was fine until I got to the point of really testing the application using a mobile device, so I had to convert the project back. Believe me the 30 minute build only last a couple of days until I found a new way to build my project. It is not so new but different, because I am using MSBuild to do my compiling and taking only 2 minutes to compile. After the build I still use F5 to build the project and run, but now there is nothing to build so VS starts the deploy and I am a happy man!!! There is one BIG downfall to this approach, forgetting to use MSBuild to do the compiling and pressing F5. It does allow me to write this article though!!!!
Here is my solution to slow builds in VS:
- Open a VS 2008 command prompt (this is not a normal command prompt, it is a short cut by the VS short cut in the Start | Program | .. menu) ( this only needs to be done once)
- Save all changes (Ctrl-Shift-S)
- At the command prompt type MSBuild <path\filename of your VS project> (drag the file from Explorer) & press enter
- Wait for build to complete
- Run (F5) your VS project
Mar
05
Bloglines
I read my feeds with Bloglines (yes, I have tried Google Reader ), because I like to read all the enteries from a subscription at one time. It is that simple. OK, there is one more thing "s". The shortcut key for bloglines uses "s" to navigate next which on the left side of the keyboard means I can leave my right hand on the mouse if it is already there.
The new beta look is looking very nice and have changed some of there wording (Keep/Pinned). So far so good, keep up the good work. I did notice that the counts are not geeting updated in the new beta but I can live with that.
Update: the counts are being updated but now I have to mark each as being read, yes there is a user setting to mark them all as being read but that does not seem to be working.

The new beta look is looking very nice and have changed some of there wording (Keep/Pinned). So far so good, keep up the good work. I did notice that the counts are not geeting updated in the new beta but I can live with that.
Update: the counts are being updated but now I have to mark each as being read, yes there is a user setting to mark them all as being read but that does not seem to be working.

Feb
19
Thanks for the Help
Feb
13



