environment

My preferred writing environment

When working from home, my preferred writing environment is to use a huge fixed-width font on a large monitor with a matte finish, and nothing else on the screen. I write my text using either Markdown or LaTeX, depending on what the output format is going to be. And Yoda and Meditating Guy make me feel a little less crazy when I’m talking to myself. ;)

Children Learn What They Live (poem)

If a child lives with criticism,
he learns to condemn.

If a child lives with fear,
he learns to be apprehensive.

If a child lives with ridicule,
he learns to be shy.

If a child lives with shame,
he learns to feel guilty.

If a child lives with encouragement,
he learns to be confident.

If a child lives with praise,
he learns to be appreciative.

If a child lives with acceptance,
he learns to love.

If a child lives with approval,
he learns to like himself.

If a child lives with honesty and fairness,
he learns what truth and justice are.

If a child lives with friendliness,
he learns that the world is a nice place in which to live.

With what is your child living?

~part of a "Children Learn What They Live" poem by Dorothy Law Nolte

The quality of the lucid dream environment

I sometimes think the quality of the lucid dream environment (aka, the dream holodeck) isn’t quite like it is back here in the physical world, but during lucid dreams the last two mornings I’ve been walking around and exploring the details, and I keep saying,“Man, this is good.” The environment is so life-like I have to keep checking my hands to make sure I’m asleep.

How to get Java/Scala system environment variables and properties

Want to get the system environment variables and/or properties from your Scala or Java application? This quick post shows what environment variables and properties are available.

Here’s a little Scala application that prints all the environment variables and properties. You’ll see that you can convert it to Java very easily:

Scala: How to set environment variables when running external commands

This is an excerpt from the Scala Cookbook (partially modified for the internet). This is a short recipe, Recipe 12.19, “How to set environment variables when running external commands.”

Problem

You need to set one or more environment variables when running an external command.

Solution

Specify the environment variables when calling a Process factory method (an apply method in the Process object).

Eclipse Android FAQ: How to set up your Eclipse Android development environment

Eclipse Android FAQ: How to set up the Eclipse Android development environment, including the Eclipse ADT and Android SDK.

After a little digging around I figured out how to install an Eclipse Android development environment, and I thought I'd share my installation notes here. The notes are a little shorter than my usual detailed explanations, but hopefully they're long enough.

To get the Android development environment working with Eclipse, you need to install two components onto your development system: