2009-04-22
my wife, tetris ds mania.
Need to record this for family posterity: my wife just got 569131 points, level 31st.
2009-03-17
Keeping track of manually installed packages in Debian
This is how I keep track of manually installed packages in Debian:
Everytime I need to install a package, I create a file with the same name as the package name.
Examples:
$ touch /usr/local/etc/packages/list/qmail
$ echo 2009-03-17 J requested ipsvd for his app > /usr/local/etc/packages/ipsvd
$ make -f /usr/local/etc/packages/Makefile
apt-get install "ipsvd"
touch /usr/local/etc/packages/list/.ipsvd
apt-get install "qmail"
touch /usr/local/etc/packages/list/.qmail
And if you do another make:
$ make -f /usr/local/etc/packages/Makefile
make: Nothing to be done for `install-packages'.
In practice, I use aliases so I don't have type long paths. Here's how to set it up. Just copy-and-paste the code below:
Everytime I need to install a package, I create a file with the same name as the package name.
Examples:
$ touch /usr/local/etc/packages/list/qmail
$ echo 2009-03-17 J requested ipsvd for his app > /usr/local/etc/packages/ipsvd
$ make -f /usr/local/etc/packages/Makefile
apt-get install "ipsvd"
touch /usr/local/etc/packages/list/.ipsvd
apt-get install "qmail"
touch /usr/local/etc/packages/list/.qmail
And if you do another make:
$ make -f /usr/local/etc/packages/Makefile
make: Nothing to be done for `install-packages'.
In practice, I use aliases so I don't have type long paths. Here's how to set it up. Just copy-and-paste the code below:
mkdir -p /usr/local/etc/packages/list
cd /usr/local/etc/packages
cat > Makefile <<EOF
packages=/usr/local/etc/packages/list/*
install-packages: \$(packages)
\$(packages): /usr/local/etc/packages/list/%: /usr/local/etc/packages/list/.%
/usr/local/etc/packages/list/.%:
`echo -e \\\t`apt-get install "\$*"
`echo -e \\\t`touch \$@
EOF
2009-02-24
Video feed for President's address to Congress
CNN, MSNB, and FOX are all showing the same feed. Are they not allowed to put their own crews there?
2009-02-06
Mini-Tripod
The mini-tripod I ordered just arrived. It has bend-able legs and its small size makes it a perfect travelling companion for my pocket camera. This should solve my problem with having to keep the camera steady for night shooting.
So, what night shooting is complete without a few pictures of the stars? Here I have ursa major, leo, puppis, and canis major. Oh, look, we're even graced by Saturn's appearance.
So, what night shooting is complete without a few pictures of the stars? Here I have ursa major, leo, puppis, and canis major. Oh, look, we're even graced by Saturn's appearance.
I love the tripod.
2009-01-26
Oil's market is International
"The oil is drilled right here in Alaska, and yet we're paying $8 a gallon? Something is amiss here. The oil companies are making billions of dollars, and people here can't afford to eat," said Pat Samson, social services director for the Assn. of Village Council Presidents in Bethel, about 35 miles southwest of Tuluksak. [Source: In rural Alaska, villagers suffer in near silence]
In fact, why should the oil companies have to prioritise local residents? The residents are poor and their demands, compared to the international market, are immaterial. Setting up, no, even thinking about setting up to serve local residents would cost more than simply throwing the oil to the international market.
2008-12-02
An effect of having senders be responsible for their mail storage
Some people opine that having the email sender be responsible for its storage would reduce spam. That may be so, but I see doing so empowers DoS attackers with another means to carry their deeds.
In the proposed infrastructure change, a sender would put the message on his/her server and send a brief notification to the addressees. The addressees' clients then pulls the email from the location specified in the notification. In that world, a DoS attacker can work with a spammer to send bogus notification messages to a large number of clients. The messages direct the clients to pull an email from the victim's server. When the clients do so, they slashdot the victim's server.
I do not see a sure way to prevent clients from retrieving the email. A client that automatically heeds all notification messages is certainly not preventable. But a client that fully defers to human moderation may also participate in the slashdotting as well. After all, users are as much part of the problems as the spammers in current spam problem.
Blacklisting the victim's server is also a non-solution because that could be what the attacker wants or interferes with legitimate email retrievals. Blacklisting a mail URI is slightly better but still not a good solution because URIs are cheap.
If this infrastructure becomes common place, DoS attackers no longer have to construct a botnet because the whole Internet just becomes a super gargantuan botnet.
Bad valve stem seal -- how to tell
http://www.fordforums.com/f655/5-0-uses-oil-rings-valve-stem-seals-how-tell-103279/#post1080284
Well, there are a couple of ways to tell. If you start the engine up
and it puffs out smoke, it's the valve seals because you are burning
the oil that has leaked past the seals when the engine was off. If you
slow down by downshifting and when you accelerate again, and it smokes,
it's valve seals. Why? Because when you deaccelerate by downshifting,
your throttle plates are closed and you have a lot of manifold vacuum.
That vaccum sucks in the oil past the valve seals. Then when you
accelerate, the increased air/fuel charge sucks it into the combustion
chamber and it is burned.
Unless the maintenance was completely ignored, I'd guess that it is
valve seals. They will deteriorate with age while a piston ring will
not.
2008-11-20
You pushed me over and I; Keep falling, keep, keep falling the cliff.
A sobering graph from my favourite site: http://calculatedrisk.blogspot.com/2008/11/comparing-stock-market-crashes.html

I am not sure that we are even half-way through this crisis. Keep falling, keep, keep falling the cliff..
One thought though: why 'Subprime Mortgage Crisis'? While subprimers made the initial appearance, it seemed people using their house as ATM had the larger role.
Adjusting my gas furnace
Disclaimer: tinkering with gas is dangerous. Below are steps I took to adjust my gas furnace for my own documentation purpose. I decided to share it to public for educational purpose. If you blow up as a result of reading this article, you are on your own.

After about 1/2 hour of tweaking, I managed to have it hold steady at around 170F. It kept at that temperature until the thermostat tells the furnace to shut down. Cycling problem solved. Cost to do that: 2 hours research, 1/2 hour of staring at the control switch.
This is my gas furnace. Manufactured in March 1990. It is 18 years old now. Its efficiency rating is output_btu_per_hour / input_btu_per_hour = 56K BTU/70.5K BTU = 79%. Modern gas furnaces reportedly have 90% or better efficiency. But mine still works and winter in northern virginia is quite mild. I see no reason to replace it yet.
It's been cycling in short interval and I wanted to see if I could do something about that.
The first thing I checked was the flame colour. It should be blue. Orange flame indicates insufficient oxygen or some contaminations. If there is not enough oxygen, the flame will produce soot.
To adjust oxygen level, adjust the air stuter (picture below):
The furnace was a forced air model. The flame heats a heat exchanger which quite similar to a radiator. A blower blows cold air through the exchanger. This heats the air before it comes out of the exhaust register. Adjusting this gas furnace involves balancing the heat put out by the furnace with the cooling the blower provides.
In my case, although the spec says that my furnace could generate at 56K BTU/hour, the blower was not powerful enough to cool the exchanger. My house had 3 intake registers, one on each floor. The ductings was not large enough to reduce the air flow resistance to my blower's capability. If I openned up the blower panel, the blower managed to push enough air to cool the furnace at full power. But obviously I could not run it like that for daily usage.
Adjusting the power of my furnace was done by adjusting the gas flow. Here's my final setting at 3/4 of full flow:
To get at the setting I let the furnace operate as usual while watching the fan limit control switch. I set mine to 100F,140F,200F. I've seen some set at 90F,140F,190F, or 90F,110F,190F. The spec says that the max air outlet temperature is 170F. So, my goal was to get the heat exchanger temp steady at around 170F.
I let the furnace run as normal. I reduced the gas flow if the temperature goes up to the OFF setting (200F) or increased the flow if it held steady at less than 170F. I was gentle when adjusting the flow; a small nudge may be all that's needed.
After about 1/2 hour of tweaking, I managed to have it hold steady at around 170F. It kept at that temperature until the thermostat tells the furnace to shut down. Cycling problem solved. Cost to do that: 2 hours research, 1/2 hour of staring at the control switch.
Subscribe to:
Posts (Atom)






