Tuesday, May 27, 2008

Include HTML within PHP

I did some testing and found that I can now include HTML documents inside of my existing documents. This ability to reuse code beats me copying and pasting all the time. Now a simple edit to a single HTML file that I have included in multiple files can affect multiple pages without me having to edit each.

I couldn't find a reliable way to do this in HTML, so I was forced to use PHP. That's okay, as I have a little PHP integrated into my site anyways. Here's an example of what I did to include other HTML files in my existing HTML files:

The PHP page that contains this directive must have a .php extension and the server must support PHP.

Why did I feel like sharing this tip?
I found it difficult to find a way to include HTML in HTML, so I figured that even one more example on the Internet might help someone.

Friday, May 23, 2008

What a great week !

This last week has been great for a gun nut like myself. Finally after all the waiting, the goodies I ordered had arrived. I also went for a drive to Ted Gaillard's place and picked up my newly rechambered Remington 700. He was kind enough to sell me 100 pieces of 8mm Remington Magnum brass too. Returning to town that day, I checked the Post Office (yes my town is that small) and found a parcel ticket in my box. I was thrilled, as I was expecting the new Pact dispenser and scale combination to arrive. I handed in my parcel ticket and was surprised to see a long rectanglular box. My Choate stocks had arrived! I hurried home and cracked that box open. Damn their beautiful. Well, to me anyways.

Only a few days later I was lucky enough to come home and find that Tammy picked up another parcel from the Post Office. The Pact combo arrived. In minutes I had the box open, and started reading the manuals for the dispenser and scale.

Now I have a lot of work to do (can I really call it work?). I have about 180 pieces of 8mm Rem mag to form. So I will either have to borrow a buddies .35 dies or buy a set myself to create false shoulders on these cases before I fire form them to the new .338 Gaillard wildcat. I will also have to buy a sheet of stone flooring to use as a solid base for the Pact combo. I have read numerous recommendations suggesting that the scale works best on a sheet of smooth stone tile resting on a foam or rubber pad. This will make for accurate readings, as tiny bumps could throw off such a delicate scale. A cushioned and solid surface will defintely cut down on vibrations.

I need to run out and pick up a few pounds of powder too. Probably IMR 7828, or something similar. I can't wait to try out the new cartridge. I am tempted to fire form all of the cases without bullets, buy using the pistol powder and Cream of Wheat method. This will prolong barrel life, and not beat the hell out of me as I fire over 100 rounds.

One last note. I took some pictures of the two stocks I received. I'll post those in the next few days, to show off these great stocks. They truly are good products, despite what some others might suggest.
NOTE: I set the combo on a 13x13 foam-supported ceramic tile. This cuts down on vibrations that might affect the scale.

Choate has incorporated a nice integrated aluminum block to aid in securely mating the receiver with the stock.
Both the Ultimate Sniper and the Varmint stock have added accessories like extensions and alternate cheek rests.The Varmint stock differs from the Sniper (not just in color).Both stocks also have roomy forestocks allow for nice fat target barrels. I guess I need to save up some dough.

Wednesday, May 21, 2008

Moved to Blogger

I just transferred everything from my old Wordpress log to Blogger.

Why? I am lazy. I just don't enjoy having to frequently update or upgrade my Wordpress installation to handle security updates, etc.

Why Blogger? Why not? It's reliable, I don't have to update the software, and millions of users can't be wrong, can they? Heck, I can even edit the look and feel of the blog if I like (once I stop procrastinating and start doing it).

Wednesday, May 7, 2008

Mugison and the Queens of the Stone Age

On May 5th I was lucky enough to experience the Queens of the Stone Age and Mugison at the Odeon Event Center.

Both bands were simply great. I admit I went in not knowing anything about Mugison, and wasn't sure what to expect. Wow, what a band. They sounded great, and were really into it. The guitar player was impressive, as he seemed to really be feeling teh power of the crowd. I liked them so much I didn't hesitate to grab a copy of their "not officially released in North America" CD. I am not sure how I would describe the style of Mugison's music. Maybe it's better of not being labeled under any particular music category. These guys are just Mugison. They rocked.

The Queens of the Stone Age blew me away. These guys are simply fantastic musicians, and played hard. I am so happy I got to see them live. It's something I'll never forget. I don't have to describe them too much, as many people are already well aware of the excellence of the Queens.

The show was great, and I will definitely see either of these bands again if given the chance.

Monday, May 5, 2008

HOWTO: Make web visitors never come back to your site.

I have the secret to making web visitors never return. It's easy. Just edit your page to make it look like it is under going maintenance. It doesn't necessarily have to say "Under Maintenance", but it does have to look like you are fixing it, and never took the time to prepare something off-site in preparation for a disaster, or a server move, etc.

Am I an expert in this? Perhaps not, but I am guilty of it. Take a look at NewToGuns. It is my own web site and I buggered up the xhtml to the point where I got pissed off and nuked it. Sure I kept all my articles, but the site is definitely "under maintenance"