Monday, November 17, 2014

Fragile Agile

One of the twelve core principles of the Agile Methodology is as follows:
Agile processes promote sustainable development. The sponsors, developers, and users should be able to maintain a constant pace indefinitely.

It would seem intuitively obvious that in order to maintain a constant pace indefinitely, the team would need to collaborate and bolster itself to make this even remotely feasible. At minimum, each team member ought to have a "satisfactory" level of competence in the various areas of expertise integral to an Agile team. Satisfactory doesn't necessarily imply expert.

In Final Patrol: True Stories of World War II Submarines by Don Keith, the author describes the following regarding the training of submarine crews both past and present:
Sub sailors were (and still are) required to graduate from submarine school, where they combined classroom learning with actual onboard training, but they were not finished yet. When they got aboard their first boat, they had to be trained until they could pass a rigorous examination in order to verify that they could take any station on a vessel and perform each job in a satisfactory manner. Once they passed their qualification exam, they were awarded a patch or pin that showed two dolphins, nose to nose. One of a sub sailor's proudest days was when he received his "twin dolphins" and could wear them on his dress uniform. The alternative for those who were not able to pass within a reasonable time was to be assigned to other duty. Incidentally, that procedure is still in place today on nuclear submarines.

In my experience, an Agile team's roles have included software developer, business analyst, and tester. My primary specialty has been software development, but thanks to my wide array of tasks and experience, I am wholly capable of a level of expertise over and above satisfactory with regard to the business analyst and tester roles.

Let's assume that a dump truck happens to transform my brains into goo just as I'm crossing a busy New York intersection. How does this impact the team? Suddenly, there's a gap in expertise and productivity. Not only is one who specializes in software development absent, but one who can also more than competently handle the business analyst and tester roles is removed from the equation.

How does this affect the team's velocity? How does this impact the team's ability to achieve the stakeholders' goals?

I'd wager negatively.

In my view, a relatively slim chance does exist that a superstar could emerge from among those remaining team members for whom software development is not their forté. Perhaps they've been paying especially close attention in pair programming sessions. Typically, though, I'd guess velocity would be decreased for a given sprint while the company investigates either transferring a software development specialist from another department, or hiring someone completely new to the company.

Let's apply this scenario to your modern ballistic nuclear submarine

Perhaps the chief weapons officer (let's call him "weaps" for short) trips and inexplicably falls into a bulkhead, rendering him dead. 

http://amzn.to/14BuTBp


Based on Don Keith's information, at least one other member of the submarine's crew possesses the bare minimum qualifications to perform weaps' job, and should it be necessary for weaps to launch a torpedo or nuclear missile, someone else on his team will be able to do this. Perhaps not with the expertise or finesse of weaps, but at least with the bare minimum capability, which means the task can at least be completed.

Can the same be said of the "typical" Agile team, especially your Agile team? 

If not, stakeholders should be very concerned.



Monday, November 3, 2014

Foscam Firmware Update Bricks Camera, And They Don't Care

Foscam once again doesn't seem to respect consumers, nor understand the concept of quality control.

Typically when a company releases a a product to the public, it's been through some testing to ensure that the product is actually serviceable to the consumer. Sadly, in the case of the Foscam FI9821W, they have failed miserably.

Recently, Foscam released a firmware update, version 1.1.1.14. Numerous FI9821W camera owners, myself included, have reported that the camera has been "bricked" following the upgrade. The upgrade begins, then an "Upgrade Failed" message appears, and thereafter nothing happens other than a steady, red LED beside the camera's ethernet port, and the camera is completely unusable.


A user on the Foscam forums, TheUberOverlord, has been shepherding a thread where he provides a solution which involves buying a specialized tool, cracking open the camera, then interfacing with the camera and overwriting its firmware. 

Unacceptable!

Firmware updates are frequently released for various electronic devices (including wireless IP cameras) in order to fix defects not initially addressed by the manufacturer. Usually, updating is a good thing, because it fixes something the manufacturer neglected to fix in the initial release, whether due to time or budget or other constraints.

Even if a camera is past its warranty coverage, there might be subsequent firmware updates to fix various issues. This was the case with the 1.1.1.14 firmware update for the Foscam FI9821W. Of two FI9821W cameras I own, one of them successfully updated to the 1.1.1.14 firmware, but the other experienced the aforementioned upgrade failure.


I contacted Foscam via email. This was their response.
Thank you for contacting the Foscam RA department. Unfortunately, we are not authorized to replace your FI9821W model as it is out of warranty. The FI9821W models have a one year warranty. We apologize for any inconvenience this may have caused.

Out of warranty, eh? Despite the fact that Foscam released firmware for this out-of-warranty camera model, which turns out to be defective for many of these cameras, they refuse to take responsibility??

UNACCEPTABLE!


I strongly suggest avoiding Foscam until they get their priorities and quality control straightened out. They simply don't seem to care about their customers nor the quality of their products. 

#Foscam #ipcamera #homesecurity





Tuesday, September 9, 2014

Add Custom Ringtones To Motorola Razr v3m

I recently purchased a Motorola Razr v3m phone. My previous carrier used the T-Mobile network (whose reception was iffy at best in my area), so my new carrier uses Verizon, whose coverage is far superior.

Unfortunately, though, the v3m is hobbled beyond belief! 

Aside from Verizon's typical anemic interface for its v3 series phones, the phone provides no easy way to add custom ringtones, for example, in my case from my Windows 7 desktop. The phone itself even has a slot for a micro SD card, but this card is completely inaccessible from the phone's UI. Motorola Phone Tools, the software that usually allows you to quite easily copy multimedia from your PC to your phone, had no such options available for the v3m.

A few phones back I'd owned a Razr v3c, and it at least allowed you to craftily send a text message with an attached MIDI file which you could then assign as a ringtone, but no such luck with the v3m. Verizon has gone out of its way to funnel customers through its online marketplace for the privilege of obtaining custom ringtones, wallpapers, pretty much anything.

After poring over numerous forum threads from people trying all kinds of workarounds, and trying some dozen different methods, I had no luck whatsoever. However, finally I found a solution which enabled me to not only add my favorite MP3 ringtone (which happens to be the "dying phone" one from the movie Crank), but also freely modify and transfer photos and wallpapers and other stuff.

First of all, let me spell out a few details of my particular v3m, which could determine whether you will be successful with these steps or not. These are found via Settings => Tools => Phone Info:
Software Version: 24.1_01.19.09
PRL Version: 59396
ERI Version: 4
Technology: dual800/1900 CDMA 1X-EVDO 

Now, before I outline the steps, here is a ZIP file containing all the utilities which worked in my particular case. Download this file, then follow these steps.

1. Click twice on MotorolaDeviceManager_2.4.5.exe. This will install the drivers for three devices which Windows 7 will need to talk to the Razr v3m, the Motorola USB Modem, Motorola USB Diagnostic Port, and the Motorola USB Compositive Device. Note that these devices will only appear in Device Manager when the phone is actually plugged into your PC via USB.


2. Now, run the file bitpim-1.0.7-setup.exe, which will install the BitPim utility.

3. Assuming you've successfully installed the Motorola drivers in step 1, connect your PC directly to your v3m via USB cable; some have reported problems going through a USB hub. Windows should recognize the phone and begin setting up the drivers for the hardware. Wait for Windows to successfully recognize the hardware before proceeding.

4. In Device Manager, right-click on the Motorola USB Modem, click Properties, click the Advanced tab, and then click the Advanced Port Settings button. This will reveal the COM port the device uses, which is important for the next step.



5. Open BitPim. If prompted that no phone has been detected, hit OK and ignore that for now. Click Edit => Settings, and first ensure that v3c is selected as the phone type (yes, v3c, not v3m).



6. Click the Browse button, and in the Choose a comm port screen, click on Motorola USB Modem (which should be listed as an option under Available Ports if it was detected successfully by Windows), and verify that the message about the port being selectable is displayed, and that the COM port number corresponds to the COM port in Device Manager identified earlier. Click OK assuming all of these check out.



After following the above steps, you should now have access to your Razr v3m's ringtones, wallpapers, and more. I refer you to BitPim's online help to get some tips on how to actually use BitPim to interface with your phone.

NOTES:
  • I've found with my phone that MP3 ringtones for the v3m must be less than 300 KB in size, and have a bit rate no higher than 192 kbps. Also, the length of the actual tone must be under 30 seconds. However, your experience may differ depending on your phone's firmware and options.
  • Upon adding custom ringtones to your v3m, you should navigate the phone's file system as illustrated below, first by clicking Filesystem in the left-hand pane, then clicking the forward slash at the very top (the "root" of the file system). If you don't see any folders or files beneath the root, you can right-click in the white space in that middle pane and click "Refresh Filesystem". Once you can see the files and folders, click on the root up top, and delete the file MyToneDB.db. Then, next chance you get, power the phone off and then on again. This will cause the phone to rebuild its ringtone index to include your custom tones.



Wednesday, August 13, 2014

Depression the Disease

Matt Walsh recently blogged about the tragic suicide of Robin Williams, suggesting his death was solely by choice, not due to the disease that is depression.

I find this viewpoint troubling.
Suicide. A terrible, monstrous atrocity. It disturbs me in a deep, visceral, indescribable way. Of course it disturbs most people, I would assume. Indeed, we should fear the day when we wake up and decide we aren’t disturbed by it anymore.

Walsh's point seems to be to stir the pot and compel people who suffer from depression to chime in, along with their counterparts who believe depression can simply be shaken off like dust or debris. Certainly, many bloggers in the political arena do this and make considerable bank through advertising along the way.

I intend to stick to one question, though. Does suicide not equate freedom:
It is not freeing. In suicide you obliterate yourself and shackle your loved ones with guilt and grief. There is no freedom in it. There is no peace. How can I free myself by attempting to annihilate myself? How can I free something by destroying it? Chesterton said, “The man who kills a man, kills a man. The man who kills himself, kills all men; as far as he is concerned he wipes out the world.” Where is the freedom in that?

Suicide is, ultimately, a selfish act, an act of indulgence, where one sees no other options and succumbs to the one that appears to be the only one left. Yet does suicide not free the sufferer from the shackles of their depression?

Yes, it does.

Depression, insidiously, narrows one's outlook on life so drastically that it seems like the only viable option. Similar to being trapped in a deep, dark hole, all you can see is emptiness above. All the rich landscape of one's life, their loves, interests, hopes, dreams, are stuck above the lip of this hole, a sort of event horizon. Unreachable, out of sight, out of mind.




A person in this frame of mind cares not about loved ones, much less society or humanity. Far from it. Suicide to this person is a means to an end, the end of their pain. At least, in most cases nowadays.

In ancient Japan, samurai who failed their masters might be compelled to perform ritual suicide or seppuku
Seppuku (切腹, "stomach-cutting", "abdomen-cutting") is a form of Japanese ritual suicide by disembowelment. Seppuku was originally reserved only for samurai. Part of the samurai bushido honour code, seppuku was either used voluntarily by samurai to die with honour rather than fall into the hands of their enemies (and likely suffer torture), or as a form of capital punishment for samurai who had committed serious offenses, or performed for other reasons that had brought shame to them. 

In this there are elements of spirituality and practicality. On one hand is the bushido code which holds honor in high esteem and is bound to the warrior's soul. On the other is the simpler wish to evade capture and potentially suffer and be compelled to reveal secrets at the hands of one's enemies, at the expense of their superiors and subordinates.

A combat general, tried and tested on the field of battle, is an asset not to be squandered, and yet numerous such generals would take their own life in the face of failing their leader. Why?




The honor, discipline, and spiritual landscape embraced by samurai generals long past is outside the scope of this discussion. But indeed, seppuku, the act of suicide, is undoubtedly a choice; taking a razor-sharp blade and slicing back and forth to disembowel oneself isn't something someone of sound mind and body would do. It is, though, what someone mired in depression might.
We tend to look for the easiest answers. It makes us feel better to say that depression is only a disease and that there is no will and choice in suicide, as if a person who kills themselves is as much a victim as someone who succumbs to leukemia.

Thing about depression is, it kneecaps one's ability to see beyond the crisis in the now. Past and future are meaningless, only the present matters, and that bleak present is what can lead one to that final, ultimate choice. Depression is the monster that chips away at the individual, bit by bit, and saps them of hope. 

To suggest that the suicide victim's final decision in committing to end their human life is separate from the disease that is depression seems naive. It is a decision made under extreme duress, obscuring outside influence and internal dialog that could pull them out of this tailspin of despair.

If a deeply depressed person could suddenly disable their depression, step outside themselves and judge themselves without prejudice, they'd likely find ample reason not to commit. That this is often hardly possible without outside intervention speaks to the notion that a person in that situation is incapable of choosing something other than a most expedient, tragic route to end their suffering once and for all.

Matt Walsh doesn't know depression, rather, he looks at it at arm's length like a dark jewel, curious and wanting to exploit its darkness for profit in the wake of a celebrity's passing who suffered from this disease.




Saturday, August 2, 2014

Mah Knife Is Too Big!

REJECTED by Don Hertzfeldt is one of my favorite animated short films ever.

Recently, I'd come across the video below, showcasing the Microtech Halo Giant OTF (out-the-front) automatic knife.



Apparently you can actually buy one for just under $10,000 from a few online knife retailers. It occurred to me... if I took the plunge and actually bought this thing, I could legitimately say...

http://amzn.to/1ALatBG

"Mah KNIFE is too big!!"



Intel SSD Toolbox Download Problem

In trying to download the latest Intel SSD Toolbox (version 3.2.3), I found that I could download neither with Firefox nor even Internet Explorer. 

Clicking the "I accept the terms in the license agreement" didn't start the download as I'd expect, and clicking the "do not accept" also did nothing.


I right-clicked on the page and clicked View Source, and managed to find the direct link. I bypassed complying with the license agreement, true, but if Intel had tested their site code thoroughly, maybe a workaround like this wouldn't be necessary in the first place.


Here
is the direct download link.






 

Thursday, July 31, 2014

Fiverr

Selling yourself on the internet has become easier thanks to fiverr.

Fiverr



There are many slang terms for cash. Bread, loot, Benjamins, cheddar, and of course fiver, to name a few.

Fiverr doesn't just add an extra "r" to this colloquialism, it adds a new take on buying and selling services from virtually anyone online by enabling people to turn their hobbies and expertise into income easily. 

Showcasing tasks, or gigs, offered by members of the community (many starting at a flat fee of $5, hence the fiver), the "Gig Economy" enables its sellers to freely pick and choose among thousands of different goods and services, ranging from creating a video or business logo to programming help to selling custom-made gifts.
 
Fiverr



Sellers are ranked according to how well they do, their response time, and for additional $5 amounts, buyers can augment their base purchase with additional options.

Payments can be made through popular payment services like PayPal, credit cards, even bitcoin.

Fiverr

Of course, in addition to purchasing gigs from other members, you can sell yourself as well by creating gigs of your own, based on whatever you do well and enjoy doing, whether serious, frivolous, or anywhere in between.

In an age where todo lists grow longer and free time grows shorter, Fiverr enables you to delegate small tasks or create things to free up more time for you, for a very modest price.

Join today and become part of the Gig Economy, dig?

Wednesday, July 30, 2014

Arachnophobia Explained

Picture this.

You are a hominid. Australopithecus africanus, perhaps. Foraging for nuts and berries, perhaps claiming the occasional ancestor of modern squirrels or rats or mice.


 
Then, it happens. An octagonal shape descends through the cloud tops, descending gently, purposefully. Your tribe, surprised, crouches to the ground and looks up with fearful eyes.



The shape descends, a plume of dust rising from the earth around its landing site. Silence, for a few minutes, and then, a light beams out as a portion of the thing descends, making contact with the ground. Minutes pass. Hours. Finally, the shadow of some eight-legged... thing... is cast upon the dirty earth. 

A gigantic spider.



Our bipedal ancestors know not how to react, other than with abject horror. With tremendous strides, the spiders leapt upon their humanoid prey, envenoming them quickly, then moving effortlessly to the next. The resident humanoid population is brought quickly under the arachnids' control. 

But then... what's this?

A rogue among the spiders, a rebel, looks upon the scrawlings of animals scribbled upon cave walls with charcoal by humanoids not with indifference, not with pity, but with admiration. 

Wait, what's that? In the shadows? Another of his ilk... female

In the nearly lightless cave, they both gaze in awe at the crude glyphs. Days pass. Weeks. They, too, prey upon the indigent humanoids for sustenance. A few elude their predators with cleverness, savvy. The traits the biped survivors carry in their genetic heritage will be passed along to future generations.

Eventually, their comrades decide Earth is an unsuitable world. With their advanced technology, they can glimpse into the future of this planet, see that eventually these simple humanoids will evolve into creatures most dangerous to a strangely diminutive progeny of their kind.


The octagonal craft lifts off, punches through the cloud tops, and quickly vanishes into the depths of space, a faster-than-light drive hurling the aliens to parts unknown.

Meanwhile, the male and female mate. They begin their own brood of young, and as they emerge from their silken egg sac, they greedily feast upon their father's now headless carcass.

The female looks upon her children for a moment. This planet, she knows, will be less kind to them than her home world. The gravity, greater; the atmosphere, less oxygenated. Eventually, future offspring may reduce in size, though increase in numbers.

Survival, in whatever form, is not without cost.

. . .


Years pass. Centuries. Millenia. Millions of "years".

The mother's corpse and her children have long since been cast to the winds of this world as dust. Now, the varied descendants of this alien race lurk in the shadows. The cold equations revealed in their glimpse into the future have, apparently, come true. These humanoids are of tougher mettle than their brutish cousins left behind in the distant past. 

Yet, what is that twinge of fear, of horror, that lurks in the minds of so many a human being? When those small, eight-legged creatures dash out from beneath a refrigerator, drop down onto them from a ceiling, or worse, capture them in their vulnerable nakedness upon emerging from their daily cleansing ritual?

In the end, this matters little, for they have mastered... fire.





Thursday, April 17, 2014

Intermittent PageRequestManagerParserErrorException With Full Postback

I have a project with a bunch of ajaxified Telerik controls within several nested UpdatePanel controls. As part of an Excel export process, I have a button which upon clicking performs a full postback, generates a spreadsheet from a RadGrid, and finally prompts the user to download the file. 

Once in a while, though, the export process would throw the dreaded and unhelpful Sys.WebForms.PageRequestManagerParserErrorException exception.



Eilon Lipton's helpful post gave a handy checklist of things not to do, but in spite of ensuring all the common causes were accounted for, it would still occur occasionally.

I tried implementing a workaround shared by a colleague and thus far it appears to have helped. This involves setting the OnClientClicked event handler of the export button so that it triggers a brief pause prior to initiating the full postback using a client-side Javascript.
function onExportClick(sender, args)
{
     setTimeout(

          function () 
          { 
               __doPostBack(sender.id, "_MyButtonID") 
          }, 
          500
     );   
}

The error itself points you in the right direction, but some more context sure would be nice. Anyway, apparently this script mitigates situations where the Telerik controls are still in the process of being rendered when the full postback is initiated, corrupting the Response header in the process. 




Thursday, March 6, 2014

Total Thyroidectomy

Around 18 years of age, my thyroid gland decided to start getting busy.
 


Meaning, bigger.

Called a "goiter", the result of Hashimoto's thyroiditis, my immune system assaulted the gland over the years and prompted it to create scar tissue and increase its size. As far as it was concerned, this thing was a foreign body needing termination.

Fast-forward to age 40.

A friend of mine who works with kids contracts pertussis, aka "whooping cough", a childhood disease largely controlled with childhood vaccines, but which has found new life thanks at least in part to anti-vaccination activism. I happen to contract almost identical symptoms a short while later. I wake up nights with unprecedented difficulty breathing. My throat feels clogged with mucus, and the hacking cough lasts a good month or two.

I decide it's time to get this thing out of me. Total thyroidectomy.

I consult a local ear-nose-throat doctor. We commit to surgery. She gives me a warm hug on my way out of the initial appointment.

I go to a pre-op appointment. Alex, a Korean physician's assistant, opens the floor to me to ask questions. I ask my wife's questions first, how soon prior to the surgery can she see me? How long is recovery?

Questions answered, I'm out. The following Friday, I wake up at 5-dark-thirty to arrive at the hospital around 7am. The reception nurse, sleepy but awake, leads me into the prep area. I'm asked to disrobe into one of those humiliating ass-open hospital robes, and need help tying off the lower part. She reassures me, she's seen plenty o' butts, and helps tie the knot.

I'm led to a bed, where an intake nurse sees me next. We review my meds, whether I've taken aspirin, fish oil, any other OTC drugs that might cause excessive bleeding. Being a compliant patient, I've refrained from taking these for a full 5 days prior. I've even showered and scrubbed the area with a chlorhexidine-containing soap to minimize the number of microbes loitering around my neck.

The nurse inserts the IV into my forearm. The vein is sketchy, so apologetically she tries again, this time atop my hand. Success!

Bruce, the anesthesiology nurse, warmly greets me. A friend snaps a shot of me smiling wanly in the hospital bed, and then I'm wheeled off toward the operating room.

Upon arrival, Bruce whips a syringe out from his chest pocket, then injects its contents into my IV. Versed, he says. Cool! I'm hopefully I'll start feeling woozy, euphoric. No such luck, however.

I'm there, in the OR, a few minutes. Someone places a mask halfway across my nose and mouth. I breathe normally and then... like some ridiculously swift transition in a movie, I find myself in recovery. I have utterly no recollection of the events that transpired.

I gingerly probe my neck, and it seems genuinely less massive. The thyroid is gone, it would seem. A tube leading to a squeeze bulb meant to suck out fluids hangs at my chest, and the remainder of the wound is sealed with some sort of novel purple "glue" meant to bind incisions.

A friend along with my wife rescue me from the hospital and we drive. We decide to have dinner at a local sushi restaurant we enjoy. Despite the lingering haze of the anesthetic (which imposes a noticeable delay as I try to piss in the restroom), I find I can fairly easily chew and swallow our food. Famished, I devour it eagerly.





The first few days following surgery, I numb the pain with hydrocodone provided by the surgeon. Recovery is, thankfully, largely uneventful. Now at a week afterwards, the glue has all but fallen away, and the surfacemost areas of the scar have healed over. I now apply Mederma several times daily to deter the formation of an annoyingly visible scar.

I can swallow much more easily, and although now I add another medication to my daily regimen (levothyroxine, the brand name of the well-regarded thyroid replacement hormone), along with Humalog and Lantus to manage my type 1 diabetes.


It doesn't bother me as much. Just being able to breathe and swallow more easily is a wondrous thing.




Thursday, February 20, 2014

FocusMonitor Identifies Processes Stealing Focus

Recently I've been having issues with some process stealing focus from the application I'm working in.

Like I'll be in Visual Studio or Word or Waterfox (a 64-bit performance focused build of Firefox) and suddenly focus is swapped for a split second and whatever word I'm typing gets cut off or a button I'm clicking isn't.

I found a very helpful post by Matt Gertz from some years back where he provides some VB.NET code for an application that can monitor processes that steal focus from it. I'm more of a C# guy myself, so I've run with Matt's core logic and created a 32-bit C# application in Visual Studio 2010 which provides similar functionality. It will also let you copy the log info to the clipboard to paste wherever for further examination.




I call it FocusMonitor, and you can download the source code.





Sunday, February 2, 2014

Cannot Install Windows Updates

My Windows 7 install inexplicably began to have issues with installing updates.

Service pack 1 installed fine using an installer, but other incremental updates consistently failed, they would download but they'd be skipped by Windows Update and reported as having not been installed.

One fix involved deleting a folder and letting the update process recreate it, specifically this one:
C:\WINDOWS\SYSTEM32\catroot2

This folder contains part of an internal Windows database which it uses to track updates, and a log file, dberr.txt, which was rife with error messages like these:

CatalogDB: 6:27:32 PM 2/1/2014: catdbsvc.cpp at line #3454 encountered error 0x8007000e
CatalogDB: 6:27:32 PM 2/1/2014: catadnew.cpp at line #1915 encountered error 0x8007000e
CatalogDB: 2:16:29 PM 2/2/2014: catdbsvc.cpp at line #969 encountered error 0x8007000e

 
Interestingly, the error 0x8007000e was frequently returned as a response in the failed attempts to update.

Based on this seemingly corrupted database folder, I decided to try deleting it and then have Windows recreate it by taking the following steps, and now updates are again able to be installed.
  1. Open a command prompt with administrator access.
  2. Stop the Cryptographic Services, which normally has a lock on the above mentioned folder, by typing this: NET STOP cryptosvc
  3. Rename (or, if you're brave, delete) the C:\WINDOWS\SYSTEM32\catroot2 folder.
  4. Start the Cryptographic Services by typing: NET START cryptosvc
  5. Run Windows Update, and then have it download and install one or more updates to verify that it does so successfully.

After doing this I was able to download and install the latest updates successfully.