What is Man?

What is man, that thou art mindful of him? And the son of man, that thou visitest him? Psalms 8:4

Entries Comments


One line…

2 April, 2009 (21:27) | Technology | No comments

So I’ve had this bug for a while on the blog. If you’re logged in, everything works fine. But for someone not logged in, the right navigation menu column would sink under everything else on the page, and it was a bit centered.

The problem ended up being caused by a misplaced </div> tag in the comments.php file. Here’s what was supposed to be there:

<?php endif; ?>
</div>
<?php endif; ?>

Instead, the div tag was first. This caused non logged in users to lose their div tag, which kept the main container from forming. All the text at the top expanded and the left nav column, which was supposed to float to the right, was forced down to the bottom.

I haven’t had the time to fix this before today because of school. And no wonder; it took me about 6 hours today to find it.

Eureeka!

1 April, 2009 (16:32) | Tips | 1 comment

I just discovered, by total accident, a super neat trick for a long-time annoyance. When I’m writing in Microsoft Word and the red squiggly line for a misspelled word pops up, I usually just backspace and correct the typo. But sometimes I don’t know what the correct spelling is. This means taking my hand off the keyboard and right-clicking with my mouse to get the pop-up context menu with the correct spelling. Now, that may sound like a really picky annoyance, but it breaks the flow of typing. Here’s the solution:

Most (Wintel PC) keyboards have a context menu button next to or close to the space bar. It will have a graphic on it that Application key icon looks like this one. It’s called the menu button, context button, or application button, depending on who you ask. Essentially, it’s a right click. When I make a typo, I just hit backspace or left arrow and then the context key. The pop-up context menu will appear with the spelling options up top. The down arrow key selects the one you want, the enter key selects. If you don’t get the right suggestions, the escape key cancels the pop-up. It takes using it a few times to get used to the action and make it a habit, but it’s well worth it once you start using it a bunch.  

I Am Better than Most People I Know…

3 December, 2008 (11:27) | Spiritual | No comments

The Joseph Institute Center for Youth Ethics published their annual ethics survey this week. They’ve been publishing surveys since 1992, but this 2008 survey in particular caught my interest because of the closing questions.

The survey shows that:

30 percent overall admitted stealing from a store within the past year.  In 2006 the overall theft rate was 28 percent.

More than two of five (42 percent) said that they sometimes lie to save money. More than eight in ten students (83 percent) confessed they lied to a parent about something significant.

Cheating in school continues to be rampant and it’s getting worse. A substantial majority (64 percent) cheated on a test during the past year (38 percent did so two or more times), up from 60 percent and 35 percent, respectively, in 2006.

(Ok, I need to change the quote color in my theme, it needs more contrast.)

This survey represents the people who are going to be our CEO’s, governors, and other leaders in the coming 10 to 15 years.

Really though, the most startling facet of the survey  was the closing statements:

As bad as these numbers are, it appears they understate the level of dishonesty exhibited by America’s youth. More than one in four (26 percent) confessed they lied on at least one or two questions on the survey. Experts agree that dishonesty on surveys usually is an attempt to conceal misconduct.

Despite these high levels of dishonesty, the respondents have a high self-image when it comes to ethics. A whopping 93 percent said they were satisfied with their personal ethics and character and 77 percent said that when it comes to doing what is right, I am better than most people I know.

Two Biblical references come to mind:

2Timothy 3:1-5a
But know this, that in the last days perilous times will come: For men will be lovers of themselves, lovers of money, boasters, proud, blasphemers, disobedient to parents, unthankful, unholy, unloving, unforgiving, slanderers, without self-control, brutal, despisers of good, traitors, headstrong, haughty, lovers of pleasure rather than lovers of God, having a form of godliness but denying its power.

Luke 18:10-14
“Two men went up to the temple to pray, one a Pharisee and the other a tax collector. The Pharisee stood and prayed thus with himself, ‘God, I thank You that I am not like other men–extortioners, unjust, adulterers, or even as this tax collector. I fast twice a week; I give tithes of all that I possess.’ And the tax collector, standing afar off, would not so much as raise his eyes to heaven, but beat his breast, saying, ‘God, be merciful to me a sinner!’ I tell you, this man [the publican] went down to his house justified rather than the other; for everyone who exalts himself will be humbled, and he who humbles himself will be exalted.”

Comments?

 

What Do You Do With a 366Mghz Laptop?

19 November, 2008 (18:41) | Hardware, Software, Technology | No comments

I had an old Thinkpad 570 laptop in the closet, 366Mghz, 192 megabytes of ram, 6 gig hard disk, Windows 2000. It has a dock, but without it, it’s got 1 usb 1.0 port and no optical drive. The 5000 series was at one time a line of premium ultra-portables with a sterling reputation, and some people still use them with Linux. This one does have a pretty glaring flaw… if I pick it up by the corner and it flexes, it blue screens.  I know what the problem is, it’s a break in the hard disk connecter. It won’t do it if the hard drive isn’t in, and it does it with any hard disk. The other problem is the the battery lasts about 8 minutes.

I tried to put Linux on it at one point but it was really flaky, even though I tried three different distro’s. I never even got it to boot reliably.

So I found a good use for it, one that doesn’t require handling.

I use it as an audio bridge for the sound system.

I have an older Logitech Z-680 surround sound system hooked up to the DVD player in the living room, it sounds great and I love to listen to it. I wanted to be able to play music from my laptop over it, because it can convert stereo into something that sounds like surround sound. My only way to do this was to run a cable from my laptop to the control box’s analog input. That was cumbersome, so this is what I did:

I took the Thinkpad and got it on the wireless network with a 20 dollar Trendnet wireless PCMCIA card from Newegg. After I got it going (no hang-ups there), I downloaded and installed Winamp 5.5 and UltraVNC. I use Winamp as my music library and UltraVNC allows me to remotely control the Thinkpad’s desktop from another PC. Both programs are free. The newest version of VNC (1.0.5) gave me some problems on Vista, so I used 1.0.2 and it works fine. This is what it looks like from my tablet laptop:

screenshot

The window in the center is the Thinkpad’s desktop, which is running Winamp at full screen. I set up an icon with the VNC username and password on my desktop so all I have to do is click the icon and I get a connection.

Here’s the setup:

1119081722

The cable going into the left of the laptop is the USB connector for the external hard drive. On the right top is the green audio connector that goes from the headphone jack to the surround sound control pod. You can see the wireless card sticking out on the right, too. On the far right of the picture is an external 100 gig hard drive and the Z-680 control pod. All this except for the pod goes behind the gas fireplace and next to the subwoofer.

1119081724

This is what it looks like from the couch:

1119081725

Only the control pod is visible. It’s remote controlled, so I can switch between digital and analog inputs and control volume, though I usually use Winamp’s volume for that.

Here’s a (blurry)  picture of me using it on the tablet, no wires attached:

1119081728

So far, so good. It’s turned out to be even cooler than I thought, because created a share on the external drive and I now I back up files to it across the network.

Laptop Power Socket Repair

15 November, 2008 (13:12) | Voices for Christ | No comments

I love JB Waterweld.  The stuff is like duct-tape for men. When I was in the Navy I used it for everything from packing and and tapping a stripped out bolt hole to fabricating parts for a biometric lock.

Yesterday I fixed a laptop for dad that had I promised to fix a while ago but just got around to doing. It still worked but dad had to prop up the power cord on something to keep upward pressure on the socket. I took the thing apart and immediately found the damage.

plug_fix_1 

The top circle is the plastic socket, the bottom circle is the mount on the laptop body. The socket had grooves in it to hold it flush to the laptop body, but the flanges on the body had snapped off, leaving nothing for the grooves to slide over. Additionally, the socket connector itself was damaged.

plug_fix_3 
Plug — Socket ——Connector — Wires

The center (hot) rod of the socket was attached to power on the back of the socket with a rivet-like flair over the power wire’s washer connector, but the flair had broken off leaving the red power wire with nothing to hold it against the back of the center socket rod. That’s why holding up the plug worked… It leveraged the little hinge under the failed center rod connecter, pushing the center rod and connector out against the red power wire. Sorry, it’s hard to explain without a better picture. The whole back of the plug was covered with another plastic cap as well.

I ended up scrapping the back cap and soldering the red power connector directly to the socket’s center rod. I then insulated the red (hot) and green (ground) wires from each other and created a cap to strengthen and protect the back of the socket with a blob of waterweld.

plug_fix_2

I went ahead and used the rest of the Waterweld to cement the socket into the laptop body. Dad’s pretty happy with it, so I’m happy too. There’s only one problem with Waterweld. When you mix it (it’s like putty) it warms up and smells like urine… and the smell is a bit hard to scrub off. Oh well.

How to Become an Ex-Pirate

7 November, 2008 (20:31) | Software, Technology | No comments

I used to pirate software. Until 2007, every piece of software I used was either pirated, free, or open source. Music wasn’t spared, either. At one point I had nearly 80 gigs of music, most ripped from friend’s CD collections or downloaded. I could write a whole post on how I justified piracy. I came under some personal conviction about stealing in 2007 and started a long trek to “switch” to legit. I thought it would be hard, but I made some interesting discoveries and found out in the long run that going legal has its own rewards.

Music: mp3.amazon.com 
This site is great. All music tracks are 89-99 cents, most albums are around 9 dollars. All tracks are encoded at the very high quality of 320kbps. Most important: NO DRM. If you buy from iTunes, you’re getting stuck with files chained to Apple’s software. Amazon’s files have no such restriction. I’ve found that buying a track or album off of Amazon is a satisfying experience. It’s easy to find the files, purchase is one-click, you can preview anything you buy, the file quality is always good, and you don’t have to worry about cooties or getting sued.
Read more »

Windows Live Writer

29 October, 2008 (10:14) | Software, Technology | 1 comment

So I’m experimenting with Windows Live Writer as a manager for this blog. It’s part of the Windows Live suit, which includes Live Mail, Messenger, Photo Gallery, and a toolbar for access (get.live.com). I don’t really have a use for the rest of those, I already have Outlook for email,  Pidgen for text messaging, and Picasa for photo organization, and I’m not big on toolbar clutter.

But Live Writer is pretty nifty. I’m still experimenting with it, sticking some plugins into the program, etc. My biggest need right now is for flash implementation, since sermons.albanygospelchapel.com used imbedded flash audio in every post. My work-around is a plugin called “Text Template” that allows me to dump in saved snippets of html and javascript.

So far live writing is working out well, and it’s a HUGE improvement over the built in editor that comes with the
Wordpress suit.

For we are all one in Christ Jesus…

5 April, 2008 (10:14) | Spiritual | No comments

I was reading the Bible this morning in Luke chapter 4, where Jesus goes to the synagogue in Nazareth and read from the book of Isaiah (for us it would be chapter 61). The passage says, in part,

“He [God] has sent Me to heal the broken-hearted, to proclaim liberty to the captives, and to recover the sight of the blind; To set at liberty those who are oppressed, to proclaim the acceptable year of the LORD.”

He tells the Jews that the passage refers to Him. “Today this scripture is fulfilled in your hearing.” Read more »

So Rich a Crown – J. Boyd Nicholson Sr.

15 March, 2008 (23:21) | Spiritual | No comments

I found this fantastic spiritual vignette on plymouthbrethren.org. I love the poetic quality here, and the undistracted focus on the person of our Lord Jesus Christ. Read and be blessed!

He came, out from God, a gift from the Father’s heart. Descending from the throne high and lifted up, He laid aside the garments of His majesty. The train of that robe of light filled the heavenly sanctuary with its radiance. Stepping down from the infinities of uncreated light, He passed through the creature realms of wondering angels, taking nothing of them. Still downward He came to one of the billions of His galaxies which He Himself had made. There His destination hung, a speck of sunlit stardust, so insignificant among gigantic suns and island universes that only He could find it, for in the eternal purposes of love and grace He had placed it there as a paradise for His creature man. Read more »

Growing Together

13 March, 2008 (13:34) | Spiritual | No comments

“How precious is Your loving-kindness, O God! And the sons of men take refuge under the shadow of Your wing.

They shall be satisfied with the fatness of Your house; and You shall make them drink of the river of Your pleasures.

For with You is the fountain of life; in Your light we shall see light.

O continue Your loving-kindness to those who know You, and Your righteousness to the upright in heart.”

Ps. 36:7-10 Read more »

« Older entries

 Newer entries »