Glen Mazza's Weblog Friday June 09, 2017

New OSHA regulation needed?

Today for the first time I visited Old Fort Niagara located in Niagara County, New York State, where the Niagara River and Lake Ontario meet. Beautiful place, fort and scenery amazing, highly recommend. Saw something I didn't like though at the end of my visit -- there is one long and rather steep embankment that Old Fort Niagara maintains as a grassy lawn that apparently receives regular mowing. The embankment was to a degree that the two lawnmowing employees using push mowers seemed to be having trouble mowing it laterally (as gravity would presumably cause a mower to slide down to the bottom), and so I saw them instead push the mower up from the bottom to the top, such as that if they were to slip and lose their balance and fall while pushing it upwards, the unspeakable could happen.

Granted, I only watched for a minute or so before being alarmed, so pushing (well, driving, as it appeared the wheels turned on their own) the mower upwards may not have been the regular procedure that they follow, but just that of a few unfortunate edge cases, but after the second consecutive time seeing one employee do this I signaled my concern to an information guide and we then saw the second employee do the same thing. The guide said he would bring that issue up to management, and to further play it safe I raised my concern separately to two other employees on my way out. Even with dry conditions as we had today that would be questionable, but what if the grass was wet and slippery?

When a organization chooses to maintain a slope that steep, perhaps OSHA should come in and put in some safety regulations for employees asked to mow things such as that. My suggestion would be that any slope that is so steep that a person cannot cut laterally across it needs to be cut with a non-motorized grass cutter instead. Perhaps we can be more specific, saying anything above (say) 45 degrees must be non-motorized. Such a rule will give organizations the option of power mowing below 45 degrees, manual clippers of live grass above 45 degrees, or choosing options that don't require mowing (such as ivy or artificial grass) if they find slopes greater than 45 degrees to be the most attractive but don't wish to deal with any reduced effectiveness of the manual clippers.

The non-motorized tools are perhaps not as good at cutting everything, but any missed grass blade is all but certain to be cut the next time around, meaning one is not going to have stray grass blades several inches longer than others due to them being continually missed. And as for some mechanical mowers leaving the clippings while the real ones pick it up, an argument can be made that that's where they should remain anyway, instead of filling landfills, but even if not they can always be manually raked and collected afterwards. Alternatively, any concerns that it wouldn't be historically accurate for Old Fort Niagara to switch to ivy, well, it's certainly not historically accurate that the grass on those embankments was maintained impeccably either. Ultimately, we're here to see a fort, not oooh and aaah a gorgeously maintained baseball field, and we should be expected to make modern day adjustments for the safety of all.

Posted by Glen Mazza in Other at 06:00PM Jun 09, 2017 | Comments[0] Sunday March 05, 2017

Blog Index

Here's a collection of blog and external links for easy reference by topic.

Apache CXF Web Services:

  1. Creating a WSDL-first web service with Apache CXF (March 2017)
  2. Activating Transport Layer Security (SSL) for web services (March 2017)
  3. Using UsernameToken security with Apache CXF (April 2017)
  4. Using Message-Layer Encryption to protect UsernameToken credentials (April 2017)
  5. Using X.509 security with Apache CXF (April 2017)
  6. Deploying and Using a CXF Security Token Service (STS) (April 2017)
  7. Sending and processing SOAP faults in web service calls (May 2017)
  8. Using JUnit to test SOAP Clients (April 2017)
  9. Creating integration tests for SOAP web services (May 2018)
  10. Tracing SOAP calls with Wireshark (May 2017)
  11. Using the Quartz Scheduler to make recurring SOAP calls (June 2017)
  12. Using MTOM and Apache FOP with SOAP Web Services (May 2017)
  13. Using Apache CXF to access Salesforce Marketing Cloud SOAP API (March 2017)
  14. Using SoapUI to make Salesforce Marketing Cloud API calls (May 2017)
  15. Customizing and enhancing JAXB classes generated during the WSDL-to-Java process (June 2017)
  16. Adding JAX-WS handlers to SOAP web services and clients (February 2018)
  17. Replacing JAX-WS handlers with Apache CXF interceptors (March 2018)
  18. Activating XML schema validation for SOAP calls in Apache CXF (Jan. 2018)
  19. Switching from SOAP 1.1 to SOAP 1.2 messages (June 2017)
  20. Using SAAJ to call RPC/encoded SOAP web services (May 2018)
  21. Compressing SOAP Messages during transit (March 2018)

CXF has a user's guide and an articles page listing special topics. For individual assistance, the CXF-Users mailing list and Stack Overflow are available.

Other Topics:

  1. Deploying TightBlog on Linode
  2. Streaming Salesforce notifications to Kafka topics (November 2017)
  3. Hosting Spring Boot Applications on Kubernetes (February 2018)
  4. Sending Custom Metrics from Spring Boot to Datadog (February 2018)
  5. Creating Selenium Tests for Java Web Applications (August 2013)
  6. Creating a Java Swing alternative to JConsole for calling MBeans (June 2014)
  7. Working with Apache Derby (June 2013)
  8. Docbook Resources and Usage Tips
  9. My Ubuntu post-installation tasks
  10. Suggestions on handling written warnings
  11. Fifty Best Songs for Lindy Hop
  12. Glen's Fitness Tips

Posted by Glen Mazza in Other at 07:00AM Mar 05, 2017 | Comments[0] Sunday November 20, 2016

Benefits of Retaining the Electoral College
  1. It respects the Great Compromise between the states - The Great Compromise, meant to protect small states from getting overwhelmed by the larger ones, necessary to get them to agree to form the Union, extended not just to the legislative branch but the executive as well. By adding the equal number of senators to the number of congressmen to determine each state's electoral votes, small states were given additional weighting in the say they would have in choosing the President.

    For example, one state A with twice as much population as B might have 6 representatives to B's 3. However, the number of electoral votes is not 6 to 3 or twice as much say but 8 to 5 due to the addition of the senators, resulting in just 1.6 times as much say, honoring the compromise. Switching to a popular vote would eliminate that weighing benefit, as state A would have roughly twice as many voters as B and hence twice as much say.

    This benefit given to the small states has shrunk by about a third since the country was formed. In the First Congress there were 68 congressmen and 26 senators generating a total of 94 electoral votes, so that a state's population was only a 68/94 = 72.3% factor of its say. Since the number of congressmen was fixed at 435, population now provides 435 / 535 (leaving out D.C.'s 3 electoral votes which aren't based on representation) or 81.3% of the weighting.

  2. States are better protected from voter irregularities occurring in other states - With the Electoral College, any ballot-box stuffing done by one state does not limit the say of others. Take one state with say 10 electoral votes, for example, they could have three, five, ten million falsified ballots for a candidate, they can go to town, it wouldn't matter, only that state's 10 electoral votes would be corrupted. Pennsylvania (20 votes), Iowa (6), Arizona (11), etc., would still have their say and their respective weighting. If we switched to a popular vote, those invalid votes would count to the national total, harming the say of states that run their elections more cleanly. In general:

    • With a national vote election, states which do a better job ensuring valid voting (photo ID, checking to make sure voter registrants are US citizens, alive, etc.) would lose say over states that tend to look the other way in such matters.

    • Conversely, because we use an Electoral College, there is much less incentive for ballot-box stuffing as it doesn't buy one party-dominant states tempted to engage in such activities anything. It results in cleaner elections, and hence a cleaner society, nationwide.

    • A national vote would encourage a race to the bottom in granting suffrage ("State A is now allowing their green card holders to vote, so we should also lest we lose our say...", "State B is now allowing 16 year olds to vote...", etc.)

  3. Close elections are much easier to resolve - The 2000 election between Bush and Gore took about one month to resolve but the focus thankfully was just with Florida and its then-25 electoral votes. Because the Electoral College was all that mattered, the other 49 states could be ignored, 20 inaccurate votes in Idaho for example or 30 missed votes in California could be disregarded. However, if we had a tightly close popular vote election, then every precinct in every county in every state would be subject to re-examination, to grab 5 votes here and 10 votes there because they all count towards the national vote total, not a situation anyone would relish.

  4. With the Electoral College, people are more likely to vote for a candidate based on his/her policies rather than on whether or not he/she has visited their state. - Voters in places like California and Tennessee where the outcome of the vote is not in doubt are perfectly fine with their candidate of choice never visiting their home state during the campaign. More than that, they don't actually want their candidate wasting time in their home states, instead wanting him or her to be in battleground states trying to win them over so their candidate can win. This provides a lot of relief to presidential candidates as it allows them to focus on visiting just 10-15 battleground states, a grueling enough task as it is.

    With a national popular vote, however, it would still make sense to visit vote-rich states regardless of their leanings, causing many voters to get offended if their candidate does not visit them, and possibly switch votes as a result. So the Electoral College is more likely to result in voters casting votes based on the candidate's policies than whether they visited their state, good for the nation as a whole.

  5. The Electoral College makes election night a lot more exciting to watch - A silly argument, but still true. With the Electoral College, viewers see a scoreboard of states that slowly get lit up in red and blue during the evening, for which viewers can celebrate or mourn each time a candidate wins or loses a state. With a national vote you're just waiting for a vote total at the very end, rather dull for all concerned. It would be similar to watching a football game in which all touchdowns and field goals are irrelevant but just the total yards gained within the 60 minutes of play determining the victor.

Finally, it should always be noted that a candidate who wins the popular vote and loses the electoral votes on an election based on the latter wouldn't necessarily have won the popular vote if it were based on the former, as the campaigning done--states visited, TV advertising strategy, issues chosen, voter turnout generated, etc.--is different under the two styles. A skilled candidate who can win with one set of rules quite frequently has the ability to win under another.

Posted by Glen Mazza in Other at 07:00AM Nov 20, 2016 | Comments[0] Sunday November 15, 2015

Pink Slips at Disney. But First, Training Foreign Replacements.
Sold Out Book

Journalist Michelle Malkin and Center for Immigration Studies fellow John Miano have teamed together to offer a new book Sold Out. It offers a critique of the various foreign worker visas offered by the federal government and its consequences on American workers. I just got the book yesterday and am still in its early stages but would highly recommend it for American IT professionals wishing to learn more about the consequences of these programs or (for those already well aware) just wanting to thank and support the authors for raising publicity about this issue during an election year. Happy to note at the time of this writing that the book is #1 on Amazon's Government and Management bestseller list.

Posted by Glen Mazza in Other at 07:00AM Nov 15, 2015 | Comments[0] Sunday November 08, 2015

Letter to the Arlington County board via fitness membership fees (Update: With County Response)

My county has a website form residents can use to submit questions, comments and concerns, which I've used three times in the past five years. The county runs fitness centers of which I'm a member. This morning I submitted the below concern (slightly polished for grammar :) about the reduced cost passes for non-county residents 55 and over:

Hello, I'm [in my mid-40's] and a long-time taxpaying Arlington County resident as well as an Arlington County gym member. When I buy my annual County fitness center pass, I pay the $195 rate as a county resident, much less than the $558 charged to non-residents because residents pay Arlington County taxes and as much of Parks & Rec is supported by taxpayer dollars we should be discounted. No problems there, neighboring jurisdictions do the same thing.

The county, via its 55+ Gold Pass program, has recently dropped the qualification age from 62 to 55, any resident 55 or over needs to just pay $60. OK. But non-residents 55+ who aren't paying Arlington taxes have to pay just $90, a mere $30 more and less than half the $195 that I need to pay. That benefit seems too disproportionate to be giving to non-taxpaying non-county residents--should I really have to be paying $195 while a relatively youthful 55-year old Fairfax County resident just has to pay $90?

55 is hardly retirement age, many of those people are at the top of their financial situation at that time, and giving such a benefit to 55+ county residents must come at a significant price both to county taxpayers who have to subsidize the shortfall in fees and paying county members whose memberships would be cheaper if they didn't have to cover this subsidy. So be it, though, we take care of our senior residents. But asking taxpayers and gym members to pay more to be subsidizing *non-county* residents as young as 55 seems an unfair burden to ask. I'd like the county to raise the minimum age for non-county residents back to 62, and/or alternatively retain the same $195/$558 resident/non-resident ratio for the senior passes ($60 for residents, $172 for non-residents.) Gyms cost money to run, and non-residents should be expected to pay more to cover the difference that they're not paying in county taxes.

I've checked the Fairfax County Parks and Recreation website and they give no senior discount to people outside of their jurisdiction, they just take care of their own and then only when they reach 65. Alexandria does cover at age 55, but only a 20% discount and again only for city residents. Likewise, Arlington County reduced fee memberships correctly just cover Arlington residents, taxpayers don't have to support non-residents for that.

This rate is also bad for the County for another reason -- each of the fitness centers have a limited number of aerobic machines, the more you fill up those machines due to heavy subsidies of non-county residents, the $195 payers get upset because the machines are never available and instead go to private gyms that aren't that much more expensive for them. The percentage of those using the gym being full payers is going to drop as a result, with the lost gym revenue requiring more county subsidies in order to be supporting people who live outside the county's jurisdiction.

Update 12/31/2015, I got a response from the County today:

Dear Mr. Mazza,

I am writing to you on behalf of Arlington County Board Chair Mary Hynes. Thank you for sharing your concerns about the 55+ Gold Pass fee for non-residents and the change in age eligibility for senior adult rates. The issues you mentioned are actually part of a number of adjustments made to senior adult programs during the last budget cycle.

Each year, the Arlington County Board approves the schedule of fees and charges for the Department of Parks and Recreation as part of the annual budget process. In Fiscal Year 2016, fees for senior adult programs were realigned for consistency across the County programs. Prior to this, all persons 55+ were eligible for programs offered through the Office of Senior Adults. However, various other programs applied an age discount to 62+. As a policy change, the age of eligibility for all senior programs and discounts offered through the Department of Parks and Recreation is now 55+.

It is Arlington County policy to allow non-residents to use County facilities and programs and to require non-residents to pay a surcharge on top of the base participation fee. This surcharge varies based on the type of program. In the case of the 55+ Pass, non-residents are charged 50% more than residents. Non-residents, however, never receive a fee reduction (which is only available to residents with financial need).

The County is committed to offering programs for seniors to remain healthy and to age in place. As part of this mission, we are always looking at ways to further this focus. As such, the base fee for this 55+ Gold Pass is set at only $60 for an individual pass and the surcharge added to that for non-residents is the additional 50%.

Formerly, we offered a 55+ pass with limited fitness pass options, along with a separate senior fitness-only membership. Research indicated that very few seniors purchased the senior fitness-only membership. The vast majority of seniors purchased the 55+ Pass that included a variety of senior program options, including limited access to some fitness centers. Research also indicated that many of the seniors with the 55+ Pass were interested in expanded fitness access and were willing to pay for it. As our goal is to develop programs that support the interests of our community, it was decided that we would have two senior passes and eliminate the senior fitness-only membership. We kept the same fee for the 55+ Pass ($20) and created the 55+ Gold Pass ($60), which provides the benefits of the 55+ Pass plus access to our fitness centers whenever they are open.

As with all of our programs, we will continue to review what Arlington County is providing and adjust as needed. As of December 29, an additional 2,136 Arlington County residents have purchased a pass. Only 146 (6% of the total) non-residents have signed up for the program; the percent of non-residents has not really changed since we adjusted the program. Since the new pass went into effect, we have been monitoring fitness room usage and have seen no spikes in attendance leading to overcrowding. We will continue to monitor.

Our annual budget review is coming up, and again, as always, fees will be reviewed and adjustments made as appropriate. I hope this background is helpful and allows you to see our strategy to encourage more Arlington seniors to be active and engaged.

Please let us know if you have any further questions.

Michael R. Peter, MPA
Director of Budget and Finance
Arlington County Department of Parks and Recreation

Posted by Glen Mazza in Other at 07:00AM Nov 08, 2015 | Comments[0] Saturday October 31, 2015

"Monster Mash" Will Get You

From The Miami News, October 6, 1962:

Rock 'n' roll and the twist have finally come to grips with Horror and the result is a startling eruption in the record-buying field. Now it's spreading to the screen and television.

A little .45 disc titled "Monster Mash," rocketing within a few weeks into a spot among the top 10 sellers, seizes upon weird species from the Frankenstein laboratory, man-made creatures who shake off their electrodes and, to the tune of a shudder-packed production number, stomp around the graveyard in a wild new dance.

The "Monster Mash" has become an overnight hit in Los Angeles ballrooms, and two film studios and at least one TV network are angling for rights to its use for specialty insertions in movies and air shows.

Chief proponent of the new order is Bobby (Boris) Pickett who, like his recording sponsor, Gary Paxton, is bewildered by the smash reception the record has won. Hurriedly, they have marshaled a musical troupe for an invasion of eastern cities, with Boston scheduled as the first stop.

To a set of frightening Karloff-toned lyrics ("I was working in my lab late one night when my eyes beheld an eerie Monster from his slab began to rise...and suddenly to my surprise...he did the mash. He did the Monster Mash!") dancers the country over may soon be stomping and flailing their arms into a new epidemic--a slow-beat dance which Pickett feels will come as a welcome relief from the swift torturous movements of the twist.

How did Pickett happen on horror as the stepping stone to a new dance madness?

"The door was wide open," replied the young singer, who leads the song and dancers himself. "Horror pictures always have been popular and it seemed funny no one hit upon them for a dance until now. We just drove into a red-hot vacuum."

Posted by Glen Mazza in Other at 07:00AM Oct 31, 2015 | Comments[0] Sunday July 06, 2014

Human Resources: Managers soliciting donations from their subordinates

A project I was on consisted of about 40 people chopped up in various sizes among four managers under a single division head. As is normal, the managers were responsible for determining assignments, writing performance evaluations and determining raises of their reports. One of the employees, a relatively high-ranking engineer, was due to have a child for which the company provided him twelve weeks paid leave. To celebrate the happy news of the birth (he had started his leave), one of the managers, having about twelve of the employees under her (not including myself), sent an email out to the office saying that she was collecting funds for a gift card to give to the employee. And, from what I could see, several employees responded happily, over a few days ultimately around $450 was raised. As the totals were increasing, the manager sent out periodic emails giving the current donation results and repeating each time how happy and appreciative she was with those employees who had donated. And the employee, receiving the gift card a few days later, promptly sent an email out to the team thanking them for their generosity.

During the fundraising, from what one could see in the emails, the manager seemed to have a heavy emotional investment in people contributing, causing me concern that her impartiality with her direct reports based on their participation may end up getting affected. One large company I had worked at in the past explicitly banned manager solicitations presumably for this very reason. However I saw a simple solution: I sent an email to my manager, the department head and Human Resources, suggesting that it might be better for HR to collect the cash in order to hide individual donation information to management, ensuring that manager impartiality would not be harmed. Management thanked me for my input, even if not fully sharing my concern (or adopting my suggestion), and that was that.

Thinking afterwards, although having an HR official collecting the money instead would provide anonymity, it would have its own problems ultimately making it a non-solution. For one thing, with true anonymity, one would never know if the HR official would end up pocketing a portion of the donations, however unlikely. A much greater concern is potential unfair and untrue reputational damage to the one doing the collecting if some start feeling that the donation amount should have been higher than it actually was, and nasty whispers start up as a result. There are also inherent safety and security risks in publicly announcing at the company that so-and-so is keeping hundreds of dollars in his/her desk for the donations. As I would not personally want to be asked to collect donations from employees for these reasons, I would not want to ask another to do the same, i.e., such a request violates the Golden Rule. So we're back to managers collecting the cash from their subordinates.

I must say the request itself to contribute to a gift card rubbed me the wrong way. Besides many on the team needing to work extra for the employee going on leave, companies fund parental leaves via lower salaries and benefits on everyone company-wide (money does not grow on trees), meaning employees are already making a very generous contribution. I don't know the per-employee dollar amount for this particular employee but making a conservative estimate of one hundred dollars per week paid leave per employee, that would mean every remaining team member is already giving the employee $1200. For those hardly jumping up and down over this required contribution (everybody would love to have twelve weeks paid leave, but not everybody is in the situation to be able to partake of this benefit), this additional gift card request from management easily comes across as unappreciative and greedy.

Indeed, the ongoing "thanks for those who contributed" emails sent by the manager as the donations were coming in made no reference to this much larger contribution that everybody was already giving, or for the extra time needed to fill in for the missing employee. This apparent innumeracy on her part—that team members were either contributing a generous (say) $25 or nothing, which is psychologically much greater than the actual both-generous $1225 vs. $1200—added unwanted risks that any damage that the non-donators could end up receiving at performance evaluation time would be aggravated.

With a generous per-employee contribution of $1200 or so already on the books, the on-leave employee is already well taken care of as he begins to savor his twelve weeks off. The start of an employee’s leave is the time for management to be focusing on those remaining in the office, those who will be taking them to the dance for the next twelve weeks, who will be working harder and effectively at lower salary to support the one on leave. Instead of a disingenuous "for those who would like to contribute something" gift card solicitation, why not have an office pizza party or similar on the first day of the leave to express appreciation for the remaining team? Such a move sends a strong signal that management remains focused on account goals and on the remaining team that will be accomplishing them. For managers who feel the twelve weeks already being provided by the team to be wanting, there are better options: Confidentially pay the on-leave employee a bonus via company funds, or just provide an extra gift using personal funds instead of those of their subordinates.

As for the more general case of direct solicitations, most managers don't solicit from subordinates for the same reason non-managers don't: It's rather tacky going around with your hand out asking for cash. We are all aware of fine charities from TV and the Internet and direct mailings for each of us to make up our minds on what is most worthwhile to donate to, we don't need additional prompting in the office. But astute managers are also immediately aware of the concern unique to them that donation requests may end up harming their impartiality. The concern is not only that they may reward a donator or punish a non-donator, but that, in the efforts of trying to counteract this knowledge and remain neutral, may end up undervaluing a donator or overvaluing a non-donator. Further, they realize such requests can make subordinates feel uncomfortable, as if their boss is selling performance evaluations, as well as foolishly leave themselves vulnerable to accusations of same, accusations that are difficult to objectively disprove.

The fact that a manager is soliciting cash, however, suggests that he spent little time evaluating these concerns but is rather someone who quickly moves from identifying a cause he wants to see funded to soliciting his reports to fund it. Among such impulsive managers there is a much higher risk of contribution knowledge harming their impartiality. Companies that allow managers to solicit cash from subordinates on the presumption that say 85% of managers aren't influenced by cash solicitations fail to take into account conditional risk, namely, that most of those 85% would never solicit cash to begin with, leaving those doing the requesting very heavily represented in that 15%.

Another concern regarding managers holding fundraisers is that few of them soliciting grasp the concept of undue gain avoidance as a driver of honorable employee behavior, causing an undeserved disdain for the employees choosing not to donate. Undue gain avoidance simply means that employees wanting to be responsible team members should avoid gains over their coworkers for activities not related to their job, such as dating managers, doing personal chores for them, or, as here, taking part in their donation solicitations.

For my gift card example, were I in her org, I know that I can give a generous amount to that manager and she'd be quite enthralled with me. However, as that would easily risk me getting a better performance evaluation over non-donating coworkers, an undue gain, it would not be appropriate. I’m to advance in the company by the work that I do, not by dumping money on the manager’s desk. In the case of a charity, if I indeed found the manager's requested cause to be of value, I would donate to the charity privately via their website without my manager's knowledge, allowing me to avoid the undue gain. Avoiding in-office praise for contributing to the manager’s preferred causes also contributes to a healthier work environment. Non-donating coworkers hearing that praise may end up worrying "Gosh, she's gonna be even angrier at me for not donating!" or "Man, people just get ahead around here by dumping green on the boss' desk!", poisonous concerns I don’t need to be aggravating.

For a company that properly blocked managers from soliciting cash from their reports, it would not be necessary for them to be aware of undue gain avoidance as a driver of employee behavior. However, with solicitations an option, a company is entrusting its most unthinking managers ("Hi! Would you like to donate to my hometown's United Way? It's perfectly optional but would make me very happy!") to grasp a concept that in all likelihood is going to blow past them, causing undeserved scorn of non-donating employees trying to serve their team in an honorable fashion.

But not donating is more than about avoiding undue gains. Within the context of a corporation, cash transfers from an employee to his manager are reputationally hazardous for the employee as well. To give another example, should a boss tell you that he would appreciate a contribution to his wife’s non-profit, to the extent that it is implied or assumed that you would be getting a larger, unearned raise for donating, that sounds suspiciously like embezzling money from the company. Managers walking around collecting cash from their subordinates are rather unusual, and it’s prudent to keep nonessential financial transactions with such people to a minimum. In case of there being questions over a fundraiser later, it is much better to be able to truthfully deny having made a contribution at all than to try to persuade others that your donation was made with no expectation of anything in return.

A common misconception regarding manager solicitations is that the merit of a cause is an argument for allowing the manager to solicit for it. That's frequently the first defense that managers resort to when questioned about soliciting cash from their reports, and they can often twist the matter into making an employee raising the concerns about the solicitation as being uncaring about the cause, intimidating employees from raising the concerns to begin with. The way the argument goes is as follows: "Yes, if this were some minor cause, like donating to the local PBS affiliate or public library, obviously no reason to allow managers to solicit cash for that purpose. But this is a wedding, a paternity leave, a children's hospital, a food bank, a heartbreaking situation I found on a crowdfunding website, obviously for such reasons solicitations should be allowed!" The counterargument is that it is precisely these emotional causes that sway managers the most, the problem one is trying to avoid by banning solicitations. In my case, I need only point to the continued giddy statements of appreciation from the manager soliciting for the gift card as a strong indicator of impartiality being affected, that participation in this super-important, gotta-make-an-exception-here cause will be unavoidably weighing in her mind when writing performance evaluations.

Just as an honest employee makes efforts to let his ranking within the company be primarily a function of the work that he does, good managers also make efforts to put blinders on themselves, limiting their evalutions of the employee to his work by not engaging in requests for personal favors or for donations to causes the manager has a strong emotional attachment to. When a manager expresses deep appreciation for the actions of certain subordinates, the reason for that happiness should be their work or else the manager is usually improperly distracting himself. Any big joyous smile you see on a manager's face as he/she is counting the $20 bills that a subset of reports provided is not the heartwarming scene that it appears at first glance but actually a concerning one, indicating an untrained manager with lost impartiality, that it may be indicated to have someone else start writing the performance reviews.

In summary, companies would do well to treat manager solicitations as the selling of performance evaluations and prohibit them, both explicitly in the company's HR handbook and verbally as part of new manager training. Managers should be consulting their own checkbooks rather than those of their subordinates for causes they hold dear, reports are not be viewed as ATM machines for satisfying the manager's philanthropic urges. But for companies that unfortunately allow for manager solicitations, employees can still show leadership to their team by politely declining solicitation requests, instead sending donations if desired via the charity's website without the manager's knowledge. Following a don’t-feed-the-pigeons policy also helps reduce solicitation frequency and the associated problems that they create.

Posted by Glen Mazza in Other at 07:00AM Jul 06, 2014 | Comments[0] Sunday March 17, 2013

Glen's Fitness Tips

Some exercise and diet lessons I've learned over time:


  1. Switch from per-day to per-week discipline. For many years I tried to exercise a set amount each day or every other day but would find my discipline would soon wane for one reason or another, causing difficulty restarting and getting back into a groove. About six years ago I switched to per-week discipline, which I've been able to adhere to 100% since then, amazing considering all the problems I was having before.

    With per-week discipline I give myself a weekly quota of exercises to do, starting Friday and ending on Thursday at midnight. If I finish up the week's quota by, say, Monday, I'll have nothing more to do through Thursday. But I frequently exercise in advance for the following week's quota if I finish early; indeed for the past several months I've usually been about two weeks ahead of schedule.

    Weekly discipline takes into account that some days we are unable or simply don't feel like exercising, some days we're in a groove and can do multiple days' worth of exercising, etc. Giving seven days to make the quota makes it much easier to stay on track without the energy-wasting falling-off-and-resetting of exercise plans that frequently occur when daily discipline is tried. It has one drawback in that it's better to spread out exercise over the week instead of clumping up too much on certain days, but over time I've found my exercise days to be spread out rather evenly.

    Recommended quotas? Do what works for you of course, but my weekly quota is 5 hours 15 minutes of exercise, which comes out to 45 minutes per day. For me, the quota can be met aerobically (jogging, ice skating, elliptical machines, or swing dancing credited at 3 minutes per song) or via lifting weights. For the latter, I count 36 sets of whatever exercises (normally split out as six sets of six different exercises), however long it takes me to do so, as good for 45 minutes against my quota, which comes out to 1 minute 15 seconds per set. For five specific particularly good but time-consuming exercises, I let just 30 sets of those count for meeting my quota, which incentivizes me to do the best exercises.

  2. Use the Internet and social interaction to get more out of physical exercise. For weightlifting, there's and countless weightlifting videos on YouTube to learn proper technique for specific exercises (and for some, especially those potentially involving the lower back, it's very important to have the technique right). It is good to make one's before- or after-work friends those in the gym, as it provides another incentive to exercise (similar to those who go to the same bar after work specifically to meet the friends they've made there.) For aerobic exercise, offers running, hiking, and walking groups for most areas. The running group whose events I frequently take part in has attendees walk/jog/run say 20 minutes out and 20 minutes back, so everybody returns at roughly the same time regardless of individual running pace.

  3. For those new to exercise routines, two suggestions:

    • For heavy TV watchers/'Net surfers who have trouble motivating themselves to exercise, making the watching of TV or internet access for the day contingent on walking/jogging, etc., 30 or so minutes, is one way to help ensure getting one's exercise quota, and getting it in very early. It's frequently easier to discipline oneself to not do something enjoyable until the exercises are finished than to discipline oneself to do the exercise without there being any immediate reward afterwards.

    • Don't buy indoor exercise machines until you first learn to enjoy outdoor exercise (providing that is an option for you). It's dispiriting for anyone to buy a machine with the best of intentions and then see it sit unused as an ugly reminder of not getting exercise in. I would suspect the greatest amount of machine purchase failures (i.e., buy the machine but it sits unused) appear to be among those who assume that outdoor exercise is unpleasant but think it will be more palatable if they buy an indoor machine that looks neat and allows them to watch TV while exercising. Problem is, exercising indoors on a machine while trying to watch TV, for many regular exercisers, is actually lousy compared to outdoor exercise. But if you haven't done much regular outside walking/jogging first, you might incorrectly assume that the unpleasantness of indoor exercise means that outdoor exercise must therefore be much worse, when in fact the opposite is true.

      Further, buying a machine in order to make exercise more palatable perpetuates a fallacy that it is best to tackle early on for those wanting to get in better shape: namely, the idea that the world will end if a person has to do something unpleasant (like outdoor exercise), and that every waking minute must be spent doing pleasant things. Indeed doing outdoor exercise specifically because it is presumed less pleasant helps to toughen one up, to see that one can do unpleasant things on a regular basis and survive the experience.


  1. Drink water instead of sodas (even diet sodas). Despite their lack of calories, in my observation diet sodas seem to encourage more eating (compared to water) in order to neutralize their roughness on the stomach, also they form part of combo meals at fast food restaurants, encouraging purchases of unhealthy foods in the process. They also consist of a bunch of chemicals and additives the body doesn't need. And if you use filtered water pitchers such as those by Brita and Pur, a lot of landfill waste (empty bottles and cans) can be prevented.

  2. Practice food divorce. It's easier to give up 100% on a bad food item, now and forevermore, than to try to cut down 80% on that food item, because with 100% abstinence after a while you forget what the food item tastes like, and with that, lose your temptation to eat it. As Reverend Sharpton noted: "Once you give things like starches and fried foods up, you find you won't be tempted by them any more. You forget them." He probably would not have had his success had he merely cut down on such food items, because by being constantly reminded of how yummy they are are the willpower necessary to lose weight would have been insurmountable.

    Food divorce is probably best done one fattening food item (or class of items) at a time while keeping the rest of your diet the same. Go several months or however long until you've well forgotten what the food item tastes like, then choose another bad food item to say sayonara to.

    My food divorce started in May 2011, when I first gave up all diet sodas in favor of water. It was tough for awhile--until I reached that happy state where I largely forgot what they tasted like. And today I love ice cold filtered water. In May 2012 I gave up pizza, as I would always overeat it. About a month later I made a huge jump and gave up all processed sugars--cookies, ice cream, pies/cakes, sugar in coffee--whatever, except for the incidental amounts in bread, milk, etc., and from fruits and vegetables. It was tough for a couple of months, but I made it: Today I can look at a brownie and have little desire to eat one because I've largely forgotten what they taste like, it's not even a willpower issue any more. Indeed, my food routine is so old-hat today I don't even think of myself as being on a diet.

    Around October of last year I stopped eating out, except when I'm travelling. This is forced me to become more of a cook at home, and has saved me time, money, and excess calories, as well as resulting in me eating healthier food.

    Because I've given up processed sugars, I haven't bothered restricting other types of carbs such as rice or bread, etc. My total caloric intake is probably just moderately reduced, I still eat fully except none of the aforementioned food items.

  3. For those with willpower problems, deliberately eat some plain and unpleasant food items daily. Plain foods without the salt, sugar or other seasoning that you would normally add, for example, coffee without cream or any sweetener additives, a plain baked potato or plain toast without butter. Doing so helps to toughen one up, to learn the world won't end if not every food item consumed is fantastically delicious, a mindset necessary to defeat in trying to improve one's diet. For years I thought pure black coffee with no sweetener would be impossible for me to consume, but that's the only way I drink it now. I drink much less of it as a result, but I still consume it--who cares if it isn't the most delicious thing in the world? I don't need that, I'll survive.

  4. Don't weigh yourself. On a day-by-day basis, scales are an inaccurate measure of health and also even of weight (because weight will also vary by the clothes being worn, the amount of water and undigested food in the body, etc.) They also encourage crash-dieting and penalize weight-lifting (as weight retained may be due to gained muscle), harmful for overall health and appearance. Basically, you either look good or you don't, and the number on the scale doesn't play much of a factor in that. There are healthier long-term ways to see progress being made--looking slimmer, people noticing weight loss, clothes feeling looser, etc. In my view, dispensing with the scale forces a person to make long-term efforts to see the progress they're craving instead of allowing that craving to be met just by seeing lower numbers on the scale. In the past year, I've weighed myself very few times (and not once so far in 2013)--during my annual physical and at the gym scale right after to confirm that I had indeed lost several pounds.

Posted by Glen Mazza in Other at 07:00AM Mar 17, 2013 | Comments[0]

« May 2020
Sun Mon Tue Wed Thu Fri Sat
About Me
Java Software Engineer
TightBlog maintainer, Apache CXF committer
Arlington, Virginia USA
gmazza at apache dot org
GitHub LinkedIn
Blog Search
Apache CXF/SOAP tutorial
Blog article index

Today's Blog Hits: 3771
About Blog
Blog software: TightBlog 3.7.2
Application Server: Tomcat
Database: MySQL
Hosted on: Linode
SSL Certificate: Let's Encrypt
Installation Instructions