Friday, September 30, 2011

RAMDisk options for Windows

IBM Rational Application Developer can be real hard on the disk, especially when debugging in the test environment for Websphere 6. In lieu of convincing my employer that every developer should get a speedy SSD or RAM-based disk to minimize wait times between WAS6 restarts, I have been investigating the available options and have been looking at software based RAMDisks. These could even be faster than most SSD disks, in theory.
I was pleasantly surprised to find these options below are available for Windows 7:
For now, I need to test these out and see if there really is a benefit for some of the IBM RAD slowness I see on a daily basis. I will post my findings here at a later date.

Saturday, September 24, 2011

Graywater Heat Reclaimation

Just some links/notes on a topic I became interested recently. Why do I find graywater heat reclaimation interesting?
  • cost saving: reduced energy bill
  • cost saving: extends the life of the water heater
  • cost avoidance: average water heater recovery times are markedly improved
  • environmental goodness
  • low/no risk: passive system with no moving parts
See

Seems like the price is around $750 for a bit of copper pipe that is supposed to last about 50 years.

Javascript: An easy to make day-of-week calculation bug


Friday, July 8, 2011

Windows batch script timestamps from gAWK

# This uses GNU Awk to emit a script to set an environment variable to the current date and time in a format suitable for use as a filename.
# See http://www.gnu.org/software/gawk/manual/
# You should supply two variables:
# 1) output_filename
# 2) env_var
BEGIN {
format = "%Y%m%d_%H%M%S"
print "set " env_var "=" strftime(format) > output_filename
}


Invoke with something like

gawk -v "output_filename=tsgenerated.bat" -v "env_var=TS" -f dt.awk
call tsgenerated.bat

Thursday, November 25, 2010

Saturday, November 20, 2010

Frontend Engineering

With all the talk about Google PageSpeed in the past several months, I have developed an appreciation for learning how to improve user's experiences through better management of the conversations between web browser and server. These concepts pertain to an area of discipline that is being called Frontend Engineering.

Given tools like PageSpeed, it is a shame that many sites still fail to address the issues it reports. Easy gains are often had by following the advice it offers.

I hope to document some of the issues I encounter as I work through them in my day job, involving a large application that I'll call Big Enterprise App (BEA). I'll aim to compile from this a series of Frontend Engineering entries.

Update: Here is a good description of the topics Frontend Engineering deals with. The most succinct description I've heard for this kind of work so far is "responsibility for View Source."

New Toilet - Toto Drake II

We recently bought a Toto Drake II CST454CEFG to replace a poorly installed (and poorly performing) "builder grade" Mansfield Alto 160. The Toto uses only 1.28 gallons per flush, but it never clogs like the Mansfield did. It also is an elongated style, ADA height and overall just seems to have a higher quality fit and finish.



We ended up purchasing online through National Builder Supply, where we got $20 off for using Google Checkout. Shipping was free and the packing was impressively solid with no damage at all to the parts at all.

Installation was pretty straightforward, once I learned that a good way of coping with a broken PVC flange included overlaying it with a metal one expressly made for that purpose.

Obsoleting our plunger was reason enough to make the switch, but we really like that this minimizes our water usage and saves on the bill.

Our take:
  • Environment +1
  • Reduced rate of consumption for water service and softener salt +1
  • Improved aesthetics +1
  • No more plunger needed +1
  • Price was right, at $306 after $20 discount
We expect to place one of these in our other 2 bathrooms in the coming months.