I finally took the time to work on the issue that has been killing me from the begining. I could not switch away from my DisplayPort otherwise my monitor would enter in Power Save mode.
See my post:
http://www.mail-archive.com/debian-user@lists.debian.org/msg551758.html
http://www.mail-archive.com/debian-user@lists.debian.org/msg560095.html
Yesterday I finally found this post:
http://www.nvnews.net/vbulletin/showthread.php?t=135751
And today I decide to get my hand at patching the nvidia-graphics-drivers debian package. See my patch at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557913
I simply had to dpkg -i install the kernel source, then I followed my own instructions:
http://malatsblog.blogspot.com/2009/11/nvidia-on-debian.html
I did the module-assistant dance ... it worked out nicely !
I can finally switch to my mac mini on DVI and then back to my debian station on DisplayPort.
Cheers
Wednesday, November 25, 2009
Tuesday, November 24, 2009
Doing UTF-16 on Win system
Conventional wisdom is retarded, aka What the @#%&* is _O_U16TEXT?
http://blogs.msdn.com/michkap/archive/2008/03/18/8306597.aspx
http://blogs.msdn.com/michkap/archive/2008/03/18/8306597.aspx
Educate to Innovate
From the white house:
http://www.whitehouse.gov/the-press-office/remarks-president-education-innovate-campaign
http://www.whitehouse.gov/the-press-office/remarks-president-education-innovate-campaign
Monday, November 23, 2009
Installing CMake on MacOSX from the command line
I did not want to following instructions from:
http://www.boost.org/doc/libs/1_40_0/doc/html/quickbook/install.html
as it painful from an admin point of view. Instead using macports this was a no-brainer:
$ sudo /opt/local/bin/port -v selfupdate
---> Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/
receiving file list ... done
sent 36 bytes received 417227 bytes 119218.00 bytes/sec
total size is 29398873 speedup is 70.46
---> Updating MacPorts base sources using rsync
receiving file list ... done
sent 36 bytes received 6869 bytes 2762.00 bytes/sec
total size is 4021380 speedup is 582.39
MacPorts base version 1.8.1 installed,
MacPorts base version 1.8.1 downloaded.
---> MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you should run
port upgrade outdated
$ sudo /opt/local/bin/port install boost
---> Computing dependencies for boost
---> Fetching boost-jam
---> Attempting to fetch boost-jam-3.1.17.tgz from http://mesh.dl.sourceforge.net/boost
---> Verifying checksum(s) for boost-jam
---> Extracting boost-jam
---> Applying patches to boost-jam
---> Configuring boost-jam
---> Building boost-jam
---> Staging boost-jam into destroot
---> Installing boost-jam @3.1.17_0
---> Activating boost-jam @3.1.17_0
---> Cleaning boost-jam
---> Fetching bzip2
---> Attempting to fetch bzip2-1.0.5.tar.gz from http://www.bzip.org/1.0.5
---> Verifying checksum(s) for bzip2
---> Extracting bzip2
---> Applying patches to bzip2
---> Configuring bzip2
---> Building bzip2
---> Staging bzip2 into destroot
---> Installing bzip2 @1.0.5_3+darwin
---> Activating bzip2 @1.0.5_3+darwin
---> Cleaning bzip2
---> Fetching zlib
---> Attempting to fetch zlib-1.2.3.tar.bz2 from http://www.gzip.org/zlib/
---> Verifying checksum(s) for zlib
---> Extracting zlib
---> Applying patches to zlib
---> Configuring zlib
---> Building zlib
---> Staging zlib into destroot
---> Installing zlib @1.2.3_3
---> Activating zlib @1.2.3_3
---> Cleaning zlib
---> Fetching boost
---> Attempting to fetch boost_1_41_0.tar.bz2 from http://mesh.dl.sourceforge.net/boost
---> Verifying checksum(s) for boost
---> Extracting boost
---> Applying patches to boost
---> Configuring boost
---> Building boost
---> Staging boost into destroot
---> Installing boost @1.41.0_0
---> Activating boost @1.41.0_0
---> Cleaning boost
http://www.boost.org/doc/libs/1_40_0/doc/html/quickbook/install.html
as it painful from an admin point of view. Instead using macports this was a no-brainer:
$ sudo /opt/local/bin/port -v selfupdate
---> Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/
receiving file list ... done
sent 36 bytes received 417227 bytes 119218.00 bytes/sec
total size is 29398873 speedup is 70.46
---> Updating MacPorts base sources using rsync
receiving file list ... done
sent 36 bytes received 6869 bytes 2762.00 bytes/sec
total size is 4021380 speedup is 582.39
MacPorts base version 1.8.1 installed,
MacPorts base version 1.8.1 downloaded.
---> MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you should run
port upgrade outdated
$ sudo /opt/local/bin/port install boost
---> Computing dependencies for boost
---> Fetching boost-jam
---> Attempting to fetch boost-jam-3.1.17.tgz from http://mesh.dl.sourceforge.net/boost
---> Verifying checksum(s) for boost-jam
---> Extracting boost-jam
---> Applying patches to boost-jam
---> Configuring boost-jam
---> Building boost-jam
---> Staging boost-jam into destroot
---> Installing boost-jam @3.1.17_0
---> Activating boost-jam @3.1.17_0
---> Cleaning boost-jam
---> Fetching bzip2
---> Attempting to fetch bzip2-1.0.5.tar.gz from http://www.bzip.org/1.0.5
---> Verifying checksum(s) for bzip2
---> Extracting bzip2
---> Applying patches to bzip2
---> Configuring bzip2
---> Building bzip2
---> Staging bzip2 into destroot
---> Installing bzip2 @1.0.5_3+darwin
---> Activating bzip2 @1.0.5_3+darwin
---> Cleaning bzip2
---> Fetching zlib
---> Attempting to fetch zlib-1.2.3.tar.bz2 from http://www.gzip.org/zlib/
---> Verifying checksum(s) for zlib
---> Extracting zlib
---> Applying patches to zlib
---> Configuring zlib
---> Building zlib
---> Staging zlib into destroot
---> Installing zlib @1.2.3_3
---> Activating zlib @1.2.3_3
---> Cleaning zlib
---> Fetching boost
---> Attempting to fetch boost_1_41_0.tar.bz2 from http://mesh.dl.sourceforge.net/boost
---> Verifying checksum(s) for boost
---> Extracting boost
---> Applying patches to boost
---> Configuring boost
---> Building boost
---> Staging boost into destroot
---> Installing boost @1.41.0_0
---> Activating boost @1.41.0_0
---> Cleaning boost
Installing macport
http://www.macports.org/install.php#pkg
$ curl -O http://distfiles.macports.org/MacPorts/MacPorts-1.8.1-10.6-SnowLeopard.dmg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 431k 100 431k 0 0 148k 0 0:00:02 0:00:02 --:--:-- 209k
dhcp-67-178:Software mathieu$ hdiutil attach ./MacPorts-1.8.1-10.6-SnowLeopard.dmg
Checksumming Protective Master Boot Record (MBR : 0)…
Protective Master Boot Record (MBR :: verified CRC32 $3A3AE94A
Checksumming GPT Header (Primary GPT Header : 1)…
GPT Header (Primary GPT Header : 1): verified CRC32 $CA2CC8A2
Checksumming GPT Partition Data (Primary GPT Table : 2)…
GPT Partition Data (Primary GPT Tabl: verified CRC32 $395B8734
Checksumming (Apple_Free : 3)…
(Apple_Free : 3): verified CRC32 $00000000
Checksumming disk image (Apple_HFS : 4)…
............................................................................................................................................................................................................................................................................
disk image (Apple_HFS : 4): verified CRC32 $260D55ED
Checksumming (Apple_Free : 5)…
(Apple_Free : 5): verified CRC32 $00000000
Checksumming GPT Partition Data (Backup GPT Table : 6)…
GPT Partition Data (Backup GPT Table: verified CRC32 $395B8734
Checksumming GPT Header (Backup GPT Header : 7)…
GPT Header (Backup GPT Header : 7): verified CRC32 $E963A641
verified CRC32 $1EEE11CE
/dev/disk4 GUID_partition_scheme
/dev/disk4s1 Apple_HFS /Volumes/MacPorts-1.8.1
$ cd /Volumes/MacPorts-1.8.1
$ sudo installer -pkg MacPorts-1.8.1.pkg -target /
installer: Package name is MacPorts-1.8.1
installer: Installing at base path /
installer: The install was successful.
$ sudo port -v selfupdate
sudo: port: command not found
Hum looks like my .profile was not copied as expected (*)
(*) http://guide.macports.org/#installing.shell
http://www.macports.org/install.php#pkg
$ curl -O http://distfiles.macports.org/MacPorts/MacPorts-1.8.1-10.6-SnowLeopard.dmg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 431k 100 431k 0 0 148k 0 0:00:02 0:00:02 --:--:-- 209k
dhcp-67-178:Software mathieu$ hdiutil attach ./MacPorts-1.8.1-10.6-SnowLeopard.dmg
Checksumming Protective Master Boot Record (MBR : 0)…
Protective Master Boot Record (MBR :: verified CRC32 $3A3AE94A
Checksumming GPT Header (Primary GPT Header : 1)…
GPT Header (Primary GPT Header : 1): verified CRC32 $CA2CC8A2
Checksumming GPT Partition Data (Primary GPT Table : 2)…
GPT Partition Data (Primary GPT Tabl: verified CRC32 $395B8734
Checksumming (Apple_Free : 3)…
(Apple_Free : 3): verified CRC32 $00000000
Checksumming disk image (Apple_HFS : 4)…
............................................................................................................................................................................................................................................................................
disk image (Apple_HFS : 4): verified CRC32 $260D55ED
Checksumming (Apple_Free : 5)…
(Apple_Free : 5): verified CRC32 $00000000
Checksumming GPT Partition Data (Backup GPT Table : 6)…
GPT Partition Data (Backup GPT Table: verified CRC32 $395B8734
Checksumming GPT Header (Backup GPT Header : 7)…
GPT Header (Backup GPT Header : 7): verified CRC32 $E963A641
verified CRC32 $1EEE11CE
/dev/disk4 GUID_partition_scheme
/dev/disk4s1 Apple_HFS /Volumes/MacPorts-1.8.1
$ cd /Volumes/MacPorts-1.8.1
$ sudo installer -pkg MacPorts-1.8.1.pkg -target /
installer: Package name is MacPorts-1.8.1
installer: Installing at base path /
installer: The install was successful.
$ sudo port -v selfupdate
sudo: port: command not found
Hum looks like my .profile was not copied as expected (*)
(*) http://guide.macports.org/#installing.shell
SVN and clear password
I could just not setup a regular cmake/ctest environment on a dashboard machine as our svn server had no anonymous user. I could not just use my username+password everywhere either.
It looks like now this is possible on Win32, MacOSX and finally most UNIX system:
http://blogs.open.collab.net/svn/2009/07/subversion-16-security-improvements.html
Yeah !
It looks like now this is possible on Win32, MacOSX and finally most UNIX system:
http://blogs.open.collab.net/svn/2009/07/subversion-16-security-improvements.html
Yeah !
Installing CMake on MacOSX from the command line
I thought I could just :
curl -O http://www.cmake.org/files/v2.8/cmake-2.8.0-Darwin-universal.dmg
hdiutil attach cmake-2.8.0-Darwin-universal.dmg
cd /Volumes/cmake-2.8.0-Darwin-universal
sudo installer -pkg cmake-2.8.0-Darwin-universal.pkg -target /
Oh well ... it still starts up a message box, where you have to click, yes I want the /usr/bin cmake symlink.
D'oh !
curl -O http://www.cmake.org/files/v2.8/cmake-2.8.0-Darwin-universal.dmg
hdiutil attach cmake-2.8.0-Darwin-universal.dmg
cd /Volumes/cmake-2.8.0-Darwin-universal
sudo installer -pkg cmake-2.8.0-Darwin-universal.pkg -target /
Oh well ... it still starts up a message box, where you have to click, yes I want the /usr/bin cmake symlink.
D'oh !
Subscribe to:
Posts (Atom)