Saturday, December 3, 2011

Vostro 220 Series CAN handle 8GB of RAM

Contrary to Dell's website, the Vostro 220 DOES support 8GB of RAM with the latest BIOS upgrade.

My wife's Dell Vostro 220 is now running Windows 7 x64 and has 8 GB of RAM. I upgraded her BIOS to 1.3.0 before swapping the memory (I read somewhere that the updated BIOS supports the full 8GB).


On a related note, you can actually get the service tag out of your Dell computer in Windows by issuing the following command.


Following WMIC command will give make and model number along with service tag (service tag is IdentifyingNumber here:

C:\>wmic csproduct get vendor,name,identifyingnumber
IdentifyingNumber    Name                Vendor
ABCDEF1              PowerEdge 2950      Dell Inc.
 
In Linux:
 
[remote-host]# dmidecode -s system-serial-number
ABCDEF1
 
HT: http://www.thegeekstuff.com/2008/10/view-dell-service-tag-and-express-service-code-from-linux-and-windows/ 

Saturday, November 19, 2011

Treacle Pudding

Fresh & Easy is a subsidiary of Tesco, the world's third-largest retailer. As Tesco is from the UK, they carry things that Americans do not normally experience. Having heard about treacle about a decade ago when listening to the Lords of Acid - Voodoo U album, last week I decided I would try Treacle Pudding.



It comes in a can.

Open the top of the can, run a knife around the inside, and then open the bottom of the can in order to express the cake thing out onto a microwavable platter.


It is imbued with "golden syrup." This photo does not do it justice. Mine had a gelatinous ring of treacle enshrouding the rounded edge of the top of the cake.

It tastes British.

My wife liked it, although it tasted "canned" to her.

Saturday, October 22, 2011

Adware/spyware infested computer, Baitisj style

The following article will probably frighten many of you, but hopefully this is helpful to folks who have gone through this kind of frustration.

A friend of mine had infested computer. Her Windows XP computer had slowed to a crawl, and I offered to help take a look. Process Explorer showed me some very suspicious process names. Poking around, I found a directory named "C:\Program Files\Invisible Keylogger."


The first thing I did was to install wonderful extension called "Folder Size for Windows"
I noticed that her hard drive had very little free space, and I wanted to figure out where all the space had gone.

Using Folder SIze for Windows, I discovered a HUGE temporary internet files directory
(C:\Documents and Setting\Owner\Local Settings\Temporary Internet Files)

I deleted all files out of this folder, but Folder Size was still showing that there was 22 GB of data inside. Even with hiding system files disabled, looking inside of this folder showed nothing in Windows. Creepy.

I Did some online research, and noticed that previous versions of Windows XP use a file named "content.ie5" for cached data. Interesting.

I ran cmd and cd'd into the Temporary Internet Files directory. After I "cd content.ie5" and executed dir to list the files in the directory. Nine directories with cryptic file names like
3CNW8S1M were finally exposed.

I typed "explorer 3CNW8S1M", and found a LOT of files inside of these hidden directories.

A couple of takeaways:
  • Windows XP hides files inside of the Temporary Internet Files directory, even if the Explorer shell is configured to show system files and folders. cmd or Cygwin are your friends.

  • A password manager that saves your usernames and passwords to various websites protects you from screenshot and keylogger attacks. I really suggest setting up a password manager with a password that is sufficiently different from the password patterns that you use to log into Internet websites or whatnot.

Tuesday, September 27, 2011

OpenIndiana 151a home server high disk load tuning

A week ago, I added a 30GB ZFS l2arc cache device to my storage array, resulting in tremendous system performance improvements. On a whim, I enabled the "Tracker" file indexer. Sadly, Tracker brought my system to its knees; my web browser became useless, and GNOME would shade out windows, indicating that they had become non-responsive.

I executed iostat -xcnCXTdz 5 and looked at the "%w" column, which indicates the percent time that there are disk transactions waiting for service. My %w column was pegged at 100% for one of my devices, indicating that the disk queue was bogged down with requests.

I did a little research, and I bumped across Princeton's Solaris troubleshooting guide for disk IO. The troubleshooting guide indicates that the sd_max_throttle parameter determines how many jobs can be queued up on a single host bus adapter, and is set to 256 by default.

I added set sd:sd_max_throttle=8 to /etc/system and rebooted. Not only did my system responsiveness improve, but zpool iostat showed an increase in throughput to my disk pools. My %w decreased to ~95% under heavy disk load.

I still notice times when %w==100 under heavy load. At these times, the system becomes unresponsive, and zpool iostat shows a drop in disk throughput. However, the system recovers quickly from these intermittent peaks.

I may further decrease sd_max_throttle and see how that affects system performance.

My system contains a mirrored array of three 1TB 4200RPM Western Digital "Green" hard disk drives and one WD Caviar 750MB drive. I'm using an AMD 760G mainboard with six on-board SATA ports; the SATA controller VID/PID is 1002/4391.

Friday, July 8, 2011

How to avoid theft of personal belongings at airports

Nelson Santiago-Serrano stole $50,000 worth of electronics from airline travelers. If you travel with something valuable on a flight (confidential data? laptop computer hard drive?), print out a copy of the TSA's page that details how to fly with firearms, and follow the instructions below, courtesy of a helpful Slashdotter.

 How to avoid the TSA thieves (Score:5, Interesting)

by kwiqsilver (585008) on Friday July 08, @07:59PM (#36701226)
If you must fly, here's what to do:
  • Buy a hard plastic or metal suitcase with locks.
  • Buy a pistol, if you don't have one already. (A starter pistol, which has no legal restrictions on ownership or purchase in any state, works just as well).
  • Put your pistol in the suitcase, check-in at the counter, and tell the airline rep you have a firearm to declare.
  • Fill out the card that says your firearm is unloaded, put it in your suitcase, and lock it (with real locks, not TSA-approved ones), while the airline rep watches.
  • Walk down to the TSA screener with the airline rep, and hand your bag over.
  • The TSA screener will scan your bag while you wait. If there's a need to open it, the screener will have you open it, and will look through the bag while you watch.
It is illegal for them to open your bag without you being present, if you have a firearm declared. (I guess the government doesn't trust the TSA near guns...if only they'd expand that mistrust to all the federal alphabet soup criminals).

I discovered this accidentally, because I usually take at least one pistol whenever I fly anywhere, and have been using it ever since. If I'm going some place anti-gun, like Chicago or CA, I take a firearm component, like a barrel, which still has to be checked the same way, but can't get me into trouble on the trip.

Thursday, June 23, 2011

Banking in America: Do immoral / illegal things, get bailed out by taxpayers!

Occasionally, I find gems when browsing through comments on Slashdot. Tonight, I was reading about Mexican cartels building tanks, and wanted to know more about the situation that concerns our nearest neighbors to the south. The comment that I found concerning Wachovia is sickening; everyone who does banking in the United States should read this article published in April by the Guardian.

Wouldn't it be nice if the US Justice Department brought... justice?

I've re-posted the comment from Slashdot below:

Thank you Wachovia (Score:5, Informative)

by Wonko the Sane (25252) * on Saturday June 11, @08:54AM (#36410330) Journal
This was all made possible because Wachovia laundered a sum of money equal to 1/3 of Mexico's GDP for the drug cartels [guardian.co.uk].
Of course as soon as this was discovered the Justice Department sprang into action and initiated a RICO takedown of the entire institution and all its executives (in an alternate universe). What they actually did was politely request that the company pay a fine equal to 2% of their profits which was then refunded to them by the Treasury Department via a $54 billion bailout.
It makes sense because laws don't apply to the aristocracy like they apply to us peasants - they're doing God's work [businessinsider.com] after all.

Monday, April 11, 2011

Cheesiest Video Game Outros that Never Made It

During lunch break in high school, I occasionally played a video game called "Twisted Metal" on the Sony Playstation II.

A friend posted a photo of an ice-cream truck that reminded me of one of the characters -- "Sweet Tooth." In my struggle to figure out the name of the ice-cream truck-driving character, I somehow stumbled upon these videos.

Their artistic merit is unparalleled; all of the critical elements are present: awful acting and writing, scantly clad females and heavily oiled shirtless drones, spotlights penetrating through mist, guns, and cheesy pitch shift voice effects. All of this deeply resonates with my childhood ideation of what producing movies in Los Angeles in the 80's must have been like. It's almost like I can smell the hairspray, coconut suntan oil, and fog juice.

http://www.youtube.com/user/TwistedMetalGames#grid/user/137096099C931D90

Hauntingly accurate "singing" voice synthesis software

Read about and listen to Vocaloid Miriam, brought to you by Yamaha.

Choirs are always in need of more tenors, and now you can buy a pitch-perfect one from Zero-G for $150.

I am absolutely blown away by this level of synthesis; the level of sophistication is amazing.

Sunday, February 27, 2011

ZFS Progress in FreeBSD

I've been watching the progress of my favorite filesystem, ZFS, in FreeBSD for a while now. ZFS v28 has been under test by the members of the freebsd-fs mailing list, and I have read multiple resources that have indicated that the performance of the ZFS implementation in FreeBSD is much better than in OpenSolaris; indeed, my Nexenta box only supports up to ZFS v26.

And now, ZFS v28 is now in FreeBSD-CURRENT:
http://lists.freebsd.org/pipermail/freebsd-fs/2011-February/010799.html

There is an excellent article in BSD magazine with some general information. The article is by Martin Matuška, who maintains a ZFS v28 patchset against FreeBSD-STABLE.

When I have some time, I'll be excited to migrate to FreeBSD, and to get away from the insanity that is (was) OpenSolaris.

Monday, February 14, 2011

How to Move Your Picasa Database and Use Multiple Databases

The fact that I cannot configure Picasa's thumbnail database location has been driving me nuts for a while. Fortunately, I found this utility.

How to Move Your Picasa Database and Use Multiple Databases

Tuesday, February 8, 2011

Kludge for running Samba in StormOS/Nexenta hybrid system

A very long time ago, I upgraded a bunch of packages on my Nexenta NCP 3.0.1 fileserver to their StormOS "Hail" counterparts; however, I encountered a problem with the samba package:

Setting up samba (2:3.3.2-2stormos3.2) ...
Starting Samba daemons...:ld.so.1: smbd: fatal: relocation error: file /usr/lib/libcups.so.2: symbol __gss_c_nt_hostbased_service_oid_desc: referenced symbol not found
/etc/init.d/samba: line 33: 17304 Killed                  start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/smbd -- -D
Well, this was no fun. It looked like smbd was not getting a symbol it needed. I shelved the upgrade and forced dpkg to put a "hold" on the old version of samba, until I finally had an idea today.

I "grepped" through the /usr/lib directory in search of the provider of the missing symbol:
find /usr/lib -type f -exec grep __gss_c_nt_hostbased_service_oid_desc '{}' \;
... and I discovered that it was provided by /usr/lib/libgssapi.so.2.
baitisj@raid:/usr/lib$ objdump -T libgssapi.so.2.0.0  | grep hostbased       
0002ba80 g    DO .data  00000008  HEIMDAL_GSS_2.0 __gss_c_nt_hostbased_service_oid_desc
0002ba78 g    DO .data  00000008  HEIMDAL_GSS_2.0 __gss_c_nt_hostbased_service_x_oid_desc
Therefore, I added the following LD_PRELOAD kludge into /etc/init.d/samba:
...
PIDDIR=/var/run/samba
NMBDPID=$PIDDIR/nmbd.pid
SMBDPID=$PIDDIR/smbd.pid
# Baitisj: kludge for missing symbol
LD_PRELOAD=/usr/lib/libgssapi.so.2
export LD_PRELOAD
...
Voila! My nifty ZFS fileserver now runs Samba 3.3.2.

Sunday, January 30, 2011

DNG Support

For those of you who are looking for better RAW support, I suggest you consider installing Adobe's free DNG converter, and then using that to import your photos into Picasa. DNG is an excellent archive format anyway that is likely to stay around longer than your camera-of-the-year's proprietary format.

in reference to: RAW format images : Basics - Picasa Help (view on Google Sidewiki)

Tuesday, January 25, 2011

Firefox 4.0 Beta 10 has AWFUL font rendering!

Wow. Just took FF beta 10 for a test-drive, and I have got to say, the font rendering is awful. Look at a screenshot of Chrome vs. Firefox:


Visual comparison of Chrome vs. Firefox 4

This may not look like a big deal in such a small sample, but trust me, after browsing for a few minutes, the eye strain was unbearable.

At this rate, I'm pretty sure that IE9 will regain market share after FF4 is released.

Tuesday, January 18, 2011

The efficiency of mass transit may surprise you...

Here is an interesting string of blogs that I picked up regarding the relative efficiency of various means of transportation:

- Discusses San Jose Light Rail versus automobile, and others, very clean graphics

- Illustrates that light rail in the United States is terribly underutilized and thus very inefficient

I was very surprised to see how much cars have improved, efficiency-wise. In the last 30 years, cars have become 30% more efficient!

Electric vehicles are the clear winner, however. Check out this graph from Coyote Blog:
energy graph

Even more interesting is that my bicycle is less efficient than an electric scooter. I wonder if this is due to regenerative braking? Maybe this is a mistake.

Friday, January 14, 2011

BLM Land Color Key

Everyone who camps a lot probably already knows this, but I had a hard time hunting down the information online.

Yellow - Bureau of Land Management (BLM),
Darker yellow-orange - Wilderness Study Areas within BLM lands
Purple - National Park Service
Green - National Forest
Dark Green - National Forest Wilderness Areas
Blue - state lands
Pink - Bankhead-Jones Land Use Land

Private lands are untinted.