tag:blogger.com,1999:blog-65696264689311538342024-03-05T03:25:16.514-05:00Cloud Of LakituTechnology related blog with posts on iPhone, iPad, Flex, Java and various other things that cross my path.Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.comBlogger1058125tag:blogger.com,1999:blog-6569626468931153834.post-13242525479892779412020-05-03T09:43:00.004-04:002020-05-03T09:44:16.792-04:00Quarantine COVID-19 Charts<span style="background-color: white; color: #1c1e21; font-family: , , "blinkmacsystemfont" , ".sfnstext-regular" , sans-serif; font-size: 14px;">Every day after 4pm I go to the Massachusetts COVID response reporting page and enter the new numbers into a spreadsheet. Initially the data was simple with just new daily cases (remember when they used to say "presumed cases") and no colorful charts so I created my own charts. They now generate a super detailed report daily with charts, testing, breakdown by hospital, etc... </span><br />
<br style="caret-color: rgb(28, 30, 33); color: #1c1e21; font-family: system-ui, -apple-system, BlinkMacSystemFont, ".SFNSText-Regular", sans-serif; font-size: 14px;" />
<span style="background-color: white; color: #1c1e21; font-family: , , "blinkmacsystemfont" , ".sfnstext-regular" , sans-serif; font-size: 14px;">My spreadsheet s</span><span class="text_exposed_show" style="color: #1c1e21; display: inline; font-family: , , "blinkmacsystemfont" , ".sfnstext-regular" , sans-serif; font-size: 14px;">till has some stuff that they don't provide. First is an average of the daily change for the last seven days which really smooths out the chart and gives a clear picture of the trend. Second is my favorite though because it attempts to back into the number of actual cases based on the total number of deaths. The number of reported cases is problematic because you still have to meet a certain set of criteria in order to be tested. As of 5/2 there were 298,994 tests done in MA, we have about 6.893 million people (that is tests taken not number of people tested).<br /><br />The Infected Fatality Rate(IFR) for COVID-19 is a controversial subject, it most certainly is not the total deaths divided by the total cases, because that bottom number is missing a bunch of people (MA would have a 16% mortality rate if that were the case). In my models I assume an IFR of 0.66% (I will include calculations for 1% for comparison), which last I checked was somewhere in the middle of the road. So as of May 2 there were 3,846 deaths in MA, which gives us about 582,727 calculated cases (384,600 if using an IFR of 1%). However, since it takes a few weeks for people to pass after catching the virus that is the calculated cases from April 11th. On that day MA reported 22,866 total cases or just 3.92% (5.95% if using an IFR of 1%) of the calculated cases. You read that right the number of cases we saw on the news back on April 11th captured somewhere around 4-5% of the total cases. The good news is that percentage has been consistently rising by about .25% each day. If that trend continues the number of cases reported today 66,293 represents about 9.17% of the total cases (11.17% if using an IFR of 1%) which is a range of 722,000 to 1,688,676 total cases in MA. So 10-24% of the people in the state may have had it. Recent antibody testing in New York and Santa Clara showed very similar numbers.</span><br />
<span class="text_exposed_show" style="color: #1c1e21; display: inline; font-family: , , "blinkmacsystemfont" , ".sfnstext-regular" , sans-serif; font-size: 14px;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbRrf2SURle5KsHQOrk_8LXJTKQvizOg_PE7OEKhkp-P_xDtapx7vbbUXIVFzBMq-DQHp0LGnvDCPHkSvZE9LJspHrtjCZ_K9W3p3GN5BmsSqPTHnwhnkW4jVmhB8lreTQMNIbaobPBl5W/s1600/covid-charts.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1304" data-original-width="1592" height="523" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbRrf2SURle5KsHQOrk_8LXJTKQvizOg_PE7OEKhkp-P_xDtapx7vbbUXIVFzBMq-DQHp0LGnvDCPHkSvZE9LJspHrtjCZ_K9W3p3GN5BmsSqPTHnwhnkW4jVmhB8lreTQMNIbaobPBl5W/s640/covid-charts.png" width="640" /></a></div>
<span class="text_exposed_show" style="color: #1c1e21; display: inline; font-family: , , "blinkmacsystemfont" , ".sfnstext-regular" , sans-serif; font-size: 14px;"><br /></span>
<span class="text_exposed_show" style="color: #1c1e21; display: inline; font-family: , , "blinkmacsystemfont" , ".sfnstext-regular" , sans-serif; font-size: 14px;"><br />What does it mean? Damned if I know, but at least it gives me a distraction everyday. <a class="_58cn" data-ft="{"type":104,"tn":"*N"}" href="https://www.facebook.com/hashtag/mathiscool?epa=HASHTAG" style="color: #385898; cursor: pointer; font-family: inherit; text-decoration: none;">#mathiscool</a><a class="_58cn" data-ft="{"type":104,"tn":"*N"}" href="https://www.facebook.com/hashtag/numbersftw?epa=HASHTAG" style="color: #385898; cursor: pointer; font-family: inherit; text-decoration: none;">#numbersftw</a></span>Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com3tag:blogger.com,1999:blog-6569626468931153834.post-52920121183104519622019-03-19T16:16:00.000-04:002019-03-19T16:16:49.837-04:00AirPods and Siri Music SuggestionsAt work I use my iPad Pro and AirPods to listen to Sirius XM and Apple Music during the day. I noticed over the last couple weeks that if I put the AirPods down for a certain amount of time, they wouldn't play the same audio when I hit play again. Now I know there is some special iOS thing about what the last audio app was and it sometimes loses track, but in this case it was sometimes happening with Apple Music. It would be in the middle of the latest David Gray album and then when I came back and hit play, I get the Into the Spider-verse soundtrack.<div>
<br /></div>
<div>
Today I realized that if I put the AirPods in my ears and turned on the iPad screen it said, "AirPods Siri Suggestion" and that was the culprit. I immediately went in to Settings > Siri > Apple Music and turned of Siri Suggestions. So far today when I double tap to play again it resumes right where I left off.</div>
Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com10tag:blogger.com,1999:blog-6569626468931153834.post-17939477075166826642018-12-26T11:46:00.001-05:002018-12-26T11:46:13.432-05:00New Mac Tips<span style="font-family: Georgia, Times New Roman, serif;">For all those new Mac owners out there after Christmas here is a list of some settings I typically toggle when setting up a new Mac. </span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<br />
<ul>
<li><span style="font-family: Georgia, "Times New Roman", serif;">Spotlight - </span><span style="font-family: Georgia, "Times New Roman", serif;">One of the greatest tools I use everyday on my Macs is Spotlight. Just hit command+space bar or click the magnifying glass in the top right corner, and you will get a little search box. You can type in the name of files, preference panels or apps in it to quickly launch them. It can also be used as a calculator in a pinch.</span></li>
</ul>
<ul>
<li><span style="font-family: Georgia, Times New Roman, serif;">Organize System Preferences Alphabetically</span></li>
</ul>
<span style="font-family: Georgia, Times New Roman, serif;"><ol><ol>
<li>Open System Preferences</li>
<li>Under the view menu select "Organize Alphabetically"</li>
</ol>
</ol>
</span><ul>
<li><span style="font-family: Georgia, "Times New Roman", serif;">Update clock to display day and date</span></li>
</ul>
<span style="font-family: Georgia, Times New Roman, serif;"><ol><ol>
<li>Open System Preferences</li>
<li>Go to "Date & Time" preferences</li>
<li>Go to the Clock tab</li>
<li>Check the "Show day of the week" and "Show date" option</li>
</ol>
</ol>
<div>
<ul>
<li>Move the Dock to the right (especially for MacBooks because that vertical real estate is limited)</li>
</ul>
<ol><ol>
<li>Open System Preferences</li>
<li>Go to the "Dock" preferences</li>
<li>Change the "Position on screen" to the "Right" option</li>
<li>While your at it you may want to change the size so the Dock icons are smaller</li>
<li>You can also drag items right off your dock if you don't think you will use them very often</li>
</ol>
</ol>
<ul>
<li>Apple Watch unlock (so you don't have to type your password in every time)</li>
</ul>
<ol><ol>
<li>Open System Preferences</li>
<li>Go to the "Security & Privacy" preferences</li>
<li>Check the "Allow your Apple Watch to unlock your Mac"</li>
</ol>
</ol>
<div>
<ul>
<li>Set up Time Machine for your back up</li>
</ul>
<ol><ol>
<li>Get an external hard drive (format it using Disk Utility) if it isn't already</li>
<li>Plug in the external hard drive</li>
<li>Open System Preferences</li>
<li>Go to the "Time Machine" preferences</li>
<li>Click the "Select Disk..." to set your backup disk as your external drive</li>
<li>Check the "Backup Automatically" checkbox</li>
<li>Check the "Show Time Machine in menu bar" so you can easily keep an eye on it</li>
<li>Now your computer will be backed up whenever the drive is attached and you also have the ability to go back in time and restore files you may have accidentally deleted.</li>
</ol>
</ol>
<ul>
<li>Enable iCloud Features</li>
</ul>
<ol><ol>
<li>If you have an iPhone or iPad you will most certainly want to sign in with your iCloud account</li>
<li>Open System Preferences</li>
<li>Go to the iCloud preferences</li>
<li>Log in to your iCloud account</li>
<li>I usually turn on all the different features like Photos, Mail, Contacts, etc...</li>
<li>iCloud Drive has a feature from a couple years ago is the iCloud Drive syncing of your Desktop and Documents folder. Once you turn that on any files you add to your Desktop or UserName/Documents folder will automatically be synced to iCloud and available from the Files app on your iPhone or iPad.</li>
<li> In the Messages app you can go to Preferences and go to the iMessage panel. There is an option to "Enable Messages in iCloud" which will put all your Messages in the cloud so they will be accessible from your Mac as well as your iOS devices.</li>
<li>Set up Photos to so you can get your photo library from your iPhone on your computer (if you pay for iCloud Storage of course)</li>
</ol>
</ol>
<ul>
<li>Finder Preferences - Some simple changes that make Finder more useful</li>
</ul>
<ol><ol>
<li>Open a new Finder window (click on the little Face icon at the end or the dock). This is how you navigate the file system on macOS</li>
<li>By default every new Finder window defaults to the "Recents" view which shows all the recently used files. I find this to be less than useful. If you open Preferences in the Finder menu you can change the "New Finder windows show:" option to either be Documents or your home folder (the one with your name) </li>
</ol>
</ol>
</div>
</div>
</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com5tag:blogger.com,1999:blog-6569626468931153834.post-59526533589517730662018-12-15T21:57:00.001-05:002018-12-15T21:57:38.926-05:00An iOS macOS Analogy<p>On <a href="http://atp.fm/episodes/304">ATP episode 304: Island of Shortcuts</a>, <a href="http://twitter.com/siracusa">Siracusa</a> mentioned the current Apple community discussion about iOS as it compares to macOS and what lies ahead. He said he has been unable to nail down an analogy that perfectly summarizes the differences between two operating systems and their fundamental behaviors like, windows vs. split view, command line vs. shortcuts, Finder vs. Files, and various other areas. </p>
<p>Long after the episode ended I kept thinking about this analogy and lucky for me I had a three hour car ride in my future. I initially focused on Shortcuts and how it was the perfect example of taking a process like writing a little program, but making it work within a rigid framework with a simple user interface. From the beginning iOS has followed this concept for application launching, multi-tasking, files access and application launching. The next requirement for the analogy was finding a situation where the original thing and the new simplified thing continue to live alongside each other. Finally, the hardest part was finding something where the most skilled people at using this thing tended to use the original version rather than the new up and coming process.</p>
<p>I thought about this for a while and then posed these questions to my wife. After a little thought and then some discussion we cracked it, <em>ovens</em> vs. <em>microwave ovens</em>. The oven in this case is macOS and the microwave oven is iOS.<br/>
- Both of these can be used to cook food, but in general ovens use a temperature setting while microwaves use the concept of power percentage. I bet there are microwave haters complaining about all the hoops they have to jump through to figure out the different power setting and time combinations just to warm something up properly, when they are used to a single temperature setting for accomplishing the same task.<br/>
- Most people when given the choice of having just one of these would go with the oven, even though they would probably be able to cook most of what they wanted to in a microwave oven.<br/>
- Extremely skilled chefs can probably cook dishes in the microwave that rival those cooked in a regular oven. The Viticci of microwaves can probably cook a good lasagna.<br/>
- The first ovens may have been very simple with a single dial and a limited ability, but some of the microwave ovens todays have a rich set of feature allowing for more complicated cooking options than ever before.<br/>
- The microwave oven has a popcorn button for cooking, it doesn’t get much easier.</p>
<p>Do you see it?? Both types of ovens do the same basic things, but they do them in very different ways. Heating up a cup of water is much better suited for the microwave oven, but baking a cake on the other hand is best suited for the big oven. However, in the end it comes down to your preference and what task you are trying to accomplish. I think this is very similar to the areas of iOS and macOS that currently crossover.</p>
<p>I did leave the best until the end though, because you may have noticed I didn’t mention the stove top, well that is the thing that brings this all together. The stove top is the piece of this that really matters, it is the thing that the professional chef needs in order to do his job. It is where the really tricky part of the cooking is done, the most finely honed part of their craft involves frying pans, sauteeing and whateveer other fancy things chefs do with a gas burner. It is the hardest part of the cooking toolset to replicate, because it is so basic in its makeup, but its use cannot be rigidly constrained. The controls are simple, you just turn on a burner, but how do you simplify the next steps of cooking on a stove top for the masses, you can’t just add an omelet button. The tricky part of getting iOS ready for developers is figuring out how to add a stove top so they can cook up some amazing new professional apps.</p>Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com1tag:blogger.com,1999:blog-6569626468931153834.post-36299152170845701832018-12-15T20:40:00.003-05:002018-12-15T20:40:47.262-05:00Shortcut Bubble Trouble<h3>Shortcut Bubble Trouble</h3>
<p>On <a href="http://atp.fm/episodes/304">ATP episode 304: Island of Shortcuts</a>, there was a discussion comparing and contrasting Shortcuts and the command line. <a href="http://twitter.com/marcoarment">Marco</a> and <a href="http://twitter.com/caseyliss">Casey</a> made some great points about how the command line, more or less, is something that is common across all major operating systems today. While Shortucts is great it is something new you have to learn, whereas the command line is something lots of people already know and lives just below the surface out of reach of iOS users.</p>
<p><a href="http://twitter.com/siracusa">Siracusa</a> said he has played around with Shortcuts and thinks that people have been able to do some impressive and useful things with them. However, he continues that “if you are a programmer then it is far less appealing to use because you have to write a program with little GUI bubbles in a big long linear list”. I definitely related to that, because I have created a few different Shortcuts, from a medical log to one that generates dismissal letters for my kids. Since I am a programmer it would have been a lot quicker for me to just type 4 or 5 commands into a text file rather than going through the tedious process of searching through the blocks, dragging them into position and typing in the various parameters. For example, my medical log shortcut includes 10 blocks, but I bet it could probably be simplified to 3–4 lines of code.</p>
<p>Given the recent discussion around iOS vs macOS it definitely got the gears going in my brain. Do I want a command line app in iOS because I am comfortable in my macOS habits or is it more because it is a more efficient tool? It goes back to a previous blog post I wrote about putting a real keyboard on an iPad, <a href="http://blog.keegsands.org/2018/01/the-one-device-i-would-like-apple-to.html">An iOS laptop</a>. Do I want a laptop form factor for iOS because I am more comfortable with it or because that form factor is more efficent for typing and using? Even if I don’t get those things I hope that the Shortcuts team removes a layer of abstraction for the app and lets you write Shortcuts in some sort of an AppleScript or JavaScript format in the future.</p>Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com3tag:blogger.com,1999:blog-6569626468931153834.post-36074454765683830382018-08-17T16:39:00.001-04:002018-08-17T16:39:35.526-04:00macOS Screenshots and the Touchbartl;dr If you change the screenshot destination setting to anything besides Desktop on the Touch Bar it will override the default behavior of the keyboard shortcut and use your setting from the Touch Bar.<br />
<br />
I recently got a 2018 13" MacBook Pro with the Touch Bar and it has been an amazing machine. At first I didn't really love the Touch Bar, but the more I try to use it the better it gets. The idea of replacing those old function keys with a dynamic display is smart, although I would prefer a physical button for the escape key. <br />
<br />
I was taking a selection screenshot (command-shift-4) today and noticed that the Touch Bar had a couple options on it for the destination of the image (Desktop, Documents, or clipboard) and the thing to capture (selection, window, screen). I always struggled with the keyboard shortcut for copying to clipboard (ctrl-command-shift-4), so I was delighted to be able to trigger the "file" destination shortcut, but change it to the clipboard using the Touch Bar.<br />
<br />
Fast forward to later in the day... I was using an external monitor with the MacBook closed and tried to do a selection screenshot (command-shift-4). I selected the area to capture, let go and waited for the file to appear on the desktop, but nothing happened. I tried again, but tried pasting into Messages and to my surprise the image showed up. Turns out if you change the screenshot destination setting to anything besides Desktop on the Touch Bar it will override the default behavior of the keyboard shortcut and use your setting from the Touch Bar.<br />
<br />
In order to change it back you have to get the screenshot controls to appear on the Touch Bar and set the destination to Desktop.Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com1tag:blogger.com,1999:blog-6569626468931153834.post-81528081937473400932018-06-23T17:06:00.005-04:002018-06-23T17:06:57.949-04:00Iceland in a Couple DaysIf you find yourself in Iceland for a couple of days here are my recommendations based on my trip there in 2014. <br />
<h3>
Blue Lagoon</h3>
If your time is very limited the closest attraction to <a href="https://en.wikipedia.org/wiki/Keflav%C3%ADk_International_Airport">Keflavik airport</a> is <a href="https://www.bluelagoon.com/">Blue Lagoon</a> It is a little pricey, but is an amazing and unqiue experience.<br />
<img src="http://keegsands.org/images/bluelagoon.jpg" height="480" width="640" /><br />
<h3>
Downtown Reykjavik</h3>
The next closest attraction is downtown Reykjavik main shopping area, Laugavegur street. It is about a 40 minute drive from the airport and has lots of shops and a few different attractions. I highly recommend a little bakery called <a href="http://sandholt.is/">Sandholt</a>. The food was great and it ended up being our go to place for starting our day.<br />
<br />
The other stop we made each day was for coffee, of course, and the best place we found was <a href="https://reykjavikroasters.is/en/">Reykjavik Roasters</a>. The espresso was fantastic and their croissants were very tasty.<br />
<br />
While wandering downtown you should walk out to the harbor and check out the modern looking <a href="https://en.wikipedia.org/wiki/Harpa_(concert_hall)">Harpa Concert Hall</a><img src="http://keegsands.org/images/harpa.jpg" height="640" width="640" /><br />
<br />
Up the hill from the harbor is a statue of Leif Eriksson next to the <a href="https://en.wikipedia.org/wiki/Hallgr%C3%ADmskirkja">Church of Hallgrímur</a> <img src="http://keegsands.org/images/reykjavik.jpg" height="480" width="640" /><br />
<br />
Finally, if you happen to be downtown in the evening or late night you should check out the amazing hot dogs at <a href="http://www.bbp.is/information-in-english">Bæjarins beztu pylsur</a>.<br />
<h3>
Golden Circle</h3>
Besides the Blue Lagoon the second thing you are most likely to hear about Iceland is the Golden Circle. It is a tourist loop that starts near Reykjavik and takes people to several different geologically significant features. <br />
<br />
One of the attractions on the northern end of the loop is <a href="https://www.icelandtravel.is/attractions/gullfoss/">Gullfoss</a>. It is a huge waterfall with a great visitor center and a nice lunch spot.<img src="http://keegsands.org/images/gullfoss.jpg" height="425" width="640" /><br />
<br />
Heading back towards Reykjavik on the loop you will come to <a href="https://www.icelandtravel.is/attractions/geysir/">Geysir</a>. It is a pretty small area with several different hot spring related features include a couple different geysers and multiple boiling mud pits. Here is an image of one of the larger geysers.
<img src="http://keegsands.org/images/geysir.jpg" height="640" width="426" /><br />
<br />
One of my favorite stops on the Golden Circle was Althing in <a href="https://www.icelandtravel.is/attractions/thingvellir-national-park">Thingvellir National Park</a>. It is the boundary of the North American and European tectonic plates and makes for some dramatic terrain.<img src="http://keegsands.org/images/thing.jpg" height="480" width="640" /><br />
<h3>
Southern Iceland</h3>
If you choose to skip the Golden Circle, but want to check out something slightly less touristy head a couple hours east of Reykjavik towards Skogar. The road there will let you experience many different types of terrain you will find in Iceland. After driving across a long flat plain you will see your first big waterfall, <a href="https://www.icelandtravel.is/attractions/seljalandsfoss/">Seljalandsfoss</a>. It is a great place to stop and take some photos before continuing along the shore in front of one of the large glaciers on the island.<br />
<br />
A little further east of there is the waterfall you have probably seen in every video about Iceland, <a href="https://www.icelandtravel.is/attractions/skogafoss/">Skogafoss</a> It is huge and has a long staircase you can climb to get to the top of it. However, if you have some extra time once you are at the top of the big waterfall you can climb over a little barrier and follow a hiking trail that follows the river uphill with some amazing views of some smaller waterfalls.<img src="http://keegsands.org/images/skogafoss.jpg" height="426" width="640" /><br />
Finally you will arrive at the <a href="https://www.icelandtravel.is/attractions/skogar-museum/">Skogar Museum</a>, where you can learn about Iceland and explore some classic Icelandic structures.<br />
<br />
Assorted travel tips:<br />
<ul>
<li>The exchange rate at the time of this post is about 108 Krona to 1 dollar, so just drop the last two numbers of the krona price to get a comparable dollar value. 500 krona pastry would be 5 dollars.</li>
<li>We rented a car so we could “choose our own adventure”, but there are many tour groups that can take you to all of the above attractions.</li>
<li>Most people speak English, but as always it helps to learn some words, <a href="https://wikitravel.org/en/Icelandic_phrasebook">Icelandic Phrasebook</a></li>
</ul>
Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com10tag:blogger.com,1999:blog-6569626468931153834.post-85183317067550765152018-04-19T13:06:00.000-04:002018-04-19T13:06:25.757-04:00Creativity DroughtOver the last couple years I have spent a lot of spare time working on various creative projects including this <a href="http://blog.keegsands.org/">blog</a>, setting up and hosting <a href="http://keegsands.org/">my own website</a>, <a href="http://youtube.com/keegsands">drone videos</a>, and the <a href="http://keegsands.org/kilobyte">Kilobyte podcast</a>. They each managed to challenge me in different ways, whether it was finding the right equipment for podcast recording, learning about setting up a Linux server, or understanding how to build and pilot a quadcopter. It was also difficult trying to find enough time in my schedule to work on each thing in a meaningful way. Somehow I managed to find the time and was quite happy with my first pass at all of it. <br />
<br />
Going into this year I hoped to adopt a yearly theme as was discussed on <a href="https://www.relay.fm/cortex/62">Cortex #62: 2018 Yearly Themes</a>. The basic idea is to find a theme for the year (or season) and use it as a guide for decisions throughout the year rather than setting a bunch of goals for the year you are likely to break. I spent several days thinking about the past year, what I had accomplished and the direction I wanted to head for the upcoming year. It was really important that I build on the previous year’s learning, but step it up in some way. Initially I was leaning towards creating content more consistently, but I think before that I need to make it easier for me to actually create and post the content. <br />
<br />
I was getting close, but just as I started to narrow down on a theme something happened and I got distracted. It is hard to say for sure what happened, but my creative output went down to <a href="https://www.nintendo.com/games/detail/the-legend-of-zelda-breath-of-the-wild-switch">zero</a>. Thankfully I have recognized it and have started down the road to correcting course. Here is my first step in creating more content again with hopefully more to come soon.Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com0tag:blogger.com,1999:blog-6569626468931153834.post-20677301535045069652018-04-12T13:31:00.003-04:002018-04-12T13:31:54.176-04:00MacOS, Maven and Tilde FoldersI recently set up a new MacBook Pro for development and installed some developer tools like Java and Maven. After checking out my source code from Subversion and building it using Maven a folder with the name tilde (~) appeared in the same directory as my source code. I deleted the folder and a little while later I noticed it was back. After some digging around I found that setting the path of my local maven repository in my settings.xml file so it started with a ~ for my home directory was the problem. Every time I ran a build it was trying to put a new local repository in a tilde directory of the working directory. After updating the path to use /Users/{username} it stopped creating the tilde folder.Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com0tag:blogger.com,1999:blog-6569626468931153834.post-76836331740869706482018-02-26T09:51:00.001-05:002018-02-26T10:00:45.198-05:00Angular CLI Upgrade 'Cannot find module' ErrorEvery couple months I try to upgrade to the latest version of the Angular CLI and every time I run into this error.<br />
<br />
<pre><code>Cannot find module 'webpack/lib/dependencies/ContextElementDependency'
Error: Cannot find module 'webpack/lib/dependencies/ContextElementDependency'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (C:\Users\\node_modules\@ngtools\webpack\src\plugin.js:8:34)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)</code></pre>
<div>
<br /></div>
<div>
Every time I realize I miss a step so I want to document the steps I ended using so I don't have to search for the solution again. All the steps below are recommended by the <a href="https://github.com/angular/angular-cli#updating-angular-cli" target="_blank">Angular CLI Upgrade page</a>, except the highlighted step below that removes the package-lock.json file.<br />
<br /></div>
<b>Global install upgrade</b><br />
NPM will keep a globally installed version of the Angular CLI that will be used across the system. It is updated using these steps, which will uninstall the current version and then install the new version.<br />
<div>
</div>
<pre><code>
npm uninstall -g @angular/cli
npm cache verify
# if npm version is < 5 then use `npm cache clean`
npm install -g @angular/cli@latest
</code></pre>
<div>
<br />
<b>Local install upgrade</b><br />
The Angular project itself will have its own version of the CLI installed in the node_modules folder of the project. It is updated using these instructions, which will remove the node_modules directory, update the version of the dependency in package.json and then reinstalls all the dependencies. </div>
<pre><code>
rm -rf node_modules dist </code></pre>
<pre><code><span style="background-color: yellow;">rm package-lock.json # deletes the package.json lock file</span>
npm install --save-dev @angular/cli@latest
npm install
</code></pre>
Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com3tag:blogger.com,1999:blog-6569626468931153834.post-54273593558159844342018-02-02T10:05:00.000-05:002018-02-02T10:05:29.385-05:00Windows 10 Hyper-V and Samsung 960 SSD IssueI was following these great instructions, <a href="https://www.windowscentral.com/how-run-linux-distros-windows-10-using-hyper-v" target="_blank">How to Create a Linux VM Using Hyper-V</a> and when I got to the part where you actually create a new VM the computer frozed and restarted. I tried this a couple more times with the same result. I did a quick Google search and found this, <a href="https://social.technet.microsoft.com/Forums/en-US/858acc34-14f6-4b0c-b040-226b1aa83d11/hyperv-crashes-when-using-the-samsung-nmve-driver-with-the-960-pro-ssd?forum=win10itprovirt" target="_blank">Microsoft Forum Discussion on Samsung NVME Driver Issue</a> .<br />
<br />
In summary there was an issue with the Samsung Storage Controller driver version 2.1 that was causing the OS to crash when creating a new VM using Hyper-V. You can check your current driver version by<br />
1. Go to Start<br />
2. Search for Device Manager<br />
3. Expand the Storage Controllers node in the Device Manager<br />
4. Double click on Samsung NVMe Controller to launch the details<br />
5. Go to the Driver page and look at the Driver version.<br />
<br />
The good news is that Samsung has released a fix for the issue with version 2.2 which you can download directly from Samsung at <a href="http://www.samsung.com/semiconductor/minisite/ssd/download/tools.html" target="_blank">http://www.samsung.com/semiconductor/minisite/ssd/download/tools.html</a> (just go to the Driver section for the installer and instructions).<br />
<br />
After running the installer and restarting my machine the Hyper-V Manager successfully created my new VM.Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com0tag:blogger.com,1999:blog-6569626468931153834.post-68795663684662010062018-01-23T19:34:00.000-05:002018-01-23T19:34:15.973-05:00An iOS LaptopThe one device I would like Apple to release in 2018 is a laptop that runs iOS. I have been thinking about this a lot since reading Jason Snell’s piece at MacWorld, <a href=“https://www.macworld.com/article/3238186/laptop-computers/why-apples-next-laptop-should-run-ios.html”>Why Apples Next Laptop Should Run iOS</a> and the related discussion on <a href=“https://www.relay.fm/upgrade/168”>Upgrade #168: Hail Hydrant</a>. The addition of the Files app and better multi tasking in iOS 11 has made the iPad an even better alternative for those looking to get rid of their Windows or Mac laptop. However, I haven’t seen a lot of people switching out there laptops for an iPad, but instead moving towards Windows or Chrome OS convertible devices. I think the tablet form factor of the iPad combined with some out of date understanding of the capabilities of iOS coupled with the adoption of Chromebooks in schools is keeping people from making the switch.<br />
<br />
It seems strange, but I think one of the big things keeping the iPad out of the conversation is the tablet form factor. If a person is looking to replace their old laptop or desktop they look at the iPad and it just does not seem like a replacement because it is perceived as just a tablet. They may see the Smart Keyboard attached to it in the store, but that is just an accessory for a tablet. People seem to have an association with the first class keyboard and a “main” computing device. The laptop form factor provides an extra level of comfort and consistency users may not feel with a tablet. The Smart Keyboard is also limited to being used on hard surfaces, which might also turn some people off.<br />
<br />
The next thing holding back the iPad as a person’s main computer is the misconception that you can’t do a lot of “computer” things on them. It is probably just a hold over from the early days of the iPad when it was the next big thing and not only was the operating system pretty limited, but the quality of apps in the app store was also very low. Most people held on to their iPad 1 or iPad 2 for several years and never got to experience the more powerful iPads of the last few years or the new crop of apps that pushed the limits of tablet computing. If it was not for the last two years of daily iPad use and hours of podcasts helping me retrain my brain to work with a different style OS, I might also disregard the iPad Pro too. <br /> <br />
Chromebook adoption in school’s could also be a factor as children start to get their own devices at home. My son has been using Chromebooks in school for a couple years now and has become very proficient navigating Chrome OS. Last fall, his homework required a device at home and he asked for a Chromebook. After a little research I found that while the low end Chromebooks are cheap; in order to get something with a little more longevity and higher quality you have to spend quite a bit of money. I briefly considered getting a MacBook for him, but then realized if anybody could make an iPad work for his tasks it was my son. I explained to him how his iPad Air could do all of the things the Chromebook could do and more. Of course the lack of a keyboard was an issue so I bought the <a href="https://www.amazon.com/ElementDigital-iPad-9-7-Air-Pro/dp/B073GVDVJ7">Element Digital bluetooth keyboard case</a> and despite the smaller keys he is quite happy with his setup. Unfortunately I think we are the exceptional case and most parents would purchase a $200 Chromebook and call it a day instead of spending twice as much for an iPad and a keyboard.<br />
<br />
The combination of iOS and the iPad is now mature enough to be used by most people as their non-smartphone device. The first step Apple should take is to create an iOS device with a more familiar laptop form factor for iOS. The device would still support touch for some activities, but the keyboard would be the main input device. It would require a little more polish to keyboard shortcut on iOS, but for the most part it should be compatible out of the box. The next part is a bit trickier and involves Apple getting the word out that iOS on iPad can now do much more than it could back in the iOS 5 days when they owned their first iPad. Finally the new lower price point for the regular iPad should help make the iOS on iPad experience much more affordable when compared to other devices and the iPad Pro. I am convinced that iOS is the future of Apple devices and now is the time to start to expand beyond the old tablet form factor and into more interesting form factors like a 13” laptop or maybe even something as boundary pushing as a 21” desktop machine.
Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com0tag:blogger.com,1999:blog-6569626468931153834.post-2134116567686882712018-01-05T08:53:00.001-05:002018-01-05T08:53:29.126-05:00Work From Home DifficultiesYesterday we received over a foot of snow, so unlike previous years I decided to work from home. It is nice that I have a space upstairs that is somewhat separated from my families, although it isn't in a room where I can close the door and I can hear all the goings on elsewhere in the house. Thankfully I can play music while I work and this blocks out that noise. The harder thing is trying to work on the 22" inch monitor at home, because it has about a quarter of the pixels of my 28" 4K monitor at work. I immediately feel so claustrophobic and struggle to get used to the space. The only other difficulty is that I only have Apple keyboards at home so my brain has to remap some of the key combinations. <br />
<br />
Thankfully we only get a few storms like this a year and for the most part I stick to working in the office. I'm not sure if maybe I should practice more, by spending a day at home every other week.Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com1tag:blogger.com,1999:blog-6569626468931153834.post-53110763028720299872017-12-11T19:25:00.000-05:002017-12-11T19:29:28.115-05:00iPad Pro Productivity AppsSince buying an iPad Pro way back in 2015 I have come to rely on a few different apps for my day to day use at work and for my creative endeavors at home.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho88eDmcbcYDeJ1OFGD-FmhSswNitvIzalV4gvhCGxWwVaAVK3QdjfXUJZeTx3nYRWoAdX9TYKVQKItwaushNOXyqhb_tnALwnx50K8BWswyTAJxbnplt6_5ffvZZimyau2TFv4DnzbG8C/s1600/IMG_0119.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="1600" data-original-width="1200" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho88eDmcbcYDeJ1OFGD-FmhSswNitvIzalV4gvhCGxWwVaAVK3QdjfXUJZeTx3nYRWoAdX9TYKVQKItwaushNOXyqhb_tnALwnx50K8BWswyTAJxbnplt6_5ffvZZimyau2TFv4DnzbG8C/s400/IMG_0119.png" width="300" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">My Current Home Screen</td></tr>
</tbody></table>
<h4>
Note Taking</h4>
I played around with a few note taking apps in the beginning, but settled on <a href="http://blog.keegsands.org/2016/05/adopting-ipad-lifestyle.html" target="_blank">Good Notes 4</a> for a few different reasons. First and foremost it has great Apple Pencil support and includes a neat feature that lets you lasso text and move it around, which is helpful if your writing style is a little messy and sparse. My favorite feature is that you can import PDF files from a number of file providers like OneDrive, Google Drive, DropBox or in iOS 11 the Files app. Once imported you can mark the documents up and then export them back to any provider you want. The app has the concept of categories to keep you organized and has the concept of notebooks with all different types of paper to choose from.<br />
<h4>
Automation</h4>
<div>
iOS apps have always been sandboxed since day one and this limits the interactions you can do between apps. In iOS 8 the concept of app extensions was introduced which let developers create extensions allowing one app to open content in a different app. The <a href="https://itunes.apple.com/us/app/workflow/id915249334?mt=8" target="_blank">Workflows</a> app, which Apple bought within the last year, lets you do lots of different tasks across multiple apps. You create a workflow and then using a building block interface construct a workflow that can get a distance from the Maps app and plug it into a prebuild text message for sending. You can add data to the health kit app or do more complex things using web services. <br />
<h4>
FTP and SSH</h4>
</div>
<div>
Managing my web server from the iPad is done easily using <a href="https://panic.com/coda-ios/" target="_blank">Coda</a>. The app includes the ability to configure multiple FTP servers, with great text editing tools and an SSH client when you need to update something remotely. The text editor supports lots of different syntax formats, which is useful when editing on your mobile device.</div>
<h4>
File Providers</h4>
<div>
I have my files spread across multiple file providers like <a href="https://itunes.apple.com/us/app/dropbox/id327630330?mt=8" target="_blank">DropBox</a>, <a href="https://itunes.apple.com/us/app/google-drive/id507874739?mt=8" target="_blank">Google Drive</a>, <a href="https://itunes.apple.com/us/app/microsoft-onedrive/id477537958?mt=8" target="_blank">OneDrive</a> and iCloud Drive. Once you install any of these apps the built in Files app will gain access to the files and you can quickly access them from any apps that properly integrate with Files. </div>
<h4>
Miscellaneous Apps</h4>
<div>
Here are some other apps I use on a regular basis:</div>
<div>
<ul>
<li><a href="https://itunes.apple.com/us/app/ferrite-recording-studio/id1018780185?mt=8" target="_blank">Ferrite</a> - Podcast recording studio</li>
<li><a href="https://itunes.apple.com/us/app/overcast/id888422857?mt=8" target="_blank">Overcast</a> - Podcast listening app</li>
<li><a href="https://itunes.apple.com/us/app/microsoft-remote-desktop/id714464092?mt=8" target="_blank">Microsoft Remote Desktop</a> - Sometimes you need to access your Windows machine</li>
<li><a href="https://itunes.apple.com/us/app/byword/id482063361?mt=8" target="_blank">Byword</a> - Markdown editor</li>
<li><a href="https://itunes.apple.com/us/app/pcalc-the-best-calculator/id284666222?mt=8" target="_blank">PCalc</a> - A calculator because the iPad doesn't come with one, plus this developer has lots of easter eggs in it.</li>
<li><a href="https://itunes.apple.com/us/app/imovie/id377298193?mt=8" target="_blank">iMovie</a> - Movie editor because my Macs are too old to edit 4K</li>
<li><a href="https://itunes.apple.com/us/app/tweetbot-4-for-twitter/id1018355599?mt=8" target="_blank">Tweetbot 4</a> - My favorite Twitter client</li>
<li><a href="https://itunes.apple.com/us/app/inbox-by-gmail/id905060486?mt=8" target="_blank">Inbox by Gmail</a> - Keeping the dream of inbox zero alive.</li>
</ul>
</div>
<div>
<br /></div>
Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com5tag:blogger.com,1999:blog-6569626468931153834.post-72831323580291744662017-10-16T14:19:00.001-04:002017-10-16T14:19:56.360-04:00iCloud Photo Library Optimize Storage IssuesI was trying to use the Apple Clips app the other day to make a quick movie from some short ~10 second videos I had shot on my iPhone 6s an hour earlier. I went to the Library tab, tapped on one of the videos and it popped up the "Downloading from iCloud..." progress bar. It seemed odd that it had to go to the cloud to for such a recent video. I was really curious so I went to the Photos app, went to a different video and tapped on the edit button to see if the video was stored locally, but it wasn't as I saw the little progress circle showing it downloading.<br />
<br />
My iPhone has the "Optimize Storage" setting turned on for iCloud Photo Library and I have over 22GB of space available. Is this a bug in iOS 11 or has something changed in how the "Optimize Storage" behavior?<br />
<br />Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com0tag:blogger.com,1999:blog-6569626468931153834.post-33700712189023497462017-10-10T21:18:00.001-04:002017-10-10T21:28:47.576-04:00World Mental Health Day: My Anxiety Story<b>Today is World Mental Health Day so I wanted to share my story about anxiety:</b><br />
<br />
Four years ago, I went out to lunch like normal, but I started to feel nauseous and was unable to finish my meal. Later in the day when I was in the office I felt dizzy and short of breath. It was very strange since I had never felt this way before. After this happening for a few more days I decided to go and see my doctor. I was sent for a few blood tests and then wore a heart monitor for a day, but nothing turned up. In my follow up appointment my doctor diagnosed me with anxiety and referred me to a therapist that specialized in the treatment of anxiety.<br />
<br />
Prior to this I never thought of myself as somebody that would need to see a therapist, because I thought just being smart and strong would get me through any problem. It was also surprising that somebody like me that is so outgoing and friendly would have anxiety. However, at that moment in time I just wanted to get better and didn't think twice about it. I contacted the therapist and after a brief phone screening had my first appointment. The first few weekly appointments went as expected with lots of talk about my history, family and my current life. It wasn't long though before the homework began and we started to tackle some of my anxiety issues.<br />
<br />
My therapist follows the <a href="https://en.wikipedia.org/wiki/Cognitive_behavioral_therapy" target="_blank">Cognitive and Behavioral Therapy (wikipedia.org)</a> approach for treating anxiety and doesn't prescribe medication. So my first job was to figure out situations that made me anxious, like going out to lunch or visiting a crowded place. We would then list out those things and then I would have to go experience them and afterwards document how I felt while doing them. I think my analytical mind really enjoyed this type of feedback loop and trying to correlate map activities to their outcome. All of the documenting was done using Google docs so I can go back today and see all of the different tasks I had to complete and all of the improvements and sometimes setbacks I faced.<br />
<br />
After about a month I started to make progress with eating out at lunch and started to feel much better in general. However, it turns out this was just the tip of the iceberg for my anxiety, because once we started to talk it became clear that anxiety had affected me in many other ways throughout my life. I started to recall panic attacks I had at different large public events, small fears I had about checking into hotels, migraines from the anxiety associated with air travel (thanks TSA), meeting new people and many others I won't bore you with today.<br />
<br />
Slowly over the last four years I tackled one problem after another and started to recognize my anxieties and then how to best deal with the situations causing it. It hasn't been easy and I have definitely gone into more than one exposure that pushed me to my limit, but today I am so much stronger and happier because of my treatment. I feel there is such a stigma associated with going to therapy, but it has actually made me open about the fact that I do go and how much it has helped me. It has really changed my life and if you have ever considered seeking help, but were worried about what people might think, just do it!<br />
<br />
Special thanks to my therapist, my family and of course my amazing wife for supporting me through all of this.Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com7tag:blogger.com,1999:blog-6569626468931153834.post-21139324710078195122017-09-19T07:07:00.000-04:002017-09-19T13:59:25.620-04:00iOS 11 for iPhone<span style="font-family: "georgia" , "times new roman" , serif;">Today is the annual update all your iOS devices day, thanks to the release of iOS 11, watchOS 4 and tvOS 11. I have been running the public beta of iOS 11 on my iPad for over a month and on my iPhone for about 2 weeks. Here is a quick review of the biggest changes in iOS 11 for iPhone, because the scale of the changes on the iPad is too big for anything quick.</span><br />
<div>
<span style="font-family: "georgia" , "times new roman" , serif;"><br /></span></div>
<h3>
<span style="font-family: "georgia" , "times new roman" , serif;">Control Center</span></h3>
<div>
<span style="font-family: "georgia" , "times new roman" , serif;">The most dramatic change for the iPhone is the new Control Center. You may not know its name, but if you have an iPhone it is likely that you swiped up from the bottom of the screen to reveal a set of controls for turning on airplane mode, or most likely to use the flashlight. It is the same area where you may have seen music controls when you were trying to find the flashlight and only after trial and error realized you could swipe right to find the page with the flashlight.</span></div>
<div>
<span style="font-family: "georgia" , "times new roman" , serif;"><br /></span></div>
<div>
<span style="font-family: "georgia" , "times new roman" , serif;">In iOS 11 the multi page Control Center is being replaced with a single page that is now much larger and contains lots of buttons of different shapes and sizes. </span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhip5tt5yDLV9z4sKCztZD-wXSDGdn5OYQMOAQjVz9izeyOv4FLl7hv0y_Q4ssS0UDylwI_Ph4J9b9CO0b4P8E8rpPwBzGc0TouFPOzg6YC5mA9xRKzRr0HprZEN8RfZOPK_-2VP9OsaUPn/s1600/IMG_8110.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: "georgia" , "times new roman" , serif;"><img border="0" data-original-height="1334" data-original-width="750" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhip5tt5yDLV9z4sKCztZD-wXSDGdn5OYQMOAQjVz9izeyOv4FLl7hv0y_Q4ssS0UDylwI_Ph4J9b9CO0b4P8E8rpPwBzGc0TouFPOzg6YC5mA9xRKzRr0HprZEN8RfZOPK_-2VP9OsaUPn/s320/IMG_8110.PNG" width="179" /></span></a></div>
<div>
<span style="font-family: "georgia" , "times new roman" , serif;">It takes a while getting used to all the new controls and what they do, but after a week or so it becomes second nature. Simply tapping on the controls will perform the expected action, but if you long press or 3D Touch on some of they will reveal a more detailed control. For example, long pressing on the flashlight will give you three options for brightness. </span></div>
<div>
<span style="font-family: "georgia" , "times new roman" , serif;"><br /></span></div>
<h3>
<span style="font-family: "georgia" , "times new roman" , serif;">Messages</span></h3>
<div>
<span style="font-family: "georgia" , "times new roman" , serif;">Not a lot has changed in the Messages app, but since it is used by a lot of people I wanted to point them out. In iOS 10, the introduction of apps in Messages was a tent pole feature and they invaded the Messages app. One downside to this was you had to do an extra tap to attach or take a pictures. I know it doesn't seem like much, but it really annoyed me. In iOS 11 apps in Messages are featured differently and as a result the camera is now only a single tap away.</span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: "georgia" , "times new roman" , serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrUS47GscT4wGirYbtaeesjwUHMf787XZgEdwyQ59LsmcMWaMX4M-qutW4z3upjKdRnHxYghzT_vywVH6yG41eMjOnSH_ZOU7pi8ScKXnOCXXL2DoFiIdm5k0EBwUnGxMPaKTWL36GKEhk/s1600/IMG_8111.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1334" data-original-width="750" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrUS47GscT4wGirYbtaeesjwUHMf787XZgEdwyQ59LsmcMWaMX4M-qutW4z3upjKdRnHxYghzT_vywVH6yG41eMjOnSH_ZOU7pi8ScKXnOCXXL2DoFiIdm5k0EBwUnGxMPaKTWL36GKEhk/s400/IMG_8111.PNG" width="223" /></a></span></div>
<span style="font-family: "georgia" , "times new roman" , serif;">
<div class="separator" style="clear: both; text-align: left;">
Now instead of using an arrow button to reveal the camera, the text input field is a little smaller and the icons for the camera and app store are always displayed. A new row of apps is always displayed to help encourage their use, but in a nice and subtle way. My only gripe about this new interface is once you type a certain number of characters the input field grows and it always "startles" me as the display changes.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<h3>
Live Photos</h3>
<div>
One of my favorite features on my iPhone 6S is Live Photos. I almost always forget to record video of different events and it is so nice to be able to see a brief snippet of video that I "accidentally" captures. I generally leave Live Photos turned on, because why not. In iOS 11, Live Photos is getting a couple upgrades. My favorite is the new Live Photo Effects: Loop, Bounce or Long Exposure. I know these already exist in apps like Instagram and Snapchat, but it is nice to be able to apply these effects after they are taken. </div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiipS6z8AHFKwQKPyTB6JAqdgwJnqCkSJ-GzI_WPHsr7K_Lb2knrXrwl9Dl69bapSLOgrlji7DPnP-BgLU9w4pj5FTvocZ7vNJgvU5eKukNQESBaqfm697vZINrUB2QVFuBjyLmMvHnLFGX/s1600/IMG_8112.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1334" data-original-width="750" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiipS6z8AHFKwQKPyTB6JAqdgwJnqCkSJ-GzI_WPHsr7K_Lb2knrXrwl9Dl69bapSLOgrlji7DPnP-BgLU9w4pj5FTvocZ7vNJgvU5eKukNQESBaqfm697vZINrUB2QVFuBjyLmMvHnLFGX/s400/IMG_8112.PNG" width="223" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
To access the Effects just slide the Live Photo up to reveal a live running example of what it will look like. There is a slight delay as the effects are applied so be patient, but once they have loaded you can tap on the effect you like and the photo will be updated. The first option is Loop, which tries to create a looping video that repeats over and over again. The second option is Bounce, which will play the video forward for a certain amount of time and then reverse it for the same amount of time. The last one is Long Exposure, which will basically overlay all the different frames together as if you left the shutter on your camera open for a long exposure photo, this works best for things like waterfalls or night shots.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<h3>
Other Random Changes</h3>
<div>
Above are the changes I found to be most notable on the iPhone, but here are some more quick things you may notice.</div>
<div>
<ul>
<li>Taking a screenshot will now show a thumbnail in the bottom right corner of your screen for a few seconds. You can tap on it to mark up the thumbnail and choose to share it, save to Photos or delete it.</li>
<li>Screen recording is a control that is available in the new Control Center. It is not in Control Center by default, but you can add it in Settings. Once it is on you can record what you are doing on the screen and it will be saved to Photos.</li>
<li>Swiping down from the top will show the lock screen.</li>
<li>iCloud Family Sharing of data!!! Now you can share your iCloud storage data with your entire family, so just spend $2 a month for 200GB and everybody will have plenty of space.</li>
<li>The App Store is completely redesigned.</li>
</ul>
<div>
<b>UPDATE:</b> Forgot to include Do Not Disturb While Driving, which will automatically turn on whenever your iPhone detects you are driving. Any messages you receive will auto reply with a message that you are driving and the ability for the sender to resend with the word URGENT to bypass it.</div>
</div>
</span></div>
Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com11tag:blogger.com,1999:blog-6569626468931153834.post-53529539142417875522017-09-15T10:50:00.002-04:002017-09-15T10:50:43.661-04:00Installing Apache HTTP Server on Windows and Proxying to TomcatI have been working on Tomcat web applications and have always just accessed the pages directly on the port that Tomcat is serving. Now I want to put an Apache HTTP server in front of Tomcat so I can access this page next to other pages that aren't served by Tomcat. Here are the instructions.<br />
<br />
Since the Apache site doesn't provide Windows binaries of the Apache HTTP server they must be downloaded from a third party site, I used <a href="https://www.apachehaus.com/cgi-bin/download.plx" target="_blank">Apache Haus HTTP Server Windows Binary Download page</a>. After downloading the zip file I unzipped it and put it into a directory on my system. The first thing you need to do is open up the conf/httpd.conf file to modify the configuration of the server. The only required change is to update the SRVROOT definition, which basically is the pointer to where the unzipped folder is defined. Make sure to use forward slashes instead of backslashes in the path. Save the conf file and then run bin/httpd.exe. If it started up correctly you can go to localhost:80 in your browser and an example page should load.<br />
<br />
By default the server will look in the htdocs folder of the Apache Server installation for the pages in the site, but if you want to store them in a separate location for easy upgrade of the server then you can update the DocumentRoot and also the Directory elements of the httpd.conf file to point to any other folder on your system.<br />
<br />
As for pointing to Tomcat you will need to do the following:<br />
1. In the httpd.conf file make sure to include the load the proxy_module and the proxy_http_module. They should be included in the file, but may be commented out. Just uncomment them and they will load.<br />
2. Next in the httpd.conf file add you need to add a <span style="font-family: Courier New, Courier, monospace; font-size: x-small;">ProxyPass </span>and <span style="font-family: Courier New, Courier, monospace; font-size: x-small;">ProxyPassReverse</span>, which will map specific web applications to the URL of the Tomcat applications. These will look like: <span style="font-family: Courier New, Courier, monospace; font-size: x-small;">ProxyPass /theApp http://localhost:8080/theApp</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">ProxyPassReverse /theApp http://localhost:8080/theApp</span><br />
<span style="font-family: inherit;">3. Update the Tomcat server.xml file so the connector element includes a proxyPort attribute specifying that requests from port 80 are proxied.</span><br />
<span style="font-family: inherit;"><br /></span>
Start both servers up and you should be able to access your Tomcat web applications on port 80 now.Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com0tag:blogger.com,1999:blog-6569626468931153834.post-4103904253685184142017-08-23T07:18:00.001-04:002017-08-23T07:18:32.299-04:00Getting Video into iMovie on the iPad without iCloudA few months ago I wrote a post, <a href="http://blog.keegsands.org/2017/02/my-kingdom-for-ipad-local-data-store.html" target="_blank">My Kingdom for a Local iPad Data Store</a>, talking about how I wanted to be able to use iMovie on the iPad to edit my drone videos. The problem was that in order to get the videos into iMovie they had to be in iCloud Photo Library or in iCloud Drive, but I didn’t want them to be uploaded and then maybe downloaded from the cloud because they are large files. Over the weekend I had an epiphany and figured out how to work around this by doing some offline file shuffling. <br />
<div>
<ol>
<li>Turn on Airplane mode to prevent any internet connection from occurring.</li>
<li>Connect a Lightning to USB adapter with an attached SD card reader to the iPad. </li>
<li>Insert and SD card into the card reader or in my case a Micro SD card. </li>
<li>The Photos app will launch and prompt you to do an import. </li>
<li>Import any of the videos you want and then choose to keep or delete them on the card. </li>
<li>Unplug the Lightning to USB adapter. </li>
<li>In the Photos app go to the “Last Import” album. </li>
<li>Tap the Select button to enable selection mode and select all of the videos. </li>
<li>Tap on the “Share” button (the box with the arrow coming out of it). </li>
<li>In iOS 11 tap on the “Save to Files” action and in iOS 10 select the “Upload to iCloud Drive” action. This will copy the file to iCloud Drive. </li>
<li>In the Photos app tap the Select button again and select all the videos and this time delete them. </li>
<li>Go to the “Recently Deleted” album and delete all the videos from Photos (just in case these would get uploaded to iCloud Photo Library).</li>
<li>Now open up iMovie. </li>
<li>Create a new movie and import all of your videos from iCloud Drive. </li>
<li>Click Done to go to the Summary screen just to make sure everything is “Saved”.</li>
<li>If you are using iOS 11 open up the Files app and if you are using iOS 10 open up iCloud Drive. </li>
<li>Delete all of the videos from iCloud Drive. </li>
<li>Go to the Recently Deleted view and also delete them from there. </li>
<li>Finally open the Settings app. </li>
<li>Go into the settings for the current user, which should be the top option. </li>
<li>In the user menu select iCloud. </li>
<li>In the iCloud menu you can choose which apps will save their data to iCloud. </li>
<li>Turn this off for the iMovie app. </li>
<li>Now turn off Airplane mode and you are ready to work on your movie. </li>
</ol>
<div>
The iCloud Drive/Files storage part seems a bit excessive, but was necessary because any videos imported to iMovie from the iCloud Photo Library stop working if you delete them. Importing from iCloud Drive/Files on the other hand puts a copy in the iMovie app's local storage.</div>
</div>
Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com0tag:blogger.com,1999:blog-6569626468931153834.post-7434132070460522072017-08-16T07:38:00.003-04:002017-08-16T07:38:41.237-04:00Remembering My Dad<span style="font-family: Georgia, Times New Roman, serif;">Last week we had a private funeral service for my father and here is the eulogy I read:</span><br />
<br />
<div style="color: #454545; font-size: 12px; line-height: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">Bill, my dad, was many things to many people. He was a storyteller, lots of fun to be around, hard working, resilient, happy, kind and the list goes on and on.</span></div>
<div style="color: #454545; font-size: 12px; line-height: normal; min-height: 14px;">
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span></div>
<div style="color: #454545; font-size: 12px; line-height: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">One thing we all were familiar with was his ability to tell a story. Some of the stories were adventurous like the time he was riding a bicycle built for two through the center of town and got pulled over by the police or the time he fired a cannon off in front of the police station and freaked all the officers out inside. </span></div>
<div style="color: #454545; font-size: 12px; line-height: normal; min-height: 14px;">
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span></div>
<div style="color: #454545; font-size: 12px; line-height: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">Another type of story he loved to tell was the accomplishment type story like driving up and down Mt. Washington multiple times, or driving to Keegan, ME just to see what was there or racing a car with his drone and winning or how he had the fastest stock motorcycle in the world and he got it up to some ridiculously unsafe speed or having driven to every state in the continental US. </span></div>
<div style="color: #454545; font-size: 12px; line-height: normal; min-height: 14px;">
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span></div>
<div style="color: #454545; font-size: 12px; line-height: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">The other type of story we seemed to hear more than any other involved the injustices he suffered, like being nailed to the roof by his brothers or how my mom had a new car every year they were married. He had a lot less of those type of stories in recent years, because he was happy. On the rare occasion he did have a new one it always made me laugh when Anne would call him out and set the story straight. </span></div>
<div style="color: #454545; font-size: 12px; line-height: normal; min-height: 14px;">
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span></div>
<div style="color: #454545; font-size: 12px; line-height: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">Every once in a while you could get a life lesson from a story, well besides don’t drive 165 MPH on a motorcycle, one that changed me for the better was from a trip we took to Washington DC when I was a kid. We were in line at this fancy hotel and the woman in front of us was complaining about something to the receptionist and my dad patiently waited his turn in line. We finally got to the front of the line and my dad made a funny comment about the complainer to the receptionist. She thanked him for his patience and upgraded us to an amazing room overlooking the city. Sometimes being patient and funny pays off. </span></div>
<div style="color: #454545; font-size: 12px; line-height: normal; min-height: 14px;">
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span></div>
<br />
<div style="color: #454545; font-size: 12px; line-height: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">The stories were almost always exaggerated in some way, but that is what made him a great story teller. I am thankful to have picked up this skill from him and look forward to passing on these stories and many more.</span></div>
<div>
<br /></div>
Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com0tag:blogger.com,1999:blog-6569626468931153834.post-33151067365270096932017-08-10T07:05:00.001-04:002017-08-10T07:05:18.857-04:00My Dad Passed Away<div class="separator" style="clear: both; text-align: left;">
My dad passed away a couple weeks ago and the site with the obituary is crawling with ads so I wanted to also post it here.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj52atAM0CyTOb2JT4JOp7MtTmB_Jj6RPP0qg2ekOa58yXVDlzTNr0PxqzUT6MRZ_vDFb0JRpLu2aXoK6o-X96BRfaP5OBjhPuHiG8JP8Xxfgls0qeoDGQ7qFkV_K8XHhc4rbH4bc6zAp6p/s1600/obituary-color.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1146" data-original-width="991" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj52atAM0CyTOb2JT4JOp7MtTmB_Jj6RPP0qg2ekOa58yXVDlzTNr0PxqzUT6MRZ_vDFb0JRpLu2aXoK6o-X96BRfaP5OBjhPuHiG8JP8Xxfgls0qeoDGQ7qFkV_K8XHhc4rbH4bc6zAp6p/s320/obituary-color.png" width="276" /></a></div>
<div style="color: #212121; font-family: 'Helvetica Neue'; font-size: 11px; line-height: normal;">
William D. Sands, 67, of Kingston, NH and Viera, FL, and longtime resident of Amesbury, passed away in his home on Thursday as a result of cardiac issues.</div>
<div style="color: #212121; font-family: 'Helvetica Neue'; font-size: 11px; line-height: normal; min-height: 12px;">
<br /></div>
<div style="color: #212121; font-family: 'Helvetica Neue'; font-size: 11px; line-height: normal;">
Born in Amesbury on May 31, 1950, he was the son of Francis Sands and Simone Sands. He remained in Amesbury most of his life, and had various jobs that made use of his mechanical and technical skills and abilities, until his retirement from his career as a medical device technician. After retirement he moved his primary residence to Viera, Fl, where he enjoyed the sunny days, flying his drone, and the resident alligators.</div>
<div style="color: #212121; font-family: 'Helvetica Neue'; font-size: 11px; line-height: normal; min-height: 12px;">
<br /></div>
<div style="color: #212121; font-family: 'Helvetica Neue'; font-size: 11px; line-height: normal;">
Bill was known for his sense of humor, and could always be counted on for a story and a laugh. His love of travel brought him all over the United States. He loved to drive, and was always exploring, whether on a motorcycle, in an RV, or in his much-beloved Smart Car. Bill was an enthusiastic grandpa, and was known for his “Pepe hugs”. He will be deeply missed by his family and friends.<span class="m_6528639303662235628inbox-Apple-tab-span" style="white-space: pre-wrap;"> </span></div>
<div style="color: #212121; font-family: 'Helvetica Neue'; font-size: 11px; line-height: normal; min-height: 12px;">
<br /></div>
<div style="color: #212121; font-family: 'Helvetica Neue'; font-size: 11px; line-height: normal;">
He is survived by his loving wife, Anne Sands, his brothers David Sands and wife Sally, and Leonard Sands, and his children, Keegan Sands and wife Jennifer, Brendan Sands and wife Ilona, Mike Gonthier and wife Ally, and Kelley Fitzpatrick and husband Kevin. He is also survived by his grandchildren, Kaleb, Camden, Connor and Jacob Sands, as well as nieces and nephews.</div>
<br />Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com0tag:blogger.com,1999:blog-6569626468931153834.post-73181818817878045682017-06-13T08:43:00.000-04:002017-06-13T08:43:18.916-04:00Video: Summer FunNow that baseball is winding down it is time to get back to flying.
<iframe width="560" height="315" src="https://www.youtube.com/embed/TYA26F_XzAQ" frameborder="0" allowfullscreen></iframe>Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com0tag:blogger.com,1999:blog-6569626468931153834.post-87289090142687699442017-05-31T16:03:00.000-04:002017-05-31T16:03:17.693-04:00Flash Player Issue with Edge Browser in Windows 10 Anniversary Update<span style="font-family: Georgia, Times New Roman, serif;">I recently spent a couple days debugging an issue with our Flash application in Microsoft's Edge browser. Several developers were updated to the Anniversary update for Windows 10 and if you tried to load the page with our Flash application it wouldn't display and right clicking would show the "Movie not loaded" message. Everything worked fined in Chrome, IE and Firefox. I verified that Flash applications on the internet worked to eliminate that part of the problem.</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">Things go weird when I tried accessing the application from a different machine and it worked fine. Further testing showed that the application would load fine on port 80, but not port 8080. I was really narrowing it down and finally found that in the Anniversary update a new setting was added to the about:flags page called "Allow Adobe Flash Player localhost loopback". After turning this on and restarting the browser the application loaded fine. </span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<br />Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com1tag:blogger.com,1999:blog-6569626468931153834.post-75306098907872273372017-05-29T18:08:00.001-04:002017-05-29T18:08:22.356-04:00Video: Memorial Day 2017A short video from a party we had over Memorial Day weekend.
<iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/5wBPmkn_zRI" width="560"></iframe>Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com0tag:blogger.com,1999:blog-6569626468931153834.post-14043846894960000352017-05-24T22:05:00.002-04:002017-05-24T22:05:43.411-04:00Video: Dover TreesVisited friends this weekend and flew around their yard which had a ton of trees. It was good practice.<br />
<iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/Bd68lOdvKhY" width="560"></iframe>Keeganhttp://www.blogger.com/profile/08804928543324060080noreply@blogger.com0