Some first test using the OpenSolaris live CD in VirtualBox. It helps testing the things directly you read about.
zpool create mypool c3d0
start pool with ony one disk
Created in /mypool a directory and some testfiles.
zpool attach mypool c3d0 c3d1
add a second disk as mirror
zpool detch mypool c3d0
now only the second drive exists in the pool
the data was mirrod to this drive
after reboot "mount" the pool with
zpool import mypool
use -f if the pool was not properly "exported" before
Sonntag, März 15, 2009
Sonntag, März 08, 2009
some new Java build tools
Reading an article about The future of Java build tools, I started to think what this means for me.
So far I needed only to modify build processes using Makefiles and perl scripts. Our "new" (4 years old) company project I'm involved, in uses ant for the complete build. Down the chain where my code (C++) is located, still Makefiles are used.
On Java projects at home, eclipse is doing all the work for me.
Some of the new build tools define the rules in a script language like Gradle in Groovy or Raven in Ruby. Looking deeper into one of this makes only sense for me in the case
This build tools are very new and only time will tell if the concept of defining the build rules in a script language will succeed. For me it makes more sense to use a declarative build rule description every one knows and add if needed scripts in a language also every one in the projects knows.
My conclusion is to look deeper into ant as we use it in the project at work. It might also get handy in my private Java projects with eclipse.
Some wikipedia links to start
So far I needed only to modify build processes using Makefiles and perl scripts. Our "new" (4 years old) company project I'm involved, in uses ant for the complete build. Down the chain where my code (C++) is located, still Makefiles are used.
On Java projects at home, eclipse is doing all the work for me.
Some of the new build tools define the rules in a script language like Gradle in Groovy or Raven in Ruby. Looking deeper into one of this makes only sense for me in the case
- we use one in a project
- I know already the used script language
- it becomes the successor of make and ant
This build tools are very new and only time will tell if the concept of defining the build rules in a script language will succeed. For me it makes more sense to use a declarative build rule description every one knows and add if needed scripts in a language also every one in the projects knows.
My conclusion is to look deeper into ant as we use it in the project at work. It might also get handy in my private Java projects with eclipse.
Some wikipedia links to start
Montag, Februar 02, 2009
Darlington-Arrays ULN2x0y
To easily switch loads from a microcontroller the Darlington-Arrays ULN2803 from SGS-Thomson are used. But there exists different types like ULN2003 or ULN2801. What are the differences?
ULN200y has 7 (16 pin) and ULN280y (18 pin) has 8 switches. Both have a integrated suppression diode for each switch. Each switch is able to provide 500mA.
The "y" is for the different logic families:
There are also the ULN2064, ULN2066, ULN2068, ULN2070, ULN2074, ULN2076. This contain only four Darlington switches, but are able to switch up to 1.5A at 50V.
ULN200y has 7 (16 pin) and ULN280y (18 pin) has 8 switches. Both have a integrated suppression diode for each switch. Each switch is able to provide 500mA.
The "y" is for the different logic families:
- ULN2x01
- General Purpose, DTL, TTL, PMOS, CMOS
- ULN2x02
- 14-25V PMOS
- ULN2x03
- 5V TTL,CMOS
- ULN2x04
- 6–15V CMOS, PMOS
There are also the ULN2064, ULN2066, ULN2068, ULN2070, ULN2074, ULN2076. This contain only four Darlington switches, but are able to switch up to 1.5A at 50V.
Dienstag, Januar 20, 2009
again password storage for different devices
I'm stll not sure what tool to use. Played a little bit with KeePassX and PasswordSafeSWT on the Mac.
KeePassX works fine but the main development moved on to version 2. The new version has some nice features but unfortunately uses .NET. It should run with Mono under OS X and Linux. But I'm not sure if I want to install the compete framework only for a password manager. Also running on other devices, like Palm and Phones is only version 1.
Bye the way KeePass doesn't run on Palm. There exists a converter for V1 and V2 data Keyring. As mentioned before Keyring was not updated since 2005. Also it stores the data with triple-DES using a 112 bit key. This is not really insecure, but better not to be used any more.
PasswordSafeSWT could only access a view groups of my key storage. PasswordSafe and MyPasswordSafe don't have this problem. Generating the storage new didn't solve the problem. And now new version (0.6 from Jan 2007).
An other PasswordSave V3 compatible program is Password Gorilla. It also runs under Linux and Mac. Unfortunately the latest version is from 2006.
Found LockCrypt with is available as Java on Mac and J2ME. I will test this.
There is a Ruby Tool to access different password containers. There are descriptions of the different formats. Will also search for a Perl tool like this.
KeePassX works fine but the main development moved on to version 2. The new version has some nice features but unfortunately uses .NET. It should run with Mono under OS X and Linux. But I'm not sure if I want to install the compete framework only for a password manager. Also running on other devices, like Palm and Phones is only version 1.
Bye the way KeePass doesn't run on Palm. There exists a converter for V1 and V2 data Keyring. As mentioned before Keyring was not updated since 2005. Also it stores the data with triple-DES using a 112 bit key. This is not really insecure, but better not to be used any more.
PasswordSafeSWT could only access a view groups of my key storage. PasswordSafe and MyPasswordSafe don't have this problem. Generating the storage new didn't solve the problem. And now new version (0.6 from Jan 2007).
An other PasswordSave V3 compatible program is Password Gorilla. It also runs under Linux and Mac. Unfortunately the latest version is from 2006.
Found LockCrypt with is available as Java on Mac and J2ME. I will test this.
There is a Ruby Tool to access different password containers. There are descriptions of the different formats. Will also search for a Perl tool like this.
Montag, Dezember 08, 2008
burn ISO image on Mac OS X
This is my step by step instruction based on this Mac OS X Hints article and its comments.
on command line:
with the GUI:
on command line:
- hdiutil burn image.iso
with the GUI:
- insert blank disk and select Disk Utility to be opened
- cmd-B or press Icon Burn or menu Images - Burn
- select the .iso or .dmg image and click Burn
- confirm the drive to be used
Abonnieren
Posts (Atom)