Tuesday, November 29, 2011

Debian SqueeZe Repositories

This is a good newbie thing to learn:

I was trying to update my #! and was getting EXTREMELY slow downloads.  The default ftp debian repository is in Europe, so I thought I should probably make this closer, say, in the U.S. for example.  So, how do you do that?

The debian repository that is std on #! Statler is for debian SqeeZe is listed in a file called sources.list, and it can be found from within the terminal at:

     /etc/apt/sources.list

so, you can start by changing into that directory:

     cd  /etc/apt

then

     sudo gedit sources.list


(I did this as sudo because I don't presently know how to access this file otherwise. Please feel free to comment if there is a better way to change read-only permission!)

This will provide the list of sources within the file.  I added a # in front of the currently used ftp from Europe, which is listed as:


     http://ftp.de.debian.org/debian/ squeeze main contrib non-free


which I changed to:
   
     http://ftp.us.debian.org/debian/ squeeze main contrib non-free


This sped things up quite a bit and I completed all updates within minutes as opposed to hours or days.   I think this wasn't obvious and is likely a very early thing one should do when installing #! in the US. It makes additional downloads and software much smoother to obtain as well.

Monday, October 24, 2011

Crunchbang Time #!

To set time in Crunchbang Statler:

sudo apt-get update
First update the system.  

sudo install ntpdate
ntpdate is the pkg to sync to time server.
edit: I have had to do this through the pkg manager (i.e. synaptic) this doesn't seem to obtain ntpdate anymore? as of 11/29/2011

sudo dpkg-reconfigure tzdata
This will enable you to set/change your time zone even if you had previously set this to the wrong location.

Linux

so finally, I have entered the world of Linux.  I cruised around the distros for awhile, finding the best one to run on an old Dell laptop, so there is that limitation.  Ultimately, though, the "slimmer" distros run incredibly fast.  It actually makes my everyday computers seem more noticeably slow by comparison.  Top contenders for me were: Ubuntu 11.10 (natty narwhal), Puppy Linux (Lucid Puppy) and Crunchbang 10 (Statler).  I finally settled on Crunchbang, it really is the smoothest, and most asthetic distro and is very fast and trimmed down.  Ubuntu was very easy to transition to, and very useful.  If you can work with Crunchbang, though, I think you will learn more about linux in general and how to navigate / use it better than if you go through only Ubuntu.  But I have to say, Ubuntu smoothed my transition significantly, and I still plan to have that running on one of our computers at home for the rest of the family to use who don't want to try to solve their way through crunchbang (#!)
So, I plan to post some of my issues here as I work through them, mostly as my own repository and reference for myself, but perhaps someone could find it useful.  A lot of this is on the forums, of course, but as they grow it can be hard to find exactly what you are looking for.  And my problems will be absolute, BASE beginner problems so...
Just for info: I ran ubuntu 11.10 from a USB HDD - I found that the best, most stable install was just to install it directly.  I did multiple partitions the first time, etc.. it wasn't as stable.  Just a straight install has been the best.
I then switched the USB HDD to Crunchbang 10.  Same install, just a straight install to the external HDD... most stable and reliable booting.
Puppy I ran from a USB installed using pendrivelinux.  While it was very fast and rapidly configured almost instantly with almost NO input from me (everything "just worked") my only problem was that puppy was not as stable: firefox would crash frequently, streaming media was jumpy.  Otherwise it worked nicely.  Crunchbang, while requiring a little more "set up", has been much more stable, smooth, and constant.  It also introduced me to Conky and openbox which now I find it hard to be without.

Tuesday, May 10, 2011

Water Hammer

Water Hammer occurs when you have a valve along a water pipe that closes rapidly.  This effectively sets up an energy wave that travels backwards from the closed valve along the pipe and causes it to rattle and bang.  You are basically taking a moving fluid and ramming it into a brick wall with no where to dissipate the energy, thus causing water hammer.  This can damage your pipes, other appliances, etc.  The way to fix this is to introduce a sort of "cushion" into the pipes; this has been done with vertical sealed air chambers, but this can slowly fill and require you to drain your pipes completely to re-establish the air cushion.
Our washing machine was creating a tremendous water hammer.  I think it might have something to do with using stainless hoses as opposed to rubber hoses, as they have much less cushion within them to absorb some of the energy shock.  I found these "shock absorbers" in a book and looked for them and found them at Lowe's.

Basically, instead of a simple air cushion, they added a piston ahead of sealed chamber of gas that allows for compression of the gas with the energy wave and then act as a "shock absorber" for the water hammer effect.  As a bonus, they can be installed in any orientation because they are sealed as opposed to requiring a vertical orientation.  What a great product.  So shortly after installing, we ran the washer and: silence. They work like a charm.  In fact, it seems like the whole washer is quieter as I think the sound of the flow across the valves is sort of absorbed by the arrestor as well.  Excellent design!

Thursday, March 24, 2011

Projects

I've decided to start posting running projects that I am working on to this so I can track and review past projects, and maybe even help someone else out if they run into something similar that they need to work on. 
I have managed to obtain a lot of help from various forums and boards, which is incredibly useful.  Unfortunately, after my project, it can be hard to relocate those posts when someone else might have a similar problem.  So, I can point them to this blog instead and hopefully help them that way.  As a bonus, this is searchable too :)
I am behind on a few projects that have a few photos, but I think the first one will be replacing the knock sensor on our Subaru Forester.  It has quite a few miles on it, and from what I've found this isn't too out of the ordinary at this point.  Details to follow in the next post!

Monday, March 29, 2010

Jawbone 1

I have really enjoyed my Jawbone.  Even though my wife wasn't as pleased with the price initially, now after about 3 years and having used it extensively in various conditions, I have to say it really works well and hasn't disappointed me.  The only problem I have encountered with it has been primarily wind noise, but at the time i purchased the jawbone, wind was a problem with basically every headset I tried, so I can't complain to much about that.  The other problem was the fit of the earpiece, which has worked well enough for me to remain happy with the headset; admittedly I am a tinkerer.

In the course of tinkering and finally breaking one of the earpieces (the around the ear loop) I found, serendipitously, that the new jawbone icon earpieces fit on the Jawbone 1, and work fantastically!  It is held perfectly in my ear similar to the icon, and held nicely against my cheek.  In my opinion, it actually fits better with the new earpiece than the old one ever fit even with the best around the ear loop placement.  Also, since I wear glasses, this clearly works better avoiding the issue of overlapping my glasses arm altogether.
So, with some patient trying, the earpiece WILL fit on the Jawbone 1 and stay put.  Once you get it on there, you will find that the earpiece works well and stays right in your ear.

Friday, October 30, 2009

Google

Google offers so many great things... The more I use their applications, the more I find other things they've already thought of.  It feels like there has to be a catch, but I don't think there is.  A friend of mine was recently telling me about Google Voice and... it just seems to offer all the things that you might imagine the phone of the future to have.  Going somewhere? Forward the number.  Walking down the street but want to screen the incoming call?  Done.  Going off shift and want to forward your number to work/office? Done.  Screen particular calls?  Forward work only calls but keep personal calls coming to the cell??  Wow.
I think slowly this will move us all towards (or return to, in some ways) simply using a terminal that connects us to ... google.  In some ways, it's better: your data is probably safer, likely backed up multiple times (I'd wager 90% of you don't really regularly back up your data.. maybe some really important things you want to be sure to keep, but everything?) Then, accessing all of your "desktop" is basically just through connecting, with no reliance on a single computer.  I have a decent portion of this already, and it's really amazing.  I can open at work, access all my documents, close, and re-open at home, or an internet cafe, or on my phone! 
Some of you may have realized all of this already.  I once was a young man, playing with FidoNet, BBS's, and 300bps modems.  Somewhere in the middle, I slowed down to pursue other things; but to stand back occasionally and look at what we are capable of now compared to those days... it is really something.

Tuesday, October 14, 2008

Bowties

I was just reading recently that a man should be able to tie a bowtie. I was thinking to myself that I don't know how to do this. I do, strangely, own 1 bowtie (the real, untied kind) and so I dedicated a few minutes to learning how to do it.
The question that remains for me is, when is an appropriate time to wear a bowtie when not in a tuxedo? *IS* there an appropriate time to wear a bowtie if not in a tuxedo? I'm thinking that the answer is that there is not. Therefore, I probably will not. But at least I might retain this for some time when someone somewhere might need me to tie a bowtie for them. I will be ready.

Thursday, October 9, 2008

Home again...

Looking forward to vacation next week... Daily Show, Colbert Report, Lattes and my Ladies... what could be better?

Friday, January 25, 2008

Music


I just recently was turned on to The Bad Plus... I like it. You should check it out. I found them because of Pandora.com, which is also great. I think I had heard of them a long time ago. Apparently they hail from the midwest, and have been friends for years, all went in different directions, and then reconvened... nice story.
I don't have much more to say presently. (Does anyone, really, on blogs?)
Check out the weather. Let's try to remember this if we ever start getting too nostalgic about Albany if we move from here, shall we?