Rarely are two sides equally right, and "balanced" has come to mean finding a nit to balance a lie. Get z Facts and then decide. (newsletter)
zFacts is a project of Steven Stoft. Launched in January 2003 upon the realization that Bush really was going to invade Iraq. It focuses mainly on economic policy, energy and climate, foreign policy and domestic politics. Having a science background, I'm more skeptical than liberals or conservatives. Being an economist I favor more market oriented approaches than liberals, but don't buy the free-market religion of conservatives. And I think personal and social (government) responsibility are equally important in the design of public policy. More info here.
If you like zFacts be sure to get The Reality App for your mobile. Or view it here on your PC.
New, Oct. 29, 2012. You can now stay in touch with zFacts through it's Facebook page by clicking below.

| Material on zFacts.com may be used freely provided its meaning is not deliberately distorted and zFacts is cited (however you wish). If used on another web site, zFacts.com must be given a normal HTML link however tiny. The following is always acceptable: |
ZFacts Material licensed under
![]() Attribution 2.5 License |
| <a href='http://zfacts.com'> Any Text</a> |
Who’s behind zFacts, oil companies or what? Nope. I’m Steve Stoft and this is my web site. I’m building it with a little help from my friends and volunteers, but so far, it’s mostly my work. I’m a Ph.D. economist and my day job is consulting for public electricity markets—California, PJM, ISO-NE, some private generators, and occasionally the World Bank, DOE and the UK Department of Energy and Climate Change. My professional web sites are stoft.com and www.global-energy.com. My books are Power System Economics, and Carbonomics: How to Fix the Climate and Charge It to OPEC. I started out in physics and I still find that field more simpatico.
What are your biases? At heart, I’m a scientist; that means I’m a skeptic. I don’t trust easy answers especially from politicians. I also don’t trust extremists, either left or right. But I don’t think these are biases; they’re based on observation. It’s hard to know your own biases, but I believe openness, information, and clear thinking are helpful—maybe those are my bias. I tend to be hard headed and soft hearted.
Why are you building zFacts? I like to figure things out, and I don’t like deceptions or misunderstandings, especially ones that harm people. So with zFacts, I get to investigate many of my interests, expose some deceptions and clear up some misperceptions.
Are you opposed to alternative energy? No, I love the idea of harnessing wind and solar. I’m just opposed to hyping things to well-meaning people, that don't do what's claimed. Corn ethanol is not working. Brazilian ethanol may be. Home-based solar voltaics are a rip off.* The better hybrid cars are a great idea. With my physics and economics background, I’m sorting this out for myself and posting it on zFacts.
What about global warming? I've spent about three years with almost no pay working on how to forge policies that will work to curb global warming—unlike Kyoto and cap-and-trade, which were sure-fire political failures from the start. In spite of that, I'm stil a skeptic. Climate science is still unsettled. But we know one thing for sure, there's a 50/50 chance, more or less, that it's going to be bad. That's all we need to know right now. It's idiotic to take that kind of a risk with our only planet and do nothing. With a 1/200 chance that your house will catch fire this year, you buy insurance, so don't be an idiot.
What about markets? Markets are amazing for what they can do, but they are no more of a cure-all than antibiotics. Corporations are basically sociopaths—they have no conscience. But, we need them. What we don't need is a bunch of billionaire sociopaths (corporations) fooling with our government—but that's what we've got and the conservatives are supporting it. Conservative are right that liberals are not careful with government money, but they are dead wrong that we should trust corporations and trash the American government. That's also not patriotic.
What’s on the zFacts agenda? As of August 2011, I'm planning on trying out a newsletter, and see if we can figure out how to make zFacts more effective, and perhaps get some research help. My next focus is the $12 trillion dollar Republican debt. Blaming that on the Dems or Obama is the biggest political lie of my lifetime.
* Solar PV. OK, a lot of people ask about this. Here's the math:
Right now Scientific American (and others, who are pro alternative energy) put the cost of solar at $0.55/kWh. Wind is about $0.08/kWh and new fossil is about $0.05. So for 3 cents a kWh we can subsidize wind into the system but it takes $0.50 to subsidize in 1 kWh of PV. So if you have a buck to spend on global warming you can get 2 kWh or solar or 33 kWh of wind. They both save about the same carbon per kWh. If your an environmentalist, why would you choose 2 kWh of green power when you could get 33 kWh for the same money. I work with these people and I can tell you the answer—it's a good cause, but they've become religious about it. Green power is sacred and its sacrilegious to make tradeoffs regarding green power that involve money.
Individuals can do better then 55¢/kWh, but only because they get subsidized. But these subsidies give greens a bad name by subsidizing better-off folks out of public coffers so they can feel green. Progressives must learn how to shop wisely. That's good economics and a basic American value and the conservatives are right, that the left often ignores this because they feel their cause is just. In my view that's a sin. OK, I'm an economics, but this is just home economics.
And by the wa,y the $0.55 cost is the low end of the range and it's for centralized PV which is much cheaper per kWh than home-roof solar.
Privacy Policy
Google, as a third party vendor, uses cookies to serve ads on zFacts.
Google's use of the DART cookie enables it to serve ads to zFacts users based on your visits to zFacts and other sites on the Internet.
Users may opt out of the use of the DART cookies by visiting the Google ad and content network privacy policy.
zFacts collects no personal data from visitors, except those emails of those who sign up for the newsletter, and those will never be given away or sold, period, no exceptions.
You can become an associate of zFacts by invitation only. This is a help page for those who have been given a login.
We apologize for moving your page.
This is the new zfacts site. The old zfacts site is at: zfacts.com/zfacts.com/
Here's How to Find an Old Page that Is Not Part of this New Site:
Look in your browser's location (URL) bar. Suppose you see this:
zfacts.com/p/783.html Then, change it to this:
zfacts.com/zfacts.com/p/783.html Hit enter.
That should take you to your page on the old site. You can browse the old zFacts site, here.
You may also find similar material on this new site by using the table of contents or search form on the left.
Best regards,
Steven
Leave notes here.
It's good to save often. If you try save and get a horrible red error message, open another window and go here. But if your changes were minor, just do them over.
, found a image/xlink.gif (use the IMCE Picture icon)Normally, put the editor in "Full HTML" text format mode (just below Body-edit window.
PopNotes pop open when the mouse goes over the reference. To make this happen the footnote reference and the footnote's number (in the note) must match and be formatted precisely. For footnote NN these formats are:
These formats will not be shown to the visitor, but you will see them when editing. Here are the other rules for making popNotes work:
Some hints about making the table and the notes:
HoverNotes Title
[#PopNotes]
| [=1] Note that NN can be just one digit. |
| [=there's a limit] NN can be no more than 50 characters long. |
|
[=delimited]Delimiters... are funny characters used to mark the begginng and end of some more normal string of characters. In this case they set of the popNote number, word or phrase. |
| [=reference] Brackets are fine in the footnote itself. |
| [=3] It's the button just to the right of the red circle with an "f" inside. |
| [=should] Should, but this is not necessary. The footnote # can go anywhere in the footnote. |
| [=PopNotes] Just hover over green-underline links above to see the "pop" notes. |
[#PopNotes]
| [=1] Sample |
| [=PopNotes] Just hover over green-underline links above to see the "pop" notes. |

Position your cursor before the paragraph that the image goes to the right of.
![]() |
| Caption |
Image with a Caption -- use a table
See Files/IMCE Setup for tech stuff
Add Image with a Popup Window Link
The "Magically Transfer Content" box in the edit screen allows
How it works:
Headers and Right Sidebar:
Widgets, Gizmos and Javascript:
Example: Edit this page and check the "Magically Transferred Content" editing box below the regular Body editing box.
Be sure to use Text format = PHP code
The Home Page:
Menus:
Books:
Blogs:
The Structure of a page is mainly controle by: Structure / Blocks. However the theme itself puts that Main Menu into the top Navigation Region. See zframe/!Notes on zframe.txt.
The Header contains a block, "Micro Login for Top Right" that contains both the login and the magicHeader div that can be loaded by using the Magic-Block-Input.
Paragraphs: The first paragraph is not indented, but the next one, and subsequent ones are. However, if a table or some non-paragraph occurs, then the next one is not indented. See Wysiwyg editing.
The Magic Blocks will contain whatever is inside these divs in the Magic-Block-Input box (below Body input box when editing).
The Magic-Block-Input must be used with "PHP code" as the text format. Do not style the magic divs; they disappear. Put any HTML, PHP, JS inside of them.
To turn on a widget/gizmo: Structure / Blocks / Configure / Show block on specific pages (at the bottom).
The Google ad shows up automatically.
There Column Layout: 10+220+525+20+175+10 = 960. pad+Col#1+Body+space+Col#2+pad.
The Table Border Bug:
Why does a table have a gray top border with either border=1 or border=0?
| top right | top left |
| bottom right | bottom left |
| top right | top left |
| bottom right | bottom left |
It can be fixed by using a style (such as style="border: 0px;" ) inside of <tbody>
| top right | top left |
| bottom right | bottom left |
| top right | top left |
| bottom right | bottom left |
Google displays code in a <textarea>. The trouble is that CK editor tampers with what's in this area unless it's using PHP mode. But then you can't do regular editing.
If you use PHP text formatting and then switch to Full HTML and back, CK will change > and > etc into < or whatever. UNLESS, you change <textarea>stufff</textarea> to <pre>stufff</pre>.
Then you can change to Full HTML and back and then switch to textarea.
Why does a table have a gray top border with either border=1 or border=0?
| top right | top left |
| bottom right | bottom left |
| top right | top left |
| bottom right | bottom left |
It can be fixed by using a style inside of <tbody>
| top right | top left |
| bottom right | bottom left |
| top right | top left |
| bottom right | bottom left |
Needed: (on HM)
Maintenance Checklist:
Move and Duplicate sites with unix:
The command that duplicated old zFacts: time wget --limit-rate=600k -m -k -K -E http://zfacts.com -o log
Backup with Drupal
Backup with C-Panel
Update Modules
Update Drupal Core (minor, e.g. 7.5 to 7.7)
From Dan: file upload capabilities, and thought that I would pay $59 for the CKFinder file browser. But I had a lot of trouble getting it to work, and in searching for solutions to my difficulties, came across others with the same difficulties who solved them by using "KCFinder"
Double Quotes Bug: They turn into "\" in CKeditor. This is caused by PHP. See Drupal Installing
Login / Content / Click the "Books" tab / Click on "edit order & titles"
Select a book and then select its "Outine tab:
Structure / Menus / Main Menue
To leave short titles in the TOC, but have long titles on the pages, I added a field to all of the content types: Node-Page (visible) Title, field_npagetitle.
Then I hacked themes/bartik/templates/page.tpl.php as follows:
Possibly helpful contributed modules:
For the html page title: http://drupal.org/project/page_title 7.x-2.4-beta1, Nov, 2010. 55000 use it (1,400 D-7).
For the html page title: http://drupal.org/project/simple_page_title, I think you can write your own. Not in D-7, only 33 users.
Users: "User 1" owns the sight. Be careful. See who is user 1 at URL user/1
Don't blog as user 1 if you are ever going to let someone else help write the blog under your name.
User zFacts owns the only active blog (for now). It's listed as zFacts Bog under "Don't Miss."
Supposedly the Bog module will compile all the user blogs into one big blog.
Blogs: Each user has one blog with all posts at user/whoever.
Clearing Caches:
CSS
what-to-style { some styles; }
what-else-to-style {
style 1;
style 2;
}
jQuery sites: jQuery.com jQuery4u.com W3schools jQuery Tools
JS: Mozilla
PHP Snippets (and some about JS snippets): http://drupal.org/node/337959 JavaScript in Drupal: http://drupal.org/node/121997 more on drupal_add_js() a php function to add JS to the head. JS in a block seems to just work. A JS-CSS Injection module: http://drupal.org/project/customcssjs (not for 7 yet) A JS Injection module: http://drupal.org/project/js_injector (not for 7 yet)
Paragraph one.
Paragraph two
Paragraph three
[#2]Unfortunately the Google Analytics method (below) avoids delaying image loads etc. But it still delays window- and body-loads and anything that depends on them. However, if the gizmo script is just completely missing (and not just slow) it does not delay anything. I think this seems good enough.
<script type="text/javascript">
The function statement is magic and causes its identifier to be bound before anything in its code-block* is executed. This differs from the function expression which is evaluated in normal top-down order, so if you changed the example to say:
internalFoo= function() { return true; }; It won't work the same
best lessons on basic objects and arrays, object creation, closures
https://www.google.com/webmasters/tools/home?hl=en https://www.google.com/analytics/settings/ https://www.google.com/adsense/report/overview
I'm already using Google Analytics Asynchronous Tracking Code
For Filtering my out of the stats, my IP address is 24.130.80.17, but it varies, so I need to recheck several times.
AdSense: All ads below content except for one 468x15 link unit.
On important pages: Install #2, move #3 into my content body, turn off default #3
Resources:
Programs:
Site setting for zfacts: Left margin = right margin = 19, cell space height = 0.
| 1 | /p/461.html | Debt Clock | /p/35.html | Gas Price |
| 3 | 196.html | Oil Price | 318 | Debt Graph |
| 5 | green-energy | Green Energy | 194 | Carbon Dioxide |
| 7 | 447 | Cost of Iraq | empty | Home |
| 9 | 784 | SS Crisis | 63 | Eth Subsidies |
| 11 | 1195 | Debt % Graphs | 576 | CRS |
| 13 | 1170 | ReaganBush Debt | 60 | Ethanol |
| 15 | 57 | Reagan's Budgets | 436 | Eth = 2/3 Gas |
| 17 | 775 | Reason for Iraq | 480 | Presidents+Debt |
| 19 | 49 | Global Warming | 486 | Leninist SS strat |
| 21 | 226 | CO2 is cause | 64 | Fentun is here |
| 23 | 789 | National Debt Clock | 85 | Cellulose Ethanol |
| 25 | 519 | Bush Deficit | 252 | Iraq War |
| 27 | 139 | A Clean Break | 1159 | Depression ? |
| 29 | voodoo | Voodoo Econ | gross-nat... | National Debt |
| 31 | 1197 | Video and Slides | 477 | Social Security |
| 33 | 783 | Top 10 GW facts |
| 1 | 581 | iraq-war-quotes: WMD | 108 | 242: Katrina Date |
| 3 | 426 | 243: ADM & Ethanol | 1117 | 85: Stimulus |
| 5 | 1165 | 130: Save or Borrow | 416 | 244: Wind |
| 7 | 790 | 245: Debt Data | 126 | 246: Stop Warming |
| 9 | 364 | 247: Iraq Giz Instruct | 222 | 249: Polar Melting |
| 11 | 679 | 251: Bomb Cambodia | 1136 | 164: Wars |
| 13 | 190 | 253: Gulf Stream | 202 | 280: Temperature |
| 15 | 990 | 255: OPEC gas tax | 483 | 193: Is SS safe? |
| 17 | 54 | 89: Energy Policy | 330 | US-economy |
| 19 | 87 | iraq-war-quotes: | 1196 | p/1197.html: videos |
| 21 | 800 | 220: ND clock | 205 | 161: warming effects |
| 23 | 295 | 286: Nuclear |
zFacts runs on Drupal, an open-source content management system (CSM). Basically, Drupal is the big brother of WordPress. Drupal does, blogs, books, forums, galleries etc. on a mix-and-match basis. It's much more flexible but hard to learn.
How Drupal got its name. Dries Buytaert was looking to buy a URL, and mistyped dorp, meaning village in Dutch. So he bought drop.org. The Dutch word for drop is druppel, which English speakers pronounce "droo-puhl," and which Dries transliterated to Drupal when he released the first version of the software publicly in January 2001. Now the White House web site runs on Dries' drops.
The site can use either www. or not. If www is used, it redirects to not (just zfacts.com). This is set in .htaccess about line 93.
This is the Drupal page about redirects and 301: http://drupal.org/node/38960
A simple redirect:
RewriteRule ^p/54.html$ http://carbonomics.org/node/89 [R=301,L]
L means "this is the last re-write"
Theme switching module: http://drupal.org/project/themekey. Fusion: http://fusiondrupalthemes.com/
Main Drupal.org Sub-theme page: http://drupal.org/node/225125
Sub-theme for Zen: http://drupal.org/node/1010576, help: http://drupal.org/node/193318
Over-riding style sheets from base themes: http://drupal.org/node/263967
Drupal Themeing Guide http://drupal.org/documentation/themes/bartik
Good links to theming pages http://drupal.org/node/341628
The width for the various regions are set in bartik/css/layout.css. Remember to decrease the width of the other regions by the same amount that #sidebar-first was increased. The region selectors are:
.one-sidebar #content
.two-sidebars #content
#sidebar-first (left)
#sidebar-second (right)
Content Types, articles, book pages, etc., are comprised of fields.
Big picture: Drupal Core Default Theme => Real Theme
Definitions:
Three Scenarios:
Scenario #1: Theme function. Define: function theme_myblock($vars) { ... }
Info about head_title http://drupal.org/node/655742
A very simple body.
test
one to go
How to put various types of content onto one page.
The front page allows this. Promote any node to the front page. This only works for the official front page. If you re-direct and make a different page your home page, it won't work.
Taxonomy:
Drush: http://www.opc.com.au/web-development/introduction-drush-drupal-power-tool
What are the public_html/ folders for?
| cig-bin | Hot Drupal |
| drupal_prior | Previous installed version. Used during upgrade |
| ebooks | zFacts ebooks, emails etc. |
| giz |
zFacts gizmos
|
| gizmo | jquerry tools (should be relocated) |
| includes | Drupal |
| Folder in: | /home/carbonom/public_html |
| cig-bin | Hot Drupal |
| drupal_prior | Previous installed version. Used during upgrade |
| ebooks | zFacts ebooks, emails etc. |
| giz |
zFacts gizmos, jQuerry tooltipsy, energy calculator
|
| includes | Drupal |
| metaPage | zFacts library (old but still used) |
| misc | Drupal |
| modules | Drupal |
| private | MySQL backups made by Drupal |
| profiles | Drupal |
| scripts | Drupal |
| sites | My websites |
| themes | Drupal |
| zfacts.com | duplicate of old zfacts |
| ../scripts | My scripts in /home/carbonom |
| Backed Up: | sites, ebooks, giz, ../scripts |
Does he cave in to Republicans? Is Obama too bipartisan. He does offer compromise and avoid divisive rhetoric, but there are two possibilities.
Progressives try to figure out which describes the real Obama by listening to his words. And, those don't sound tough, so they think he has no backbone. But what did Teddy say? "Speak softly but carry a big stick." There are two reasons to speak softly, (1) strategy and (2) weakness. Look beyond the surface to tell which is at play.
I say, there's a damn good chance—no a certainty—that Obama's bipartisanship is [#strategic], not weak. This doesn't mean he's deceptive. He really does think extremism is a bad thing, and he knows most American's agree. So sincerely trying for bipartisanship is good strategy—the middle is sick of extremism. It's also what Obama believes. But he knows that when the extreme right blocks all progress, his bipartisan stance (his strategy) pays off. See the irrefutable evidence.
<iframe src="http://zfacts.com/giz/G28/znews.html" style="border:2px solid #900; width:400px; height:100px;"></iframe>
The publishers web page will need to install a "<div>" for the news-entry box followed by a second one that contains the Publish button. The HTML for those is the following: