Showing posts with label blogging. Show all posts
Showing posts with label blogging. Show all posts

Saturday, December 26, 2015

Blog Post #100

Where Have I Been?

This blog is now about 6 years old. Thanks to irregular gaps between my posting articles, this is only blog post #100.

My apologies for the long gap between my most recent article on this blog and this one. It's been well more than a year since I last posted an article here. Such laxity needs an explanation.... Last year my wife succumbed to her 2nd heart attack and died in her sleep one Sunday night. Needless to say, that was a huge emotional setback for me. Also last year I developed a severe infection in the middle toe of my right foot. Despite doctor's care, antibiotics and so forth, the infection moved into the bone and the doctor's concluded that the toe had to immediately come off. The result was I was in the hospital for much of December and was sent home on the evening of Christmas day.

Medical adventures continued through the next couple of months with nightly treatments in a hyperbaric chamber at Winthrop hospital to accelerate the healing. It worked. The nicest thing about laying in the the hyperbaric chamber for a couple of hours each evening is you get to watch your choice of movies (from their large DVD collection), so I caught up on a lot of semi-recent movies that I'd otherwise missed seeing. Down side is it's very tight space and they have a rule that you can't bring a date (or even popcorn) into the tube with you. ;-)

Unrelated to my foot problems, by late summer 2015, I found my vision was fading to the extent I was no longer able to read. I cranked up the font size on my PC screen to try to get by, but the wretchedness of my typing accuracy with little ability to proofread was depressing and certainly discouraged any attempts to type up an article for the blog. So I went to an ophthalmologist and learned I had developed cataracts in the lenses of both my eyes. 10/29 they operated on the right eye (which was the worse of the 2 eyes, by far) and 11/13 they operated on the left eye. I was a bit disappointed that things weren't instantly better after the surgery, but apparently the surgery causes inflammation in the eye. It takes a few weeks for the swelling to go down and the vision to clear up.

I've needed eye glasses for distance since the 4th grade in elementary school. Now, thanks to the plastic lenses they implanted in place of the murky lenses they removed, my distance vision is fine without glasses. I can read the newspaper without glasses too, but do admit to having problems with reading fine print and reading in dim light is still more difficult then I'd like. I have an appointment with the Ophthalmologist this week to get fitted for reading glasses, so maybe the fine print of EULA's will become legible to me again soon.

My daughter insists the plastic lenses are just phase 1 of a secret plan to make me "bionic". Clearly she's watched too many cable TV re-runs of old shows.

Modern surgery for cataracts is pretty amazing. The ophthalmologist describes it as a 10 minute procedure per eye, but that's from his perspective. The day of the surgery you have to be there early and go through various check-in reviews of your meds, and transportation arrangements. It is an absolute requirement that you have someone available to escort you home. I believe the local taxi company could have done fine, but the eye surgicenter insisted that wouldn't do. As a non-driver, I use the local taxi company a lot. Often when I get into one of their cabs the driver just asks me if I want to go home and needs only a "yes" to get me to the right place. Fortunately, there's a company called the Fairy Godmothers of Long Island that provides people to escort patients home from surgery. My daughter hooked me up with them when she couldn't get to the suburbs to escort me herself. (Oh, great! Wait until word gets around that my daughter fixed me up with an escort service. :-). The Fairy Godmothers took me to the surgicenter and then waited for me to be released from the recovery room, they then took me home and made sure i got the door unlocked and was safely home. Heck, I've had taxi rides home from Walmart where the taxi driver even helped me carry my purchases into the house. Fairy Godmothers was a valuable service for me in that I needed them to satisfy the surgicenter people, but I'm still convinced the taxi company could have done just as well.

So that's more like 4 hours per eye. Oh, and for a week prior to the surgery and for weeks afterward there were eyedrops to apply. At it's worst there were 3 different eyedrops 3 times/day. You need at least 5 minutes between drops so you don't just wash out the previous medicine with the next one, so it felt like all eye drops all the time each day. And the day after the surgery you need to see the ophthalmologist to get the eye patch off, and a couple more weekly appointments to make sure the vision is coming into focus the way it should. And by then it's time for the surgery on the other eye. A "10 minute procedure" started feeling like a couple of months lost to working on the eyes. The good news is things apparently worked out fine.

The Stats By Country for the Blog as of this post

So, enough with the excuses for my recent level of posting inactivity on the blog. It has been close to 3 years since "Blog Post #50". Readership on the blog has picked up nicely in those 3 years. As of Blog post #50 I'd had a total of 2600 page views from 2009-2013. My total page view count as of today is up to 33,370 over the life of this blog. That's not even close to passing for viral among YouTube videos, and I certainly don't need to dream yet about how to monetize my page views, You'll notice I don't put any advertising on my pages or even a "please contribute" tip jar button.

Google reports the top 10 countries for page views. The biggest readership by far is still in the US with 15,172 page views over the life of this blog. I wish that was broken down by state, but blogspot.com doesn't slice the data that finely. Russia remains in 2nd place. Germany dropped from 3rd to 4th place as France moved up from 7th place to 3rd place. As before, India finished just behind Germany. New to the list is Ukraine, which finished just behind India. China dropped from 5th to 9th on the list. (Blame the Great Fire Wall of China, which I'm told officially bars access to blogspot.com sites from China?). Slovenia dropped from 6th to below 10th place, so it's vanished from this table. United Kingdom moved from the 8th place slot to the 7th place slot. Canada is newly on the top-10 list, just behind the United Kingdom. The Netherlands dropped from 9th to below 10th, so it's vanished from this table. Poland remains in the 10th place slot, just behind China.

United States 15172
Russia 1632
France 1380
Germany 1248
 India 1235
 Ukraine 1229 
 United Kingdom 990
 Canada 418
 China 283
 Poland 224

India 1235 Ukraine 1229 United Kingdom 990 Canada 418 China 283 Poland 224

Origin of pageviews by countr;

And of course the data has a long tail that blogspot.com doesn't show me. I know that from time to time I've had readers from Australia and Brazil. I think that I've even had occasional clicks from somewhere in Africa, but evidently not enough to be anywhere but in the invisible long tail of the data.

Top 10 articles by page-views

Actual code - C vs. Python for a small problem 1731
What's the fuss about parallel programming? 1537
Pythonic Python - Writing Python code that fits the language's idioms 1471
Python Generators 1449
Is the Udacity CS101 course watered down? 1442
Python and Parallel Processing 566
Linus Torvalds on Teaching Children to Program 451
Cornell Hydraulics Lab 433
Literate Programming 379
Home Networking with FiOS - Don't Cross the Streams 365

Top 10 articles by pageviews

I'm pleased to say that some serious articles have at last edged out the dumb humor articles from the most-viewed list.

The "Python Generators" article seems to owe its popularity by it being referenced with a link in another person's Python-oriented blog.

How the readers access the blog

blogspot.com reports the breakdown by browser. Over the life of this blog, the most used browser to access my blog was Chrome (39%), followed by Firefox (32%). Internet Explorer (or Internet Exploder as I tend to refer to it) was a distant 3rd at 16%. Annoyingly, the stats don't distinguish Internet Explorer versions. It would be nice to see if IE6 is at least fading though I hear it is still about 10% of the browser views in the world. I also notice that some of the IE accesses are likely "fakes" as they come in rapid bursts of >100 page views in a short interval of less than an hour, with none of the views attributed to any particular blog article. (Page scraping in the name of IE?). 4th place went to Apple's Safari browser at 7%. 5th place was a tie of Mobile Safari and Opera at 1% each. The tail with &lt 1% each included Instapaper, "CriOS", "Mobile", and "OS; FBSV".

Here's the breakdown by operating system of the pageviews: Windows (56%), Macintosh (17%), Linux (11%), Android (8%), Other UNIX (2%), iPhone (1%), iPad (1%), UNIX (&lt 1%), iPod (&lt1%), Windows NT 6.1 (&lt1%), Funny that they break out just one ancient version of Windows and don't mention Windows XT, Windows 7, Windows 8, Windows 10, Windows Vista, ... which presumably are all lumped into "Windows" 56%. Your guess is as good as mine as to the categories UNIX and Other UNIX. SunOS, Sun Solaris, SGI Irix, IBM AIX, BSD UNIX?

Complaint Department

In blog Post #50 I lamented that contrary to what all the hype about "Web 2.0" would have you expect, that the vast majority of my readers are silent. That is, there are disappointingly few comments and feedback about the articles. As I put it in Blog Post #50:
What does it take to get people to post comments on the articles? 50 articles and I've only had 12 comments all together. And 6 of those were on one article about Education and Technology. Begging for comments doesn't seem to work. Do I need to write about more incendiary topics to get any kind of reaction? Heck, even feedback like "that's kind of obvious", and "here's another web page that says that better than you did" would be useful feedback to me. Didn't everybody get the memo about Web 2.0 being interactive? It isn't supposed to be read-only.

For the most part that is still true, but I did finally have one article that got relatively heavy response. 139 comments on "Actual code - C vs. Python for a small program". This surfaced a new problem. blogspot.com does a relatively poor job of organizing the comments in a clear accessible way when there are a significant volume of comments. The comment mechanism also is little help for contributing complex data (e.g. source code, data tables) in comments.

A distant 2nd place for number of comments went to "Marketing the Importance of Programming Education" with 27 comments after only 214 page views. That's a volume of comments that the blogspot.com comments mechanism seems comfortable with displaying. (Well, it displays them without complaint, but much beyond a couple of dozen comments, it is difficult to unravel who was replying to what).

Other complaints are mentioned elsewhere in this article: Lack of breakdown of varieties of IE browsers, lack of breakdown of varieties of Windows, lack of clarity of breakdown of versions of UNIX, lack of breakdown of US into finer locations (e.g. by state), lack of access to the long tail of the stats (e.g. countries that didn't make the top 10 over all time). Distinguishing real page views from bots accessing the blog.

Wednesday, September 4, 2013

SOLID software design...

My hopeless backlog

One of the bad habits I have is accumulating lists of things to read. Google Reader used to be a handy place to categorize and keep my "subscriptions" to blogs and so forth to read. Unfortunately, Google pulled the plug on that service in July. Fortunately, another web service, theoldreader.com provided a very similar free service. In fact, their service was designed to look like an earlier version of Google Reader. Some time ago, Google removed some "social" aspects of Google Reader and the change irked some of their users. theoldreader.com sprung up to undo the perceived damage of Google's changes. When Google announced the planned demise of the Google Reader service, Google at least was kind enough to provide a mechanism for retrieving my list of subscriptions, so I opened a free account with theoldreader.com and submitted my subscription list. But so did a zillion other people, so it took literally weeks for the site to get around to processing my subscription list. In the fullness of time, they did get the subscriptions into their system and it seemed usable enough, but then their servers crumbled under the newly stepped up load. (Well, I think that the story is more like they made changes to beef up their servers and in making the changes someone tripped over a power cord or something). More days and days of noticeable downtime before things got back on the air and seemingly stable again.

My point in mentioning Blog subscriptions is that the universe conspires to generate "interesting" blog articles faster than I manage to read them. "Another day older and deeper in debt...". My backlog of unread blog articles is quite hopeless, but whenever I have nothing much to do, instead of turning on the boob-tube in the living room, I fire up theoldreader.com in my browser and try to read up on what I've been missing.

If you've got your own solution to tracking new blog articles, I hope my blog here is on your subscription list. If not, please take a moment to sign-up my blog onto your list. Go ahead and do it now. I'll wait for you to get back. (Full disclosure: No one has ever told me of positive or negative experiences from subscribing to my blog with their favorite RSS tool. I'm assuming that blogspot.com does the right thing, but if you run into a snag, I'd sure like to hear about it).

Emily's "Coding is Like Cooking" blog

One of the blogs that I do try to keep up with is from an expert on test-driven-development (TDD) named Emily Bache, an Englishwoman who now lives and works in Sweden. Her blog is called "Coding is Like Cooking". I like it because it tends to be quite well written and covers relatively recent software development topics that I might otherwise miss out on. i.e. Stuff that I didn't learn in school back in the days when Structured Programming was still somewhat controversial, and that I didn't pick up by osmosis in the later years of my employment at Bell Labs. I freely confess that Test-Driven-Development wasn't part of the quite informal methodology that "we" in Math Research were following. The mathematicians tended to find the underlying math of the problems far more interesting then the structure of the code. I also found myself unexposed to a great mentor for Object-Oriented-Programming. Java got some use in our projects, but I knew enough to recognize bad use of the language when I saw it. So, now I'm retired and still have much to learn. The web has no shortage of material for me to learn from and by reading Emily's articles and saying "Huh?" when something comes up that isn't at all familiar to me, I find lots of great stuff to learn.

One of my "Huh?" moments came from her mention of the "London School". I followed her link and picked up a book for my Amazon book Wish list: Growing Object-Oriented Software, Guided by Tests

SOLID Principles and TDD

So today I was reading an article of her's from September, 2012, SOLID principles and TDD. I didn't get very far into it when my brain complained "Huh? What does she mean by SOLID?". So I opened up another window thanks to a link she provided and read the Wikipedia article on SOLID. It isn't a particularly excellent Wikipedia article. It is dense with off-putting terminology - might be the fault of the SOLID acronym and not really the fault of the article - I've got to forgive the Wikipedia article because it has some excellent links to reference material.

Uncle Bob's principles of Object Oriented Design

One of the links from Wikipedia that I followed was http://butunclebob.com/ArticleS.UncleBob.PrinciplesOfOod. Still more links to clarify the mysterious-to-me parts of that SOLID acronym. This summary article looks especially good: http://www.objectmentor.com/resources/articles/Principles_and_Patterns.pdf.

And just to make sure I don't run out of things to read, there's a book mentioned and even recommended by another reader - Agile Software Development, Principles, Patterns, and Practices that I've added to my Amazon "Agile" book wish list to remind me I really need to take a look at it.

In closing...

So, my situation is quite hopeless if the goal is to finish reading the stuff on my list. If I'm reading anything interesting, it tends to add more things to my list. And that doesn't even count the time to actually try the tools and techniques that I'm reading about. I hope you found some of this material interesting enough to add to your own read-and-try list. I guess I have a bit of a sadistic streak to want to inflict my backlog on other folks.

Learned anything interesting lately?

Friday, February 22, 2013

Blog Post #50

Well, this blog has been active now for roughly 3 years and thanks to long stretches of inactivity, this is only my 50th article posted. The stats have been interesting to watch. I've gotten a total of just over 2600 page views. In the past month, the browser breakdown has been Firefox: 55% Chrome: 21% Internet Explorer: 11% Safari: 6% Other: 7%. The user's OS has been: Windows: 42% Macintosh: 35% Linux: 12% Android: 2% iPad: 2% Other: 7% (including one access from Windows NT 6.1, which Google didn't lump in with "Windows").

For all time, by country, my audience is mostly in the US. 1353 pageviews. I wish that was broken down by state, but blogspot.com doesn't slice the data that finely.

United States 1353
Russia 204
Germany 143
India 75
China 71
Slovenia 68
France 50
United Kingdom 45
Netherlands 44
Poland 42

Origin of pageviews by country

And of course the data has a long tail that blogspot.com doesn't show me. I know that from time to time I've had readers from Canada, Australia and Brazil. I think that I've even had occasional clicks from somewhere in Africa, but evidently not enough to be anywhere but in the long tail of the data.

Complaint Department

If I can be allowed some complaints about my experience as a blogger:

  1. What does it take to get people to post comments on the articles? 50 articles and I've only had 12 comments all together. And 6 of those were on one article about Education and Technology. Begging for comments doesn't seem to work. Do I need to write about more incendiary topics to get any kind of reaction? Heck, even feedback like "that's kind of obvious", and "here's another web page that says that better than you did" would be useful feedback to me. Didn't everybody get the memo about Web 2.0 being interactive? It isn't supposed to be read-only.
  2. Somehow dumb humor seems more popular than anything serious that I write. The most popular of my postings has been one that linked to a cartoon about an imaginary dog breed called the Jack Bauer Terrier, not to be confused with the Jack Russell Terrier. That posting had 269 hits - more than 10% of my total. With the demise of the TV series "24", it becomes increasingly obscure with each passing month. A close second place is my "What's on your Dashboard?" article, which was mostly to make fun of how much stuff litters my friend's van. 250 hits on that one to date, and that's nearly another 10%.

    In my opinion, the most underappreciated of my postings was the one looking at JFK's "We'll go to the moon" speech, a speech that got played on TV over and over again on the recent round-number anniversary of the moon shot. He mentions both that we chose to go to the moon and "to do the other things", which led me to dig into what "the other things" were. I thought it was a nice bit of digging into an interesting bit of history, but it has so far only had 9 pageviews in close to 3 years time.

    The least viewed article on my blog is "How not to sell to me", which to date has logged zero page views. (I have things set to not count page views by me).

    The article that I think I have most promoted is the one that started out being about "Literate Programming". It pretty much mutated as I wrote it into a list of things I felt I needed to learn to master the Python Programming language. I've posted links to that article over and over in forum discussions of Python (e.g. in Udacity.com CS101's forum, in facebook.com's pythonlang page), and for all my publicity efforts, that page has only gotten 93 pageviews, no comments and 4 +1 votes. It's just my opinions, but I sure would like to hear suggestions on how to improve the list.

  3. There's a feature on the blogspot.com blog for people to "subscribe" to a blog as a "follower". To date, I've only persuaded one friend to click on the button to enroll as a follower. I think it just notifies the followers when there's a new posting. Another friend tells me he follows my blog via a Google Reader "subscription". Apparently Google doesn't list Reader subscribers as followers of the blog. Since blogspot.com is owned by Google, that's somewhat disappointing, but I suppose it means comments are the only sure way to hear what people think of my blog.

  4. So what's the trick to get people to share links to a blog article? Seems that I only get hits on my blog when I post links myself. Sharing to appropriate Google+ Communities does seem to draw pageviews. But the life of such announcements is short. A day or 2 later the article gets no further attention. Some articles are intended to have a short life (take the one about the Jack Bauer Terrier, please), but is everything I write too dull to talk about?

I will get around soon to posting articles about the Computers-100 class I've been teaching at the local community center here in the New Cassel section of Westbury, NY. Those I know deserve only a narrow audience, but I plan to keep them short. Mostly just links to the slides I used for each class, and notes about how the session went so I remember to not repeat my mistakes in any future re-runs of that Introductory course.

I haven't run out of things I want to say on the broad topic of "education". I'm still learning what the literature in that field has to say. I keep hoping to hear from actual experienced teachers with advice on how to teach. I'm still mulling over a recent post to the STEM Community on Google+ that explained "Education is not explaining...". I feel that's a lesson I need to better take to heart.

[5/2/2020 - Sigh. Links to things on the web certainly are not quite "forever". Google shut down Google+ and purged all the articles and comments that had been posted via Google+. That "education is not explaining" link in my previous paragraph now gives a 404. STEM in Early Childhood Education is about as close as I can find to something that I think it talking about roughtly the same thing as the article I linked to back in 2013.]