Tuesday, March 25, 2014

Change backgroundColor - Baseball Scorecard, At-Bat Box in HTML5 Canvas - part 3



Monday, March 24, 2014

Baseball Scorecard, At-Bat Box in HTML5 Canvas - part 2

Blogger's Compose Interface creates issues with all the scorecards for Blogger that I have built.

The Compose Interface is the place where bloggers compose their writing (or score baseball games). It is equipped with all kinds of html shortcuts that write html for you via javascript enabled buttons along the top of the Compose window - just like your Email Compose Box.

When I create the markup for the baseball scorecards in a text editor - and then view the results in my browser - the results are radically different when I then take that code and paste it into the Blogger Compose widow set to 'HTML' - and then switch over to Compose mode tab. And then differently again when I publish it and look at the result on the Blog.

In this version of the html baseball scorecard for Blogger - which I guess I'll call the "Canvas Series" (ending the "Minima Series") - the Javascrpt that creates the box outline; the separation between the pitching notation area and scoring notation area; and the infield and outfield icons - are all produced via script - and that doesn't render in Bloggers Compose Interface at all!




Your browser does not support the HTML5 canvas tag.


BBBB
BBBB





BBBB
1234567
2
3
4
5
6
7
1234567
2
3
4
5
6
7
1
BBBBBB
3
4
5
6
7
#1,#2-1B
2
3
4
5
6
7

That's why I added dashed lines to the text boxes - so I can see which quaderant I'm going to write in, and on which line in that quadrant.

Here's an image I took of what I see in the Blogger Compose Interface, that you see rendered just above as a baseball scorecard 'At-Bat box'.



The next step in this Canvas Baseball Scorecard is to get the colour coding going. I've never seen the coding that makes the Compose shortcuts go ... I'm wondering if I can create some javascript that will allow me to use the text background colour pallet in the Compose Interface to colour code around the infield icon to indicate the progress of a base runner.


Next post is an experiment to see if I can get one javascript 'ChangeStyle' function to render one colour change in a background area in the Compose Interface box.



mh

Sunday, March 23, 2014

"We Declare a New Enlightenment" - a response to David Lowery's 'A Letter to Emily'

Further on Music Lawyer Chris Castle's view of the Revolution - a link to - and a critique of - a piece by David Lowery - Lecturer at the Department of Economics, University of Georgia, Artists Rights blogger at "The Trichordist", and former guitarist for Camper Van Beethoven:

The Trichordist, June 18, 2012 | "Letter to Emily White at NPR All Songs Considered."
by David Lowery
http://thetrichordist.com/2012/06/18/letter-to-emily-white-at-npr-all-songs-considered/


Interesting article (I suggest read it first; and then my retort below).


I posit that what we*, the internet generation are perusing is an open and free (as in connected) internet; and the problem with David Lowery's take is that it remains stuck in the old broadcast universe. What it doesn't see is that digital copying means that ALL content can no longer be held in a vault and distributed with the rotation of a turn-stile that is held open or closed by a vendor.

To explain I will make the following statement with in the context that I see, we exist in - as an extreme example to illustrate the point.

In order to illustrate how the new architecture of the digital content universe is so inexorably different that of the previous, just passed model represented by the movable type printing press (1440) to broadcast networks (1999) - the architecture of the world wide web - in a form as envisioned by it's founders, and integrated into the base level of ALL computers (the computing system under the Operating System - the computer itself), and the architecture that supports the world wide web - means that:

'All content that hither-to was produced with an eye to pay the creators and their partners via the turn-stile pay-per-view model ... is dead.'

Other-wise the internet will become an undemocratic place where the sum of all human knowledge will be parceled out to those you can afford it.

We stand at a nexus between a great democracy enabled by a world wide connectivity - or on the other hand, a connectivity that serves only an elite with special knowledge; that uses the web's other great possibility - it's ability to act as a two-way portal ... to surveil, and to use this function of the two-way technology to hold down the populace - to continue the 'special knowledge combine'. In short, to enable a global totalitarian epoch; a new Dark Age.

So when David Lowery compliments the internet generation's great moral and ethical stance on a wide variety of social justice issues - and then criticizes their immoral use of the www as it applies to how how they get their music - he does a great disservice to their ethical enlightenment. What they are doing in refusing the DRM, DMCA universe of the dinosaur broadcast (one-way) universe in the new, two-way universe.

It is nothing short of Martin Luther nailing the notice to the Holy Roman Empire's Church door.

'We declare a new enlightenment'.


The stark choice we face is - free all the content that was hither-to sold in order to pay the creators - and begin to find a new way to pay the creators. Creators will still create - we do this becuase we have to - it's not a career - it's like breathing air - all humans need to create - it's a foundation stone of what it means to be human. The cannons of a culture's creative content are crucial inexorable - not something fun, entertaining, titillating.

The recording industry will die, and so too will the TV networks - and the Newspapers - and Hollywood - and the Book Publishers ... But another way to employ creators and keep them crafting us our stories (we all are not the craft-persons we need to be to reflect back to us what we are). In short - the process that defines us - the act that is at the foundation for all other conversations in a culture ... will find a new metric; there is no question about that - and it will happen very quickly.

What needs to happen right now, is that the systems in place that dominate that content production economy, must get out of the way - and permit the new economy to birth and flourish.

The seeds and the sprouts of it are already abundant - they just aren't robust an spread around so much just yet.

Fear not, the future is coming - and it will be much better than the past.

Of this I believe, the digital generation is absolutely certain.


(I note that in this revolution there are a great number who may have little exposure to the philosophy here - but yet play with glutinous glee in this pirate garden that seems to be 'free' content. Nothing is free, the price may be quite steep after - by participating in this discussion I hope to shine some light towards that dark corner as well.)

____________________




Via today's email notification from Chris Castle's: MUSIC • TECHNOLOGY • POLICY | "The MTP Interview: David Lowery on artist rights" - by Chris Castle | http://musictechpolicy.wordpress.com/2014/03/23/the-mtp-interview-david-lowery-on-artist-rights/


* 'we, the internet generation' - in 2006 - from three newspapers every day, writing on paper, drawing on paper, recording to tape, broadcast TV - I turned it all off in the wake of the propaganda run-up to the Iraq War and the long unfolding of the horror itself; and dove - 'all-in' - into digital communications:
"michaelhollowaysblog" - 2006/12/20 | "The Tension of Life; and the Death of Ease." | http://michael-holloways-blog.blogspot.ca/2006/12/tension-of-life-and-death-of-ease.html




mh

Friday, March 21, 2014

You take the Low Road and I'll take the High Road --- I hate the way Texas Music Lawyer, Chris Castle sees the world

Chris Castle writes about music, technology and policy.

A subject very dear to my heart.

He and I don't see eye to eye.

Today he re-posted a post from 2012 in his blog, "Music • Tech • Policy" that I thought I'd comment on - but he uses WordPress and the widget there wanted me to give them my password in order to leave a comment.

No thanks - so here.

A casual example of how Google profits from lyric piracy and screws songwriters

June 4, 2012 by Chris Castle

I just happened to get a call from a songwriter about an illegal use of the lyrics from his songs. Thus we found http://www.lyrics007.com registered in–wait for it….China. Statshow estimates the monthly revenue is $41,000.00, 112,000,000 annual visitors and Google indexes over 600,000 pages.

After a little poking I found that Lyrics007 has just about any song you would want and–I know this will come as a shock–plenty of advertising. Served by? Google, of course. In fact, we saw plenty of ads for Google Play itself as well as YouTube partner promotions.

Little Big Town promotes Google Play and McDonalds as well as some drug ad for birth control:

IMAGE 1

Not only that, but Google is serving this illegal site ads for the H20 Festival and the Warped Tour to help a pirate site stay in business–oh, and make money for Google, of course.

IMAGE 2

And you know where the AdChoices “Free Music Download” ad goes to?

IMAGE 3

And then if Bob Dylan thought that getting a Presidential medal would get him any copyright protection, boy was he wrong:

...

[Read the rest and see the images at the link below]



To which I replied:
Why demonize Google? They're innovating all kinds of cool new ways to monetize music online using digital networking best practices.
You don't really want Google (all search engines) to stop listing do you?
What you really want is a bigger slice of an increasingly bigger online pie. Why not just say so?
I firmly believe that Artists should get 50% of all revenues derived from their work; so now that record companies no longer have a role in publishing and distribution - artists need to form a union of artists/publishers/distributors that fights for 50% of all revenues from all sources globally.
Google is your 'friend' - make the best deal you can - but not with threats to sue your friend (re: partner) - but with Artist's Unity! (and lawyers).

:)

Michael Holloway.
Singer-songwriter,
Toronto

P.S. Ethnocentric slurs aimed at China (cold war anti-communism?), and plays to divisive politics (moderating toxic effects of birth control pills) are very disturbing. Chris, please take the high road in this.



MUSIC • TECHNOLOGY • POLICY - June 4, 2012 | "A casual example of how Google profits from lyric piracy and screws songwriters" by Chris Castle | http://musictechpolicy.wordpress.com/2012/06/04/a-casual-example-of-how-google-profits-from-lyric-piracy-and-screws-songwriters/




mh

Tuesday, March 11, 2014

Twitter embed example - #BikeMonthTO

How to make a updating Twitter embed that lists all Tweets that include a hashtag of your choosing:
  • Sign into your Twitter account; at the top of the page, click on the gear icon;
  • Click and chose 'Settings'; 
  • Then in the list on the left choose 'Widgets'; 
  • Now a page with some tabs across the top will appear.
  • For a updating hashtag list, click on the 'Search' tab; 
  • Add your hashtag (like ‪#BikeMonthTO) in the box where they provide an example;
  • Adjust the 'Height' and 'Link color';
  • Click 'Create'; 
  • Copy the code offered at the bottom of the page and;
  • Embed it in 'widget container' on your blog or website.
Here's a test embed that shows every Tweet that includes "#BikeMonthTO":




(you don't have to set 'width' - the embed adjusts itself according to the width of the container it is placed in.)




mh

Monday, March 10, 2014

"Third Force" behind #Kyiv Maidan Sniper shootings Feb 19-20 - events that precipitated #Ukraine #Fascist Revolution

 All progressives must rally for Peace.

- Yanukovych Feb 19-20 Repression at Maidan, Order of the battle; Right Sector leads revolutionary occupations of Regional Authorities;
 - In Kyiv: Svoboda holds session of Parliament as Party of Regions members flee Kyiv as Police administration collapses;
 - Svoboda Parliament Feb 22 throws out Yanukovych Constitution, reconstitutes State, issues arrest warrant for President, declares Russian language not official, considers ban on Communist Party, Yanukovych's Party of Regions;
 - Neo-nazi group C18, attack Kyiv Communist Party Offices, occupy them.

During the days after the Viktor Yusenko ordered clearing of the Maidan that started on the evening of February 19th and which resulted in 125 deaths of strangely nearly equal numbers of police and protestors - I began to compile evidence of what I thought were important events in a chaotic situation - which appeared to me then to be not just the resignation of the government - but an overthrow of the State in Ukraine.

Order of Battle:

1) 8pm - Feb 19, 2014 - Maidan Attacked by a coordinated assault by Police working closely with all levels of Government (Streets Closed, Subways didn't stop at Maidan subway).

2) Evidence those occupying Maidan were very well organized:
The initial police tactic - simultaneously advance on the Trade Union Building (Occupied by the elite Maidan defense forces lead by 'Right Sector') - and at the same time Police began a slow march into the tent city portion of the square using a barrage of water cannon and gas.
In response the Trade Union building was set on fire as the Right Sector retreated from the building. At the same time in the Maidan Tent City, Right Sector set the tent city on fire and retreated behind it. The tent city acted as a barricade to stop the police advance. Protestors added tires and Molitof's onto the fire to prevent water cannon and fire crews for extinguishing the flames - stopping the Police advance.

3) I extrapolate (by what I know happened next) that an outside force was introduced in the mayhem at Maidan that night - there was to be slaughter at Maidan that night, no matter what the Government tactics were - so as to facilitate the seizing of Regional Government Buildings all around Kyiv - to the east and south of Kyiv (as far into the Party of Regions Provinces as possible - the western Ukraine Government buildings had mostly all been seized by Right Sector and other neo-nazi groups the week before).

______________

Today a leaked phone call from the Estonian Ambassador to the Estonia President was leaked - the Ambassador tells her that he talked to doctors on the scene at Maidan on the bloody day - Feb 19-20. He said the chief of Maidan Doctor Corps. told him that from pictures she had seen of dead Police Officers and the wounds she noted on shot Protestors that she treated - both were shot by the same bullets (I'm assuming hollow point assassination bullets), and in the same manner of shooting - to the head in the eye in the base of the neck - in short, she thought those killed that day (both Police and Protesters) were shot by the same snipers.

______________

The news of the massacre at Maidan the next day - caused the Police to defect from their posts, and I expect caused the army to split at the same time (evidenced by the defection of army and navy elements since Russia landed troops to protect Black Sea coast positions that are tactical to securing their navel base and airport on Crimea 3 days later)  - the with news from someone in the anti-Party of Nations, Union Coalition that that Parliament had been suspended, plus the roaming gangs of violent thugs beating everyone they came across plus the coordinated seizure of all government buildings caused a defacto collapse of the Government. Then Slovida called a rump Parliamentary Session with almost all the Party of Regions members had left Kyiv - and struck down Viktor Yancovich's constitutional changes made in 2010 and thus dismantled the State with a Parliamentey vote in a rump Parliament.

______________

On Feb 20 - the day of the sniper shootings, the Right Sector used the news of deaths coming out of Kyiv to lead angry pro-democracy demonstrators in occupations of Regional Government buildings wherever they could - this resulted in the collapse of not just the Government - but the Ukrainian State.
In Kyiv Svoboda (the fascist Party in the anti Yanchovich group) used the killings on the Maidan - with Party of Regions members defecting to the Unity Coalition and others fleeing the city under threats of murder - to hold a 'rump' Parliamentary session.
In this rump session they threw out the Yanchovich Constitution (which had a super strong presidency at it's core), banned the Russian Language and out-lawed the Communist party - essentially tipping any new session of Parliament in the Unity Coalition's favour.
What this new government and new State represents can be seen in how many, and what, government posts that the fascist Svoboda Party members got as the State reconstituted:

Rabble.ca - March 9, 2014 | What's really at stake in Ukraine | by Murray Dobbin | http://rabble.ca/columnists/2014/03/whats-really-stake-ukraine

Among the members of Svoboda in the cabinet are, according to Raimondo:

"*Andriy Parubiy -- National Security Council chief, and co-founder of the party when it was called (not so subtly) the "Social-National Party."

* Oleh Makhnitsky -- Svoboda member of parliament, is prosecutor-general.

* Andriy Moknyk -- the new Minister of Ecology, has been Svoboda's envoy to other European fascist parties. Last year, he met with representatives of Italy's violent neo-fascist gang, Forza Nuovo.

* Ihor Tenyukh -- interim defense minister and a member of Svoboda's political council. Formerly commander of Ukraine's navy, in 2008, during Russia's war with Georgia, he ordered Ukrainian warships to block the entrance of the Russian Navy to the bay of Sevastopol."


Wikipedia | Cabinet of Ukraine - #Cabinet | http://en.wikipedia.org/wiki/Cabinet_of_Ukraine#Cabinet
(Retrieved 2014-03-10 - 1:30am est)




_____________




Anton Shekhovtsov was arguing the State Departmen position, others were confused about the sniper report on Thursday thinking the Maidan fired on their own people, and the police for some unknown reason - Anton Shekhovtsov comment on Friday March 7th reflects my thinking and what I wrote above - writing days before - the key words are "Third Force".

And we all know who the third force in Kyiv is - the US Embassy, the CIA and US Special Operations.

And that Svoboda (and their military wing Pravy Sektor) was ready (previous week they had greened leaders in taking over Western Provincial Rada) - and executed take-overs of Regional Government apparatus - ***as the sniper fire was happening*** - all over the proximate Kyiv Provinces and as far east and south as they could muster forces for.

For the timing of events on Feb 19-20 see Wikipedia linked  - note Feb 20 (I have a screen print of the page as it appeared on Feb 25 which I publish here as well - but the page has not been altered in the interim):

Wikipedia | 2014 Ukrainian Regional State Administration occupations | http://en.wikipedia.org/wiki/2014_Ukrainian_Regional_State_Administration_occupations#20_February



Understanding this series of events we then understand that the US was using troops on the ground, in the name of fascist Pravy Sektor to execute a well timed and provocated coup d'tat.

A look at the previously progressive - or at least 'truth searching' Twitter list #Ukraine - today shows a massive onslot of pro-US Empire Tweets. The Empire is in full blown propaganda and disimformation mode as we speak. The same was true at Twitter list #Euromaidan the weeks before.

Un-like Georgia, where the fascists were hurled back easily by Russian troops - in this case the Kyiv government can be supported with troops through new NATO member countries on the Western boarder.

With unconfirmed reporting of Blackwater Fascist Ukraine hired US military forces on the streets in the Eastern Ukraine Industrial city of Donetsk - expect a shooting war in Ukraine between US Mercenaries and Russian troops sooner rather than later - if this report is true. 
(It looks a little if-y. But it could be a faint to get an advance north by the Russians - an attempt by the US to choose the site of the first battle ... of World War 3).

Charles Shoebridge is a Soldier and Intelligence officer, and a progressive:




Written Feb 25 to March 9th 2014




mh