Because 1and1 are asses when it comes to allowing SMTP (and other things), I switched my blog over to the WONDERFUL WebFaction hosting service. I also gave the blog a needed facelift with the LightWord theme.
Because 1and1 are asses when it comes to allowing SMTP (and other things), I switched my blog over to the WONDERFUL WebFaction hosting service. I also gave the blog a needed facelift with the LightWord theme.
If you look at reviews for this otherwise nice, small A/C unit, you’ll see lots of people complaining about a loud beep every time you press a button on the unit or the remote (e.g. changing fan speed or temperature). It’s a high pitched, noisy, piercing, annoyingly loud beep, which wakes spouses and babies. I know of no way to disable or turn off this “feature”. I looked for a wiring diagram and didn’t find anything promising, so I decided to slightly disassemble the unit and hope to find a speaker. I wound up fixing it and here’s how you can to!:
Time required: about 10-15 minutes
Skills required: Basic Handyman. Having said that, here’s my disclaimer: Only skilled, certified electricians should attempt to fix electronic equipment. These units may contain capacitors which hold electric charge. Do not touch any of the electronics. I am absolutely not responsible for loss of property or person, damage to this unit or your cat, accuracy of these instructions, nor do I guarantee that this will even work. Opening this unit may void the warranty.
Steps:
NOTES:
Good Luck!
I have an Apple Airport Extreme wireless router. Because I have an iPhone (it can’t connect via 802.11n), I had to have my Airport Radio Mode set to “802.11n (802.11b/g compatible)”, which means when the iPhone was connected (and maybe at other times) the Airport was broadcasting at the slower b/g protocol speeds. Well, I also have a spare Linksys WRT54G v2.0 wireless router. So, I flashed it with dd-wrt firmware, and following these instructions I’ve configured the Linksys as a Wireless Access Point (WAP) and connected an ethernet cable from one of its LAN ports to a LAN port on the Airport (serving as the “main router”). I now have a 802.11g router (Linksys) for my iPhone to connect to, and my Airport’s Radio Mode is now set to “802.11n (5 GHz)” for my Macbook Pro and Macbook to connect to at their fastest speeds. Goodness.
How to get rid of that annoying dashed line around objects when clicking in Firefox:

In the url Location Bar, type ‘about:config’.
Then in the filter box, type ‘browser.display.focus_ring_width’.
Set its value from 1 to 0.
Shameless plug for the writings of my grandfather, Arthur Tolstrup, at http://tolstrup.us. You’ll find stories and pictures of him growing up in the midwest in the early part of the 20th century.
The Google team about a year ago added IMAP services to gmail. This is a great way to be able to manage your mail from several different places (e.g. client software at work, and web based gmail page on the road) and have everything automatically be in sync.
I’m also a big fan of the open source Thunderbird email client. But there is one annoying thing using these two together: when you have a message selected and press ‘delete’, normally this sends the message to Thunderbird’s trash (which completely removes it from Gmail), but in this case, you want to send it to Gmail’s trash.
There was a configuration setting you could try, to send the message to [Gmail]/Trash, but Google doesn’t recommend it (see ‘UPDATE 2, Nov 8th’ here). Instead you are supposed to move (e.g. drag-and-drop) the message to the [Gmail]/Trash folder manually. Well, that’s not too convenient when you have a lot of folders. So, what I’ve found is an add-on QuickFolders which will easily make a shortcut to that folder (and others) so that you can more easily drag-n-drop to send that message to gmail’s ‘Trash’.
Trying to use the Imagemagick toolbox (for me, installed via MacPorts) sometimes doesn’t work (for example, converting a png image) in Matlab because Matlab for some reason uses the libraries in its path over those given in system call (this is for Mac, but probably for *nix and maybe even Windows).
This is an example call:
[s,w] = system([IMAGEMAGICK_PATH,'convert ',pwd,'/',outfile,'.png -rotate 90 ',pwd,'/',outfile,'.png']);
This is the error:
error:
dyld: Library not loaded: /opt/local/lib/libtiff.3.dylib
Referenced from: /opt/local/bin/convert
Reason: Incompatible library version: convert requires version 12.0.0 or later, but libtiff.3.dylib provides version 11.0.0
The work around is to replace the Matlab library with the ImageMagick one (only need to do this once and will stay until you upgrade Matlab):
cd /Applications/MATLAB74/bin/maci/ (or wherever your Matlab is installed)
mv libtiff.3.7.1.dylib libtiff.3.7.1.dylib.MATLAB (give it a different name)
ln -s /opt/local/lib/libtiff.3.dylib libtiff.3.7.1.dylib (create a soft link to the Imagemagick library file)
EDIT: This is the much better way to handle this:
setenv(‘DYLD_LIBRARY_PATH’,['/opt/local/lib/:' getenv('DYLD_LIBRARY_PATH')])
I have a rev B (Core 2 Duo from Dec, 2006) Apple MacBook Pro laptop running Leopard OS X (version 10.5.2) and have Matlab version 7.5.0.338 (R2007b). I’ve just found that I can NOT use the built-in serial port object, instead, I get the following error:
java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver
??? Error using ==> serial.serial at 57
The serial port object is supported on the Solaris, 32-bit Windows and 32-bit Linux platforms only.
So, to get it successfully working, I downloaded these files: SerialComm.m, SerialComm.mexmac and SerialComm.mexmaci from http://svn.berlios.de/svnroot/repos/osxptb/stable/Psychtoolbox/PsychHardware/.
You can then use code like this:
PORT = 1;
% close (if previously open)
SerialComm( ‘close’, PORT)
% open
SerialComm(‘open’,PORT,’9600,n,8,1′)
% flush the buffers
SerialComm( ‘purge’, PORT)
% status
SerialComm( ‘status’, PORT)
% read
STR = SerialComm( ‘readl’, PORT);
% close
SerialComm( ‘close’, PORT)
[UPDATE 02 Apr, 2008]: Note, this same code didn’t seem to work on a recently purchased Macbook. Good luck.
[UPDATE 27 Mar, 2009]: I see that in Matlab version 7.8.0 (R2009a) if you go to ‘serial’ in Help docs it now says for Mac OS X and Mac OS X 64 you can use serial(‘/dev/tty.KeySerial1′); I don’t have a way of testing that right now, but it’s possible that you don’t need to use this third party toolkit anymore. If that’s true, please leave a note here.
With a fresh install of MacPorts version 1.6.0 on Mac OS X 10.5.2 Leopard, then issuing the command:
sudo port install tcl
returned:
/usr/local/include/mach-o/arch.h:35: error: nested redefinition of ‘enum NXByteOrder’
/usr/local/include/mach-o/arch.h:35: error: redeclaration of ‘enum NXByteOrder’
/usr/local/include/mach-o/arch.h:36: error: redeclaration of enumerator ‘NX_UnknownByteOrder’
/usr/include/architecture/byte_order.h:137: error: previous definition of ‘NX_UnknownByteOrder’ was here
/usr/local/include/mach-o/arch.h:37: error: redeclaration of enumerator ‘NX_LittleEndian’
/usr/include/architecture/byte_order.h:138: error: previous definition of ‘NX_LittleEndian’ was here
/usr/local/include/mach-o/arch.h:39: error: redeclaration of enumerator ‘NX_BigEndian’
/usr/include/architecture/byte_order.h:140: error: previous definition of ‘NX_BigEndian’ was here
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c: In function ‘TclpFindSymbol’:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:382: warning: ‘NSLookupSymbolInImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:182)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:415: warning: ‘NSLinkEditError’ is deprecated (declared at /usr/include/mach-o/dyld.h:217)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:419: warning: ‘NSLookupSymbolInModule’ is deprecated (declared at /usr/include/mach-o/dyld.h:181)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:428: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c: In function ‘TclpUnloadFile’:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:493: warning: ‘NSUnLinkModule’ is deprecated (declared at /usr/include/mach-o/dyld.h:169)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c: In function ‘TclpLoadMemory’:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:697: warning: ‘NSCreateObjectFileImageFromMemory’ is deprecated (declared at /usr/include/mach-o/dyld.h:146)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:730: warning: ‘NSLinkModule’ is deprecated (declared at /usr/include/mach-o/dyld.h:161)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:732: warning: ‘NSDestroyObjectFileImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:147)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.1/unix/../unix/tclLoadDyld.c:740: warning: ‘NSLinkEditError’ is deprecated (declared at /usr/include/mach-o/dyld.h:217)
make: *** [tclLoadDyld.o] Error 1
I searched the web and found suggestions to deactivate odcctools, but the problem in my case is that odcctools wasn’t even installed. So, instead what I did was temporarily move the arch.h file, rerun the install command, and it worked fine!
sudo mv /usr/local/include/mach-o/arch.h /usr/local/include/mach-o/arch.h.RENAMED