My Bookmarks

This is a good guide for things to be aware of when creating Mac/macOS applications using Java. It mostly includes a lot of information about the com.apple.eawt.AppEvent library/classes.

This is a good article that shows several different ways to handle background tasks in Android, including

  • AsyncTask
  • IntentService
  • Loader
  • JobScheduler
  • CountdownTimer
  • Java threads
  • Android HandlerThread
  • FutureTask
  • Java Timer

From the article: “The reality is that Go’s GC does not really implement any new ideas or research. As their announcement admits, it is a straightforward concurrent mark/sweep collector based on ideas from the 1970s. It is notable only because it has been designed to optimise for pause times at the cost of absolutely every other desirable characteristic in a GC.

This link has the source code for the online book, The Busy Coder's Guide To Advanced Android Development.

This is a link to an article titled, “Optimizing Linux for slow computers.” Note that this article links to this more thorough resource on archlinux.org.

Here are a couple of paragraphs from it:

When tuning a server, you'll really want to tweak for performance and high throughput. That's where most Linux configurations really shine over the competition: they come better tuned to get the most out of server configurations.

From the URL:

1. Collected Maxims and Other Reflections by La Rochefoucauld

2. The 48 Laws of Power, by Robert Greene

3. Xenophon’s Cyrus the Great: The Arts of Leadership and War by Xenophon

4. Letters from a Self-Made Merchant to His Son

5. Models of my Life by Herbert Simon

6. Meditations by Marcus Aurelius

Leanpub is another way to publish books. From their website:

Leanpub is a powerful platform for serious authors. This platform is the combination of two things: a publishing workflow and a storefront. Leanpub is more than the sum of its parts, however – by combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks, it’s something different. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button.

From the website:

“Dailyprogrammer is about challenging programmers of all skill level with weekly programming challenges. 3 challenges a week are posted at increasing difficulty. Solutions are peer reviewed and redditors can ask for the community for feedback and comments.”

Tips on performance optimization for Drupal websites.

This link has some good information on how to debug PHP scripts by writing objects to the PHP log file using print_r with error_log. This is helpful — necessary, even — when you’re writing PHP code that doesn’t write directly to the browser.

The basic idea involves writing PHP code that looks like this:

error_log(print_r($myObject, true))

Don’t leave the true part out; if you do, the output will either go to your web browser or get lost somewhere else.

“A Tale of Two Base Themes in Drupal 8 core”

Drupal comes with two base themes: Classy, and Stable. Classy has a lot of markup, hopefully all the markup you’ll need, while Stable is more like a “stark” base theme. See the link for more information.

This link shows the file-naming conventions for Drupal 8 Twig theme/theming files.

The page I linked to shows what “table of contents” modules work with Drupal 8. The reality as of May 9, 2016, is that only “TOC Filter” works. It relies on the “TOC API” module, which should not really be shown in that list, as it’s just a support module.

“TOC Formatter” claims to work with Drupal 8, but I could not get it to work, and its page shows that it has no Drupal 8 installations, so something smells fishy there.

Documents all CSS class selectors that are in the classy theme Drupal 8.

This guide is about creating themes for Drupal 8.

FortyTwo is a modern responsive base theme incorporating the latest technologies like Gulp, Sass, BrowserSync and more. It’s made to be extended, and has a nice STARTERKIT to work from when extending.

I recently built my first site with Drupal 8, off of the public beta. Where do I download a base theme for Drupal 8? How do I create a new theme in Drupal 8?

Best starter or base themes for Drupal 8 right now.

Bing has added a number of mathematical answer tools to their search engine. From the article I linked to, which was posted on 3/14/16:

An article on how to make a vision board, and why they work.

I did this once many years ago as part of a retreat, and I have to admit, everything I put on the board came to fruition. I think it’s because, if you keep it visible, it serves as a constant reminder of your goals.