preload
Feb 14

I downloaded Eclipse Version: 3.3.1.1 Build id: M20071023-1652 and built the client’s project. Everything was fine… It was fast, stable, and there were no configuration differences between the three supportive platforms. One day I hit the shortcut key for Open Resource (Apple/Command + Shift + R ), typed in a file name, hit enter and boom… first crash. Now, every time I want to use that feature Eclipse crashes on my session. The dialog box opens, I can type a file name and hit enter but before the file opens it crashes.

Looking at the crash log in ~/Library/Logs/CrashReporter/ and they are all very similar to this:


Process: eclipse [6516]
Path: /Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse
Identifier: org.eclipse.eclipse
Version: 3.3 (3.3)
Code Type: X86 (Native)
Parent Process: launchd [156]


Date/Time: 2008-02-15 14:27:50.676 -0800
OS Version: Mac OS X 10.5.2 (9C31)
Report Version: 6


Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000000002ac
Crashed Thread: 0

Wondering if anyone else has seen this or knows of a fix.

Background:
The Eclipse IDE was working perfect for me on Mac OS X… Actually I always used it on Linux only because the Mac OS X version always a little weaker (from a stability perspective) and my PowerBooks were a little slower than my PCs. Now I have a 17″ 2.33GHz MacBook Pro with 2gb of ram.. and I figured I would give it shot as Eclipse has come a long way…

Tagged with:
Dec 04

Oh my god. Thank God that is over. For months I have been wanting to get Samba working with Mac OS X. I could never figure it out and figured that Tiger’s smb compatibility was flawed. But today I finally sat down and worked it out. Here is what I did and I am including a sample working smb.conf file.

First. I upgraded my Fedora Core 4′s samba to 3.0.23a. That version seems to work with my Leopards installed version of 3.0.25b. By the way, to get your smb version from Mac OS X run smbd –version. To find your linux’s box samba version try this:

[root@hp cups]# rpm -aq | grep samba
samba-3.0.23a-1.fc4.1
samba-common-3.0.23a-1.fc4.1
system-config-samba-1.2.31-1
samba-client-3.0.23a-1.fc4.1
[root@hp cups]#

Then I edited the file with the help of this page:
http://ubuntuforums.org/showthread.php?t=597112
See below for smb.conf file

Then I logged onto the Linux box and confirmed that I could print locally to my printer. I started cups and configured it. This part just worked so I can’t go into too much detail but I did make one change. I opened /etc/cups/cups.conf and had an allow line for my computers ip in the printer deceleration section. In my case this was needed or else the computer wanting to print got a ‘Forbidden’ in the queue. It looks like this:

<Location /printers/hp>
Encryption IfRequested
Satisfy All
Order allow
Allow From 192.168.1.4
Allow From 192.168.1.3
</Location>

Then I add the printer as a IPP printer in Mac OS X:

Picture 2.png

And it all worked! My biggest hurdle was the smb.conf file…. no matter what I tried I could not get it working. Hopefully this sample working file will give you a good start.

Sample working smb.conf file:

smb.conf

You can also see:
http://n8agrin.com/2007/10/31/configuring-leopard-to-print-to-password-protected-samba-printers/

Tagged with:
Sep 29

20+ Tools For Working With AJAX: “

    ajaxtools1.PNG

AJAX may be an overused buzzword, but it also has some incredibly cool uses within your websites. We’ve rounded up the best AJAX tools for your perusal – free feel to add more suggestions in the comments. (more…)

Recommended: MySpace News – MySpace Launching News Site

(Via Mashable!.)

Sep 26

Our network administrator updated our DNS setting this morning and when I tried to launch Eclipse over X11 to my Mac I got the follow error:

_X11TransSocketINETConnect() can’t get address for localhost:6010: Name or service not known

Googled the error and tried a couple of things but what fixed it was a simple updated to the host machines /ete/hosts file. Add the follow if it is missing:


127.0.0.1 localhost
::1 localhost

The reload sshd:


/etc/init.d/sshd reload

Sep 25

I installed Parallels and noticed when I right click on a file on the Mac OS X side there is now bunch of Windows applications under ‘Open With’ menu.

This is compliments of their ‘SmartSelect’ feature. I like the idea but I don’t like seeing Microsoft anything on my Mac Side. It ruins the experience.

To clear the application Parallels recommends you:

You need to open the virtual machine folder, delete the “Windows Applications” folder, and disable “Share Windows Applications to Mac” under the “Shared Applications” options in the virtual machine configuration.

That did not work for me even after a restart or two. The applications were still listed in the menu. However now, when I click on one Mac OS X said the application cannot be found…. So the menu need a rebuild and this command did the trick:

/System/Library/Frameworks/ApplicationServices.framework/\
Frameworks/LaunchServices.framework/Support/lsregister \
-kill -r -domain local -domain system -domain user

Via: http://www.macosxhints.com/article.php?story=20031215144430486

It rebuilt the ‘Open With’ menu and cleared out all the old applications. Genius!

Sep 21

A little while ago I post a write up a about Web Development Tools for Internet Explorer. If you take a look at the tools they, or even a combination, don’t come close to the Web Developer Tool Kit Chris Pederick for Firfox.

One of the main features that I love is the ability to edit css on the fly… because.. who the hell knows what IE is thinking… Well it looks like there finally is something to fill that gap:

CSSVista – Edit your CSS code live on Internet Explorer and Firefox – Litmus

Enjoy! :)

Sep 12

So I hate IE and all things Microsoft… Who doesn’t ( Um, except for my 360 but that has a G5 chip in it and was developed with help of Mac OS X so I can live with myself).

The fact remains that we have to develop web applications for IE no matter how far off the standards they are… and because they are soo far off us web developers need a lot of help trying to find out what standard, if any, they are actually following. Here is a list of tools to help you. From Microsoft TechEd 2007: Web Development Tools for Internet Explorer:

IE Developer Toolbar
Provides a variety of tools for quickly creating, understanding, and troubleshooting webpages.

Demos:
Planning/experimentation with the IE Developer Toolbar
CSS Debugging with the IE Developer Toolbar

IEWatch
Provides detailed information about the inner workings of webpages and tools to modify them.

Demos:
Edit CSS live (rapid prototyping) with IEWatch
Script debugging with IEWatch
HTTP Monitoring with IEWatch
HTTP Profiling with IEWatch
Other IEWatch demos

DebugBar
Provides powerful features to help you inspect the DOM, HTTP traffic, Javascript, and much more.’

Demo:
Quickly determine rendering mode with DebugBar

Visual Web Developer Express
Provides a fun, easy-to-use, easy-to-learn tool for new web Developers looking to build dynamic web applications.

Demo:
Script debugging with Visual Web Developer Express

Nikhil’s Web Development Helper
Provides a set of useful tools for AJAX/Javascript developers as well as ASP.NET and control developers.

Demo:
HTTP monitoring and better script errors with Nikhil’s Web Development Helper

Fiddler
HTTP debugging proxy for virtually any Windows application.

Demos:
HTTP Monitoring with Fiddler
HTTP Profiling with Fiddler
HTTP Debugging with Fiddler: AutoResponder and Fiddling

AjaxView
Client- or server-side proxy that instruments javascript to capture profiling data.

Demo:
JScript Profiling with AjaxView (see Cyra Richardson’s MIX07 talk for the rest of her presentation on script performance)

Developer Tools on Windows Marketplace
Even more developer tools to explore.

(Via IEBlog.)

Aug 27

Ultimate Web Development Cheat Sheets: “So your sitting there on Saturday morning, sipping on a nice warm cup of coffee or tea, smell the freshness of the morning, and whipping up some html, CSS and trying out some new AJAX programming. Your stuck on something, you wish you had a quick cheat sheet to get you back on track.”

(Via Real Software Development.)

Jul 29

Couple of good links here…

Web Development Toolbox: 120+ Web Development Resources: “

    webdevelopmenttoolbox.PNG

As rewarding as web development is, it can also be a pain sometimes, especially if you spend half your time looking for the right tools and resources. Well, we’ve done the work for you with this one, and have compiled a list of over 120 web development resources to make your life easier. (more…)

Recommended: MySpace MP3 Player at Mashcodes!

(Via Mashable!.)

Jun 27

The ComponentAfter looking for some time for a multiple select form component with multiple columns a co-worker and I decide to build one using tables and CSS.

This is an excellent resource as well:
http://www.askthecssguy.com/2006/12/row_locking_with_css_and_javas.html

test.html

Mac Users can hold down alt to multi select and Windows users should hold down ctrl.