Today's Page Hits: 279
This page validates as XHTML 1.0, and will look much better in a browser that supports web standards, but it is accessible to any browser or Internet device. It was created using techniques detailed at glish.com/css/.
Ebook File Creation from HTML
Automatically generating ebook file formats from HTML. That is, generating Plain Text, PDF, PalmOS DOC PDB, zTXT, and Plucker from HTML on Solaris or other UNIX-class system[Read More]
Posted at 10:52PM Sep 01, 2007 by DanX in Solaris |
The Wrong Stuff
Book about Randy "Duke" Cunningham, convicted ex-congressman and Federal prisoner[Read More]
Posted at 11:13PM Jun 14, 2007 by DanX in Politics |
American Accent
Quiz that determins your American English accent.[Read More]
Posted at 03:12PM Dec 20, 2006 by DanX in General |
Solaris Wine
Solaris wine[Read More]
Posted at 09:51AM Dec 03, 2006 by DanX in General | Comments[1]
Using CUPS Print Server for Solaris 10
Using CUPS printing software with Solaris 10[Read More]
Posted at 11:51PM Nov 26, 2006 by DanX in Solaris | Comments[13]
Solaris laptop battery status
How to display the battery status from laptops running Solaris.[Read More]
Posted at 04:44PM Nov 26, 2006 by DanX in Solaris |
Mounting a Linux NFSv4 filesystem on Solaris
Fix for mounting a NFSv4 filesystem from Linux on Solaris (NFSv4 is broken on Linux)[Read More]
Posted at 08:53PM Nov 16, 2006 by DanX in Solaris |
The Signature Collection
A collection of email signature tag lines, several with ASCII graphics[Read More]
Posted at 11:13AM Oct 31, 2006 by DanX in Solaris |
Cookies
Origin of the computer term "cookies"[Read More]
Posted at 05:07PM May 02, 2006 by DanX in Solaris |
Hotel San Diego Implosion
Before: Hotel San Diego, Northeast corner, May 2002 |
Yesterday, the historic Hotel San Diego was demolished. The seven-story hotel lived on 339 W. Broadway in downtown San Diego, California. The hotel was built in 1914 by John D. Spreckels, who made his riches from Spreckels Sugar and shipping. Spreckels moved out of San Francisco after the 1906 San Francisco earthquake (100 years ago today) to someplace safer and nicer.
The hotel was built by architect Harrison Albright and is one of only three that remain (now zero of two). In recent years, before the Hotel was closed in 2002 Hotel San Diego became a ran-down, dirty residential hotel, occupied mainly by elderly and low-income residents on a weekly or monthly basis.
The hotel was demolished for a Federal Courthouse annex. The Federal Courthouse is on overload to take care of all the drug smugglers and illegal immigrant smugglers being hauled into court—we are on the Mexican border after all.
After: Hotel San Diego after demolition, Northeast corner, April 15, 2006 |
Historic preservationists wanted the hotel exterior preserved. The interior could have been gutted, earthquake retrofitted, and renovated for courthouse space. That way, we would have kept an historic and attractive building, yet still be functional. However, Federal rules require a large setback from the street to keep terrorists (both domestic and foreign) from blowing up the building. The new courthouse annex will be a 22-story (and probably sterile) building. I see their thinking about a setback, but isn't it ironic that we're blowing up a building in the name of homeland security?
More information
Technorati Tags: San Diego, Hotel San Diego
Posted at 04:11PM Apr 16, 2006 by DanX in Travel |
Another fake photo by Howard Kaloogian?
In my Congressional District we're having a special election to replace disgraced Congressman Randy "Duke" Cunningham. One of the 18 candidates running is former Republican State Assemblyman Howard Kaloogian. He recently got caught for posting a scene of a street picture his group took showing how peaceful Baghdad is, that turned out to be suburban Istanbul, Turkey. (This was originally discoverd by anthonyLA and jem6x of Daily Kos.)
Kaloogian also was caught for claiming false endorsements from the California Pro-Life Council, Center for Reclaiming America, and State Senators Tom McClintock and Bill Morrow.Anyway, here's another fake photo. On Kaloogian's campaign website is a photo of him posing with President George Bush, in a rotating "Flash" slideshow. (Here's a screenshot in case it's taken down or you don't have Flash). Why is it fake? Well, both Kaloogian and Bush's shoulder's merge into each other. This is more evident from a fuller-length photo on Gabrielle Reilly's website. (Here's a copy in case it's taken down). Here's another version of the short Kaloogian photo. Observe how Kaloogian and Bush merge into each other: Kaloogian's left shoulder appears to be behind Bush, and Bush's right arm appears to be behind Kaloogian! Also Kaloogian is shorter in the Gabrielle photo than his campaign photo.
By itself, not a biggie, but with two fake photos and at least four fake endorsements, what can you believe?
Update: Problem solved. a reader found a comment from Republican political strategist Matt Rexroad who was at the photoshoot. He says the photoshoot was real, although at least one photo is obviously doctored for height and taken when Bush was governor. He has some unkind words to say about Kaloogian, such as a false endorsement and Kaloogian endorsing Bush and Bauer in 2000 at the same time.
Update 2: Yet another fake photo: A reader points out yet another fake Iraq photo was actually taken at MacDill AFB, Florida.
Technorati Tags: Politics, Howard Kaloogian
Posted at 11:35AM Mar 31, 2006 by DanX in Politics | Comments[3]
Another fake photo by Howard Kaloogian
In my Congressional District we're having a special election to replace disgraced Congressman Randy "Duke" Cunningham. One of the 18 candidates running is former Republican State Assemblyman Howard Kaloogian. He recently got caught for posting a scene of a street picture his group took showing how peaceful Baghdad is, that turned out to be suburban Istanbul, Turkey. (This was originally discoverd by anthonyLA and jem6x of Daily Kos.)
Kaloogian also was caught for claiming false endorsements from the California Pro-Life Council and State Senator Tom McClintock.Anyway, here's another fake photo. On Kaloogian's campaign website is a photo of him posing with President George Bush, in a rotating "Flash" slideshow. (Here's a screenshot in case it's taken down or you don't have Flash). Why is it fake? Well, both Kaloogian and Bush's shoulder's merge into each other. This is more evident from a fuller-length photo on Gabriell Reilly's website. (Here's a copy in case it's taken down). Observe how Kaloogian and Bush merge into each other: Kaloogian's left shoulder appears to be behind Bush, and Bush's right arm appears to be behind Kaloogian! By itself, not a biggie, but with two fake photos and two fake endorsements, what can you believe?
Technorati Tags: Politics, Howard Kaloogian
Posted at 11:34AM Mar 31, 2006 by DanX in Politics |
Congressman Randy "Duke" Cunningham in prison
Cunningham prosecutors: US Assistant Attorneys Phil L. B. Halpern, Jason Forge, Sanjahy Bharali after Cunningham sentencing 3/3/2006 |
I went to Cunningham's sentencing Friday (March 3, 2006) at the U.S. Courthouse in Downtown San Diego. There were lots of news camera and vans around all day. For those who don't know he was my Representative to the U.S. Congress from San Diego, before he was imprisoned for $2.4 million in bribes.
I listened to Judge Burns deal with a counterfeiting case and drug user parole violation case in the morning. Burns seemed even-handed and careful in his rulings.
I then went upstairs to wait in line for the sentencing in a bigger courtroom. I talked to Union-Tribune columnist Logan Jenkins who happened to be nearby in line. Most of the people were press. I knew the names, but didn't know what they looked like. I saw Seth Hettena of the AP, who has written several Cunningham articles.
Then we were led in. The seats were split between the press, public, and family (includes Cunningham friends). The friends I recognized were Congressman Duncan Hunter, Father Joe Carroll, Dan McKinnon (son of a former congressman; Dan is boarding Cunningham), and Cunningham's RIO in Vietnam, Willie Driscoll. Former Congressman Clair Burgener, who has Alzheimers, sat directly in front of me. The children were not present, at the request of Cunningham (and his wife was not present).
The defense and prosecution plead their cases, rehashing what were in their previously-filed briefs. Cunningham made a statement. He seemed emotionally and physically weak and sad, and much thinner. I couldn't hear all his statement, as his voice was shallow, but it seems some of the press did (with better seats). He expressed regret for what he did. The one sentence I wrote down was: "I think I'll trust my friends less, your honor, so I won't make those same wrong U-turns [criminal acts]". Burns listened carefully through it all.
Here's an outline of Judge Burns' ruling:
Sentencing guidelines:
Here's some comments made by Burns:
Judge Burns then dished out the sentence:
We all left the courtroom and there were a billion (or so) cameras and newspeople outside the courthouse. Outside, the prosecution gave a quick news conference, as did Rep. Duncan Hunter, Fr. Joe Carroll, and Dan McKinnon.
Cunningham was imprisoned immediately at MCC San Diego across the street (prisoner locator).
- Dan Anderson
Related news articles (more Cunningham scandal news articles and cartoons):
Technorati Tags: Politics Congress Bribes Duke Cunningham Randy Cunningham
Posted at 10:26AM Mar 06, 2006 by DanX in Politics |
Solaris ZFS and Zones: Simple Example
The following is a simple example of creating a ZFS filesystem and using it to hold a newly-created Solaris Zone (Solaris Container). Zones are in Solaris 10 now. ZFS is a new filesystem in OpenSolaris that allows for large, more reliable filesystems. Tke three key advantages are:
ZFS software is in packages SUNWzfsr and SUNWzfsu.
First, you need a virtual device for ZFS. Normally this would be raw disk (or raw disk slice, if you prefer). However, for testing/demonstration, I'll create a regular file (this takes a few minutes):
# mkfile 5g /virtualDeviceForZFS 4m12.95s |
Now I create a "ZFS Storage Pool" for one or more ZFS filesystems:
# zpool create poolForZones /virtualDeviceForZFS # zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT poolForZones 4.97G 32.5K 4.97G 0% ONLINE |
To create a mirrored-pool use the keyword "pool" and specify two virtual devices.
Now, I'll create a ZFS filesystem using the ZFS pool I just created:
# zfs create poolForZones/twilightZone
# zfs set mountpoint=/twilightZone poolForZones/twilightZone
# zpool status -z
pool: poolForZones
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
poolForZones ONLINE 0 0 0
/virtualDeviceForZFS ONLINE 0 0 0
# mount |grep twilightZone
/twilightZone on poolForZones/twilightZone read/write/setuid/devices/exec/atime/dev=3f50004 on Mon Nov 14 12:34:37 2005
# df -k /twilightZone
Filesystem kbytes used avail capacity Mounted on
poolForZones/twilightZone
5169408 8 5169341 1% /twilightZone
# ls -l /twilightZone
total 0 |
Note that /twilightZone is not in /etc/vfstab. Mounting is done automatically at boot time by ZFS:
# grep /twilightZone /etc/vfstab # |
If you want to allow the filesystem to be managed inside the zone, use the zfs zoned=on option when creating or modifying the filesystem.
Use zonecfg to setup your zone:
# zonecfg -z twilightZone twilightZone: No such zone configured Use 'create' to begin configuring a new zone. zonecfg:twilightZone> create zonecfg:twilightZone> set zonepath=/twilightZone zonecfg:twilightZone> set autoboot=true zonecfg:twilightZone> add net zonecfg:twilightZone:net> set address=10.140.1.25 zonecfg:twilightZone:net> set physical=ce0 zonecfg:twilightZone:net> end zonecfg:twilightZone> verify zonecfg:twilightZone> commit zonecfg:twilightZone> exit |
Now install packages to your Solaris Zone:
# zoneadm -z twilightZone install /twilightZone must not be group readable. /twilightZone must not be group executable. /twilightZone must not be world readable. /twilightZone must not be world executable. could not verify zonepath /twilightZone because of the above errors. zoneadm: zone twilightZone failed to verify |
Ooops. We need to set proper permissions. The directory must not be world or group read, write, or execute:
# ls -ld /twilightZone drwxr-xr-x 2 root sys 2 Nov 14 12:34 /twilightZone # chmod go-rxw /twilightZone # ls -ld /twilightZone drwx------ 2 root sys 2 Nov 14 12:34 /twilightZone Try install with zoneadm again. This takes several minutes: # zoneadm -z twilightZone install Preparing to install zone <twilightZone>. Creating list of files to copy from the global zone. Copying <2808> files to the zone. Initializing zone product registry. Determining zone package initialization order. Preparing to initialize <946> packages on the zone. Initializing package <252> of <946>: percent complete: 26% . . . Initialized <946> packages on zone. Zone <twilightZone> is initialized. The file </twilightZone/root/var/sadm/system/logs/install_log> contains a log of the zone installation. |
Later, if you wish to halt, uninstall, or delete a zone, use these commands, respectively:
zonecfg -z twilightZone halt zonecfg -z twilightZone uninstall zonecfg -z twilightZone delete |
By default zonecfg creates a "sparse" zone--that is read-only files are shared from the "global" zone. This saves a lot of space as shown below: only 68 MB is used (as opposed to the 4GB or so for the global zone):
# df -k /twilightZone
Filesystem kbytes used avail capacity Mounted on
poolForZones/twilightZone
5169408 68508 5100754 2% /twilightZone |
If a "sparse" zone isn't desired, use "create -b" instead of "create" in zonecfg above. This prevents the new zone from "inheriting" packages from the global zone. This is called a "whole root" configuration.
The zone has been created, but it won't show up until after the initial boot:
# zoneadm list -v ID NAME STATUS PATH 0 global running / |
Lets boot the zone and login to the console with zoneadm and zlogin. The initial boot prompts for basic configuration information (language, locale, terminal, hostname, name service, time zone, and root password):
# zoneadm -z twilightZone boot # zlogin -C twilightZone [Connected to zone 'twilightZone' console] Loading smf(5) service descriptions: 1/108 . . . twilightZone2 console login: root . . . ~. |
Use "~." to disconnect from the console.
Technorati Tags: ZFS Zones Solaris OpenSolaris
Posted at 02:23PM Nov 16, 2005 by DanX in Solaris | Comments[1]
South Park portrait
In the great tradition of many Sun bloggers, here's my South Park Portrait:
|
Posted at 04:53PM Nov 14, 2005 by DanX in General | Comments[0]