Saturday, February 16, 2013

Testing Cron on Linux (RedHat, Ubuntu. ...) - thanks to Stack Overflow

Nice diagnostic technique I used when the behavior of cron (for automated regressions) on our RedHat servers was suspect:
...
"
Ok, let's start over again.
Create a file, say cron.txt, with exactly the following contents (1 line):
* * * * * touch $HOME/CRON_IS_RUNNING
(Do not create CRON_IS_RUNNING manually.) Run
crontab cron.txt
which should quietly produce no output, then
crontab -l
which should print
* * * * * touch $HOME/CRON_IS_RUNNING
Wait a minute or so, perhaps 2 minutes, then
ls -l $HOME/CRON_IS_RUNNING
which should print something like
-rw-r--r-- 1 yourname yourgroup 0 2011-08-23 20:11 CRON_IS_RUNNING
If this all works, it will confirm that you can run cron jobs.
If that's successful, the problem may be with your test.py command. Does it work when you run it from the command line? If it works from the command line but not from cron, test.py might have some dependency on environment variables (cron jobs run with fewer environment variables set than interactive commands typically do).
"
...
Testing Crontab on Debian Ubuntu - Stack Overflow

'via Blog this'

News from Bletchley Park


Bletchley Park - Home of the Codebreakers

HRH The Duchess of Cornwall to visit Bletchley Park

Duddery Hut 6, Bletchley ParkHRH will meet some of the amazing women who worked at Bletchley Park during World War Two, at a reception held in their honour. Women outnumbered men at the Government Code and Cypher School by three to one, but all had in common the 'Ultra' secret which they kept faithfully for at least another thirty years. Many never told their parents, spouses or children what they had contributed to the war effort. Now they can talk about the great secret, it is a privilege to hear them share their stories.

Read more about the visit here.

Heroes of Bletchley Park

Jerry Roberts and The QueenCaptain Jerry Roberts MBE is as passionate as ever an advocate of his colleagues at Bletchley Park. He told the Bletchley Park Trust: "We have these three men whom I call the three heroes of Bletchley Park, Turing, Tutte and Tommy Flowers. Turing stopped not just Britain but Europe from being plunged into 50 years of a Nazi dark age. Tutte helped greatly to shorten the war. Tommy Flowers has laid the foundation of everything that's happened in the computer world internationally. These were great men and they've not been treated like great men. They did great things, achieved great things. I would like to suggest a joint statue on that fourth plinth in Trafalgar Square. That's if David Beckham doesn't mind." Read more about Captain Roberts' work in the Testery, what he did after the war and his campaign to raise awareness of the unsung heroes of Bletchley Park, which has earned him an MBE.

On the cusp of faithful restoration, iconic Huts 6 & 3 and Block C

Huts 3 and 6 and Block CBletchley Park's 7.4 million pound, Heritage Lottery Funded restoration programme is about to get underway in earnest. There are nearly 18 months of building work ahead all over the site, and that's only the beginning. Bletchley Park Trust CEO Iain Standen took a look inside Hut 6 to demonstrate the scale of the task ahead. Read more about the restoration.

67 years on, Veteran Wren Nancy Jackson learns the importance of her contribution

Nancy JacksonWhen Veterans visit Bletchley Park, it's fascinating to find out what they did and how their particular job fitted into the Codebreaking operation. In Nancy Jackson's case, it wasn't quite what she thought. Like many who worked at the quiet country retreat that had been taken over by the Government Code and Cypher School, Nancy didn't know how her specific job fitted into the highly compartmentalised organisation. During her visit, the Bletchley Park Trust's CEO Iain Standen established that she had worked in the Newmanry, the section led by Max Newman, to develop machines which would take the work of the Testery, where senior cryptographers broke into Lorenz by hand, and speed up the process. She described herself as a tiny cog. You can read more about Nancy Jackson here.

Easter 2013Plan a packed spring at Bletchley Park

Bletchley Park's 2013 Events calendar is springing into action with an exciting line up of fantastic days out to entertain the whole family. With Bletchley Park's annual season ticket, you only have to pay for your first visit. You can then return time and time again for up to 12 months – free – which means that you and the family can come to all our Easter, spring and summer activities and only pay once. Find out more.

Malta George Cross 1940-42

During World War Two, Malta played an important role owing to its proximity to Axis shipping lanes. The bravery of the Maltese people during the second Siege of Malta moved King George VI to award the George Cross to Malta on a collective basis on 15 April 1942 "to bear witness to a heroism and devotion that will long be famous in history." Bletchley Park historian and tour guide Bob Horner gave a talk on this subject as part of the Winter Lecture Series. You can now listen to it on the Bletchley Park Audioboo Channel, where the latest episode of the Bletchley Park Podcast is available now.

Next in the Winter Lecture Series, Paul Rimmer talks about Cabinet Office, JIC & Intelligence Assessments, Then and Now on 14th February at 7.30pm. Visit the Bletchley Park online shop for tickets.

Aramark begins new catering contract at Bletchley Park

Hut 4

Aramark now runs 'The Cafe in Hut 4' which serves visitors and group bookings. Hut 4 was a codebreaking hut during World War Two. It housed the Naval Intelligence Section initially and then Military Section, Intelligence Exchange and Wireless Transmission co-ordination until the end of the war. A new cafe within the visitor centre is planned for 2014. In addition, Aramark will be managing Bletchley Park's on-site group booking services.

 

Rose rebrand Bletchley Park

The Bletchley Park Trust has appointed London branding specialists Rose, to work with them on a strategic review of the brand. Find out more about this prestigious partnership.

You are receiving this newsletter because you requested email updates when you signed up at the Bletchley Park web-site. If you no longer wish to receive these newsletters then simply click on this link to unsubscribe.

This email has been sent on behalf of the Bletchley Park Trust Limited, Company No 2730618, Registered Charity 1012743. Bletchley Park Company Limited, Company No 2723470. Both registered in England - Registered Office: The Mansion, Bletchley Park, Milton Keynes, MK3 6EB


Friday, February 15, 2013

Want engaged employees? First, do lots of listening - thanks to Ask Annie

Ask Annie

 

Want engaged employees? First, do lots of listening

February 15, 2013. 10:44 AM ET

The way most of us go about trying to influence others is exactly backwards, says a new book. Here's how to get it right.

FORTUNE -- Dear Annie: I read your recent column on overcoming employees' resistance to change with great interest, because my situation is similar to that of the reader who sent that question, but with a twist. I was recently moved into my job from another division of the company and told to "turn around" this underperforming department.
The trouble is, because I'm the new guy, people here doubt that I really understand the business, so I feel like I'm constantly fighting this lack of credibility. The other problem is that I'm not the first person in this position. The last guy they brought in to fix things here tried for a year or so and then quit. So every time I explain what we need to do, I can tell that people are thinking, "Here we go again." They nod their heads, and then go on doing everything the same old way. I have a couple of great mentors who are giving me some advice on how to handle this, but I'm curious about what you and your readers think. — Stuck in Neutral
Dear Stuck: Interesting dilemma. Two questions I wonder about: First, where did the changes you're proposing come from? Were they handed down from above, or did you come up with them yourself, or what? And second, is it possible that your recalcitrant underlings have a point and that (just maybe) you really don't understand the reasons why they think your approach to the business won't work?
MORE: Why some homeowners are turning down free money
Before you go any further down the road of trying to get people to change, it might be time to do some serious listening. "In order to influence people, you have to be open to influence yourself," says Mark Goulston, M.D., a psychiatrist and executive coach who co-wrote a new book, Real Influence: Persuade Without Pushing and Gain Without Giving In. "That doesn't mean giving in, giving up, or being any less committed to your goals. It does mean going into every conversation being willing to believe that you may be partially or totally wrong -- and that even if you're right, you will learn something valuable.
"When you view influence as 'getting people to do what I want,' you actually reduce your influence over them," he says. "That's because you're not really hearing the other person's message, and they recognize this immediately. Even if you get temporary compliance with what you're asking, they'll resent it" -- and start finding ways to dig in their heels.
"Telling people what to do based purely on what looks logical to you is the kind of influence most business schools teach," Goulston adds. "But if you have big goals and need people to be committed to them long term, it's a recipe for failure."
What works a whole lot better, he says, is to start by testing your perceptions against other people's reality. His book is packed with examples of effective influence from within successful companies like Costco (COST), Apple (AAPL), Nike (NKE), and Zappos, which can be boiled down to three main points:
1. Try thinking from the other side. "Do you respond well when other people presume they're rational, logical, and absolutely right, and you're not? Of course you don't," says Goulston. "Other people don't like it, either." By contrast,"if you are open to influence when other points of view arise, you gain a lot of credibility -- and you'll probably make better decisions."
2. Don't try to win arguments. "Trying to win implies that you are arguing, and this doesn't work, because it triggers people to defend themselves and provokes them to try to prevail over you," Goulston notes. "This isn't about winning or losing. It's about connecting and collaborating toward a great outcome."
3. Open your mind to other ways of thinking. The more you are open to hearing other people's logic, data, and ideas, and the more you take an interest in how they see and experience the work they're doing, the more readily they'll listen when it's your turn to talk.
MORE: The risks (and rewards) of having a 'work spouse'
In practical terms, Goulston suggests getting your whole team together for a no holds barred discussion of what you're trying to achieve and why they have reservations about how (or whether) they can pull it off. "Make a list of the objections you've heard so far, framed as questions," Goulston suggests. One might be, for example, "How can we meet tighter deadlines when we're depending on other departments that don't always deliver on time?"
Then ask everyone to add more questions of their own. "You want questions that bring the issues out into the open so you can work on resolving them," says Goulston. "You may already know some of the answers, or you may not. But framing it as 'I could really use your help with this,' and encouraging people to suggest solutions as a group, is very disarming -- and you'll probably learn a lot." It's worth a try.
Talkback: If you've attempted to change how things get done at work, how did you get people on board with your plan? Leave a comment below.

Filed under: Ask AnnieSee more Ask Annie


Want engaged employees? First, do lots of listening - Ask Annie -Fortune Management

'via Blog this'

Devil's Thumb winter day

Thursday, February 14, 2013

Smaller Raspberry Pi costs under $25 | EDN

EDN
  Weekly
facebook  linkedin  twitter  Google+
February 7, 2013


Issue Highlights





Smaller Raspberry Pi costs under $25

Nick Flaherty February 4, 2013
A smaller version of the Raspberry Pi computer built in the UK is driving the cost to under $25.
element14 has announced the launch of the new credit card sized Raspberry Pi Model A board in Europe, selling at under $25. It uses the same 700MHz ARM1176 Broadcom BCM2835 processor but only 256MB of RAM is included as standard, there is no Ethernet connection and only one USB port, but it does use considerably less energy for battery-powered applications.
The larger Model B sold over 500,000 units and demand for the Model A board is anticipated to be from those making industrial control modules, from robotics, automation, and significantly, to use the Pi as a very cheap media center.
In recent weeks element14 has launched two exclusive accessories to support the development of new applications and uses: The Gertboard, a flexible experimenter board that connects the Raspberry Pi out to the physical world, and PiFace, which allows the user to sense and control the real world. Both are available to buy to supplement activity on the Raspberry Pi and can be used with the Model A and Model B boards.
“The Model A board is the next item in the Raspberry Pi range to be manufactured exclusively in Wales by Sony in partnership with element14," said Claire Doyle, Global Head of Raspberry Pi at element14. "Being a part of the Raspberry Pi revolution is something we are very proud of as computer science and programming skills are key to ensure future generations of design engineers.”
The Model A board costs $25 (£15.95) plus tax and shipping, and is available today through Farnell element14 in Europe and CPC in the UK and Ireland. Further countries will be added in the coming weeks.
Find more datasheets on products like this one at Datasheets.com, searchable by category, part #, description, manufacturer, and more.
Don't miss out on the latest products.  Subscribe to EDN's weekly Products & Tools newsletter (free registration) for the latest product announcements and news.

This article originally appeared on EE Times Europe.


Smaller Raspberry Pi costs under $25 | EDN

'via Blog this'

Wednesday, February 13, 2013

The State Of The Union Is... Dumber | Zero Hedge


The State Of The Union Is... Dumber

Tyler Durden's picture




Since James Madison's 1815 Address, the 'linguistic standard' of the State of the Union speech has plunged. As The Guardian notes, the lowest on record was George H.W. Bush's 1992 address - only just beating Obama's 2011 address for 'dumbest' speech ever. Whether this is representative of the American people as a whole or the lowest common denominator is unclear but one thing in this evening's speech comes to mind; if you were the President, would you invite, as your personal guest, a CEO who 1) has overseen massive wealth destruction in the last six months, 2) refuses to spend his massive cash hoard in the USA, and 3) outsources his manufacturing to china? Dumb and dumber indeed...

Using the Flesch-Kincaid readability test the Guardian has tracked the reading level of every state of the union

and the Top 20 (or Bottom 20 we guess) Lowest average readability test scores for the Presidents...

P.S. in case you didn't know AAPL's CEO Tim Cook is the above-mentioned guest of the President...

Source: The Guardian

The State Of The Union Is... Dumber | Zero Hedge

'via Blog this'