dannyman.toldme.com

This page features every post I write, and is dedicated to Andrew Ho.

May 24, 2013
Sundry, Technology, Testimonials

And So It Goes . . .

Link: https://dannyman.toldme.com/2013/05/24/and-so-it-goes/

You would think that turning a computer off would be a simple ask. But on my corporate laptop, Windows 7 is ever concerned that I am an idiot.

Me: Okay, we’re done. Shut down.
Windows 7: Okay. Hey, wait, some programs are still running.
Me: Kill them. Force shut down.
Windows 7: Bu-bu-bu-bu-buuuut you could lose your work!! Are you sure you want to shut down?
Me: Yes . . . I’m always sure . . . but thank you for your heartfelt concern.

So it goes.

(I do 98% of my work from Linux, which thinks shutting down is a grand idea.)

3 Comments

May 23, 2013
About Me, Biography, Technology, Testimonials

Testing out Ipernity

Link: https://dannyman.toldme.com/2013/05/23/testing-out-ipernity/

Earlier this week, Yahoo! unveiled a new and improved Flickr! !! A radical new redesign, which, while kind of slick to look at, totally steamrolls all the narrative features that many Flickr users like me love. Time will tell if Yahoo will backpedal enough to let us old-timers see our photos in the ways we like. Given that the new business model appears to be ditching the user subscription model for ads ads ads I am not optimistic.

Tommy vs Picmonkey
Tommy smiles at his father photographer.

Enter Iperntity, a 7-person outfit in Cannes, FR which appears to have cloned the Flickr interface back in 2007 and have since moved in the direction of building it into a site where you not only manage and share your photos, but you can also write stories, and keep track of the friends you have on the site. Basically, a little outfit building something like Flickr into what Flickr might have become had Yahoo! not spent the past decade neglecting it. In a way, it is even giving us the core sharing features that people like about Facebook, without all the skeeviness. (Or … critical mass.)

So far, I like it. Like Flickr, it features an API, and since Yahoo this week induced a lot more demand for the site, the migration scripts and Collections feature are coming along.

My reactions so far:

I of course opted for their 3-month paid service. Once the Collections feature comes online then I reckon there is a very good chance I’ll migrate my data from Flickr and sign up for their two year plan.

It is just nice to discover that there is new technology waiting in the wings when the big megacorp decides to shoot its product in the foot.

1 Comment

May 22, 2013
Technical

Perforce: Move Files to a Subdirectory

Link: https://dannyman.toldme.com/2013/05/22/p4-move-files/

Some quick notes. I wanted to move my existing *.py files for JIRA to a subdirectory. I had a bit of a time figuring this out, so maybe this will help someone when googling on the issue:

p4 sync
mkdir -p jython/workflow
p4 edit *.py
bash # I use tcsh
for f in *.py; do
 p4 move $f jython/workflow/$f
done
exit # Back to tcsh
p4 submit

Feedback Welcome

May 21, 2013
Letters to The Man, Technology, Testimonials

Flickr Makes Me Want to Cry

Link: https://dannyman.toldme.com/2013/05/21/flickr-makes-me-want-to-cry/

I really really loved the Flickr interface and the new thing they rolled out today makes me feel like I have been punched in the gut. I added my voice to the torrent of objections in the forums at http://www.flickr.com/help/forum/en-us/72157633547442506/

A test view of a plugin I once wrote to view Flickr photos on a WordPress site.

A test view of a plugin I wrote to view Flickr photos on a WordPress site.

Wow. It is hard even to add a post here.

I loved the old interface. I also loved that when you added new layout options to the old interface, they were OPTIONS that users could turn on or off.

I like that you could browse photos with annotations, click on a photo for a larger view, look over the metadata, &c . . . then click through the photostream or set.

Back when I joined in 2005 I was wary that Yahoo! might eventually do something stupid to what was really a very nice, well-designed interface for managing photos. My main assurance is that there would still be an API . . . I guess I will have to brush off the old API . . .

Really, you should give users the option to use the interface they like. This feels like instead of sitting down with users, seeing how they use the site, figuring out how to make it work better, you brought in some jackass designer who sighed that the site looks oh-so-2005, and decided to replace it with a mashup of Google Image Search (which is a terrible UI, by the way) and the Facebook header image (which wastes space at the top of screens which are getting shorter and wider but at least looks kind of neat.)

Please respect your existing users, many of us who have been paying you real, cash money for years now, and give us at least the option to enjoy the user interface we loved about your site.

Thanks,
-danny

Feedback Welcome

May 13, 2013
JIRA, Technical

Embed Page Refresh

Link: https://dannyman.toldme.com/2013/05/13/embed-page-refresh/

Feature request that certain JIRA dashboards should reload more frequently than every fifteen minutes. So, I cooked up some JavaScript to hide in the announcement banner:

<script type="text/javascript">
 
function gup( name ){
name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
var regexS = "[\\?&]"+name+"=([^&#]*)";
var regex = new RegExp( regexS );
var results = regex.exec( window.location.href );
 if( results == null )    return "";
else    return results[1];}
 
function reload() {
 window.location = window.location
}
 
var refresh = gup('refresh');
if ( refresh > 0 )    window.setInterval(reload, refresh*1000);
</script>

Now users can add refresh=nn and the page will reload every nn seconds. This ought to work in most cases where you can sneak some HTML into a Web App.

Function gup stolen from http://stackoverflow.com/questions/979975/how-to-get-the-value-from-url-parameter.

Feedback Welcome

April 19, 2013
Linux, Technical

VMWare Workstation: Excessive Key Repeating in Ubuntu guest

Link: https://dannyman.toldme.com/2013/04/19/vmware-workstation-excessive-key-repeating-in-ubuntu-guest/

I like to virtualize my workstation using VMWare Workstation. Lately, my Ubuntu (kubuntu) 12.04 guest would exhibit really annoying behavior whereby it would insert lots of extra letters as I typed, seemingly at random.

I cast about a few times for a fix. I tried VMWare KB 196, and a few solutions offered in an abandoned blog. But what did the trick is good old xset.

I added this to my .bashrc:

xset r rate 500 20

As I understand it, this means “key repeat only happens if you hold a key down for at least half a second, and then not for more than 20 times.”

My workstation has been way more pleasant to deal with ever since.

Feedback Welcome

April 3, 2013
About Me, Politics, Religion, Testimonials

Remember Gwen Araujo

Link: https://dannyman.toldme.com/2013/04/03/remember-gwen-araujo/

Remember Gwen Araujo

http://en.wikipedia.org/wiki/Gwen_Araujo

Back when I lived in Mountain View I was deeply saddened to read of the death of Gwen Araujo in 2002. She was a transgendered teen in the South Bay who was brutally murdered by classmates. Why? She had given a few blowjobs to the boys. The boys realized in horror that they had committed a “homosexual” act. They felt betrayed by Gwen, beat her to death, and buried her in the woods.

The tragedy bothered me because Gwen was apparently accepted by these friends enough to become somewhat intimate, but the homophobia that had been instilled in these kids was so strong that they went from lust to the worst sort of violence.

For me, “Gwen Araujo” is as a reminder that homophobia is a deadly poison that can turn even a lover into a brutal murderer. Gays aren’t murdering people: it is homophobia that is the dangerous sickness. The younger generations have proven increasingly tolerant, but Gwen’s friends were still held under its deadly influence . . .

I dream of a world in which people can be who they are as they are without fear of violence.

Feedback Welcome

April 3, 2013
Dreams

Dream: Phone Got Stolen in London

Link: https://dannyman.toldme.com/2013/04/03/dream-phone-got-stolen-in-london/

London Waterloo, 12:46pm #emptyunderground

Last night as I dreamed, I was in London. I rode the tube out to some far-flung station and picked another route back. At a pub my phone got stolen. Various attempts to engage the police failed because they had more pressing concerns, like a dead body at the hotel. I called my phone and the girl who stole it answered. She wasn’t interested in giving it back and thought it was poor form on my part to have lost it. Eventually, I went back to the pub and saw my phone in her hands. The thief was a skinny blond taking a picture of her friends, and I recognized her voice, and my phone. I walked up to her and elbowed her in the face, and took my phone back. The girl had a bloody nose and one of her friends seemed very alarmed over the assault. I showed her the phone and explained the situation, and her friend nodded in understanding, and apologized. I removed the huge silly case she had put on it, and started digging through the phone itself wondering what manner of dross she had installed on it, then Tommy started to cry, so I woke up and took a very brief moment to try and remember the dream.

Feedback Welcome

March 21, 2013
About Me, News and Reaction, Technical, Technology

With Google, You Can Not Trust the Cloud

Link: https://dannyman.toldme.com/2013/03/21/with-google-you-can-not-trust-the-cloud/

Mike Loukides strikes a chord:

How can I contemplate moving everything to the cloud, especially Google’s cloud, if services are going to flicker in and out of existence at the whim of Google’s management? That’s a non-starter. Google has scrapped services in the past, and though I’ve been sympathetic with the people who complained about the cancellation, they’ve been services that haven’t reached critical mass. You can’t say that about Google Reader. And if they’re willing to scrap Google Reader, why not Google Docs?

An excellent point.

I recall the first time I adopted a “cloud” service for my technology. It was Flickr. I had managed my photos with my own scripts for years. Others had installed Gallery, which always struck me as limited and ugly. Flickr was new at the time, and I really liked the aesthetic. But, upload all my photos there? They had just been bought by Yahoo. How long is Yahoo going to support the service? I still keep local archives of my photos, but I have thousands of photos shared on Flickr, and how do I know that all those captions, comments, geotags, annotations, sets and collections, that all that data might not one day go down with the slowly sinking-ship that is Yahoo?

What reassured me was the Flickr API. Worst case, I should be able to write a script to pull all that data to a local place somewhere and later reconstruct my online photo archive. If Flickr were going down, someone else would probably write that script better than I could. It is a grim thought, but at least when Flickr dies, there is an exit strategy.

That is one reason why I can sort of trust Google. They’re pretty good about supporting APIs. They’re killing Reader? That’s dumb. But in an instant, Feedly was able to take over my subscriptions from Google for me, and I just had to spend a few minutes learning a somewhat different interface.

It would be nice, though, if, when software was retired, especially cloud software, that it could be open sourced and available for the die-hard users to keep it running on their own servers somewhere. Admittedly, cloud services especially are vulnerable to further external dependencies . . .

You would think, though, that it shouldn’t take much effort on Google’s part to announce that a service has been retired, but they’ll keep it running indefinitely, at least until some point where the vast majority of the users had wandered on to more compelling alternatives. They still keep the Usenet archive around.

And, yes, I rely on DocsDrive. This killing Reader fiasco sounds like an advertising ploy for Microsoft. I rely on DocsDrive, but maybe Excel is a more trustworthy option for the long term . . . ?

Feedback Welcome

February 27, 2013
Technical, Technology

2013-02-27, Indeed!

Link: https://dannyman.toldme.com/2013/02/27/2013-02-27-indeed/

Okay, I just have to say, Amen, XKCD and ISO!

The correct way to write dates is: 2013-02-27 ...

If you are naming files on a computer, please use this format. The beauty is that if you list files in “alphabetical order” then these dates get listed in chronological order, because as far as a computer is concerned, the “0” comes before “1” and so forth. (And a year is more significant than a month is more significant than a day of the month . . .)

It is important to have that leading zero! Why? Because we have more than 10 months! Allow me to demonstrate:

0-11:32 djh@noneedto ~$ (echo "2013-02-27" && echo "2013-12-27") | sort
2013-02-27
2013-12-27
0-11:32 djh@noneedto ~$ (echo "2013-2-27" && echo "2013-12-27") | sort
2013-12-27
2013-2-27

If you are interacting with strftime() then what you want to remember is %F!

0-11:38 djh@noneedto ~$ date +%Y-%m-%d
2013-02-27
0-11:38 djh@noneedto ~$ date +%F
2013-02-27
0-11:38 djh@noneedto ~$ date +%Y%m%d%H%M # I sometimes use this for file timestamps but dont tell Randall Monroe
201302271138

For my photographs, I have a directory hierarchy of %Y/%m-%B:

0-11:43 djh@noneedto Photographs$ find . -type d | sort | tail
./2012/08-August/Costa_Rica/Santa_Teresa
./2012/08-August/Costa_Rica/Ziplines
./2012/09-September
./2012/09-September/Sonogram
./2012/10-October
./2012/11-November
./2012/12-December
./2013
./2013/01-January
./2013/02-February

This gives me the human convenience of seeing the month name on my folders, but the computer sorts those folders in chronological order.

Feedback Welcome

February 25, 2013
About Me, Biography, News and Reaction, Technical, Technology

Yahoo Mandates 19th Century Commuting

Link: https://dannyman.toldme.com/2013/02/25/yahoo-mandates-19th-century-commuting/

I have been excited to see what might come of Yahoo! with Marissa Meyers at the helm. I am really glad to see that, after years of stagnation, Flickr has been improving. Free food and smartphones for employees? Sounds swell. But the buzz now is that there shall be no more remote work. The only way to be productive is to come to the office and feel the buzz and bounce ideas off coworkers.

I am happy to point out that, while we don’t get free smartphones or free food, my employer does issue remote employees with a hardware VPN device that provides corporate wifi, and a videophone. And we are hiring.

In my experience as a non-management technical professional, there is some virtue both to working from home, and to working at the office. The office presents great opportunities for collaboration: working through ideas and solving problems. Working from home, for some people, provides an excellent space to focus on getting some work done without interruption. You can get more hours of productive work when your commute is shortened to a walk across the dining room, and when there’s no pressure to quit at a certain time to appease the demands of the train schedule or traffic.

For some people, there’s no place like the office . . . some people can do better work from home, some people do not. Managers and executives, the bulk of whose work is meeting with others to make collaborative decisions . . . it seems that they may take several meetings from home and when they get to the office they feel uncomfortable that the busy hum of productive creative energy isn’t located there. I believe that managers who can structure the working and communication practices of their teams to effectively collaborate and track work progress without requiring a physical presence have an advantage over those who can not.

I live near the office and frequently collaborate with my manager, so most days I make the trip in. Sometimes when I need to focus on a project, or work with a remote time zone, I’ll commute to the home office. I have been with Cisco for over five years, now. I spent one of those years in New York, and my tenure here would have been much shorter without the flexibility to telecommute.

David Fullerton makes a good case for effective remote work.

1 Comment

February 19, 2013
Politics, Presidential Decrees, Technology, Testimonials

Presidential Decree #6: Intellectual Commons Restoration

Link: https://dannyman.toldme.com/2013/02/19/presidential-decree-6-intellectual-commons-restoration/

In an age where innovation and creative thinking move ever faster, it is sick and demented that we have extended copyright periods to over a century. It is shame for the current generation and those of the twentieth century that the intellectual commons ended in 1923.

The gradual seizure of the intellectual commons.  CC: Wikipedia

The gradual seizure of the intellectual commons. CC: Wikipedia

The United States hereby withdraws from International Copyright Treaties, especially the Berne Convention. The substance and spirit of the Copyright Law of 1790 shall be restored. All intellectual property rights must be recorded by the government. Software copyright protection requires a copy of source code for software to be stored in escrow with the government. Exclusive rights are conferred to the author for 14 years, plus an option to extend rights for 14 years if the author is alive at that time.

A Copyright Will Protect You From Pirates!  CC: WikiPedia

A Copyright Will Protect You From Pirates! CC: Wikipedia

All other works are Public Domain. Upon expiration of software copyright protections, the government will publish the source code.

Feedback Welcome

« Newer Stuff . . . Older Stuff »
Site Archive