Saturday, April 27, 2013

Jays' shaky defense obscures positives in tight tilt with Yanks


Game Notes from Friday evening's scorecard - a match between the visiting Toronto Blue Jays, and the New York Yankees --- the complete scorecard of which ... is here: "Blue Jays at Yankees - Game 2" - http://internetbaseballscorecard2013.blogspot.ca/2013/04/26-blue-jays-at-yankees-game-2.html



Game Notes

Final in 9
Toronto Blue Jays: 4
New York Yankees: 6

Yankees win by 2 with a wild pitch and a pass ball by the Jays' battery - both of which plate runs That and base on balls all over the place; plus a double play not made in the second - and that's all she wrote. Shaky defense loses this one.

Interesting - this beat up Yankee team, and this still-finding-their-way Jays team - seemed to struggle together today - the game had a battle of cosmic forces kind of feel to it. These teams are well matched.

We'll have an indication whether or not my feeling is correct if the Jays win the next two. Quite an unlikely feat at this point.


mh

Wednesday, April 24, 2013

Internet Baseball Scorecard 2013 Architecture


Starting in the fall of 2010 I started to teach myself how to write html; and to build a way of scoring baseball games on line and publish them for free via Blogger. It took me a long time to learn how to code a web page correctly - but this spring I finally gleaned how it is done properly. To internalize the knowledge, I produced a schematic of the 2013 version (see the image below, and check out the real thing at the link).

Websites are configured in 'columns'. Every element of a web page is held in Horizontal position within a column. Vertically they are held in place by either stacking elements one on top of the other; or via the html 'position:' tag.

In this production, the vast majority of the page is held in place by 'div' elements stacked into one of 13 columns.

The Game Notes area (default top left); the per-inning totals table; and the bench and pitching tables for each team are coded at the bottom of the html - and positioned over top of the columns.

Here's a schematic of the 'Internet Baseball Scorecard 2013' - that I produced with my computer's 'Microsoft Paint' program:

Internet Baseball Scorecard 2013 - http://internetbaseballscorecard2013.blogspot.ca/



mh

Saturday, April 20, 2013

Hats off to Yankee starting pitcher, Hiroki Kuroda ...

Game Notes from Saturday afternoon's scorecard - a match between the visiting Yankees and the Toronto Blue Jays --- the complete scorecard of which, is here: http://internetbaseballscorecard2013.blogspot.ca/2013/04/20-yankees-at-blue-jays-game-2.html


Game Notes

46,095 paid tickets

Final in 11
New York Yankees: 5
Toronto Blue Jays: 3

As the TV sportcasting crew was saying all game long, the Jays were hitting the ball right at positioned Yankees ... And that tells you (me) that the Yankees' starting pitcher had full command and control of his pitches today - pitching to spots against the Jay's offense, that resulted in the batted ball going where the Yankee brain trust predicted they would most likely go.

Hats off to Yankee starting pitcher, Hiroki Kuroda for executing the game plan.

On the sloppy play by the Blue Jays' defence (which cost them the game) there is plenty of blame to go around. It seems everyone is trying too hard - especially Lawrie who is a natural leader - and so everyone is trying too hard ...

Not to mention that it is still uncertain who will stick with this team. With lots of major league capable talent just down the road in AAA Buffalo, who knows what will happen if some under performance is detected - anywhere on the field, it seems (if John Gibbons' PH and defensive replacement meme is any indication - which as yet, it is hard to tell  what messages he's trying to send to his players --- from here, a mile away from the stadium, at any rate).

Which reminds me of an idea related to this - do second-time-through coaches get the usual honeymoon ... Or are we allowed to call for their heads in April?  :)


mh

Tuesday, April 16, 2013

Dammit Jim, I'm a Health Insurance Adjustor, not a Baseball Writer!

Game Notes from Tuesday night's scorecard - a match between the visiting White Sox and the Toronto Blue Jays --- the complete scorecard of which, is here:
http://internetbaseballscorecard2013.blogspot.ca/2013/04/16-white-sox-at-blue-jays-game-2.html


Game Notes

Gibbons PH for Rasmus in the 7th.

Injury?

Usually you try to put your best defensive team on the field with a lead late. As the score was tied...

I like the way Joe Madden manages - everyone moves to the same position at a certain point in the game when the coach decides it's the best inning. That team is your defensive juggernaut.

Anyway...

It has to be a physical problem, because Rasmus was 2 for 2 with a home run when Gibbons pulled him, late, in a low scoring, tie game.


Dammit Jim, I'm a Health Insurance Adjustor, not a Baseball Writer!



mh

Sunday, April 14, 2013

drawing illusions with code



This is a bit of code I wrote that creates the outfield icon perimeter in the Internet Baseball Scorecard 2013.




To show you how it's made, below I add 'border: 1px solid;' to two 'containers'.





The border reveals the two containers which each have a white background. The inner shape is a 'border-radius:' - code that lets you put rounded corners on a box.

Here I show the two containers pulled apart. I moved the right-hand container 'left: 30px;'.







If I put a box with a white background around the half circle you can see the five shapes create an illusion:






A floating semi-circle. The top of a parachute. Perhaps the ice-cream end of the cone.




'radius-simple' - that will go into the scorecard



mh



Saturday, April 13, 2013

Baseball Art - "Izturis slides, Perez blocks, Jerry Meals gets into position"


An instant of a game caught on high definition camaras, broadcast on line at MLB and paused by me at this instant. The shot reminds me of the action in the Ty Cobb photo (see below) of him sliding into third, into the camera.

Everything's in motion in this frame. The tension before resolution is at it's zenith. I love the way the umpire is 'flowing' with the play.


"Izturis slides, Perez blocks, Jerry Meals gets into position"
"Izturis slides, Perez blocks, Jerry Meals gets into position"
by Michael Holloway
(open image in a new tab to see full size)

So what happened?!

--> Izturis looked to be blocked off the plate, but the ump had the only good look at it - he ruled the runner's cleat touched the plate (otherwise he was out).



Charles M. Conlon's photograph of Ty Cobb (1910), via Graham Womack's Twitter background image - https://twitter.com/grahamdude


Updated version - with cropped section restored (from Baseball's Golden Age: The Photographs of Charles M. Conlon 1993)

Screen Print via Time Magazine http://lightbox.time.com/2011/10/19/the-golden-age-of-baseball-photographs-by-charles-m-conlon/#11

---------------------


Top image created from a screenshot from MLB, Gameday, "Kawasaki's sac fly"

MLB | "Kawasaki's sac fly" | TOR@KC: Kawasaki drives in Izturis with a sac fly (01:16)
http://mlb.mlb.com/mlb/gameday/index.jsp?gid=2013_04_13_tormlb_kcamlb_1&mode=box

(Can't link directly to it - the link above gets you to the MLB Box Score for this game. Click on the Video Tab at the top and check the list of videos for this game - your looking for, "Kawasaki's sac fly".)

[This is a bad user experience, MLB Advanced Media.]



mh

Wednesday, March 27, 2013

WHY do 'IMG' tags align left to right by default - unlike any other tag?

Minima II v3.5.0 latest version DIY baseball scorecard for Blogger


Originally at +Michael Holloway in Google+
2013-03-26 12:48 AM (edited) - Public
https://plus.google.com/u/0/106539188672607672565/posts/J8xaPFLgzb8

This is the story of a fella who tried to learn how to code web pages without a teacher. Yeah, it's been done before - but this is my story, a long story/short - by way of introducing the latest version of my DIY html baseball scorecard - using Blogger as the publish medium.

internetbaseballscorecard2013.blogspot.ca/

I started a new Blogger blog for this year's version (http://internetbaseballscorecard2013.blogspot.ca/) - I used the Template Editor to pick a blog with a left sidebar, had to settle for a blog template that had one on each side, erased all the coding for the right sidebar, and then made the body of the blog really, really wide. I was done in about 20 minutes - simple. Simple I hoped, would mean fast.

When I started coding this scorecard monster back in 2010 (http://internetbaseballscorecard.blogspot.ca/), somehow I got the different default properties of the 'img' tag, and all other html tags - confused. I found out early in blogging, that if one wanted to place two images side by side, all you had to do was make sure they were small enough to fit in the space that one was providing for them and - by default in all browsers - they sit one beside the other; unlike any other tag, all of which align one Under the other.

So when I finally got to the point of discarding 'tables' as a way of positioning elements in the scorecard - and instead started using the position attribute - I was constantly trying to get elements to run left to right - like images do - trying to take advantage of the browser defaults to reduce coding and increase efficiency.

Blogger didn't like my coding; browsers didn't like it. I was at a loss ... all my scorecards we slow and sometimes became scrambled, especially in the new Blogger Compose Interface ... Until finally a couple of days ago - I realized, all elements align one BELOW the other by default, in all browsers - ALL EXCEPT image!!!


This new baseball scorecard is now built like all other web pages - positioned columns with rows of elements in them.


So far so good in Blogger.

Next I'm going to try and rebuild the monster with all the style in css in the Template of the blog (which will reduce the number of bytes per post by about half. Blogger likes that - and each post must be 1MB or less).

See how css in the template renders the new coding in Blogger's Compose Interface (which has been the biggest problem of late) - tomorrow perhaps.

Still lots of tables to make with columns and rows; and per-inning-totals coding to do - but it all looks like its going to end up smaller than Blogger's maximum of 1,048,576 bytes.


So it's looking like I'll be able to start scoring games in time for the start of the MLB season next week ... And log as many games as I can this year, on the way the the World Series where the Toronto Blue Jays will win in 6 over the San Fransisco Giants.

(when pigs fly; but there's a good chance the team will make the play-offs. :)



Internet Baseball Scorecard 2013 | Monday, March 25, 2013 | TEST: optimized for browser defaults, style in html, scrolling text areas, 11 col, 9 row, 2 teams - http://internetbaseballscorecard2013.blogspot.ca/2013/03/test-optimiized-for-brower-defaults.html

Internet Baseball Scorecard 2013: http://internetbaseballscorecard2013.blogspot.ca/

Full size image (internetbaseballscorecard2013.blogspot.ca): https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuaIgmFQpgDWal1_3kgCcMvRy47KF1z2OaoHi9CS5_JkXG0CLEsD8Dr93Q0kRV33ysOgnvI_VfXQozO20Sc12kSR5etRQkL_4VRCmbERrzYJMRo_i7YJMJMrI3LMHdrIDPrBaZErL6ijH0/s1600/Internetbaseball-scorecard2013_Minima-II_v_3.05.00.jpg

(edited for clarity)



mh