Tuesday, November 8, 2016

A good philosophy to live by

Should have learned most of this stuff by the 2nd grade. It's not original to me, but I LIKE it.


  • Live beneath your means. 
  • Return everything you borrow. 
  • Stop blaming other people. Admit it when you make a mistake. 
  • Give clothes not worn to charity. 
  • Do something nice and try not to get caught. 
  • Listen more; talk less. 
  • Every day take a 30-minute walk. 
  • Strive for excellence, not perfection. 
  • Be on time. 
  • Don't make excuses. 
  • Get organized. 
  • Be kind to people. 
  • Be kind to unkind people. 
  • Let someone cut ahead of you in line. 
  • Take time to be alone. 
  • Cultivate good manners. 
  • Be humble. 
  • Realize and accept that life isn't fair. 
  • Know when to keep your mouth shut. 
  • Go an an entire day without criticizing anyone. 
  • Learn from the best. 
  • Plan for the future. 
  • Live in the present. 
  • Don't sweat the small stuff. 

It's all small stuff.

Thursday, November 3, 2016

Salesforce Test Coverage

As those of you who code Apex know, Salesforce requires at least 75% code coverage to move your logic to production. The documentation on how to achieve that is remarkably lacking. I just spent nearly two days trying to figure out how to test a custom controller because of a Map which, apparently, would not load.

Like many things in this Internet age, I spent hours reading through blogs, posts and other on-line documentation. Finally, in an obscure post, only tangentially associated with the issue, I found what appears to be the answer. My thought is that this is the first thing that you should do.

@isTest(SeeAllData=true) 

The "SeeAllDate=true" did the job. I'm not sure why. To my way of thinking, the information in the Map should have worked just as it did when testing the controller manually, but it didn't. I know this is going to be the first thing I do on all my test classes in the future.

Thursday, April 14, 2016

Encrypting the Web

One of the issues with running an HTTPS site is the cost of the certificate. Here's a solution which is trying to eliminate that issue.

Take a look at this:

http://boingboing.net/2016/04/14/lets-encrypt-is-actually-enc.html

Then check out the actual site:

https://letsencrypt.org/getting-started/

This could really make the web more secure at a fraction of the cost.

Friday, November 14, 2014

Give me a real keyboard and a mouse



I learned to type in high school on a typewriter -- yes, I know, what's that? Despite the fact that the typewriter has gone the way of the Dodo, it was one of the most beneficial classes I ever took.

At one time early in my career, I was tested at 97 words per minute corrected on an IBM Selectric typewriter. When I learned to type, PC's were still 3 decades in the future and even longer than that before they became as prevalent as they are today. I type much faster than I write, at least, if I want someone to read it. Yes, I admit it, my handwriting is terrible. In fact, when I write quickly, I sometimes have trouble reading it later myself! So, a keyboard is my best friend.

And not just any keyboard, a mechanical keyboard. I'm not all that great on the on-screen ones that appear on tablets and phones. I never can type with my thumbs on the phone and am little better with my fingers on a tablet. A touch screen i little better for clicking on things. Although I have small hands, my fingers seem to expand into sausages when "clicking" on a touch screen. it seems that the spot to touch is never under my finger tip. It's sort of like Schrodinger's cat when I try to poke at it and is never in the place where my fingertip is detected on the touch screen.

About a year ago, I found that a Bluetooth mouse works well with my Dell Venue 8 Windows tablet. Combining that with some on screen poking make a good combination to click on things. With Windows, it's also good to have the right click as I never seem to be able to wait the required amount of time to make that happen while using the touch screen.

I have tried several keyboards and have finally settled on the Zagg keyboard case in the picture. Although the keyboard isn't perfect, it's good enough for some relatively quick touch typing. It also has all the keys I need, including the delete key and function keys missing from some other keyboards. It is adaptable to both Android and Windows.

The keyboard is a main element, but the factor that sold me on the Zagg was the fact that the tablet stands up without any back brace. This makes the case much more convenient than others I have found. The tablet is held in place by a spring mechanism which makes it easy to remove when I want to go into tablet only mode -- mostly when I'm consuming media rather than creating it.

So I'm still working with it, but this setup has made the tablet more usable for me and more fun to use. Now if I could just get my old eyes to work better on the small screen. Oh well...one little victory at a time...

Saturday, October 4, 2014

No Saturday Morning Cartoons

This is the first Saturday morning without cartoons on the major broadcast networks in the U.S. (see http://gizmodo.com/this-is-the-first-weekend-in-america-with-no-saturday-m-1642441646).

What's the world coming to? That's what you did as a kid when I was growing up -- watch cartoons. Now, kids have so many media choices that cartoons on Saturday morning are no big deal. And the networks, looking to maximize profits, are switching to other fare while the kids are on the computer or cable consuming whatever it is they consume.

I guess it's ievitable, but, I'm sort of sorry to see it go. I know it was a habbit for me and even my kids to watch cartoons on Saturday morning. I guess this generation of youngsters will just have to start new traditions. Hopefully, they will be as fun as the old ones.

Friday, September 5, 2014

Things I detest...Install Prrograms...

I really don't like install programs which try to install something other than the program they say they are going to install. The most common and most annoying are browser "toolvars". Look, I realise you probably make money from this activity, but STOP IT! If I want another anoying browser toolbar or search engine just designed to make money from ad plaement, I WILL DOWNLOAD IT MYSELF. I don't need your help.

Friday, August 22, 2014

Cheap Laptops, Windows, Unix, Chromebooks...my thoughts

I just read this article about Windows vs Chromebooks in schools. I have been looking for a small, light alternative for my laptop recently and this got me to thinking about my search.

Price


I really can't afford to spend $500 up on this type of laptop. I need something ideally around $200 up to $300. This puts most of Microsoft's offerings (Surface) well out of range, but keeps something like a Chromebook right in the sweet spot.

Capability


I want something that runs the programs I want to use.  I create content as well as consume it. Primary to my thinking is Microsoft OneNote or some equivalent (haven't really found any on *nix variants or Chrome). OneNote is the one application that Microsoft got right in my opinion. I know I can use it in the cloud, but I want something that works when I'm not connected. This makes Chrome problematic for me.

The device needs access to the Internet, naturally, but it can be just WiFi access. As you can tell, I'm budget constrained, so I probably won't opt for something with 4G access. I think if I needed that, I would try for an access point so I could use more devices with it.

Form Factor


I want a screen somewhere in the 10-11" size and a keyboard. I don't need a large keyboard -- I have small hands, but I want a responsive one. I would like the option of dealing with it as a tablet, but that's really secondary. This means that touch isn't really necessary.I'm creating this blog on a Dell Venue 8 which is proving, with my old eyes, to be a bit small for content creation. The Acer pictured here is just about right, but a bit under-powered even with Ubuntu on it.

For Windows and *nix, I find a mouse is essential for content creation and helpful for consumption.

Performance


The device doesn't need to be top of the line in performance, but it should be adequate. I'm not all that patient. I like the concept of an SSD in place of a hard drive. I think the ability to boot up quickly is a good one so I don't loose that thought that I just had.

Conclusion

Right now, I'm sticking with what I have and not spending anything. I keep looking for a viable solution, but, so far, have not found one. Chromebooks and just too limited, seeming to be more for consumption than creation. Ubuntu based laptops are appealing,but need that killer OneNote equivalent app. And Windows=based systems are just too expensive for what I have in mind. I keep looking and hoping.