So, here’s my power usage for the 2nd of April. The smaller spikes to about 2.5KW are the heat pump. The larger hits are the water heater.

Power Usage 4/02/09
Nobody leavz...
By staze
So, here’s my power usage for the 2nd of April. The smaller spikes to about 2.5KW are the heat pump. The larger hits are the water heater.

Power Usage 4/02/09
By staze
Maybe I’ll get into posting on Thursday.
So, I just added some nifty ajax to poll the power usage every 20 seconds. While the file is only updated every 60 seconds, I figure every 20 seconds is low enough bandwidth, and often enough to catch and update frequently enough. If I can figure it out, I’ll try to make this only update every minute right after the file gets updated (it gets updated about 2-3 seconds after the minute). I mainly did this for my own benefit since I wanted to be able to watch the power usage without reloading the whole page. Maybe I’ll set up an RSS script so I can subscribe to my energy usage. =P No, no twitter… seems like a waste of twitter’s bandwidth.
I was up pretty late last night trying to fix OD replication that hasn’t worked right since my 5 hour marathon session prepping for the term. During that marathon, I demoted and re-promoted the OD Master, and apparently when I reset up the replica, it didn’t work right. Changes to passwords, or creation of user accounts weren’t getting replicated. So, I reconfigured stuff. I’m pretty convinced this is the best way to do it:
That pretty much fixed it. Bitch is, it took me nearly an hour to do when I thought it would take about 15 minutes. Some of the reboots could probably be removed, but it seems safer this way. Replication now works better than it ever has I think (before, no matter what, replication seemed to happen based on a time period, rather than instantly. Easiest way to check this is to make a change to the Master in WGM or via the command line, then do a “mkpassdb -dump | grep username”. You should get back the password slot for that user, and a change date that corresponds to your change on the master.
As always, make sure you are using NTP on all the servers/clients (ideally the same NTP server, even if it’s wrong, at least all the clients think it’s the same time), and that DNS is working (“changeip -checkhostname” is your friend). If either of these things are broken, kerberos most likely won’t work, and other things may not work right. DNS not working can cause weird issues, as can time differences (kerberos won’t work AT ALL if the times between client and server are off by more than a few minutes). Thankfully pool.ntp.org exists, as do most campuses and corporations run their own NTP servers (AD has one built in, as does ≥Mac OS 10.4 Server.)
See ya all later.
By staze
Okay people, as you can now see, there are some additions on the side bar, and a new theme. The theme, well, it’s okay. It’s better than the default. I’m not a HUGE fan, but at least it’s not 3 column, and it isn’t like reading a newspaper sidebar (like the default).
The additions are fairly self explanatory.
The one marked “Weather” is actually a webcam image taken from my house with the current weather info superimposed over the top of it. Clicking on it will give you my weather data.
The one marked “Current Power usage” is also, just that. My power meter is being polled for info every minute, and it’s appending it to a file. This is just the latest record in that file. It’s resolution for power is 10watts, and for time is 1 minute. If I were ajax-y, I could make it auto update. Maybe when I have some time. The “cost” in parenthesis is based on the SUB power rate of $0.0463/KWH. So, assuming I continued to use that same amount of power for an hour, that’s what it would cost.
In other news, I took the day off today to go to the dentist (perfect exam/teeth, as always), run a few errands, and makes some calls to places that are only open during business hours (TED (to unlock the usb port)). Also called Apple and got my battery replaced on my MacBook Pro since it was faulty (covered under the battery exchange they did a few years back). Gotta give the MacStore credit on this one. Called Apple, they opened a case, I went to the MacStore, they ran Apple Hardware Test (which I have never seen work, except this one time when it told the guy my battery was “BAD”), and they replaced my battery right then and there. Cool.
Tara and I bought the tile and thinset today. Go 300lbs of tile and thinset. Getting that in and out of the car was “fun”. Also set up the tile saw that we borrowed from Tara’s uncle months ago. So, hopefully, we’ll have the tile down by the end of the week, and grouted by the end of the weekend. Here’s hopin’.
Talk to you all later!