Software development, photography, jokes, ....


Sites by me

 
tas-logoTransportation Administration System
snoezelkussen-logo-kleinstSnoezelkussens voor verstandelijk gehandicapten
ikzoekeenbegeleider-logoBegeleiders voor gehandicapten
Laat uw hond het jaarlijkse vuurwerk overwinnen
Betuweroute en Kunst
logo 50x50Hey Vos! Je eigen naam@vos.net emailadres?
Kunst in huis? Nicole Karrèr maakt echt bijzonder mooie dingen
nettylogo2Kunst in huis? Netty Franssen maakt ook bijzonder mooie dingen
Professionele opvang bij Gastouderbureau
Kind-Zijn
Salarisadministratie en belastingadvies bij
De Zaak Loont
Zutphense Bomenstichting

Hosting Favorites

 
ANU Internet Services
XelMedia .internet Services
register.com

Blogroll

 
Bomenstichting
LassoSoft
MacFreak
Quality that computes
The Economy of Motion
Wheel 2.0
IntrAktv



Website Hosting bij Xel Media


Marc's Place


 

Keyboard Shortcuts for Evernote #evernote #macosx #keyboardprefs #shortcut #keystroke

One of the many reasons why I love Mac OS X is the possibility to define your own keystroke / key-combinations for menu items in whatever application you like.

To make working with tables in Evernote easier, I added the following keystrokes to Mac OS X System Preferences -> Keyboard -> Shortcuts -> App Shortcuts (^ = ctrl-key):

mac-osx-keyboard-shortcuts
View Comments
 

Backgammon in MacForth 1986 #macforth #forth #programminglanguage #1986 #macintosh #macplus #memories

In 1984, FORTH came to the first Macintosh as MacForth. I coded some apps with it in 1986/7 on a Macintosh and later on my Macintosh Plus.
bitsavers_creativeSo4_10001850
From all the apps I wrote, I kept just one, as a paper source code listing : Backgammon , which I started coding in 1986 but never really finished.
So, for memory's sake, I publish it on my website so you and I can enjoy reading and looking at it, whilst thinking about the first days we had a fabulous MacPlus to work with. BTW, there's still some activity around FORTH on Github .
View Comments
 

SetEXIFData 6.0 #setexifdata #photo #foto #image #fotobewerking #exiftool #exif #exifdata #photography #fotografie #keywords #copyright #author #artist

A new version of SetEXIFData , my GUI for exiftool by Phil Harvey , is now available:

v6.0
(08-april-2017)

Note:
- Serial numbers are version independent, and thus remain valid for v6.

New:
- Get the elevation (in meters) of the Geo-location into GPSAltitude.
- GPSAltitude is saved into XMP:GPSAltitude.
- Moved the 'Comment' field into the first panel. It is still being filled with the address data from the 'Keywords and Geotag' panel.
- If you click Allow or Cancel when MacOS X asks for permission to access your Contacts, your choice is saved as a preference. This new setting can be found under the menu-option 'Preferences...'
- Moved the camera info fields into their own panel, named 'Camera'. These settings are still saved when you create a preset via the Artist popup menu.
- Added CameraLabel. This tag is filled with 'CameraMake, CameraModel'.
- Added LensMake and LensModel.
- Added LensInfo as 4 individual fields: MinFocalLength, MaxApertureAtMinFocal, MaxFocalLength and MaxApertureAtMaxFocal. These settings are also saved as Camera info when you create a preset via the Artist popup menu.
- Added 'ObjectName', although read more …
- Added 'Author', although read more …

Fixed:
- GPSLongitude and GPSLatitude are now saved as is: positive or negative.
- GPSLongitude and GPSLatitude are now prefixed with the XMP: group, which was the only way to get the GPS-data into PNG images which Apple Preview will display in the Info-panel.
- GPS-data are written on a per-field basis, only if the individual fields contain data. For example, if you enter data in Latitude and leave the rest empty, only Latitude and LatitudeRef are written.
View Comments
 

Various software updates (SetEXIFData, ICSViewer and HandbrakePM)

My three main apps are updated with new toolbar icons (if applicable) and now look great on HiDPI (Retina) displays.

SetEXIFData v5.9 -> http://marc.vos.net/downloads/setexifdata/
HandbrakePM v1.7 -> http://marc.vos.net/downloads/handbrakepm/
ICSViewer v2.8 -> http://marc.vos.net/downloads/icsviewer/

Also:
- The label 'Camera mode' in SetEXIFData has been corrected into 'Camera model' - the 'l' dropped off when I reset the size of the font back to the system default.
- Bug fixed in HandbrakePM with loading Handbrake presets.
 
View Comments
 

SetEXIFData 5.8

A new version of SetEXIFData , my GUI for exiftool by Phil Harvey , is now available:

v5.8
(21-february-2017)

New:
- When retrieving the date from the file name, you can now specify the time to use, if it's missing from the file's name, in the Date/Time fields. Also, if you process multiple photos with the same date immediately one after the other, you can use the Time interval fields to add or subtract hours/minutes/seconds or increment just the sequence number.
- You can now select an address from your Mac Contacts, via a pop-up menu to the right of the 'Geotag'-button, and then click on the 'Geotag'-button to get its GPS coordinates. When you select an address from the pop-up, it has precedence over entered Lat/Lon coordinates. Also, the checkbox 'Put address in comment' will automatically be checked, but can be manually unchecked.

Fixed:
- GPSLatitudeRef and GPSLongitudeRef are now also written. These values are needed while importing in, for example, Google Photos. Some of these photo-apps do not interpret postive GPS-values as default N and E.
- Interval time fields are enabled again after choosing the menu-option 'EXIF Dates or ...'.
 
View Comments
 

SetEXIFData 5.7

A new version of SetEXIFData , my GUI for exiftool by Phil Harvey , is now available:

v5.7
(08-february-2017)

New:
- A pop-up menu with new choices: take the Finder's 'Date created' or 'Date modified' as the 'Date/Time original'.
- Moved the checkbox 'Retrieve Date/Time from file name' also into the new pop-up menu.
- Added an 'Auto-fill' checkbox next to 'Caption/Description', which also takes the filename and puts in the following (new) EXIF tags: Caption-Abstract, Description, ImageDescription, Title, XPSubject and XPTitle.
- 'Comment' is now also written to EXIF tag: XPComment.

Fixed:
- Preserve the File Modify Date/Time was ignored when renaming files.
- An endless loop was found when using a pattern with 'Retrieve Date/Time from file name' for which no more numbers were present.
 
View Comments
 

SetEXIFData 5.6

A new version of SetEXIFData , my GUI for exiftool by Phil Harvey , is now available:

v5.6
(24-january-2017)

Fixed:
- Crash: When renaming with %x and none of the preferred sequence number-fields could be found.
- Preferences: Not being able to select any of the 'SubSecTime*'-fields when 'SubSecDateTimeOriginal' was present in the Dates-list.
  
View Comments
 

SetEXIFData 5.5

A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

v5.5
(02-january-2017)

Due to an updated code environment (latest Xojo and latest MBS plugins), a few changes were needed.

Removed:
- Show/Hide Info toolbar button is no more.
- The drawer-window used for previews is also gone. Xojo does not support these anymore.

New:
- Each preview now opens in its own window, which means you can now visually compare EXIF-data of multiple images at the same time. All preview windows are automatically closed when processing or starting over.

Fix:
- Increased the font size back to the system-default.
- The geo-tagging window doesn't close when 'Set startup' is clicked. Instead, the button is disabled. To set new startup coordinates, close and reopen the geo-tagging window.
- Implemented an improved map browser, which now uses webkit per default. It updates the map correctly while dragging or zooming.
 
View Comments
 

Apple Mail and Microsoft Outlook to Evernote @outlook #outlook #apple #email @evernote #evernote #applescript #veritrope #backup #cloudstorage

Bg fix in the Send E-Mail to Evernote script:

- Some splitting needed with multipart/alternative Base64-encoded e-mails.

More info on the download page.
 
View Comments
 

Check / Identify which version of Mac OS X is on your Recovery HD partition

There is an easy way to check which version of Mac OS X is on your Recovery HD partitions.
Since you can have such a partition on each attached Mac-formatted disk, it's interesting to know if they are all up-to-date.
To find out how, click here!
 
View Comments
 

SetEXIFData 5.4

A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

5.4
(16-december-2016)

New:
- Added 'Set the File Create Date/Time to the Date/Time Original' which modifies the 'Date created' in the Finder.
- Added 'Set the File Modify Date/Time to the Date/Time Original' which modifies the 'Date modified' in the Finder.
Both settings use the first date found according to the order specified in under 'Preferences->File Rename settings->EXIF date fields search order'.

New (video files):
- Video formats were not accepted by SetEXIFData, although EXIFtool can handle them. The following video extensions are now accepted: moov, mov, qt ,mqv, m4v, mp4.
A note to processing video files: the individual track-sections will not be modified, only the container. Video files only allow 1 keyword. The 'Extra camera info' is not part of EXIF for video files. No preview available in the drawer.

Fix (renaming files):
- Fixed a crash with images with no EXIF dates and times at all.

Fix:
- Fixed a problem with single quotes in a file's name.
- The drawer now closes when processing is started.
- Internal code enhancements.
 
View Comments
 

SetEXIFData 5.3

A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

5.3
(28-november-2016)

New:
- Added 'Preferences...' menu-option.

New (renaming files):
- Added preferences with which you can set the search order of EXIF date/time and image number fields for renaming files. This way you can tell SetEXIFData exactly which EXIF fields to look for first, and if not present the next one, and so on.
- Added a preference where you can specify the minimum number of digits for the image number to use while renaming. Smaller numbers are prepended with zeros to match the number of digits you specified. For example, 15, formatted with 5 digits, becomes 00015.

New (geotag):
- Added a preference where you can set the default geo-coordinates to start with when you click the 'Geotag'-button.

Fix:
- If while renaming files using '%x', no EXIF image number fields are found, '%x' will be replaced by 'minimum # of digits' zeros.
- Certain RAW formats were not accepted by SetEXIFData. The following photo extensions are now accepted: 3fr, ari, ciff, cr2, crw, cs1, dcr, dcs, dng, eps, epsf, erf, fff, gif, icm, jng, jp2, jpeg, jpg, jpx, mdc, mef, mie, mng, mos, mrw, nef, nrw, orf, pbm, pef, pgm, png, ppm, ps, psd, ptx, r3d, raf, rw2, rwl, sr2, srf, srw, thm, tif, tiff, vrd, x3f, xmp

Note: although now you can drag and drop certain RAW file types on SetEXIFData, not all of these are supported by EXIFtool for writing back to. Check Phil's site for the 'Supported File Types'-table.
 
View Comments
 

SetEXIFData 5.2

A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

5.2
(22-november-2016)

Fix:
- Renaming a file without using any placeholders works again.
- When renaming a file, a minimum of 3 characters must be present in the 'Document name' field.
- Renaming with '%x' now formats sequence numbers below 1000 with leading zeros: 28 becomes 0028.
 
View Comments
 

SetEXIFData 5.1

A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

v5.1
(21-november-2016)

As of version 5, SetEXIFData is now shareware.

If you have donated for SetEXIFData in the past, please e-mail me your Paypal transaction-reference and I will e-mail you your serial number. I am asking you to take action yourself, because email addresses on file are not always actual anymore.

Fix:
- The link to Paypal has been updated to the new Paypal payment-links. You should now see who you donate to and what for.
View Comments
 

SetEXIFData 5.0

A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

v5.0
(20-november-2016)

As of version 5, SetEXIFData is now shareware.

If you have donated for SetEXIFData in the past, please e-mail me your Paypal transaction-reference and I will e-mail you your serial number. I am asking you to take action yourself, because email addresses on file are not always actual anymore.

New:
- Added 'Email address' and 'Serial number' fields and a processing limit of max 5 photos a time. When you make a donation, you will get a serial number mailed to your PayPal email address. Enter both in the appropriate fields in the 'About..'-window and the processing limit will be removed.
- Added SubSeconds (or Burst Sequence Number or ImageNumber or ImageCount) to the Date/Time settings. You can insert a value in just this field if you only want to number photos - no need to fill dates/times. It wil set the following EXIF attributes: SequenceNumber, ImageCount, ImageNumber, SubSecTime, SubSecTimeOriginal. When 'Set Creation Date/Time ...' is checked, also the EXIF attribute 'SubSecTimeDigitized' wil be altered.
- Added '%x' pattern in 'Retrieve Date/Time from file name' to retrieve 3 digits from the file's name and store that number in the previous mentioned EXIF fields. It is up to you to correctly position this placeholder. Read the manual on my website on how to do this.
- Added '%x' pattern to the rename-pattern in 'Document name' when the 'Rename' checkbox is checked. When '%x' is found, the following number from the EXIF data is taken to rename the image file with: SequenceNumber, ImageNumber, ImageCount, ShutterCount, ShotNumberSincePowerUp, SubSecTime, SubSecTimeOriginal or SubSecTimeDigitized - whichever comes first.

Update:
- The main window is now resizable.
- No readme cq. manual included in the download any more. The always up-to-date version can be found by clicking the link on this 'About...'-window.

Fix:
- 'Autofill' caused problems with processing multiple images.
- 'Titlecase' did not always work. Now you have to explicitly execute it by clicking a button. This way you can titlecase keywords and afterwards lowercase individual words, like 'and' and 'or', by hand.
- Possible crash while renaming files based on EXIF dates is repaired.
- Various internal improvements.
 
View Comments
 

SetEXIFData 4.7 PPC

A new version of SetEXIFData for PowerPC, my GUI for exiftool by Phil Harvey, is now available:

Version 5.0 is also out, but that one is Intel-only and as of now also shareware.
You can keep using this PPC version for as long as you like.
The PPC version will receive no functionality updates, only bugs will be fixed.

v4.7
(20-november-2016)
Fix:
- 'Autofill' caused problems with processing multiple images.
- Possible crash while renaming files based on EXIF dates is repaired.
View Comments
 

SetEXIFData 4.6

A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

v4.6
(26-september-2016)
On request:
- Compiled a Universal Binary (UB) version for use on PowerPC and older Intel Macs. You can download it from my site.
- Added 'Save as set' for Geotags. If 'Put address in comment' is checked, the Comment (street address) is saved with the GPS coordinates.
New:
- A double-click on a row in the EXIF-list inside the drawer, copies the value of the right column to the clipboard.
Fix:
- Improved test if 'exiftool' has been installed.

A note about the Universal Binary (UB) version
Since september 2016 there is a UB version available, for PowerPC and Intel Macs. The UB version is still 1:1 the same with the current Intel version, but may differ in the future, since I use my old Powerbook G4 to keep the UB version current. When it dies, the UB version developments will also stop. Until then I will do my best to keep both versions the same qua functionality.

v4.5
(08-july-2016)
Fix:
- Negative intervals lower than -9, like -10, could not be entered.
 
View Comments
 

Save and Restore Mac OS X Finder Windows, with Tabs and Positions

Since Apple released Mavericks (10.9), the Finder doesn't save and restore its open windows, and the tabs inside these windows. I find this a real nuisance and it wonders me why Apple haven't been able to fix this. I tried writing 'defaults' settings, with no effect.

Anyway, then I decided to write my own solution, in AppleScript. You can download them from this page, second entry.
 
View Comments
 

Make a new folder inside a selected folder with Applescript

I wrote an Applescript with which one can create a new folder inside a current selected folder, or inside a current window or inside a folder containing a selected item.
You can read more and copy the code from my Scripting-page.
 
View Comments
 

SetEXIFData 4.4

A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

v4.4
(20-june-2016)
Fix:
- TAB-bing order of input fields corrected.

v4.3
(09-may-2016)
Fix:
- Hitting the DEL or BACKSPACE key on an empty line in the list window gave an OutOfBounds exception.
 
View Comments
 

Apple Mail and Microsoft Outlook to Evernote

Today I modified a copy of my version of the Send E-Mail to Evernote script to work with Microsoft Outlook on Mac OS X.
Since I now have two scripts, I renamed them accordingly :
  • Send E-Mail (Apple Mail) to Evernote
  • Send E-Mail (MS Outlook) to Evernote

More info on the download page.
 
View Comments
 

SetEXIFData 4.2

A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

v4.2 (29-apr-2016)
New:
- Set EXIF dates and times based on a date [and time] in the file name of the image.

See the web page for more info. Look for 'Retrieve Date/Time from file name'.
 
View Comments
 

Various software updates (SetEXIFData, ICSViewer, HandbrakePM and DirectURL)

My four main apps all have now their own webpages instead of being part of the old accordion page.

SetEXIFData -> http://marc.vos.net/downloads/setexifdata/
HandbrakePM -> http://marc.vos.net/downloads/handbrakepm/
ICSViewer -> http://marc.vos.net/downloads/icsviewer/
DirectURL -> http://marc.vos.net/downloads/directurl/

ICSViewer has some new additions:
  • Sheet windows instead of modals,
  • Link to new webpage,
  • Better display of bigger text on Windows,
  • 'Line No.' column now has a line number,
  • ’Start at’ and 'End at' columns now also include the date in ISO format for better sorting.

View Comments
 

SetEXIFData 4.0

A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

v4.0 (17-apr-2016)
New:
- Renaming your photos based on EXIF dates and times.

See the web page for more info. Look for 'DocumentName'.
 
View Comments
 

SetEXIFData 3.4

A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

v3.4 (1-apr-2016)
New:
- Tabbed panes to reduce window-height. The high window was a problem on small screens.
- The Artist & Copyright pop-up memnu now also saves 'Camera make', 'Camera model' and 'Extra camera info' fields.
Fix:
- Tab-order is fixed. Using the TAB-key, the fields are now selected in the right order: top-down, left to right.

View Comments
 

Foto: iMac 2010 screen

iMac 2010 screen
View Comments
 

iOS Backgrounds for lock- and home-screen

I have uploaded two new background images for use as backgrounds on your iPhone to the collection (click here to view and download my collection). Image 11-A can be used for the lock-screen and image 11-B is especially made for use with the home-screen. Of course these are not bound to iOS - you can use them on Android phones too.

ios-home-screen-background-11aios-home-screen-background-11b
 
View Comments
 

E-Mail to Evernote

I fixed some other flaws in my version of the Send E-Mail to Evernote.scpt:

Update 22 dec 2014:
- I repaired a situation where a piece of a HTML-email 'header' is no header, but contains a <style> … </style> segment, which contains semi-colons and which does not contain ampersands. And that is where the script crashed. This is the case with 'Order confirmation'-emails coming from DAZ 3D. I added the test if the part does also not contain a } and then it went through. Fixed. Now wait for the next email-formatting-idiocrazy for which the script has no solution.

See also my previous posts regarding this script.
 
View Comments
 

Put your Calibre eBooks on iPhone via CrashPlan from wherever you are

When you're traveling and want to read that specific eBook which you forgot to put on your iPhone or iPad before you started the trip, then you need the following solution: CrashPlan

I store all my eBooks in Calibre and Calibre stores them in /Users/<you>/Library/Application Support/Calibre/ and that folder is backed up too with CrashPlan. That is step 1.

With CrashPlan, you can (and should) backup all your data, music and movies automatically on unlimited cloud-storage so your data is backed up outside of your home or work environment. And thus also your eBooks! That is step 2.

And the guys at CrashPlan created an very nice iOS app with which you can access your backup on their cloud-storage from anywhere ... and download files from there onto your iPhone or iPad! And thus also your eBooks! That is step 3.

To illustrate what I mean, I put together an image sequence to illustrates the steps to take to download an eBook from your own backup onto your iPhone or iPad.

Very cool and very handy!

I use this method also when I want to email any file which I have on my desktop at home - I download it from CrashPlan and then email it ... from my iPhone. No need to setup remote login to my iMac, no need to setup screen sharing, etc..

Of course there are other ways, but since this one is completely automatic and also backs up ALL our data, it is my preferred off-site storage solution.


Step 1: Calibre

1-calibre
2-calibre


Step 2: CrashPlan desktop

3-crashplan
4-crashplan


Step 3: CrashPlan on iPhone

5-crashplan
6-crashplan
 
View Comments
 

E-Mail to Evernote

I fixed some other flaws in my version of the Send E-Mail to Evernote.scpt:

Update 13 aug 2014:
- I repaired a situation where there is no content-type found in the email headers. I now set it to text/plain in such a case.

Update 5 aug 2014:
- I repaired the strange time formatting (1=3=4=5 instead of 1345) when adding multiple email messages at once.
- And I added a dialog when the script has successfully finished processing for when Growl is not active.

See also my previous posts.
 
View Comments
 

E-Mail to Evernote

I fixed a bug in the Send E-Mail to Evernote.scpt where it would crash if the HTML at some point would contain &nbsp; or other ISO encoded characters. You can download a new version here.

If you maintain your own changes in this script, here's the fix. Change the following lines inside the function htmlFix:

     --TEST FOR / STRIP OUT LEADING SEMI-COLON
     
if item 1 of paraSource contains ";" then

into this:

     --TEST FOR / STRIP OUT LEADING SEMI-COLON (skip &nbsp; stuff)
     
if item 1 of paraSource contains ";" and item 1 of paraSource does not contain "&" then
 
 
View Comments
 

E-Mail to Evernote

A while ago i was looking for a way to shrink my list of mailboxes and the 1000s of mails therein. I already use MailSteward Pro to backup my emails to a remote MySQL server, but that is just in case everything gets lost at Apple's iCloud. Which isn't very likely.

Since my Apple Mail is starting to crash every few days since the latest Mavericks updates and is getting really slow in opening old and getting new mail (although I run on SSD), I am looking for another way to archive old emails and still have the same easy access with all search capabilities. This where Evernote comes in! Googling a bit I found this AppleScript: Apple Mail to Evernote.

The script works perfectly under Mavericks and I added some code to get the date/time in the title of the note. A screenshot of how an email in Evernote looks when my modified version of the script has done its job:

Screen Shot 2014-05-15 at 10.49.19

What you'll miss though is the grouping of the 'Conversation'-view which you have in Apple Mail.

So you can download the original or download my version.

Thanks to Veritrope for this very useful script!
 
View Comments
 

Allow LoginWindow only for some users on Mac OS X Server

Looking for the way to disallow regular users to login via VNC or Apple Remote Desktop?

- Open Server Admin in /Applications/Server/
- Connect to and select your server.
- 10.5 Server: select Settings -> Access
- 10.7 Server: select Access
- Then select Services -> For selected services below -> Login Window.
- Then select Allow only users and groups below on the right, and add yourself and whoever else you want to grant access.

10.5 Server:
Allow LoginWindow for some Users Mac OS X 10.5 Server

10.7 Server:
Allow LoginWindow for some Users Mac OS X 10.7 Server

I have no idea if this method is still present in 10.8 or 10.9 server.
View Comments
 

SheepShaver - Mac OS 9.0 Classic Emulation on Mac OS 10.8

If you do not want to spend much money on upgrades for software you hardly use, just because you are running the latest Mac OS, try a Mac OS emulator! These are free and run nice and fast on the new Macs.

Let's take FileMaker Pro 6 for example. A piece of software I need, for a regional tree foundation I do some work for, but rarely use. And I do not want to upgrade - too expensive for the infrequent usage. So I looked at installing it on Windows in Parallels, since I have that software anyway - but that is a bit too much overhead just for running FileMaker 6. WINE did a bad job so I ditched that. Then I got a 500MHz G4 Cube! The advantage was that it runs all my older software too, like the Starwars Episode 1 Racer. But it is a bit much work turing that Mac on and off, just to do some administrative work in FileMaker 6.

So I still want to be able to run FM6 on my iMac, in Mac OS 10.8, because it is simply more convenient. I tried SheepShaver a long time ago, but then it did not work for me, somehow. But today I came across it again while searching for Mac OS emulators for Moutain Lion, and saw '2012' in the SheepShaver's blog, so that means it is still actively supported. I gave it a try and it works fantastic! And it runs my FM6 applications - and some old games, of course, like BreakThru! Really cool!

If you want to try it too, download SheepShaver and download a ROM file and the OS9 System. READ and follow these instructions and you should be ok.

SheepShaver
View Comments
 

Foto: iMac going crazy

Screen Shot 2012-11-09 at 18.18.04
View Comments
 

Daily Script on Mac OS X Server did not clean up /tmp

Lately my /tmp folder was piling up with files (krb5cc*) without any signals that these files were regularly deleted. A bit of googling showed that these come from the Open Directory Server, but that's something I cannot control. So I went to investigate why the daily script would not delete them. I googled a bit again and found out where the parameter file for the daily, weekly and monthly cleanup-scripts is located: /etc/defaults/periodic.conf. There, I found these settings for /tmp :

# 110.clean-tmps
daily_clean_tmps_enable="YES"           # Delete stuff daily
daily_clean_tmps_dirs="/tmp"            # Delete under here
daily_clean_tmps_days="3"               # If not accessed for
daily_clean_tmps_ignore=".X*-lock .X11-unix .ICE-unix .font-unix .XIM-unix"
daily_clean_tmps_ignore="$daily_clean_tmps_ignore quota.user quota.group"
                                        # Don't delete these
daily_clean_tmps_verbose="YES"          # Mention files deleted


The one to look for is where it says "3". This indicates that the routine should clean up old files not accessed for 3 days. But it did not - and the files were not mentioned in the ignore-parameters. Even rm -rf krb5cc* returned immediately an error that its argument list was too long. Therefore I started reading what the exact values for this parameter should be.

Well, it turns out that the value needs a qualification, like d(ays) or m(months), etc.. I found that out by reading /etc/periodic/daily/110.clean-tmps and studying how find uses -atime, -ctime and -mtime and how to add or subtract values. Here are a few find-commands, copied from /etc/periodic/daily/110.clean-tmps, which I tried to make sure that what I just read was right:

$ cd /tmp
$ sudo find -dx . -fstype local -type f -atime +1h -mtime +1h -ctime +1h
$ sudo find -dx . -fstype local -type f -atime +1d -mtime +1d -ctime +1d
$ sudo find -dx . -fstype local -type f -atime +2d -mtime +2d -ctime +2d


Further reading suggested to use override-files, so I sudo'd into vi to create the file /etc/periodic.conf with the following contents:

daily_clean_tmps_days="2d"

Yes, 2 days. Three days is too long for a server, in my opinion. The file's attributes look like this:

marcvos @ ~ $ ls -l /etc/periodic.conf
-rw-r--r-- 1 root wheel 27 Oct 25 16:38 /etc/periodic.conf


Next, delete the file daily.out:

$ sudo rm /var/log/daily.out

Reboot the server. Check your /tmp folder and /var/log/daily.out the next days.

With me, I now finally saw all those files getting deleted.
 
View Comments
 

SetEXIFData 3.3

A new version of SetEXIFData, my GUI for exiftool by Phil Harvey, is now available:

v3.3 (8-sep-2012)
Fix:
- Found a way to reactivate the app after processing so it responds to mouse clicks again. Hopefully this solves the problem where the app would not come forward.

v3.2 (07-sep-2012)
New:
- Added support for a sticky Growl message when processing has finished, which lists all processed images.
Screen Shot 2012-09-08 at 18.05.18
Changes:
- Replaced the 'Done'-window with a text below the list-window, since the sheet-window-state did not react to mouse clicks when the app was in the background and ready with a conversion.
- Changed the sheet-window into a movable modal.

View Comments
 

HandbrakePM 1.5

A new version of HandbrakePM, the batch video conversion tool based on the famous HandBrake video converter, is now available:

v1.5 (8-sep-2012)
- Found a way to reactivate the app after processing so it responds to mouse clicks again. Hopefully this solves the problem where the app would not come forward.

v1.4 (7-sep-2012)
- Replaced the 'Done'-window with a text below the list-window, since the sheet-window-state did not react to mouse clicks when the app was in the background and ready with a conversion.
- Changed the Growl-scripts so now they should work on newer MacOS and Growl installations.
- Made Growl-notifications sticky, like Handbrake does.

Screen Shot 2012-09-08 at 17.50.58
View Comments
 

Adobe Photoshop Elements 10 Editor and Mac OS Lion 10.7

Yesterday I purchased Adobe Photoshop Elements 10 Editor in the Mac App Store, for my wife's Mac. Of course I installed it on my Mac too and the application seems to runs just fine, but I could not save any image I edited. Huh!? When I tried to save edits made to an existing image, PSE10 constantly showed messages about disk errors (-38) and problems writing to the scratch disk and then froze itself somehow.

Well, I also have Photoshop CS5 installed and with that application I have no problems at all, and it uses the same scratch disk: my internal HD. There is no other disk and that disk is ok – which means that the error from PSE10 has in fact nothing to do with the disk. Therefore, the error must have something to do with the file(s).

My gut feelings started to probe all information I have about files under Mac OS 10.7.4, and suddenly a thought popped up that it might have to do with the new OS X Lion's file locking 'feature'. That somehow PSE10 does not use Apple's file I/O routines or this version of PSE10 (v10.0) doesn't know about this 'feature' in Mac OS X Lion. The images I edited were from 30.5.2012 and when I opened them in Preview, the word 'Locked' showed in the titlebar.

I googled shortly and found a way to turn this 'file locking' off, and it is really very simple. But the setting is not where I would expect it to be, it's hidden in the 'Time Machine'-preferences' Advanced settings, whereas I would rather search it under 'Security'-preferences. At Mac|Life I found a short how-to: How To Disable Mac OS X File Locking

After turning it off, my Mac began to act strange - a few apps started to crash, others suddenly hung. So, hop, restart that Mac! Luckily that solved it all and what is more, since I turned it off, PSE10 works without problems - no more 'disk'-errors. And ... I have about a few 100MB more free memory and the free memory remains stable, it doesn't get 'eaten' anymore! That might be subjective, but the numbers don't lie.

I can really recommend PSE10. It's fantastic! Thumbs up Adobe! Features from applications like iResizer, inPaint and others are all built-in into PSE10! Time to clean up the application folder!

Now if there only would be Adobe Illustrator Elements for that price.... I would not be needing CS5 anymore.
View Comments
 

Boekhouden in Apple Numbers

Het was weer eens tijd voor een geheugen-opfrissertje wat boekhouden betreft - zo vaak doe je het als werknemer niet - en daarvoor had ik een oud Teleac boek gevonden op een rommelmarkt. De bijlagen etc. zaten er allemaal niet bij, maar met mijn al aanwezige, vervagende kennis begreep ik er weer steeds meer van. Het doel was om de kosten van een nieuwe Filemaker Pro licentie voor Mac OS Lion te vermijden, aangezien ik dat FM Pro enkel en alleen nog gebruik voor de boekhouding van de Zutphense Bomenstichting. Nu draai ik FM Pro nog op een mooie, antieke Apple G4 Cube, maar dat moet een keer ophouden. En ik heb ook geen zin om alleen voor die paar boekingen voor de stichting steeds een virtuele Windows te moeten starten, dus... ajuus FileMaker Pro en welkom Apple Numbers.

Tijdens het lezen van het cursusboek kwam ik er achter dat er eigenlijk geen eenvoudige Numbers of Excel-boekhouding te vinden is en besloot ik er dan zelf maar een te maken, in Apple Numbers. Omdat dat programma zo handig is en het boekhouden-document is de eerste stap om de simpele administratie van de Zutphense Bomenstichting over te hevelen naar een spreadsheet.

En hier is het resultaat: Numbers Boekhouden of een export vanuit Numbers naar Excel Boekhouden

De sheets Rekeningschema en Boekingsvoorbeelden (zie afbeelding hiernaast) dienen uitsluitend ter informatie. Er wordt niet aan gerefereerd.

In het Grootboek plaatst men de boekingen. De Balans-tabellen zijn geheel geautomatiseerd, behalve als er een nieuwe rubriek bij moet; deze moet men dan handmatig toevoegen door een bestaande rij te kopiëren en aan te passen. Ik heb getracht zoveel mogelijk help-tekst toe te voegen die, in ieder geval voor mij, van belang is om te bewaren omdat je dit soort dingen zo snel weer vergeet.

De velden met de omschrijving van de Balans- en Grootboekrekeningen bevatten pop-up menu's (zie afbeelding hiernaast) zodat overal dezelfde beschrijving voor een rekening wordt gebruikt. Deze pop-up menu's kunnen, voor zover ik weet, in Numbers niet programmeerbaar worden samengesteld uit Rekeningschema, maar ze zijn eenvoudig handmatig aan te passen voor nieuwe Grootboekregels waarvoor een nieuwe rubriek nodig is.

Let op: Alles is fictief, wat hier geboekt en beschreven is - je moet zelf de hele bups aan je eigen situatie aanpassen.

Het document bevat de volgende tabellen:
boekhouden

Pop-menu in tekstvelden:
balans
View Comments
 

Fit an Apple TV 1 with a brand new 160GB disk

After Googling for a day I finally found everything I needed to get my Apple TV 1 (with no disk) working with a brand new Samsung HM160HC PATA disk. The whole process is described in 'New disk in Apple TV1'.
View Comments
 

Relocate SVN repositories with SmartSVN

Today I had to move our SVN repositories to a new server, because the old one (an Xserve G5) is being emptied and then either sold or thrown away. So if you're interested in an early 2005 Xserve G5, send me a note. Anyway, relocating a repository was easier than I thought. A bit of reading and googling revealed the steps I had to take and to help you, I wrote them all down, sort of collected steps-to-take, and posted them on this page.
View Comments
 

R.I.P Steve Jobs - Thanks for everything!

thankssteve

THANK YOU FOR YOUR NEVER ENDING POSITIVE ENERGY
and for bringing the Mac into my life


My sincere condolences to Steve's family and everyone at Apple
View Comments
 

SetEXIFData 3.0

Version 3.0 of SetEXIFData is out, with the following changes:

New:
  • Added a checkbox which can be set on to remove all keywords (and not add any new ones) from all the files in the files-list.
  • Added a checkbox which can be set on to titlecase all keywords, which was previously done automatically. It is set on by default.
  • Added a checkbox which can be set on to autofill the document name property of each photo listed with the current file name.

Bug fix:
  • Problem with assigning keywords for Preview, Photoshop CS5 and iPhoto has been fixed. Turns out these programs let '-subject' overrule '-keywords' for keywords.

View Comments
 

My installation of Mac OS X Lion

This installation of Mac OS X Lion took my weekend and then some, to figure it all out and get things to work. Making the backup took almost a day. The order of the steps taken is now what it should have been, had I been able to see in the future. I hope these steps can help you to speed up your installation of Lion.

1) I downloaded Lion from the Mac App Store

2) Located it in /Applications, copied it to a backup disk.

3) Right-clicked it and chose 'Show package contents'
   - Opened the Folder 'Contents'
   - Opened the Folder 'SharedSupport'. In there is a file 'InstallESD.dmg'

4) Inserted a 8GB USB Flash Drive into an USB-slot of my Mac

5) Started Disk Utility
   - Selected the USB-flash drive in the bar on the left
   - Selected the pane 'Partition'
   - Chose 1 partition
   - Clicked 'Options' and selected 'GUID table'
   - Partitioned the drive
   - Selected the USB-flash drive in the bar on the left
   - Selected the pane 'Restore'
   - Dragged the USB-flash drive to the field 'Destination'
   - Dragged the 'InstallESD.dmg' to the field 'Source'
   - Clicked the 'Restore'-button
Now I can always boot from the flash drive and (re)install Lion.

6) I deactivated licenses of the following software (advise from OnOne):
   - All OnOne Software tools
   - RapidSearch (just to be on the safe side)

7) Updated the following software:
   - Tuxera NTFS
   - Glimmerblocker
   - Dockstar (Mail plug-in)
   - MailTags (Mail plug-in)
   - Drobo Dashboard
   - FileMaker Pro 6 (PPC-only) to 7 (Universal)
   - EyeTV
   - Perian
   - Flip4Mac WMV
   - ChronoSync and ChronoAgent

8) Removed following apps
   - DivX and 3iVX (Uninstallers are in their respective folders in /Applications)
   - FlagIt! (Mail plug-in) -> uninstalled this, development halts and Lion has now 7 flags of different colors. I also went into System Preferences and uninstalled SpiceShaker and removed the SpiceRack Prefpane since nothing else but FlagIt! was using this.
   - Adobe AIR (removed everything from '/Application Support' and '~/Application Support' folders)
Apple has made the folder 'Library' in the home folder invisible. But I can get to it via SHIFT-CMD-G and by entering the following path '~/library'.

9) Restarted my Mac
At the bongggg, I held down the SHIFT-key until a progress bar appeared: Mac starts in Safe-mode. From our national Apple Doctors (CARD Services) I learned that it is best to install major updates while in 'safe mode'.

10) When logged in, I attached a 1TB backup disk and used Carbon Copy Cloner to backup my Mac OS X startup disk.

11) After the backup had finished, I shutdown the Mac and disconnected all external hard disks, including my Drobo.

12) Started my Mac again in Safe-mode

13) Installed Mac OS X Lion
On my iMac, I simply clicked the Lion icon in the Dock. I booted my MacBook Pro from the USB-flash drive and installed Lion from there.

14) After installation, I let the Macs boot normally and logged in.

15) Performed Software Update; restarted normal

16) Opened 'App Store' from the Dock and downloaded 'Xcode'
   - I installed Xcode by starting 'Install Xcode' in /Applications

17) I rely on FastCGI (for Lasso 9), which is not included in Lion anymore. So I had to restore the file 'mod_fastcgi.so' from the backup disk, made in step 8. The Lion installer also removed the file 'Lasso8ConnectorforApache2.2.so' which is needed for Lasso 8. I copied both of them back. If you need these, you can find them and copy them to '/usr/libexec/apache2/' (same folder as in 10.6)

18) Then, my iPhone was not recognized, because somehow either the Lion or Xcode installers have removed a file call 'usbmuxd' and support files. To get this working again, I had to reinstall iTunes from scratch, like this:
   - Via 'Terminal', deleted iTunes: 'sudo rm -R /Applications/iTunes.app'
   - Next, I followed the steps outlined here: support.apple.com/kb/ht1747
   - Then I downloaded iTunes from Apple's site and installed it.
iPhone is back!

19) Activated the software licenses again (see step 6).

20) If you run Windows in Parallels 6 off a Bootcamp partition, and it won't start with Parallels, do what is described here: http://kb.parallels.com/en/111629

21) And the last thing I did was repair disk permissions via Disk Utility.

22) A restart and back to business.

23)
If QuickTime Player X is behaving strange, like when you click a player's window, you click through it, get rid of old files in the Preferences folder. Open Terminal and type the following exactly as written:
cd ~/Library/Preferences
rm *QuickT*X*


 
View Comments
 

Mac OS X Dock Separators

Here are some Mac OS X Dock separators (dock-separators(apps-intel)). These are mainly dummy apps and folders with a transparent icon and names that consist of only spaces. The apps are all Intel-only. The .zip contains 6 apps, the first one has a name of 1 space and the 6th one has a name of 6 spaces, and 3 folders with the same transparent icon and spaces as names. Here's how I use them:

Screen Shot 2011-07-25 at 13.42.08
View Comments
 

PTViewer on Mac OS X

If you want to install ptviewer.jar (view 360° images) in /Applications, it won't start right. After you move it into /Applications, modify the permissions of the file: select the file, press CMD+I or select File->Get Info... from the menu bar:

ptviewer
Click on the lock (1) and enter the administrator's username and password. Usually that's you.
Next (2), set 'Everyone' to 'Read & Write' and close the window.

Now it works.
ptviewer1
I made some photos of my office with my iPhone4, turning my desk chair 360 degrees and stitched them together on my iPhone with AutoStitch. Looks great in PTViewer!
View Comments
 

Deskovery is fun

Deskovery (-> website) is handy and also for fun. Drop all other 'green button'-resize plug-ins or apps. This is the one to use!

deskovery2

And it makes dragging windows funny! I took the screenshot while dragging a window with Deskovery enabled.

deskovery1
View Comments
 

Using Kaleidoscope with Coda

Here is a short description of how to replace opendiff so Coda coda uses Kaleidoscope kaleidoscope instead of Apple's FileMerge.
 
View Comments
 

Starter-app for Yaoqiang BPMN Editor

I have made a starter-app which starts the Yaoqiang BPMN Editor .jar-file. It's only meant for use with the Mac OS X dock, because you can't position a .jar-file in the application section of the dock.
You can find it on my REALbasic page.

Screen shot 2010-12-08 at 18.02.15
View Comments
 

Get to the hard disk of an iMac (2008)

I made a 'step-by-step' guide of a way to open an iMac to take the hard disk out. Without disk, I could send the iMac in for repairs and not worry about data loss or information going somewhere where it should not be.
View Comments
 

Install Lasso 9 from svn on Mac OS X client

I have put together instructions on how to install Lasso 9 from the svn repository on a Mac. The content is derived from pages at LassoTech, extended with stuff I came across during installation or via email exchange with fellow coders.
View Comments
 

Remove headers and footers from PDF documents

Ever wanted to get rid of disturbing headers and footers in PDFs? Here's an easy way to do this (when you have Mac OS X 10.6 running).
View Comments
 

ThrashBoxes stack editable background

For the ThrashBoxes stack from SymfoniP, for use with Stacks from Yourhead, I created a layered Photoshop file which can be used to create a different background. Read on...
View Comments
 

Use OpenMeta to find files in OS X's Finder

The Finder supports OpenMeta in its search options. To have the possibility at hand, you must add the option to the menu first. Otherwise you have to select it first, every time you open a search in the Finder. To add Tags to the options menu, take the following steps:

1) Open a new finder window



2) Enter search mode.
The default is to search in the contents of files, but... when you hold down the shift key with the menu open, the Find item changes into Find by Name...



3) Open the 'Kind' menu by clicking on it and choose 'Other...'





4) Tags
Scroll down or type 'meta' in the search field and look for the entry named 'Tags'. Check the box in the column 'In Menu' and click OK.



5) Search using Tags
When you leave the search field blank, 'Contents' or 'File Name' are not used in the search.
With Tags-search, you can enter multiple keywords, separated by a space.



If you want to use a command line tool to write metadata to files yourself, you can download an installer right here.
If you are looking for GUI clients, look here.
View Comments
 

SetEXIFData 2.9

A new version of SetEXIFData is on-line. You can find it here.
Changes:
  • Added a checkbox to set if the address data from Google Maps should be put into the comment field.
  • Added a 'Set startup' button on the geotag window so you can set your own startup coordinates when the window loads.
  • When 'Start over' is pressed, all new fields are now cleared too.
View Comments
 

SetEXIFData 2.8

A new version of SetEXIFData is on-line. You can find it here.
Changes:
  • Added fields for camera info: Make, Model & Extra Camera Info.
  • Added a field for a Document Name. You can store the original name of an image here.
  • Added a field for a Comments (goes into 'usercomment').
  • The Caption/Description is now also stored in 'imagedescription'.
View Comments
 

Image dimensions in MacJournal

MacJournal is a great blog and notebook program! However, you cannot see or edit the image's dimensions. You can drag the bottom-right corner when you want to resize an image, but also then there is no feedback regarding the image's dimensions. There is a way, though, to find out what the dimensions are, before you post. Use Art Directors Toolkit ($39.95, upgrade $19.95) or ARTIS Screen Tools ($9.95) rulers. Here is a screenshot of how you can measure an image in MacJournal with Art Director:

Screenshot2010-02-16at16.37.48-2010-02-16-16-40
Here is also a screen shot with ARTIS rulers. Note that Art Director's rulers move as one block - they're connected like on a drawing table. But ARTIS Screen Rulers float independent from one another. So it is what you prefer.

Screenshot2010-02-16at17.15.24-2010-02-16-16-40
Both these rulers always stay on top, and that is what is most important.

I looked at Free Ruler but those rulers are just like a document window - they do not float on top of everything. Then there is Rulers which places two rulers at your screen's top / left borders. They float on top of everything and you measure by placing horizontal and vertical guide lines on the screen. Both are not good for my purpose. For those who need it, ARTIS also offers grids and guides on your screen in the Screen Tools package as separate programs, which are, in my opinion a much nicer solution than Omnidea's Rulers.

Update 13-11-2015: Since then Xscope has emerged. Use that one, it is very good.
 
View Comments
 

SetEXIFData 2.7

A new version of SetEXIFData is on-line. You can find it here.
This new version has the possibility of adding/subtracting a fixed amount of time and a minor repair.
View Comments
 

Smart Mailboxes in Apple Mail

Smart Mailboxes in Apple's Mail are cool! I have set up an In & Sent smart mailbox which shows me all my incoming and sent messages, grouped by thread. Here's how to set it up:

First, create a Smart Mailbox:

Screenshot2010-01-21at19.01.24-2010-01-21-18-56

Then and add all Inboxes and Sent mailboxes from the email accounts you use. Choose the rule 'Message is in Mailbox' for every entry as I did in the example below.

sm1-2010-01-21-18-56

Next, drag the Smart Mailbox to the top in sidebar. Then you have it at hand all the time.

sm3-2010-01-21-18-56

And last, set the view to Threaded:

sm2-2010-01-21-18-56
View Comments
 

GPS on my iPhone

There are a lot of discussions going on about the GPS accuracy on the iPhone. So I started a short test. I tried to get my home position every day and make a screen shot of it - it became 11 days because the error repeats itself on certain days. And I say now that it is not the iPhone (or maybe partly) but that it are those satellites that somehow send wrong signals, because every monday I am here, on every tuesday I am there, etc. So there's a pattern in the positions I am at through the week, although I always was at my house when I took the following screen shots.

I wrote the date in the upper right corner, you can see the time at the top, and put a circle around the spot where my house is. The blue dot marks the GPS spot.

IMG_0203-2009-12-29-00-11.PNG IMG_0207-2009-12-29-00-11.PNG IMG_0209-2009-12-29-00-11.PNG IMG_0211-2009-12-29-00-11.PNG

IMG_0212-2009-12-29-00-11.PNG IMG_0214-2009-12-29-00-11.PNG IMG_0215-2009-12-29-00-11.PNG IMG_0222-2009-12-29-00-11.PNG

IMG_0224-2009-12-29-00-11.PNG IMG_0241-2009-12-29-00-11.PNG IMG_0242-2009-12-29-00-11.PNG

So ... either one of these blue dots should be exactly at my house and the iPhone is very wrong, or all these blue positions are wrong and the satellites do something weird or are too far away from this city.

Update August 2010: since all iPhone3G updates and now my iPhone4, GPS works fine again.
View Comments
 

Bootcamp partition

I use Parallels Desktop for Mac (have used VMWare Fusion, but found it really slow) but I find it too slow to work with on a daily basis. Therefore I thought I'd switch to a Bootcamp partition and boot the Mac directly into Windows. That way it would a) be faster and b) at last I could use my cheap Windows USB film scanner and digital Blocknote, which Parallels was never able to recognize. So said, so done. But yesterday two things happened :
  • My MacbookPro wouldn't boot off the Windows partition anymore - it simply remained stuck in the startup process. I don't know why... it's just disappointing after so many hours.
  • In my email I saw an announcement of Parallels 5.
I started reading about Parallels 5 and it said that at last it would recognize all USB hardware, was Snow Leopard ready and could boot off a Bootcamp partition. A few seconds later I had my upgrade serial numbers and was installing P5 over P4.

After installation I started my normal Windows XP virtual machine and let P5 upgrade it. Then I quitted the machine and backed up the 40 Gb file to my Drobo. Then I clicked the big + to add a new virtual machine and chose 'Bootcamp' and hoped that it would pick it up. It did! After a while P5 was ready to start and so I did. P5 created a 2Gb virtual disk - I don't know why and booted the Bootcamp Windows XP without any troubles. And you know what? It runs almost 10x faster off the Bootcamp partition as with its normal virtual disk structure. With P4 and the virtual disk, MS-Excel 2003 took ages to start up. But now, it's like a flash - as if I've booted directly into Windows. And... it recognized indeed my cheap Prolectrix film scanner and my cheap Medion digital blocknote. Great, really great! Of course I immediately backup up the 2Gb virtual disk and the bootcamp partition to my Drobo. You can backup and restore a Bootcamp partition with Winclone.
View Comments
 

Virtual host order on Mac OS X Server

I am in the process of converting my website forwarding setup to actual host names (A-records). I was quite reluctant to do this at first, because I could not oversee the consequences and googling didn't reassure me either. But on the LDC09, I talked to Chris who kindly explained to me how easy and unproblematic this actually is. Being a sceptic, I did not start by converting all entries at once, but I do convert one entry per day - when it succeeds.

The first one went wrong already because of my logical thinking as a programmer. I pointed the subdomain name to our Mac OS 10.4 server and setup the site there, putting the default (*) at the bottom. Hey, where is a catch-all entry for!? It belongs at the end, just like with a if/else/end - the last 'else' is the catch-all. But from that moment on, every site landed on my newly created domain, so I quickly swapped the two site entries so that the catch-all was the first one again. Now it worked.

So I made a whole plan : setup a subdomain on one afternoon and check if it works the next morning. This way I set some others up on this 10.4 server and they all work.

Then comes the day I needed to setup the same construct on a Mac OS 10.5 Server. So I deleted the website forwarding entry, created the A-record, created the site on the OS X server, leaving the catch-all at the top and waited until the next morning. The domain name worked all right, but landed on /library/webserver/documents/ (the www-root) instead of the path I put into the site. I have been struggling for two days with this 10.5 server. I checked and double checked, changed the site's path, etc.. Nothing worked, it kept landing on the webroot. And today I thought, what if I swap the site entries and put the default (*) at the bottom (as I did at first on the 10.4 server) and ... it worked! I tested the other sites which have no domain name yet (website forwarding) and they all work ok.

So the order for site entries on MacOS 10.4 Server differs from MacOS 10.5 Server. You can see that in the
sites folder inside the Apache folder (/etc/httpd/ on 10.4 and /etc/apache2/ on 10.5). Sites are loaded by including sites/*.conf and the order is determined by the name of the conf-files (10.5 example):

-rw-r--r-- 1 root wheel 1659 Nov 1 17:12 sites/0000_any_80_my.site.com.conf
-rw-r--r-- 1 root wheel 1857 Nov 1 17:12 sites/0001_any_80_default.conf
-rw-r--r-- 1 root wheel 566 Nov 1 17:12 sites/virtual_host_global.conf


So it seems on 10.5 the catch-all sites are loaded last.
View Comments
 

Reading comics and self-scanned books on iPhone or iPod Touch

Today I switched my comic book reader on my iPhone from ComicZeal to MyComics to ComicReader Mobi. I found that the last one has the same functionality as the other two + a lot more. No conversion of files, no separate uploader - you can use any FTP-client, simply upload your folders so you have the same arrangement as in the Finder (yes, I use a Mac).

I use Transmit as the FTP client and created a favourite to my iPhone, then dragged the favourite to my books folder so it's accessible from there.
Screenshot2009-10-20at16.20.45-2009-10-20-16-14

The only thing with ComicReader Mobi is that it doesn't handle files with special characters in the file name (yet) : é, è, etc. simply block the ftp transfer. On the forum I read that an update which addresses this issue is on its way.

A comic book reader is nothing more than an image-viewer which views images stored in a ZIP-file. This simple fact means you can read any book with a comic book reader as long you do not OCR your scans into a text document. For example, I am scanning De Saint pocket books. The scanned images are named in sequence : IMG_0000.jpg, IMG_0001.jpg, and so on. The folder name is the name of the story. Thus, when I zip the folder and change the extension in .cbz (ComicBookZip; so a zip file doesn't get opened with the standard zip-utility), I can read the book in any comic book reader, also those on iPhone or iPod Touch! The advantage of not OCR-ing pocket books is that these kind of books have small pages and can therefore be read quite good on an iPhone or iPod Touch in landscape mode, and you also retain the layout, page numbers and possible images in the book.
iphone-2009-10-20-16-14
View Comments
 

ScreencastsOnline

Don McAllister of ScreenCastsOnline made a great show this weekend on the new Services-setup in Snow Leopard. Check it out here. BTW, Don has a lot of good podcasts on Mac software - a must-view for Mac users! Very useful tips for those, like me, who rarely use the Services or Automator!
 
View Comments
 

SetEXIFData 2.4

A new version of SetEXIFData is on-line. You can find it here.
View Comments
 
See Older Posts...
© 1997- Marc Vos (and others) Contact Me