Tuesday, May 17, 2011

McClatchy says Wikileaks US Diplomatic Cables reveal Oil at the centre of Libyan War

McClatchy Newspaper's investigative reporter, Kevin Hall has spent some time digging through some 25,000 Wikileaks Diplomatic cables that mention Italian, Libyan, Russian and US Oil companies. He says they reveal how Oil has played a central role in a gambit by the US and France to keep Russian and Italian government owned oil companies out of Libyan oil fields - a gambit that is in fact naked, terrible war - the NATO bombing and special operations intervention that is attempting to over-throw Libyan President Muammar Gaddafi.

From The Real News Network, May 16th 2011: "WikiLeaks Reveals US Wanted to Keep Russia out of Libyan Oil"

Kevin Hall in conversation with Paul Jay

http://therealnews.com/

So here we are again, Canadian Forces - through our NATO membership - fighting another war of aggression to control oil fields that as an oil exporting nation we have no interest in.

After the Conservative Majority was elected on May 2 2011, Bloomburg Press asked Federal Finance Minister Jim Flaherty to reassure Bay Street about his plans for the next budget (June 2011). He said the Conservatives will stay the coarse. (Bloomburg Press May 11, 2011 - "Flaherty Vows to Use Parliament Majority to Erase Budget Deficit by 2014".)

Harper's pledge at the G-20 Summit in Toronto on June 26th, 2010 stands (see excerpt from G20 Summit, Final Declaration at the end of this essay), says Flaherty - all the stimulus spending will be re-coped with spending reductions of C$4.3 Billion/year over three years.

Added to this balance sheet though is a 6B/year corporate tax reduction that lowers the Canadian Corporate tax rate to the lowest of any developed country in the world. Added to that is a promised new income tax rule that allows spouces with children under 18 years to declare their incomes separately. Collectively these measures will reduce Federal income by 10B/year - so $4.3 Billion in reduced spending, coupled with the 10 Billion per year in reduced revenues, leaves $14.3 Billion per year over three years in spending reductions in order to balance Canada's year to year accounts by 2015.

Those spending cuts could come through the cancellation of the contract to purchase 60 - F-35 Joint Strike Fighter jets from Lockheed Martin - killing airplanes that bomb innocent civilians in the streets of countries chosen by powerful interests who's agenda remains hidden from view - chosen for reasons that will be spun down to us by our 'free press' with words like 'human rights' and 'despotic leader'.

But those kind of cuts won't happen. Instead we'll cut programs that help people, and we'll further embed our economy with the corporate horsemen of a peak oil apocalypse.

Now that's some forward thinking Mr Harper - coming soon to a Federally funded service near you.


* * *

From "The G20 Toronto Summit Final Declaration (June 26 – 27, 2010)" (my emphasis)


...

10. We are committed to taking concerted actions to sustain the recovery, create jobs and to achieve stronger, more sustainable and more balanced growth. These will be differentiated and tailored to national circumstances. We agreed today on:

* Following through on fiscal stimulus and communicating “growth friendly” fiscal consolidation plans in advanced countries that will be implemented going forward. Sound fiscal finances are essential to sustain recovery, provide flexibility to respond to new shocks, ensure the capacity to meet the challenges of aging populations, and avoid leaving future generations with a legacy of deficits and debt. The path of adjustment must be carefully calibrated to sustain the recovery in private demand. There is a risk that synchronized fiscal adjustment across several major economies could adversely impact the recovery. There is also a risk that the failure to implement consolidation where necessary would undermine confidence and hamper growth. Reflecting this balance, advanced economies have committed to fiscal plans that will at least halve deficits by 2013 and stabilize or reduce government debt-to-GDP ratios by 2016. Recognizing the circumstances of Japan, we welcome the Japanese government’s fiscal consolidation plan announced recently with their growth strategy. Those with serious fiscal challenges need to accelerate the pace of consolidation. Fiscal consolidation plans will be credible, clearly communicated, differentiated to national circumstances, and focused on measures to foster economic growth.
* Strengthening social safety nets, enhancing corporate governance reform, financial market development, infrastructure spending, and greater exchange rate flexibility in some emerging markets;
* Pursuing structural reforms across the entire G-20 membership to increase and sustain our growth prospects; and
* Making more progress on rebalancing global demand.
Monetary policy will continue to be appropriate to achieve price stability and thereby contribute to the recovery.
...







mh

Sunday, May 15, 2011

Youtube Portal not working via my ISP May 15, 2011 - 1:31 PM EST

I'm following the spring floods on the Red River and on the Mississippi - so I wanna watch this. But Youtube is down! (A check of that search term found nothing.)

At about 1:00 PM EST, May 15th 2011, Youtube stopped rendering video. All the frames and related videos show, and all the links work - but the video just doesn't load, a black box is what you get.


But elsewhere, at other addresses, embeds are playing OK; so I thought I'd check see if an embed on my site would work.

Hey it works. :)




At 1:55 PM EST Youtube still won't play. And yes I checked that JavaScript is enabled.






mh

Sunday, April 24, 2011

From tables to an better understanding of CSS - The 'Minima II Blogger Baesball Scorecard'

Simultaneously posted at Michael Holloway's Baseball Blogs - a culmination of three articles at The Blogger Baseball Scorecard

It's been a good week.


Monday, April 18, 2011

The 'Minima' Blogger Baseball Scorecard


Introducing an important milestone in the development of this html baseball scorecard

I began this html scorecard project to score baseball games in a blog about a year ago. I started with very little experience in coding - just a basic understanding of blog writing production coding; like how to write code to make a link, how to code for italics, bold, make a headline sized font - basically stuff I learned producing the style I wanted and fixing problems while blogging over seven years.

Last spring I hacked a table out of an ESPN page that had 10 columns; I figured I could create a 9 inning wide by nine batter deep table with it - and score a baseball game using notations I would invent on the keyboard. (See Michael Holloway's Baseball Blogs - Thursday, May 6, 2010: "My HTML Baseball Score Card Hack".)

It worked fine, but it was pretty sprase looking - and the more data I added to each at-bat 'box' the more distorted the scorecard graph became ... so sometimes one couldn't quite follow what inning or what batter you were looking at. In the first go around I didn't know what 'cascading style sheets' were (they were those scary looking squiggly lines at the top that I never touched for fear of blowing up my computer), and I quickly threw out the CSS notation as they didn't do anything (I hadn't imported the style sheet). So I began by making boxes with html style tags - using width and height in almost every line of code. (Interestingly my development path followed the same path - ten years later - that led programmers to develop CSS.)

My learning curve in table making was all about stabilizing the scorecard graph while at the same time inventing a scoring notation that one could create with a keyboard, and creating a card that had enough room to score 'everything'.

The result is the table below which is made entirely of CSS boxes - 80% of them hidden from view now (thus the "Minima"). Those boxes are the 'skeleton' that keeps the thing stable. Below in the first player row of at-bat boxes, I've input some scoring notations that test every parameter of the scorecard and show some extreme scoring situations that test the size of the text areas - thanks to, for example, the Blue Jays vs. Mariners - April 11th, bottom of the 8th inning - 3 bases loaded walks. (See the 8th inning - April 11)

The places where text is input give you a clue to where the invisible or 'transparent' boxes are - the four quadrants around the diamond shape are the four - of Twenty boxes that make up One at-bat box - that can receive text; the rest hold the diamond shape in place, 'pressing' against the table that holds them, all the tables of all the rows constructed exactly the same so that when a reader zooms in and out, or resets their screen resolution - nothing moves relative to the rest. So anyone can learn to read it with out a jumble of distorting x, y axis making it difficult.


The next step in this project is to set up a web address, turn a computer into a server and rebuild the scorecard with position attributes, and use server-side includes (SSI) to lay in the tables (there are 333 of them in all - but only 13 different tables in all.)

Soon I'll need some programming help (and some financial backing - hint, hint), to produce a web site where people an come and score baseball games - a whole social networking thing with-in a baseball scorekeepers meme - anally retentive people like myself scorekeeping, saving scorecards to their personal accounts, printing copies, sharing them electronically, talking about scoring techniques in forums, developing the craft and the scorecard in wikis... .

Later still, and on the 'drawing board' (in my head) is an idea for a program that can 'lay in' data into these scorecards in real time, taking advantage of the work done at Retrosheet, to produce scorecards that update as the game progresses. Conversely a similar 'scraper' could extract data from html scorecards - written according to Project Scoresheet notations guidelines - to build an digital archive of baseball from across the culture - woman's leagues, children's leagues and even co-ed softball bar leagues.

If information is power then this much baseball information would be... well, confusing - and that ain't all bad.


Much thanks to:

* Kathryn Barrett, Sr. Publicist at O'Reilly Media, Inc who prized me Head First HTML, just for responding to a questionaire after an O'Reilly Web Cast.
* Also kudos to W3C school's CSS Tutorial pages and especially their neat-o "Try It Yourself" widget which I will continue to use extensively as I move forward.
* And thanks to Robert Brodrecht of "Robertdot" for being so clear and concise about "Triangles in CSS".
* And last but not least, my friend Chris F.A. Johnson who's timely tips and regular cues in direction have sped my learning - and who's vast knowledge of coding has helped make me aware of some of the best practices in this sub-culture of coding crafts-people.



Please note: I am self taught and don't follow the paths of teachers - rather the path of necessity (the mother of). Some may find my seemingly gargantuan gaps in knowledge unfathomable - and my blithe ignorance of well known CSS solutions worrisome ... so for those who's materials I have used as reference or who's advice I have sought, it should be noted that they are not to blame for the way I learn - I am. :)

mh


Monday, April 18, 2011 - The 'Minima' Blogger Baseball Scorecard




Wednesday, April 20, 2011

CSS Position at-bat Box - another milestone


Yesterday's milestone, the Minima Blogger Baseball Scorecard, sucks compared with today's milestone.


Below is a new AB box that is made with CSS position elements; the diamonds are where they are because of top and left absolute position elements with-in a relative parent element - rather than a series of boxes that are packed together so none of them move - as in the 'Minima' scorecard I finished yesterday. Yesterday I scored the New York Yankees at Toronto Blue Jays game with the Minima scorecard and I had a great deal of difficulty keeping up, every time I changed the position of the cursor in the graph, the blogger-create-interface would pause for about 2 or 3 seconds as the spider finished crawling the 604 KB file. I guess that might have something to do with my processor speed.


This is how CSS really shines - the code for this is only 64 four lines long as opposed to the Minima scorecard's AB box which took 130 lines to create - that's 66 lines saved X 162 AB boxes in a two team scorecard = 10,692 lines of code!

BBFS
BX








CS



#9 1,2
BH7
#9 2,3



That's good because before I erased all the spacing tabs that make code easier to read, the Minima was at 1.15 MB and Blogger's per-page limit is 1MB - trimming all the indent tabs saved about 300,000 bytes! Like in the Shampoo commercial - wash rinse, repeat - coding is a lot of cut and paste and repeat, and repeat and repeat. I was astonished the other day when I looked at the size of the Minima scorecard; a million bytes?!? How did I create a million keystrokes?



Saturday, April 23, 2011

Minima II Blogger Baseball Scorecard - styling with position


In case you haven't been here before, or haven't been back in a while - the Blogger Baseball Scorecard Project is a ongoing development of an interactive baseball scoring form that you can use in a Blogger blog to score baseball games.

The 'Minima II' is the latest model in the project and I'm very excited about it! Today, April 23, 2011 at 1:00 PM EST I'm going to score my first game with it at this address.

In testing the 'Minima II' I am shocked at how fast and responsive it is - there's no delay from the moment one clicks in a particular text area to the time the blinking prompt is ready for keystrokes - this is surprising to me because although the previous incarnation in this project, the 'Minima I' has twice as many bytes, it was infinitely slower (a function not of size, but architecture).

The difference between the two scorecards in coding is qualitatively different. The first, the 'Minima I' represents the old way that websites were contructed in the 1980's and early 90's - the New Minima II is constructed with Cascading Style Sheet coding the way modern web pages are made today - the two scorecards represent two points on a learning curve which is me teaching myself to write code. Oddly, my epiphany from one style of coding to the other happened with out any thinking - as soon as the older card was done I started writing Minima II - and had it ready for scoring in 2 days.

Yesterday I was going to score Game 1 of the Tampa/Jays series (that's Game 2 that I'm scoring today) but blogger kept discarding the bottom pitching table - so last night I added an relative position outer wrapper CSS element and added absolute position wraps around the five tables, and gave them all top and left positions - now Blogger reads the whole scorecard correctly (and dosn't mistake repeating data for an error).

So below is a first attempt at adding some style with position - it looks at little less like a brick wall now I think. :)

Next, maybe some images here and there.

mh


(All Images 'Rebigulate' on click)



mh