Skip to content

www.rolfje.com

Category: Software

Omniplan Progress Tracking Tip

Posted on 2009-08-13 By rolfje 4 Comments on Omniplan Progress Tracking Tip

OmniplanDuring one of my Omniplan sessions at work, I discovered that the resource leveling was acting a bit funny, where people were not planned to do any work for days. I played around with a fake planning and soon discovered the problem and several solutions to it.

Read More “Omniplan Progress Tracking Tip” »

Apple, Software

Starting Java app from Applescript

Posted on 2009-06-11 By rolfje No Comments on Starting Java app from Applescript

Suppose you have a Java Swing application which you can start by typing the following on the command line:

java -jar myTerrificSwingApp.jar

If you want to make that application start from the Finder in OSX, there are a lot of options which range from ugly to convoluted. If you need a quick fix, here’s how to do it.

Read More “Starting Java app from Applescript” »

Apple, Software

Javascript Window Shake

Posted on 2009-03-12 By rolfje 2 Comments on Javascript Window Shake

This evening I came accross the window.moveBy() JavaScript function and thought it would be cool to shake the browser window when a user fails to log in. It turns out that I was not the only one thinking this, but none of the examples worked for me. Some had no proper delays, others only worked from the page header, and some were plain unreadable.

I’m no Javascript guru, but I hacked this together which is working pretty nicely. It is in fact almost undistinguishable from the Apple login window shake at a login failure:

<script type="text/javascript">
if (window.moveBy) {
	delay = 70;
	shakes = 3;
	window.moveBy(-10, 0);
	for (j = shakes; j > 0; j--) {
		setTimeout( "window.moveBy(20, 0)", j*delay );
		setTimeout( "window.moveBy(-20, 0)", 
					j*delay+(delay/2));
	}
	setTimeout( "window.moveBy(10, 0)", (shakes+1)*delay );
}
</script>

In my case, I surrounded this code with a Tapestry @Conditional and made it into a reusable Tapestry component so that I can make any window shake as soon as it contains an error.

The code will work anywhere on your page, but I advise you to put it at the bottom of the HTML. This will make sure that the content is shown in the browser before you shake it.

It’s visually much stronger than just adding an errortext to the page. If people log in a couple of times a day, they don’t even notice extra text on the screen. This will “shake” them awake 🙂

Have fun!

Fun, Software

DLNA on OSX, done right

Posted on 2009-01-31 By rolfje 60 Comments on DLNA on OSX, done right

Sony PS3 LogoMy wife bought me a playstation 3 last year, and I’ve enjoyed many hours of gaming on it, finishing Tomb Raider underworld, and now making decent progress in Ratchet and Clank: Tools of Destruction.

DLNA logo

I was a bit sceptical about the DLNA capabilities of the PS3, because I read a lot of bad news on this fairly new  “Interoperability Guidelines” concept. It sounded like a lot of trouble to go through to simply watch the photos and home videos on a TV. For weeks, I was not able to find a single site telling me how to install a DLNA server on my Mac, or where to find a decent one.

Altgough they’re hard to find, there are a few OSX DLNA servers out there. One of them is actually very good. Here’s what I found:

Read More “DLNA on OSX, done right” »

Apple, Software

Remote Desktop Connection updated

Posted on 2009-01-25 By rolfje 1 Comment on Remote Desktop Connection updated

Remote Desktop Connection icon

“Remote Desktop Connection.app” allows you to see the desktop of a remote Windows machine on your mac. This application will not update itself automatically, unless you have it installed as part of the Microsoft Office for Mac suite. If you’ve downloaded the 1.0.3 version you probably did not notice that “Remote Desktop Connection.app” was updated somewhere last year by microsoft.

You can find the latest version of Remote Desktop Connection on the Microsoft Mactopia site. Version 2 is an improvement over 1.0.3 (which I had). Notable differences are:

  • Nicer configuration screens, makes configuring your resolution and shares easier.
  • Now a Universal Binary, which should improve performance on Intel Macs. I have not noticed improvement, but that’s probably because the network is the bottleneck.
  • Supports the new RDC 6.0 protocol used by Vista.
  • Can do authentication of the remote machine (if it’s a Vista machine).
  • Your Mac printer can be exposed to the Windows machine so you can print documents on your local printer.

I played with it for a while, and apart form the new looks I can not say it’s very different from the 1.0.x version. It could load my old RDC 1.0.3 configuration files. If you need to connect to a Windows desktop from your Mac, this does the job just fine.

Apple, Microsoft, Software

Automount network shares

Posted on 2009-01-18 By rolfje No Comments on Automount network shares

Bonjour Mounter iconThere is a nice and clean way to automatically mount network shares each time you log into your Mac. It’s called the “Bonjour Mounter”, a simple application which runs on login, and mounts the drives you configured it to mount. No more, no less.

Apple, Software

“Instruments” – Application monitor

Posted on 2009-01-02 By rolfje No Comments on “Instruments” – Application monitor

InstrumentsDid you know that your installation of Leopard comes with a built-in performance monitor? It’s called “Instruments” and you can attach it to any process currently running. In the screenshot you see here I attached it to an instance of Eclipse while running some unittests.

Instruments has some nice templates for you to choose from, and you can monitor CPU activity per thread, disk I/O, User Interface activity, Object allocations, and leaks. Just so you know, it might come in handy.

Apple, Software

How to add drivers to SQuirreLSQL.app

Posted on 2008-12-30 By rolfje 11 Comments on How to add drivers to SQuirreLSQL.app

SQuireL SQL on OSX with Oracle driversIf you’re a SQuirreL SQL fan like me, and you use a Mac, you probably also want to know how to add a driver to the OSX version of the application. Most people just point to an external jar file, but you can also add drivers to the application bundle.  There’s not much to it, but it took me some time to discover that I actually had to edit the plist file in the bundle after adding the driver.

As you can see on the left, my SQuireLSQL.app now comes with the Oracle OCI and Thin driver built in, and because they are part of the application bundle, I can’t wreck my installation by misplacing jarfiles or reconfiguring classpaths. Nice.

If you want to drivers to your SQuireLSQL.app yourself, here’s what you need to do:

Read More “How to add drivers to SQuirreLSQL.app” »

Apple, Software

Eclipse 3.4.1, OSX and Java 1.6

Posted on 2008-12-28 By rolfje 2 Comments on Eclipse 3.4.1, OSX and Java 1.6

Eclipse application icon

I recently downloaded Eclipse 3.4.1 for Mac OSX, and tried starting it using the eclipse.app icon. It did not work, and I noticed a message in /var/log/system.log telling me that the JVM could not be loaded.

Read More “Eclipse 3.4.1, OSX and Java 1.6” »

Apple, Software

Hex color picker for OSX

Posted on 2008-12-24 By rolfje No Comments on Hex color picker for OSX

Hex Color Picker ScreenshotIf you’re working on some source code and you quickly need to insert a hexadecimal color code for a color you currently have on your screen, then here is a neat little trick I found:

First, install Hex Color Picker by Waffle software. It will add an extra option to the built-in OSX color picker to show you the selected color in Hex.

To reach the color picker, you usually start up any application which uses the standard OSX color picker and just choose “choose color”. What you can also do, is have the OSX color picker behave as a standalone application in 3 simple steps:

Read More “Hex color picker for OSX” »

Apple, Software

Posts navigation

Previous 1 … 4 5 6 … 14 Next
           

Recent Comments

  • rolfje on Methode Buijs uitgelegd
  • LinkedIn is at Peak Enshittifaction – Will Chatham's Blog on Linked-In not really Opt-in?
  • Hans j on 1N4148 diode as RF switch
  • Roaming Rhonda on DLNA on OSX, done right
  • Frans on How to fix a Krups XN2001 Nespresso machine

Tags

Apple backup design DIY DRM eclipse environment Fun Garmin GForge gmail google hacking hamradio Hardware helicopter iphone ipod iTunes Java Keynote linux maven modelling music news opinion oracle osx photo photography programming repair review security Software Steve Jobs technology Time Machine Ubuntu usability Utilities vacation windows Workshop

Categories

  • Apple (105)
  • Divorce (1)
  • Electronics (3)
  • Fun (57)
  • Games (7)
  • Hardware (72)
  • Microsoft (18)
  • Racing (14)
  • Software (134)
  • Uncategorized (66)
  • Workshop (20)

Archives

Copyright © 2025 www.rolfje.com.

Powered by PressBook WordPress theme