my life

day to day

Archive for April, 2007

rtld(GNU_HASH) is needed

Sunday, April 29th, 2007

Just upgrade to glibc >= 2.5.90

add to del.icio.us    add to technorati favs   email this

GlusterFS 1.3 SPEC File for Fedora

Sunday, April 29th, 2007

Summary:  Clustered File Storage that can scale to peta bytes Name:   glusterfs Version:  1.3.0 Release:  pre2.4 License:  GPL v2 Group:    Applications/System Source0:  http://ftp.zresearch.com/pub/gluster/glusterfs/1.3/%{name}-%{version}-%{release}.tar.gz # Source0-md5:  5bf85e84e24220fee7579e89e9b002cc URL:    http://gluster.org/glusterfs.php BuildRequires:  bison BuildRequires:  flex BuildRequires:  fuse-devel BuildRequires:  glibc >= 2.5.90 Requires(post,preun): /sbin/chkconfig BuildRoot:  %{tmpdir}/%{name}-%{version}-%{release}-root-%(id -u -n)  %description GlusterFS is a clustered file-system capable of scaling to several peta-bytes. It aggregates various storage bricks over Infiniband RDMA or TCP/IP interconnect into one large parallel network file system. GlusterFS is one of the most sophisticated file system in terms of features and extensibility. It borrows a powerful concept called Translators from GNU Hurd kernel. Much of the code in GlusterFS is in userspace and easily manageable.

%prep %setup -q

%build %configure %{__make}

%install rm -rf $RPM_BUILD_ROOT

%{__make} install \   DESTDIR=$RPM_BUILD_ROOT

%clean rm -rf $RPM_BUILD_ROOT

%files %doc AUTHORS ChangeLog NEWS README COPYING %defattr(644,root,root,755) %attr(755,root,root) /sbin/mount.* %attr(755,root,root) /usr/sbin/%{name}* %dir %{_libdir}/%{name}/ %dir %{_datadir}/doc/%{name}/ %{_datadir}/doc/%{name}/examples/* %{_libdir}/%{name}/* %{_libdir}/lib%{name}* %{_sysconfdir}/%{name}/%{name}* %{_sbindir}/%{name}* /sbin/mount.* %define date  %(echo `LC_ALL=”C” date +”%a %b %d %Y”`) %changelog

add to del.icio.us    add to technorati favs   email this

unset(Segmentation Fault)

Saturday, April 28th, 2007

I admit that one of the main reasons jumped the PHP bandwagon is that I was lazy. So lazy that I even would forgoe best practices such as calling unset(…) on object properties in the destructor. . . I always figured that PHP interpreter would intrepret what I wanted it to do. In C++ ofcourse, youd blow your leg off immediately if you didn’t destroy your objects explicitly. Well, seems you can do the same thing in PHP, just takes a little bit more effort. I’ve had a mysterious segfault in my server that was solved today by properly applying unset. Leason learned!

add to del.icio.us    add to technorati favs   email this

X.Org 7.1 on Debian with FGLRX drivers

Thursday, April 26th, 2007

# download the latest ati installer wget https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8.36.5-x86.x86_64.run X_VERSION=x710 LANG=C LC_ALL=C sh ati-driver-installer-8.36.5-x86.x86_64.run --buildpkg Debian/unstable # install the source (tar.bz2 file will be placed in /usr/src) dpkg -i fglrx-kernel-source_8.36.5-1_i386.deb cd /usr/src tar -jvxf fglrx.tar.bz2  cd /usr/src/linux make-kpkg --append-to-version=-2-686-smp modules_image cd /usr/src # install the kernel module and xorg driver dpkg -i xorg-driver-fglrx_8.36.5-1_i386.deb dpkg -i fglrx-kernel-2.6.16-2-686-smp_8.36.5-1+2.6.16-686-10.00.Custom_i386.deb # reboot and check with fglrxinfo

add to del.icio.us    add to technorati favs   email this

Resist the urge to rationalize and justify inaction

Saturday, April 7th, 2007

Dr. Philip Zimbardo

add to del.icio.us    add to technorati favs   email this

YouTube for VCs

Saturday, April 7th, 2007

Get your 2 minutes of VC fame at http://vator.tv. Unfortunately, their current pitch competition is restricted to MIT alumni/students. Too bad we missed the Feb ‘07 cut off for the change to pitch Tim Draper, the founder of Draper Fisher Jurvetson.

 

From their news:
Vator.TV MIT Pitch-Palooza Contest: March 1 - April 30.

Welcome to Vator.TV’s third business plan video-pitch competition, called the MIT Pitch-Palooza Contest. The kick-off will be March 1. The winner of the video pitch contest will be flown to Silicon Valley to meet with vator angel investors, including Peter Thiel, co-founder of PayPal and investment whiz, and Georges Harik, early Google engineer. Additionally, the winner will be highlighted on vator.tv and be included in vator reports, a show on innovation, hosted by Peter Thiel and Bambi Francisco.
add to del.icio.us    add to technorati favs   email this

Grand Central + 1 Phone number 4 “life”

Saturday, April 7th, 2007

I haven’t found a service as cool as this for a long time. The way it works is this: you signup and get your own personal grand central (GC) phone number in your desired area code. I chose 310, Santa Monica. You can associate with this number, any number of other telephone numbers, for example your mobile phone and home phone. When someone calls your GC number, it will ring on all your other phones at the same time. Simply pick up the phone you wish to talk from. Then, if you decide you need to leave your house while on the phone, you can transfer the active call to your cell phone.

Maybe you get a lot of call “spam”. In this case, when the call comes in you can press a key on your phone to mark the call as “spam”. You will not receive any future calls from this number. Alternately, you can turn on call screening. With this feature enabled,  the caller is prompted for their name. The service then calls you and plays the recorded message. You can press a key to accept the call or decline the call.

The feature list is too numerous to describe in detail. In short, you can record active phone conversations, download your voice mails as MP3s or listen to them online, view call logs, have a direct call button on your website, have the amazon “callback” service, etc..

The service is free for early adopters. They plan to eventually charge for premium features. You can keep your number for life, but not sure how strong that guarantee is wrt the life span of internet startups. I hope this one is here to stay.

 http://www.grandcentral.com/

add to del.icio.us    add to technorati favs   email this