From Pine View Farm

October, 2017 archive

Meta: A Little BASH Script for Scaling Media 0

You may have noticed that I rescale embedded media to 500 pixels in width. When I started blogging, 800×600 monitors were still not uncommon, and 500px seemed a sane choice. I’ve maintained the practice for consistency’s sake.

At one time, I maintained a spreadsheet of common dimensions and their scaled values. I could enter the existing values and it would calculate the scaled ones, then I could save it with the additional data.

Ultimately I replaced the spreadsheet with a command line alternative, which works quite nicely (if you can remember high school math, you’ll recognize the equation; piping the output to bc is necessary because BASH by itself can parse only integers):

Code:
echo 500/[original width]*[original height] | bc -l

This outputs the proportional height.

Here’s an example:

Code:
bash-4.3$ echo 500/640*423 | bc -l
330.46875000000000000000 <---I round the output to the nearest integer

Read more »

Share

Trumpling Weinstein 0

At the Boston Review, Bonnie Honig sees both similarities and differences between Donald Trump and Harvey Weinstein. The similarities she perceives are not surprising, but the differences are chilling.

Here’s a bit:

Trump and Weinstein differ in one crucial way, however. Weinstein is old-school. He feared exposure. And his responses now show it.

(snip)

. . . Trump has changed the rules of the game. Trump would never offer to get treatment to save his job. He would never ask for a second chance. If you are emailing your friends asking for support, if you say you will seek treatment, if you are hoping for another chance, you are already—in Trump’s grade school terms—a loser: reality’s victim, not its maker. The game is over.

Follow the link for the rest; it is quite worth your consideration.

Share

The Fire This Time, Reprise 0

Warning: Language.

And, in tangentially-related news . . . .

Share

How Stuff Works, Trickle-On Economics Dept. 0

Scrooge McDuck in his vault saying,

Via The Bob Cesca Show Blog.

Share

The Gettysburg Depress 0

Werner Herzog’s Bear imagines a Trumpled Gettysburg Address.

Share

Observance 0

Donald Trump standing over flag-covered coffin of fallen soldier saying,

Via Juanita Jean.

Share

The Toxic Nationalism of Narcissism 0

Share

Raging Bullshit Artist 0

Little Tiny Trump thworn a tantrum in the presence of long legs, crying,


Click for the original image.

Share

QOTD 0

Samuel Horsley:

Despotism is the only form of government which may with safety to itself, neglect the education of its infant poor.

Share

Spam! Spam! Spam! Spam! Spam! Spam! Glorious Spam! 0

Spam thefts are breaking out all over Hawaii.

These Spam snatchers are not hungry people desperate for Spam, said Tina Yamaki, president of the Retail Merchants of Hawaii. They are most likely part of a Spam black market that’s taking off in a state where the demand for Spam knows no bounds.

Share

Russian Impulses 0

Josh Marshall takes a long and thoughtful look at the Russian cyber-disinformation campaign to exacerbate American cultural and political divisions and defeat Hilary Clinton. Here’s a striking bit:

Even some of the Twitter accounts which had already been found were considerably more prolific and influential than we had known. One Russia-created Twitter account for the Tennessee Republican Party had more than ten times the followers of the real Tennessee GOP Twitter account. The Tennessee party had apparently complained about it to Twitter, to no avail. A number of top Trump aides engaged with the ersatz account late in the 2016 campaign and President himself thanked an affiliated account on Twitter just last month!

Share

Value Vultures 0

Jim Wright exposes the con.

Read it.

Share

One Thing Is Not Like the Other Thing 0

Randye Hoder points out similarities between the conduct towards women of Donald Trump and Harvey Weinstein because of Weinstein’s contributions to Democratic candidates and causes.

She then notes a crucial difference:

. . . there’s only one difference that matters: We didn’t make Harvey Weinstein president.

Click the link to follow her path the this conclusion.

Share

Fancy Words Don’t Make Stupid Smart 0

Goa6:  What do you have there, Rat?  Rat:  New app I developed.  If you use stupid busines meeting jargon, the Earth opens up and swallows you whole.  Goat:  What jargon?  Rat:  Well, I have

Click for the original image.

When I was a corporate trainer, we fought gobbledygook all the time. It was quite a challenge to get trainees to internalize a growing awareness of this verity.

Share

Role Reversal 0

Images of Donald Trump and Jimmy Kimmel.  Trump is lableled

Via Job’s Anger.

Share

A Sign of Sporting Sanity 0

The Austrian state of Tyrol, which contains the city of Innsbruck, has voted against bidding to be the site of the 2026 Winter Olympics.

The Olympics long ago went from being a celebration of athletic prowess to become a branding frenzy of corporate greed, in the process morphing into more trouble than they are worth.

And then there’s the tantalizing question of which is more corrupt, the IOC, FIFA, or the NCAA.

Share

Plus ca Change, Truman Was Right Dept. 0

Share

QOTD 0

Robert Goldsborough:

. . . too often, what we refer to as humility is only false modesty strutting on the parade ground.

Goldsborough, Robert, The Bloodied Ivy (New York: Bantam Books, 1989), p. 167

Share

All That Was Old Is New Again 0

Heavens to Betsy Ruth, gleaning returns:

It might not sound like something that is happening in Maine right now — but it is. Gleaning, or gathering leftover crops from farm fields after the farmer has done his or her harvest, is becoming a piece that may help solve Maine’s food insecurity puzzle. Hunger and food insecurity, which is being without reliable access to enough affordable, nutritious food, is on the rise in Maine while it drops nationwide.

Share

Chartering a Course for Disaster 0

Share