The sticky notes at the front of the page

blue stars for my 3 MPs (no, not my MP3s...)

Blogroll has moved to a new page. It was just too huge (close to 1000 blogs in Bloglines) and helps the page load time tremendously. Blogrolling.com just sucks, and Bloglines has too much. Oh, and I have updated Blogrolling.

Have a nice day!

Saturday, November 29

HP Magic Giveaway: Enter our contest to win over $6,000 in electronics! | Gear Live  


HP Magic Giveaway: Enter our contest to win over $6,000 in electronics! | Gear Live

Bonus post

Relevant Link

Permanent link posted by bytehead @ 11/29/2008 12:03:00 PM   Edit this entry 0 comments Links to this post

Friday, November 28

Spoilerage works with PHP!  


Here's how to do it.

You must instert this:
.commenthidden {display:none;}
.commentshown {display:inline;}

into your CSS (I have a CSS file I put it in).

The in the beginning of your template or included in the beginning of the template (which is what I do) put this Javascript code:

lt;script type="text/Javascript">
function togglecomments (postid) {
var whichpost = document.getElementById(postid);
if (whichpost.className=="commentshown") { whichpost.className="commenthidden"; } else { whichpost.className="commentshown"; }
} </script>


And then include either directly in the template or included after the Javascript:

<?php
function spoiler($id, $anchor, $hiddentext) {
echo '<a aiotitle="click to expand" href="javascript:togglecomments('.chr(39).$id.chr(39).')">'.$anchor.'</a>';
echo '<div class="commenthidden" id="'.$id.'">';
echo $hiddentext;
echo '</div>';
}
?>


Then you can call it with <php spoiler("uniqIDthatIwillcalculatenextver","what you want to say that needs to be clicked to show the spoiler","what the spoiler you want to tell is"); >

That's basically the post below this one.

Don't ask how long it took to get this post to give more than a blank page. I did a quicky install of Google Code prettify.js and .css. Only to find out that I still needed to change < to &lt: and > to &gt;. Not to mention typing &amp;lt; to show you that. And I'm not even happy about how it looks prettified. Oh well. It works. I'll leave it alone.

Permanent link posted by bytehead @ 11/28/2008 12:31:00 AM   Edit this entry 0 comments Links to this post

Thursday, November 27

Test  


This is a test

This should be spoilered and crap... I hope!


This is text after the spoiler test.

Permanent link posted by bytehead @ 11/27/2008 11:40:00 PM   Edit this entry 0 comments Links to this post

Things I'm thankful for today.  


Having Sparx, Garfield and the daughter-in-law safely back from Iraq.

Having Ann Coulter's mouth wired shut? No, she still has use of her hands to type her columns. She won't be completely quiet.

Having the two youngest still at home? Talk about your double edged sword.

Having good health? Do I even have good health?

Having Rose as a wife? Hell yes, it just sucks to be 9,000 miles apart right now. Talk about Apartheid!

Permanent link posted by bytehead @ 11/27/2008 04:55:00 AM   Edit this entry 0 comments Links to this post

Tuesday, November 25

Ann Coulter Jaw Wired Shut » Right Pundits  


Ann Coulter Jaw Wired Shut » Right Pundits

Maybe there is a god.

Relevant Link

Permanent link posted by bytehead @ 11/25/2008 09:11:00 PM   Edit this entry 0 comments Links to this post

Create Spoilers in Blog Posts. ~ Tips for Bloggers  


Create Spoilers in Blog Posts. ~ Tips for Bloggers
Copy and paste this Javascript code between </head> and ]]></b:skin> tags in your template on the Edit Html subtab of Template tab :

<script type="text/Javascript">
function togglecomments (postid) {
var whichpost = document.getElementById(postid);
if (whichpost.className=="commentshown") { whichpost.className="commenthidden"; } else { whichpost.className="commentshown"; }
} </script>

Save Template.

ADD CSS CODE
Then add the CSS code below :

.commenthidden {display:none;}
.commentshown {display:inline;}

just above the ]]></b:skin> tag in the template and Save Template.

ADD CODE TO POST TEMPLATE

Add the following code to the post template in the Settings----->Formatting tab. Then the code will be available to you whenever you are creating a new post :

<a aiotitle="click to expand" href="javascript:togglecomments('NAMEITHERE')"> expand </a>

<div class="commenthidden" id="NAMEITHERE">
PUT HIDDEN TEXT HERE
</div>

Give it an unique name where it says NAMEITHERE and change "expand" to what ever you like.
Neet to think about implementing this. Implementing this as some kind of PHP "macro" would be better. <?PHP spoiler(ID,"text to hide") ?> ID might even be optional, and be replaced with a random number. I'll post if and when I get it written up.

Relevant Link

Permanent link posted by bytehead @ 11/25/2008 08:05:00 PM   Edit this entry 0 comments Links to this post

Sunday, November 23

Hairy was part Maine Coon…  


You Are a Maine Coon Cat
You tend to be loving and playful around your family and friends.
But when you're around strangers you tend to be a bit reserved.

You are intuitive. You understand human emotions well.
You do best when you are around people. You don't like being left alone.
What Breed of Cat Are You?

Hairy is still the wallpaper on my phone. Even my new Nokia 6650.

Hairy

Permanent link posted by bytehead @ 11/23/2008 09:24:00 PM   Edit this entry 0 comments Links to this post

Tuesday, November 18

Am I ready to be a parent?  


You Are 92% Ready to Be a Parent
You are totally ready to be a parent. You pretty much have your life in order.
In fact, there's a good chance you've been thinking about starting a family.

You are financially and emotionally stable. You would provide a good home for a kid.
It's also likely that you understand kids well. You've spent a fair amount of time around children.

If you're already a parent, you are doing great!
Keep it up. More kids wish they had parents like you.
Are You Ready to Be a Parent?


Good God I hope so!

Permanent link posted by bytehead @ 11/18/2008 01:29:00 PM   Edit this entry 0 comments Links to this post

Monday, November 17

Test of EchoPic  


Photo sharing and image hosting - EchoPic

Kisses!

Warning! The actual picture is huge, so be careful if you save it, or even while loading.

Permanent link posted by bytehead @ 11/17/2008 03:31:00 PM   Edit this entry 0 comments Links to this post

Wednesday, November 12

Firefox and my bad coding habits.  


I've been using target="_new" in my Links to Monitor. I've been noticing that if I left click one of those links especially in a different window, it was overwriting a window. Turns out I have been cheating. _new used to work like that, but Firefox 3 has tightened the screws down a bit. _new isn't a generic name, it's now one specific name. What I needed to be using was the _blank, which opens up a new blank window/tab. I'd love to be able to also force a tab or a new window, but I guess that's asking too much. It may be possible with javascript, but I don't feel like going that route.

So today I got my Links to Monitor fixed and should (note should) have every _new replaced with _blank. I thought I had everything covered, but I still had a couple to modify in my template. So I'll let Google index everything and then I'll see if I'm still using it on the bryanlprice.com site, and then once I'm sure I've got it fixed, I'll go after bytehead.org, which will be much more work.

Update: More work on my template and including files. Including Blogger directives doesn't work unless they're in the template, not the included files. And a few more &s get translated to &amp;s. And publishing this will at least fix the front page.

Permanent link posted by bytehead @ 11/12/2008 04:02:00 PM   Edit this entry 1 comments Links to this post

What my house says about me…  


What Your Home Says About You
You come across as very intellectual. People take your wisdom seriously.

Your hygiene is passable, but you may be hiding some dirty secrets.

You are a very domestic person. You enjoy decorating, cooking, and making things homey.

You are a very nurturing person. You find meaning in taking care of others.

You feel settled in your life. You have enough time to focus on little details.

You are a very self sufficient person. You can get along well without much help.

Your friends see you as courageous, dynamic, and bright.
What Does Your Home Say About You?

Permanent link posted by bytehead @ 11/12/2008 03:37:00 PM   Edit this entry 2 comments Links to this post

Tuesday, November 11

Make Cake in a Mug - Wired How-To Wiki  


Make Cake in a Mug - Wired How-To Wiki (via)Ingredients:
4 Tablespoons flour

9 Tablespoons hot chocolate mix

1 Egg

3 Tablespoons water

3 Tablespoons oil
Spray the inside of your largest microwavable coffee cup with oil.

Mix the first two ingredients in cup.

Add egg and mix.

Add water and oil and mix.

(optional) Throw in milk chocolate chips, nuts, marshmallows.

Nuke in microwave on high for 3 minutes.

Relevant Link

Permanent link posted by bytehead @ 11/11/2008 01:12:00 PM   Edit this entry 0 comments Links to this post

Friday, November 7

Sean Hannity's Top 10 List of (Extremely Stupid) Conservatism  


Sean Hannity is a pussy (posse?)
Hannity's Top 10 Items of Conservatism

1) To be the Candidate of National security:
a) Victory in Iraq
Whatever that is. Iraq is not and has never been a threat to our national security! We kicked Hussein's ass. According to Shrub, we took out the bad man. When does the madness stop?
b) Fully support NSA, Patriot act, tough interrogations, keeping Gitmo open
Support NSA? What does that mean exactly? The Patriot Act, passed because everybody was told that we had to have it, only to be used not in ways intended by the very Congress that passed, and considered by many former supporters to now be nothing but bullshit. And if we have to keep Gitmo open because we don't even trust our own courts in these legal manners, you Mr. Hannity are seriously fucked in the head!
c) A Candidate that pledges to NOT demean our military while they are fighting for their Country. eg Harry Reid: "the surge has failed", "the war is lost"
So conservatives are against the 1st Amendment? More batshit right wing nonsense!
d) Candidate that promises to ensure that our veterans can live out their lives in dignity.
I agree on this point. But your own Republican candidate routinely voted the opposite way on this. Why did you support him if this is so important?
2) The Candidate who pledges to oppose Appeasement:
a) The Candidate will oppose any and all efforts to negotiate with dictators of the world in places like Iran, Syria, N.Korea, Cuba, and Venezuela without "pre-conditions"
That's funny. President Nixon and President Reagan did that themselves, and with Reagan being the current gold standard for conservatism, I'd have to say that you've already made this one null and void.
3) The Candidate Pledges to support Tax CUTS, and fiscal responsibility:
Ok…
a) The American people are NOT under taxed, Government Spends too much
Wrong on the first, but right on the second. You must be backing the wrong party, the Democrat Bill Clinton actually got the budget balanced his last two years, unlike Shrub who has managed to double the debt that this country now faces in his 8 years. Your own candidates don't meet this mark!
b) The Candidate who Pledges to ELIMINATE and VOTE AGAINST ALL Earmarks
What is the big deal with earmarks. They are such a tiny percentage of the budget… Let's start with the big expenses first if we are trying to cut spending instead of making insignificant efforts.
c) The Candidate pledges to BALANCE the budget
Again, Clinton did. Shrub has been talking about it out his ass. Shrub has had his own party in control for six years and he didn't do squat.
4) The Candidate Pledges to be a supporter of "Energy Independence"
a) supports Immediate drilling in Anwar and the 48 states
I've already blogged about how stupid drilling is, and the fact that the existing leases aren't even being used right now. I do not want to see my house covered in crude oil after a hurricane strikes and covers everything with crude. Hurricanes aren't a maybe here, they're a definite 100% probability.
b) Building new refineries
Take care of the NIMBY* problem and that should be a problem. I'll just say that's one hell of a problem you're going to have to solve.
c) Begin building and using Nuclear Facilities
Probably. But the US hasn't built one nuclear facility on time, on budget. Until you can actually promise that, it's not going to happen. And you still have to deal with the NIMBY problem again, if it isn't worse than the subpoint b. And it is.
d) expand coal mining
I didn't know that coal mining was being pushed back.
e) realistic steward of the environment
Define realistic.
While simultaneously working with private industry to develop the new energy technologies for the future, with the goal being that America becomes completely energy independent within the next 15 years.
That sounds nice. Haven't we supposedly been working on this since the 70's and the gas lines? Surely you're old enough to remember those. With Shrub the oil man in office for the past 8 years, why hasn't there been some kind of progress? You have no specifics, just like 4 decades ago.
5) The Candidate pledges to secure our borders completely within 12 months:
a) build all necessary fences
Fences for keeping others out, or keeping us in? Illegal immigration is not the problem that you think it is.
b) use all available technology to help and support agents at the border
We've already got one blank check (two?) written for the wars that are currently going on, we shouldn't be writing another one.
c) train and hire agents as needed
Duh?
6) Healthcare:
The Candidate will look for Free-Market solutions to the problems facing the Healthcare industry, and will vigorously oppose any efforts to "nationalize healthcare".
Free markets. Like the free markets of the CDOs and CDSs and the bankrupt Wall Street firms, and the bankrupt insurance companies. There is no such thing as a free market. I don't see anything but a single payer system working.
a) The Candidate will fight for Individual health savings accounts, that includes "catastrophic insurance" for every American, so people can control their own healthcare choices.
HSAs aren't a cure. And you have to be be currently making enough of a wage, definitely more than most people are making nowadays, to be able to put money in the account to start with.
7) Education:
a) The Candidate pledges to "save" American children from the failing educational system
Start be rescinding or fully funding the No Child Left Behind Act. Maybe actually returning a modicum of control back to the local level.
b) The Candidate will fight to break the unholy alliance of the Democratic party and teachers unions, which at best has institutionalized mediocrity, and has failed children across the country
This is a judgment call, and I'd have to say a very stilted judgment call.
c) fight for "CHOICE" in education and let parents decide
Vouchers? Hold the voucher schools to the same standards as the public schools first. But the Eight Ball says… Nope!
d) fight for vouchers for parents
Nope
8) Social Security and Medicare:
a) The Candidate will "save" social security and medicare from bankruptcy.
Social Security may not need much saving. Medicare? Solve the health care problem and you solve the Medicare problem.
b) Options will include "private retirement" funds so people can "control" their own destiny.
Yeah, just like everybody's 401(k) plans right now. Right in the fucking toilet, down the sewer.
9) Judges
a) The Candidate vows to support ONLY judges who recognize that their job is to interpret the Constitution, and NOT legislate from the bench.
Not going to happen. Their job is not just to interpret the Constitution, but also the laws put in front of them. If you're talking about the SCOTUS, it's the conservative judges who have caused you so much pain.
10) American Dream:
The Candidate accepts as their duty and responsibility to educate, inform, and remind people that with the blessings of Freedom comes a Great responsibility. That Government's primary goal is to preserve, protect and defend our God given gift of freedom.
Nice, but just exactly what are those responsibilities? What you list in the previous 9? Tapping Americans phones just because they make an international call is not our responsibility, and is in fact against the Constitution that you so to protect. At least those parts that you agree with it. Torture is our responsibility? I don't think so. Holding people outside of our country just to ensure that they don't receive our justice?

I find this outlook both despicable and hypocritical. On all 10 items on your list. You, sir, are a talking asshat. You are not a conservative. You are a so-called neocon, and you and all the other neocons have just your asses handed to you by this month's election.

Relevant Link

Permanent link posted by bytehead @ 11/07/2008 05:28:00 PM   Edit this entry 0 comments Links to this post

 

Article Index

HP Magic Giveaway: Enter our contest to win over $6,000 in electronics! | Gear Live
Spoilerage works with PHP!
Test
Things I'm thankful for today.
Ann Coulter Jaw Wired Shut » Right Pundits
Create Spoilers in Blog Posts. ~ Tips for Bloggers
Hairy was part Maine Coon…
Am I ready to be a parent?
Test of EchoPic
Firefox and my bad coding habits.
What my house says about me…
Make Cake in a Mug - Wired How-To Wiki
Sean Hannity's Top 10 List of (Extremely Stupid) Conservatism
Copyright © 2003-2008, Bryan Price. Licensed by Creative Commons License: Creative Commons License
Home| This page| Colophon| Disclaimer| Privacy Statement