simple singularities

Selenium RC and Firefox issue in Snow Leopard

Filed under: apple, java — fri13th December 16, 2009 @ 10:22 pm

I just surprised that selenium rc 1.0.2 can’t launch firefox in snow leopard os. these all softwares are so famous in their fields. so it must be easy to solve this issue, but nope..

the problem is complicated, and i almost blow up my macbook’s hard drive by moving sqllite library..

there are many suggestions but none works. believe me, i try all. and this is the final solution that really works

http://jira.openqa.org/browse/SRC-743

there’s an attachment called snowleopard.patch file. you can apply it to the source of selenium-server.jar. and this can fix all the problem at once.

unalz in mac

Filed under: apple, programming — fri13th September 17, 2009 @ 12:03 pm

alzip format alz is the most wierd compression format, widely spread in korea. it’s some kind of disaster, why i have to use alz? only one thing good is it can split big files into pieces.

i usually use winrar in windows, but for alz format i have to install another one, like panzip. it’s the most thing i don’t like, so.. i found some good solution

download unalz from this link

http://www.kippler.com/win/unalz/

the usage is very simple

make posix
sudo mv unalz /usr/bin

actually unalz is included in port, but not compiled well in my snow leopard

sudo port install unalz

will show some error, please someone fix this issue ;-)

MacPorts issues in snow leopard, again

Filed under: apple, smalltalk — fri13th September 15, 2009 @ 6:52 am

i encountered the same trouble again.

like this:

dyld: Library not loaded: /opt/local/lib/db46/libdb-4.6.dylib
  Referenced from: /opt/local/bin/svn
  Reason: no suitable image found.  Did find:
        /opt/local/lib/db46/libdb-4.6.dylib: mach-o, but wrong architecture

this time, i manage to fix it. it was because snow leopard doesn’t use 32bit libraries. so you need to uninstall and rebuild all products for 64bit system. if you clean-install snow leopard, you don’t need to this.

1
2
port installed # listing installed software
sudo port -f uninstall installed

and install necessary program again :-)

for me:

1
2
sudo port install coreutils +with_default_names
sudo port install subversion

etc… etc…

you may need to reinstall macports 1.8.0 for snow leopard again, after uninstalling all programs

MacPorts issues in snow leopard

Filed under: apple — fri13th September 10, 2009 @ 8:51 pm

after upgrade to snow leopard, it became impossible to install some program using MacPorts system. the fix is very simple, just download new MacPorts from homepage and also download new xcode from ADC.

this is very simple, though downloading big file like xcode took some time..

and you know, we need to update whole system

1
sudo port -v selfupdate

it looks pretty easy till now, but..

if you try this..

1
sudo port upgrade installed

you got some error like this

dyld: Library not loaded: /opt/local/lib/libintl.8.dylib
  Referenced from: /opt/local/bin/ls
  Reason: no suitable image found.  Did find:
        /opt/local/lib/libintl.8.dylib: mach-o, but wrong architecture
Trace/BPT trap

what the heck! it is caused by wrong gettext, so we can solve it by this code…

1
2
sudo port activate gettext @0.17_3
sudo port uninstall gettext @0.17_4

i don’t know well, but automatic update is not done right now.. nayway it doesn’t that matter now.. so i’ll wait next version

mac, leopard, java 6, eclipse, intellij idea

Filed under: apple, programming — fri13th October 31, 2008 @ 2:38 pm

yesterday, i updated my mac and found 64 bit java 6 was included in this update.
it wasn’t default so i change the setting manually below /System/Library/…

and suddenly intelllij idea didn’t work.. and i found intellij use 1.5 by default.
and change it to 1.6 may not work right..

so i tried eclipse 3.4. but there was no 64bit java support eclipse for mac.

a bit frustrating.. so i reverted the change..
maybe i have to wait the next os, snow leopard, when the java 6 becomes default.

anyway, i made another java 6 directory and set JAVA_HOME there..
it works.. and intellij idea rus smoothly by using system default setting..
that’s enough to me..

safari3 in win & mac

Filed under: apple, firefox — fri13th November 17, 2007 @ 10:54 am

because firefox is too slow and heavy, i decided to use safari yesterday. i changed my default browser in my iMac and set some bookmarks. it worked great and looked very clean and neat. i may miss some functionality of firefox, like foxytunes. but it’s ok by now. it’s fast and that’s just what i’ve wanted for so long time.

and also i installed safari 3 public beta in my vista. but it’s not so good as Mac version. i found some bugs in encoding and felt some awkwardness in look-and-feel. and though it’s very fast, not so much fast as i expect compared to IE(when opening just few tabs).

I may wait till beta is over. but i don’t likely to use safari in my vista machine.. (i love my maxthon so much!)

vmware fusion rc1 bug

Filed under: apple — fri13th July 12, 2007 @ 11:49 am

i upgrade to rc1 today. i think parallels is also good, but vmware can share the virtual machine between linux/mac/windows. only one install is enough! and freeware vmware player is also a good solution for a hungry company. so  i decided to use vmware fusion from now..

and i installed windows xp sp2 in  new vmware fusion. the  damned blue screen is displayed in 100% case.  it seemed like win32k.sys has some trouble.. and what the hell is win32k.sys?

i found the solution by yahooing. set virtual machine’s memory to 128MB, and the installation went smooth. this situation is also occured in vmware player, too. i think it’s not desirable in rc1 software. i wish they fix this bug in normal version.

neo office for mac os x

Filed under: apple, want — fri13th March 29, 2007 @ 9:20 pm

neo office is a clone of OpenOffice for os x. i just downloaded and installed it. it looks perfect and does not  break page layout. that’s enough. there’s no need to buy MS Office any more. :-)

http://www.neooffice.org/

iphone & unobstrusive html

Filed under: apple, javascript, web2.0 — fri13th January 10, 2007 @ 11:12 am

as a mac user i see the anticipated iphone today. it’s a fantastic machine though somewhat expensive. it has an embedded safari browser, so i can see every normal site for pc through it. but it’s no surprise, in japan.  full browser support phone was sold since 2005 in this country.

my main job was related to the japan mobile market. so i aware the importance of unobstrusive web technique very early. where the mobile  technology  goes  advance, also old-fashioned html technique needed more. like bitmap graphic technique is needed in mobile game in this 3D Game age.

so, iphone will be prevailed in america and world-wide sooner or later. many competitive phones embedded brower will be available everywhere. and you know there’re more and more phones than pcs in the world. and that time, browser market share will be changed drastically. especially big fat ie will not be the major browser any more. i can’t even assure the position of firefox. safari or opera or customed browser(i.e. vodafone browser, docomo browser, qualcomm browser) who targeted mobile market from early days will be the champion of next browser war.

i thinks  it takes not so long time. as a web developer, we have to prepare sites for the limited resources. well-tuned tags & unobstrusive javascript and css support for small window and slow traffics. cookie may be unavailable, also. we have to focus on every html component, check every componenet is unobstrusive, not only javascript.

apple’s keyboard shortcut

Filed under: apple — fri13th January 5, 2007 @ 12:01 pm

since you can do many thing by keyboard short cut in apple, you can mistake so easily, also. yesterday i faced some trouble, because voice over is turned on, and contrast is up. i surprised and rebooted the pc, but no changes.. it’s because all universal access is available at keyboard short cut.

so turn off your keyboard shortcut, especially universal access, it’s useless and bug-pron.

everyday i learn something about my iMac. i think it’s good, because windows doesn’t provide this kind of customizing experience.

Next Page >>>