Back in 1912, a little newspaper article warned people about global warming. Per Snopes, the original story was written a year before this one.
Per the Technical University of Munich, Bitcoin is causing CO2 emissions comparable to Hamburg.
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. ;)
I just read about Subaru of Indiana’s “Zero-Landfill” status. It makes me wonder how the rest of the world can be more like this.
I saw this quote by Gus Speth on Facebook and Twitter, and wanted to share it here. As Mr. Speth says, the top environmental problems aren’t biodiversity loss, ecosystem collapse, and climate change, they’re selfishness, greed, and apathy (mostly the first two, in my opinion).
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?
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.
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:
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.”
You need to set one or more environment variables when running an external command.
Specify the environment variables when calling a
Process factory method (an
apply method in the