This website has the best discussion I’ve found on how to rename a directory in Git.
Note that if you need to update text in many files, my article on how to use the Unix sed command to edit many files in place may be helpful at this time.
This website has the best discussion I’ve found on how to rename a directory in Git.
Note that if you need to update text in many files, my article on how to use the Unix sed command to edit many files in place may be helpful at this time.
If you ever want to publish an Android app on the Google Play Store, you need to prepare for release, including following the guidelines in the Publishing Checklist for Google Play.
As a quick note to self, this is how I just created an Android AsyncTask with “Void, Void, Void” parameters:
private class DeleteImagesTask extends AsyncTask<Void, Void, Void> {
@Override
protected Void doInBackground(Void... params) {
deleteSelectedGalleryItems();
return null;
}
@Override
protected void onPostExecute(Void param) {
cleanupUiAfterCancelOrDelete();
galleryItemAdapter.notifyDataSetChanged();
}
}
A polar bear cub gets a ride from mom, somewhere in the Arctic. Image from The Alaska Life Facebook page.
This page on the Android developer’s blog shows what is just about the simplest possible AsyncTask you can create, which is exactly what I needed just now. I started testing my Android app with StrictMode enabled this morning, and it was kind enough to remind me that I was doing some file I/O on the main thread, which is a no-no; hence the AsyncTask.
It sounds like Colorado State’s Garrett Grayson has learned how to play quarterback. The text shown is from this denverpost.com article.
If you’ve ever driven through Louisville, Colorado, you know that Tape Drive is a dead end. (There’s a joke in there somewhere.) From what I know about the history, StorageTek used to be in Louisville, then they were bought by Sun, and then Oracle bought Sun. I know that Oracle has offices about five miles straight ahead in this photo, on the other side of US-36, but I don’t know what sort of work they do there.
If you want to stream audio output to multiple speakers from your Mac, PC, iOS or Android device, I can tell you that this DIY article is spot on. Based on that article I just did a very similar thing, with good results. The only caveat is that the volume knob on the Lepai LP-2020A+ is very tight, and only seems to work in certain positions, but other than that, the approach works as advertised. I went with the Micca MB42 Bookshelf Speakers
for $59, but in retrospect I wish I had tried the smaller Micca COVO-S Compact 2-Way Bookshelf Speakers
.
A little encouragement for those days when I’m feeling a little older than I want to feel.
Like Wrigley Field in Chicago, Camden Yards seems to be tucked deeply into its downtown area. (I noticed this view while watching Mark Buehrle get his 200th win against the Orioles.)
In trying to understand Yahoo’s financials, I came across this good article. It includes these tidbits:
Just read that in Java -- or at least in Android -- from a performance standpoint, having two arrays is better than having a two-dimensional array (or, more generally, a multi-dimensional array). I found this on the Android performance tuning page.
This article on phonearena.com shows good performance information when comparing the new Samsung Galaxy 6 to the almost-as-new Apple iPhone 6. The HTC One M9 is also covered. The results show that the iPhone 6 is fastest in single-core performance, the Galaxy 6 is fastest in multi-core performance, and the M9 is neck-and-neck with the iPhone 6 in graphics performance.
This was an interesting note about screen resolution: “When it comes to resolution, the differences between these three phones could not be larger: the iPhone 6 sports a 750 x 1334-pixel 4.7 inch display; the One M9 has a 1080 x 1920-pixel 5 inch screen; and the Galaxy S6 a 1440 x 2560-pixel 5.1 inch display.”
I just ran across this information about dividend-paying stocks outperforming non-dividend stocks in this Motley Fool article about Apple stock. Some of that data is bound to be skewed. For instance, new businesses can’t afford to pay dividends, and I’m sure that new business fail much more than other businesses. If you just put $10,000 into all non-dividend-paying stocks, you would surely choose some bad ones.
Another good Theo Epstein quote: “We’re all-in ... if you just do what’s best for the Cubs, always think of the Cubs first, things will work out.”