Skip to content

www.rolfje.com

Category: Software

MP3 Gain for OSX

Posted on 2006-06-21 By rolfje No Comments on MP3 Gain for OSX

So here I am using iTunes on my Apple. So far so good. The downside is that I have an iBead as an mp3 player, so there are a few problems with that. First of all, iTunes only plays nice with the iPods (and a few other oddballs ;-). For me to put mp3’s on my iBead, I can drag them over from iTunes onto the USB drive, but when things’ don’t fit, it just doesn’t copy at all. Also, automatic random playlists aren’t that automatic.

So far, I can live with all these little problems. I can create a playlist limited to a particular size, empty my iBead and drag the mp3’s over. But when I play them on my iBead, the volume levels are far apart. In the old days I used mp3Gain on my PC to level out all volumes, which worked great. But iTunes has it’s own take on that: It stores a relative volume in the file, and iPods know how to handle this properly, adjusting the volume. My iBead however, doesn’t.

Tonight I went out to look for a tool which could adjust the volumes of my mp3’s on my Mac mini. And guess what? I found it! MacMP3Gain does it all, and it is currently processing my complete library, adjusting all volumes. It has a “nice” option so it won’t hog all processing power. I think it will be finished somewhere tommorow afternoon. It claims to be lossless, so I guess I can run it on my complete library every once in a while without having to worry about which files are new or not.

Apple, Software

Photo Statistics

Posted on 2006-06-21 By rolfje No Comments on Photo Statistics

I am trying to decide what lens to buy for my Canon EOS 350D. The first descision to make is what focal length I need. To do this, I found a nice tool which can display statistical info about your photographs. It shows you how many foto’s you’ve made at certain focal lengths, with which aperture, ISO, metering, and other EXIF fields. It’s a windows only tool, and it’s called Smart Photo Statistics. It’s absolutely 100% free software and works as expected. It can even copy the graphs to the clipboard for you to use elsewhere.

I’m gathering statistics right now on all photo’s of all digital camera’s I’ve owned, to see what focal lentgths I need. Great tool!

Software

Eclipse on Intel Macs

Posted on 2006-05-03 By rolfje No Comments on Eclipse on Intel Macs

Eclipse looks really nice on OS X. I can tell, I have it running on my mac Mini duo core. If you have problems getting it to start, and the logfile complains about linker errors, chances are you have the PPC version of the eclipse app file. To check this, Ctrl-click on the eclipse.app file. If it doesn’t say “(Universal)” somewhere next to “Type:”, then you need to download a newer version. Get the Eclipse 3.2 RC2 or higher, and make sure you download the “Mac OSX (Mac/Carbon)” version.

Read More “Eclipse on Intel Macs” »

Apple, Software

Connecting with different users to 1 server (2)

Posted on 2006-04-28 By rolfje No Comments on Connecting with different users to 1 server (2)

This is a simple followup after my last post. Pim did also look into this, and made a script which doesn’t pop up finders by simply calling “mount”. There is only one minor glitch: the script pops up an error when the mount already exists. With my brilliant programming expertise, I quickly solved that:

try
	mount volume "cifs://KAGE/iTunes" as user name "iTunes" 
                                          with password "yourpasswordhere"
	mount volume "cifs://KAGE/incomming" as user name "Guest"
	mount volume "cifs://KAGE/foto" as user name "Guest"
on error errText number errNum
	(* Not the nice way, simply ignore errors. If the mount did
	   not work, the user needs to see what is going on. How?
	   Use Finder to mount, and it will give you the error *)
end try

This script will try to mount the drives, ignoring errors. Replace the servernames, usernames and passwords with your own. What you can do is run the script at logon, or every minute in a cron job. I checked /var/log/system.log, but the script does not generate errors there.

At the rate we’re going, maybe we’ll even solve the “re-mount drives on return from sleep” problem. Let’s see if we can find a wakeup event on which we can run the script.

Apple, Software

Connecting with different users to 1 server

Posted on 2006-04-27 By rolfje No Comments on Connecting with different users to 1 server

With my Mac mini in a Windows LAN, I have the following problem:

  1. I can add my (cifs windows) network shares to my login script (Preferences -> Accounts -> Login), but when the mac wakes up from sleep, they are gone.
  2. When I want to connect to 2 shares on the same server, but one with a different account than the other, it doesn’t work. On login, the system chooses one of the accounts and uses it to connect to both network shares.

I think both problems are terrible, and particularly the way you connect to a network share in Finder using a password is confusing to say the least. Searching the web reveals hundreds of posts of people having the same problems. One wonders why apple didn’t solve this already.

I made a simple workaround for this problem by copy/pasting some script from several websites into the script editor (sorry guys, I’m lazy). I then saved it both as application and as source. I use the script to mount the drives at logon, and re-mount them when the Mac wakes from sleep mode. Until I come up with a better idea, or somebody can point to a nicer “Apple way” solution, or Apple fixes this dreadful problem in OS X, here is my script:

tell application "Finder"
	open location "cifs://WORKGROUP;iTunes@KAGE/iTunes"
	open location "cifs://WORKGROUP;Guest@KAGE/incomming"
end tell

When running a script like this for the first time, the system asks you the passwords. Type them in and save them in your keyring. The next time they won’t be asked, and you have no readable passwords in your script. Nice. The downside of this script is that it opens a ton of finder windows. I have nosed around in Automator but can not find a way to close them automatically. I also tried to record a script, but that gave me an even more “unusable” script.

I hope this helps you too. If you think this can be done in a nicer way (without too much scripting) please let me know.

Update: Seems I was to quick about the keyring app. I did need to add passwords to the script (add “:password” after the userid without the quotes). Stupid machine does not understand what I want.

Apple, Software

Flip4Mac 2.0.2 does not install on Intel Macs

Posted on 2006-04-24 By rolfje No Comments on Flip4Mac 2.0.2 does not install on Intel Macs

Bummer, I was hoping to be able to open those wmv files I get mailed in the Quicktime window. Although OS X claims to be supporting Flip4Mac since 10.4.5 (I have 10.4.6), the Flip4Mac installer exits with a message about not being able to install on Intel based hardware.I guess I’ll have to live with -gasp- Windows Media Player 9 for OS X for now. I tried to install it, but it requires mee to enable the Microsoft Office testdrive kit, which I am definetely NOT planning on doing, wmv files are not worth those troubles. I am hoping on a universal binary Flip4Mac soon…

Funny thing is, that the Windows Media player for OS X is actually only 7 MB in size. I seem to recall that Media Player 10 for Windows XP took quote some time downloading, and ate nearly all of the free space on my harddisk, which I was really pissed about. But then again, since they require me to enable the Microsoft Office testdrive, they have probably allready sneaked part of the player into the OS X distribution, the bastards.

Comment from Antonio on how to solve this: You can get Flip4Mac to work through Rosetta, but Telestream is a couple weeks away from releasing a public Universal beta version. Check this blog for some details and other info bits: http://flip4mac.blogspot.com/

My response: Great, just used the tip on blogspot, and it worked! I can now view wmv files nicely. Thanks for the tip!

Apple, Software

Airbus 330 Entertainent system

Posted on 2006-03-31 By rolfje No Comments on Airbus 330 Entertainent system
I recently went to Vegas, which is a very long trip (about 20 hours including stopover). I don’t like flying that much, my ears hurt and it is very boring to be crammed in a chair for 10 hours, with a headrest that makes your chin touch your chest no matter how you adjust it. However, on this flight (and the one back) there was a nice personal entertainment system installed in each chair.Below are some images of the personal entertainment system which is installed on the Airbus 330’s of Northwest Airlines. These are a real treat on long distance flights. There is a fair selection of on-demand movies, music, some simple games and flight information. It lets you choose a movie, and you can pause and skip as much as you like. You can use your own 3.5mm jacked headphones, no more of that adapter-buying-if-you-are-lucky-you’ll-get-stereo crap you see in the older planes. The menu even contained an item called “email”, but it was not functioning at the time I tried it. Besides you had to swipe your credit card for it, which I didn’t find worth trying even if it would work.

Bejeweled Controller Flight information Movies
Nice little game, Bejeweled The controller (has to be turned 90 degrees sometimes, confusing!) Guess where we are? Travelling at 950km/h there 🙂 Watched Chicken Little. It does not live up to it’s commercial by a long shot.

Funny thing is, that my wife’s entertainent system actually crashed during flight. It got stuck for about 5 minutes, after which it automatically rebooted, and guess what? I saw a Tux! It is actually a Linux system. A bit of googling revealed that a few people even have seen the system crash on all monitors at the same time. Good thing they aren’t using this system for the flight controls yet. 😉

But it does make sense. It doesn’t cost anything, and being open source, Panasonic (the manufacturer of the system) has full controll on getting all the glitches out. Now they actually do need to do that still, but I bet they got a nice (remote?) update procedure for that. After all, they also need to upload new movies every now and then. Maybe they use the same connection as they use for email? 100% remote update would be nice. No “downtime” for the planes!.

I for one liked the system very much. It actually has games which let you compete with other passengers, but that didn’t seem to be popular on my flights to Las Vegas. I didn’t even had to get my PSP out of my bag 🙂

Now if they only could make those stupid headrests removable so I can put my head back when I want to sleep (like most normal people), flying wouldn’t be all that bad.

Fun, Games, Hardware, Software

Killing oracle sessions, the easy (JDBC) way.

Posted on 2006-02-23 By rolfje 2 Comments on Killing oracle sessions, the easy (JDBC) way.
Does Oracle complain about not being able to drop a table for a currently connected user, but you are sure you disconnected? Do the sessions “hang” in “inactive” state? Just log on as system, and execute the following query: 

SELECT
'ALTER SYSTEM KILL SESSION ''' || sid || ',' || serial# || '''; --',
       s.sid,
       s.serial#,
       s.osuser,
       s.username,
       s.program,
	status
FROM   v$session s
WHERE status = 'INACTIVE';

You will get a list of statements you need to execute (just copy-pase) to kill the inactive sessions. Don’t listen to the guys telling you to do intricate System Administrator stuff on a command prompt, just use any JDBC tool.

EDIT: Single query which also lists the kill command if the “alter system kill session” trick did not work:

SELECT
'ALTER SYSTEM KILL SESSION ''' || s.sid || ',' || s.serial# ||
       '''; -- kill -9 ' || p.spid,
       s.sid,
       s.serial#,
       p.spid,
       s.username,
       s.program,
       s.status
FROM   v$session s, v$process p
WHERE s.paddr = p.addr
  and (s.state='INACTIVE' or s.state='KILLED');

Thanks Bas en Jeroen!

Software

Google Talk with your browser!

Posted on 2006-02-08 By rolfje No Comments on Google Talk with your browser!

Google talk in the browserFor some reason I’ve been selected my the google company to have the new interface of gmail, where you can use google talk without even installing it! Yes you’ve read that right. When I log in to Google, I immediately see a quick contacts list of people who are online (on googletalk), and I can chat with them as if I was using the actual application! Only voice is missing, but I don’t use that anyway (Skype fan), so I am really happy.Now I can google-talk with my friends on *any* computer without having to install plugins, upgrading MSN otherwise contaminating the host’s computer. I am really impressed and amazed (for the past 3 hours or so). Go Google! I feel like buying a t-shirt now 🙂

Oh yeah, and it works in both FireFox and Microsoft Internet Explorer. And I am not kidding.

Auch, and I just missed the scoop on Slashdot… I could have been a succesful submitter. so close, so close.

Fun, Software

Tapestry/OGNL: Could not find an adaptor for class XYZ

Posted on 2006-02-07 By rolfje No Comments on Tapestry/OGNL: Could not find an adaptor for class XYZ
Getting the “Could not find an adaptor for class Foo” Mesage in Tapestry? You probably forgot to make your class Serializable. A simple description of a possible problematic situation follows: 

Read More “Tapestry/OGNL: Could not find an adaptor for class XYZ” »

Software

Posts navigation

Previous 1 … 12 13 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

Anonimatron Apple backup design DIY DRM eclipse environment Fun gmail google hacking hamradio Hardware helicopter iphone ipod iTunes Java Keynote maven modelling motorcycle music news opinion oracle osx photo photography programming repair review security Software Steve Jobs T-Mobile 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 (65)
  • Workshop (20)

Archives

Copyright © 2025 www.rolfje.com.

Powered by PressBook WordPress theme