dannyman.toldme.com


About Me, Excerpts, Free Style, Good Reads, Religion, Sundry, Technology

The More Things Change . . .

Link: http://dannyman.toldme.com/2012/03/27/party-like-its-1885/

Above all science was becoming religion; psychology was reducing metaphysics to experiment and a sociology of human action was planned. Fighting the vast concept of evolution, religion went into its heresy trials, its struggle with “higher criticism,” its discomfort at the “revised version” of the New Testament which was published the year I entered college. Wealth was God. Everywhere men sought wealth and especially in America there was extravagant living; everywhere the poor planned to be rich and the rich planned to be richer; everywhere wider, bigger, higher, better things were set down as inevitable.

– W. E. B. Du Bois
… who entered college in 1885

Actually, Chapter 3 of “Dusk of Dawn” describes a transition from the world Du Bois was born into of the latter 19th century:

“(As) a young man, so far as I conceived, the foundations of present culture were laid, the way was charted, the progress toward certain great goals was undoubted and inevitable. There was room for argument concerning details and methods and possible detours in the onsweep of civilization; but the fundamental facts were clear, unquestioned and unquestionable.”

In contrast with the “today” of 1940:

“TODAY both youth and age look upon a world whose foundations seem to be tottering. They are not sure what the morrow will bring; perhaps the complete overthrow of European civilization, of that great enveloping mass of culture into which they were born. Everything in their environment is a meet subject for criticism. They can dispassionately evaluate the past and speculate upon the future. It is a day of fundamental change.”

I feel my heart and mind whipsawing between a world culture which is on the cusp of some fundamental, unimaginable change, and a world in which we will pretty much keep doing what we have done, just bigger, bolder, better, faster, with nanites and a higher rate of return . . . I get dizzy thinking about this world I try to live in.

And Religionists and Conservatives keep shouting their objections to a changing world ever louder, ever more viciously. They’re still attacking Evolution, so the concept and theological implications of Anthropogenic Climate Disruption are even more of a leap . . .

But the today of 2012, when the big revolutions appear to be how the European Union will manage debt among member states, and whether Arab countries can successfully democratize, whether there will be regional wars on either side of Asia, and the capacity of fundamentalists to kill civilians . . . today’s world isn’t tottering as obviously as 1940′s “today.”

But it is the Big Things you don’t hear in the news every day; When will climate change trigger famine and mass migration? Will China’s rise be sustained to the point it becomes a world power or will it implode? When are we going to be hit by that asteroid that superheats the atmosphere? Just after the devastating global pandemic that trained against antibiotics and traveled everywhere on jet planes before we noticed it? Will nanofabrication make industry and perhaps agriculture obsolete? Will the Singularity bring upon us a supra-individualist world consciousness? Will medical science and DNA repeal the eternal inevitabilities of aging and death? Is that when we will feel comfortable encapsulating our bodies on centuries-long trips to distant star systems? The new Magellans will refer to centuries as we refer to decades. My thinking is so early 21st . . .

These are the things I tend to wonder about between meetings at work.

Feedback Welcome


Photo-a-Day, Sundry, Technology

Cross-Continent Collaboration

Link: http://dannyman.toldme.com/2012/03/15/danny-paul-seb/

Our Frenchman flew over to San Jose from London, and wanted a picture with our American colleague in Tokyo.

Rockin’ the Cisco TelePresence!

Feedback Welcome


About Me, Technical, Technology

Usability Example: Unsubscribe FAIL

Link: http://dannyman.toldme.com/2012/03/07/linkedin-unsubscribe-not/

Last week I dug through several menus to try and unsubscribe from all the spam LinkedIn sends me. Today I got another email and at the bottom was an “unsubscribe” link that I clicked on. Here’s what I got:

Unsubscribe screen doesn't actually unsubscribe . . .

Not only is this not an unsubscribe feature, LinkedIn gets bonus points for trying to sign you up for MORE e-mail.

Instead of screwing around with the half-dozen sub-menus again, I dropped them a feedback saying that this burns up good will, damages the brand, discourages me from engaging, and may in time lead me to delete my profile. There’s more than one way to search for resumes online.

2 Comments


About Me, Free Style, Photo-a-Day, Technology, Testimonials

Kevin Coval in Cupertino

Link: http://dannyman.toldme.com/2012/02/26/remains-jane-addams-town/

This triptych of a poem caught my eye from across a classroom at De Anza college in Cupertino.

Break time during a class at De Anza College, I wander across the room. The skyline . . . that’s John Hancock. I start to read . . . words written by Kevin Coval.

My home town, Chicago, the city of broad shoulders and ambition, is where the wealthy have pushed the workers and the workers have pushed back. Jane Addams, as my memory serves, founded the Hull House back in the 19th century, to look after the needs of working people: meals, health care, education, general community services. At a time when class divisions were sharper than they are getting to be today, Jane Addams bucked the conventions of her time to push for the American ideal: that we all, regardless of class or wealth, merit a helping hand, a warm place to sleep, and nourishment for our bodies and our minds.

Growing up in Chicago, getting educated in the Chicago Public Schools, the sense of perpetual struggle for a better, more equitable future, I think it gets in to your blood. People come looking for a better life, and they find that sometimes they have to push a bit to realize that better life, if not for themselves then at least to give their children a shot. We’re all passing through those gates, at our respective levels of society, and the struggle never dies and the struggle must never be forgotten.

Now I live in the Silicon Valley, where people struggle and strive, and while the ultimate aim is to make the world more comfortable and efficient, the focus is pretty far removed from the front lines of class warfare. Even so, I ride the train every day past miles of walled mobile home parks, and I wonder if there’s more going on beneath the surface than us privileged IT folk know.

A quote from Al Franken, via The Sun:

“In her book A Distant Mirror: The Calamitous Fourteenth Century, Barbara Tuchman writes about a peasant revolt in 1358 that began in the village of St. Leu and spread throughout the Oise Valley. At one estate, the serfs sacked the manor house, killed the knight, and roasted him on a spit in front of his wife and kids. Then, after ten or twelve peasants violated the lady, with the children still watching, they forced her to eat the roasted flesh of her dead husband and then killed her. That is class warfare. Arguing over the optimum marginal tax rate for the top 1 percent is not.”

Arguing over the margins, in the grand scheme of things, describes my day job.

and we need heroes
who stand up to giants
who carry a big bat to home plate
though the pitcher is throwing money
balls and the umps are in on the fix.

I’m no hero and my bat is nothing to brag about, but I relish those occasions when I do get to step up to the bat and swing, however ineffectually, at a ball I’m not allowed to hit. Its the Chicago in me. I owe more.

Feedback Welcome


Python, Sundry, Technology

PYCON Starts March 7th!

Link: http://dannyman.toldme.com/2012/02/08/derr/

From an email to colleagues:

Yesterday I got Dr Sick Wife to drop me off at the Santa Clara Convention Center so Mr Sicker Light-Headed Husband wouldn’t miss any PYCON. After an awkward twenty minutes of asking people there for the lighting and LED conference where the Python was, I checked my smart phone and noted that … PYCON is *MARCH* 7th.

So I took the light rail home and told $BOSS I was on PTO (well, I call it MLK day due to Puppet Training) I then slept a lot, and did other things sick people do that don’t bear repeating in a professional context, and watched Dr Who save the Earth on TV, slept some more, and I am feeling way better today, which means I feel regular sick, not super sick.

So, I’ll be WFH today. Trust me, whatever this is, you’re lucky to miss out! I don’t normally get sick so this is a novel experience … I’ll likely be seen in the office next week, though if I’m coughy or sneezy I’ll keep that train wreck at home, because, as you might gather, you don’t want a piece of this!

If you’re attending PyCon, I look forward to seeing you there … next month! Hopefully I won’t be light-headed!

Feedback Welcome


News and Reaction, Technology

Lizard Gaming

Link: http://dannyman.toldme.com/2011/12/15/lizard-gaming/

Ant smasher!

Feedback Welcome


Good Reads, Letters to The Man, News and Reaction, Politics, Religion, Technology, Testimonials

The Greatest Speech Ever Made

Link: http://dannyman.toldme.com/2011/12/12/the-greatest-speech-ever-made/

Unexpected tear-jerker.

1 Comment


News and Reaction, Photo-a-Day, Sundry, Technology, Testimonials

Nobody Uses the Post Office Any More

Link: http://dannyman.toldme.com/2011/12/10/nobody-uses-the-post-office-any-more/

image

Especially in Mountain View, CA, the heart of the Silicon Valley.

2 Comments


Sundry, Technical, Technology, Testimonials, WordPress

Is CloudFlare Saving Me Money?

Link: http://dannyman.toldme.com/2011/11/23/is-cloudflare-saving-me-money/

I was poking around my CloudFlare Control Panel, and pulled up stats for the past month, from Oct 11 to Nov 11. It says it had blocked a bunch of attacks on my site, and consequently saved me over 5GB in bandwidth.

5.1GB saved!?

I said to myself, "I pay for bandwidth! Maybe this free service is saving me money?!"

“Really,” I said, “I pay for bandwidth, so if CloudFlare is saving me bandwidth, it is saving me money!”

But 5GB seemed kind of high. So, I checked my invoices from RackSpace. Here is the outbound bandwidth I have been charged for this year:

Invoice Date   Bandwidth Out
11/11          4.660 GB
10/11          4.972 GB
09/11          7.534 GB
08/11          5.467 GB
07/11          6.402 GB
06/11          5.978 GB
05/11          4.694 GB
04/11          6.294 GB
03/11          6.254 GB
02/11          9.652 GB
01/11          7.117 GB

RackSpace charges me on the 11th of the month, and, conveniently enough, I started using CloudFlare around October 11th. The highlighted line above is my first month on CloudFlare. It is my lowest number of the year, and it is conceivable that I could have totaled 9.5 GB in October since I pushed more than that in February. I’m skeptical that they are saving me as much as they claim to be, but for a free service to speed up my web site and save me even a little money . . . that is a good deal in my book!

Feedback Welcome


About Me, Technical, Technology, Testimonials

Google Reader Interface: -1

Link: http://dannyman.toldme.com/2011/11/01/google-reader-interface-1/

Note to modern web designers: since the displays are becoming wide and short, please do not squander vertical screen space. Here’s a good example of what not to do:

Viewed full size, you see a window that is 705 pixels tall. The OS claims 24 pixels, the web browser claims 90 pixels, and the web application claims 250 pixels. So, by the time you hit the actual content, 50% of the window has been wasted!

Squinting into a tiny pane to read news makes me angry. Google, you can do way way better than this!

Hotpatch: Install New Google Reader Rectifier for Chrome, which relies on you bringing up the left pane. (Thanks, Mike!)

Feedback Welcome


Biography, News and Reaction, Technical, Technology

Birth of the Internet!

Link: http://dannyman.toldme.com/2011/10/28/birth-of-the-internet/

Leonard Kleinrock tells the story of the Internet’s birth. First word was LO:

And then, he shows us the world’s first router, which they were going to throw out:

My first experience of the Internet was a 1200 baud dialup connection to a USENET host that connected upstream twice a day at 2400 baud. That would have been around 1992 or 1993. (I was a broke highschool kid who couldn’t afford the $30/mo+ for a proper Internet connection.) My first email address was dannyman@netwrk21.chi.il.us, and I lost that address when my network uplink failed to pay his phone bill. Oh well!

When I started college in January, 1995, and had access to labs and labs and labs of computers directly connected via Ethernet, with Mosaic and Netscape installed, it was like I had found my Nerd Nirvana! It only got better when I took a C programming course on the Sun workstations in the basement of the DCL . . .

Hat Tip: Rackspace

Feedback Welcome


About Me, Recipes, Technical, Technology, Testimonials

Electronic Recipe Rant

Link: http://dannyman.toldme.com/2011/10/28/electronic-recipe-rant/

A friend posted a link about some iPad App that will show you recipes. My reaction was one of being condescendingly underwhelmed, and here’s the gist of what I’d really like to see in a “cookbook app”:

“Will it plan a week’s menus based on seasonal ingredients and give you a shopping list? Because that’s the fucking time-consuming part the computers need to fix.

Any clown can convert a menu book to an App . . . and any clown can find a recipe, drive to the store, spend 45 minutes trying to find some ingredient they don’t know about which is out of season, pay a bunch of money, get home, if they still have the energy maybe cook something sorta edible . . .

. . . but this being the 21st century, an electronic cookbook ought to be able to suggest recipes for you based on the ingredients you have ready access to. (In your pantry, in your growing region, partner with a supermarket…) I have found a website that does a mediocre job of this. This thing is begging to be invented.

Anyway, what I’m saying is–cookbooks in an app–that’s like lets transcribe 15th century technology into silicon. I say hell no, with all this information technology let’s leverage the information to really make it easy for the people to cook healthy, inexpensive meals at home. THAT is the revolution that will make us all better off.”

Feedback Welcome


JIRA, Sundry, Technology

JavaScript Hack: Hide an Element on a Page

Link: http://dannyman.toldme.com/2011/10/25/javascript-hack-hide-an-element-on-a-page/

JIRA is an issue tracking system that is really flexible, but sometimes presents irritatingly arbitrary limitations.

I have been working on a screen which uses multiple tabs. The tabs are there to make it easier for the user to find the fields they want to edit, without scrolling through a single long, complex issue. But every tab has a Comment field rendered on it, which makes things confusing, and makes each tab look like it needs scrolling.

So, just remove the Comment field from the Screen, right? No, it isn’t in there. So, can I remove Comment via the Field Configuration Scheme? No, it is mandatory. Damn your arbitrary limitation, JIRA!

Anyway, I don’t normally speak JavaScript, but I managed to gin up the following snippet to paste into a Field description which appears in the screen I wanted to tweak. It finds the element containing the Comment, and sets its style display attribute to none. As the page loads, the Comment box is rendered, but once the page load completes, the Comment box disappears.

<script type="text/javascript">
function hideCommentField() {
        var elements = document.getElementsByClassName('field-group aui-field-wikiedit');
        elements[0].style.display = 'none';
}
// http://stackoverflow.com/questions/807878/javascript-that-executes-after-page-load
if(window.attachEvent) {
    window.attachEvent('onload', hideCommentField);
} else {
    if(window.onload) {
        var curronload = window.onload;
        var newonload = function() {
            curronload();
            hideCommentField();
        };
        window.onload = newonload;
    } else {
        window.onload = hideCommentField;
    }
}
</script>

It is ugly, but effective. Also, it is helpful for me to learn JavaScript!

PS: Thanks for the Guidance, Ed Burns!

1 Comment


Photo-a-Day, Sundry, Technical, Technology

Yahoo URLs Cafe

Link: http://dannyman.toldme.com/2011/10/21/yahoo-urls-cafe/

image

It is a little thrill to query Google Maps for “yahoo urls” — URLs is the name of one of their cafeterias, where I am right now for a Meetup.

Feedback Welcome


Technical, Technology

Notes on CloudFlare

Link: http://dannyman.toldme.com/2011/10/11/cloudflare-free-cdn/

What it is: a free CDN!

What is a CDN? A Content Delivery Network is a service that caches parts of your web site at different points around the world. This makes your web site load faster in foreign countries, and it reduces load on your server, which is really useful if there’s a traffic spike.

Why is it free? Apparently, they started as a honey pot. A honey pot is a trap where you leave something sweet out for spammers and hackers, who will come and try to taste your honey. The honey pot keeps track of where the bad guys are coming from and what techniques they are using, and this data is then analysed to improve security. They also have a bunch of apps they can sell you, and honestly when you’re looking for a paid service for your company, the first thing that will come to mind is the service you already use for your personal stuff.

I personally have never set up a CDN before, but it has always sounded like a pain in the rear. So, I was pleased to see that Cloudflare made it braindead simple: they did a pretty good job of guessing out the contents of my DNS zone file, which I was later allowed to upload in full, then a quick update of my registrar’s NS records and yes, I was using Cloudflare inside of 5 minutes.

How does it work? It basically replaces your world-facing, web-serving A records with its own IPs, which it then answers HTTP/1.1 style. If you need dedicated IPs for SSL, that costs money. You set some A records to go straight to your server, so you can, for example, use SSH. It hands out the same IPs around the world, then magic network routing that I haven’t learned about takes care of the rest.

You're sharing IPs now, so HTTP/1.1 will work fine, but you'll need to set aside an A record if you need direct access.

CloudFlare A Records

Configure your A records: orange clouds will be fronted by CloudFlare, grey clouds will go straight home.

So, is it faster? Results from just-ping.com look very promising. I see an average latency of 62ms for CloudFlare versus an average latency of 144ms for direct access to my server in Chicago.

An interesting aside, here’s a bit of the just-ping.com output for CloudFlare:

 Mumbai, India: 	Okay	64.1	64.5	67.4	173.245.60.121
 Chicago, U.S.A.:	Okay	0.3	0.5	1.4	173.245.60.121
 Nagano, Japan: 	Okay	5.5	5.7	6.1	173.245.60.121
. . .
 Lisbon, Portugal:	Okay	58.8	59.1	59.4	173.245.60.121
 Chicago, U.S.A.:	Okay	1.8	2.3	2.7	173.245.60.44
 Dallas, U.S.A.:	Okay	1.4	1.6	1.7	173.245.60.44

And for my direct IP:

 Mumbai, India: 	Okay	286.8	288.1	293.1	173.203.101.184
 Chicago, U.S.A.:	Okay	1.9	2.0	2.5	173.203.101.184
 Nagano, Japan: 	Okay	165.8	165.9	166.1	173.203.101.184
. . .
 Lisbon, Portugal:	Okay	151.1	152.7	153.6	173.203.101.184
 Chicago, U.S.A.:	Okay	0.2	0.3	0.5     173.203.101.184
 Dallas, U.S.A.:	Okay	25.3	25.5	25.9	173.203.101.184

This shows two things. First, CloudFlare thoroughly reduces my latency anywhere outside Chicago. Second, and really just interesting for the biggest nerds, just-ping’s first Chicago node is closer to CloudFlare’s Chicago node, and just-ping’s second Chicago node is closer to my RackSpace-hosted Chicago node.

Okay, what about actual page-loading time? Well, I just happened to be doing some basic latency testing last month. Here’s what page load looked like in Google Chrome then:

Google Chrome's Developer Tool Network view last month.

Here’s what a page load from California looks like just now:

Page load time from California with CloudFlare enabled.

So, a basic test shows that the initial round trips go from 275ms to 136ms, and the total page load time is reduced by about 1/3. Now, the difference between 750ms and 500ms isn’t a huge deal, but the second you step overseas it makes a big difference. Above you see that the latency from my server in Chicago to Lison is 150ms, and 165ms to Nagano, and 290ms to Mumbai. With the latency goggles cranked to 200ms my page load times went from .75s to nearly 2s. So, my web site feelsfelt sluggish for people in Europe or Japan, and frustratingly slow in India. CloudFlare removes that frustration. Now, Mumbai can browse my site as comfortably as I could from California the day before. (Mumbai should be even faster once Cloudflare adds a node in India.)

Feedback Welcome

« Newer Stuff . . . Older Stuff »
Site Archive