Theme and Variations

Wednesday, August 25, 2010

Learning To Program

Learning To Program

House Keeping:
1) Using the Command Prompt:
Its integral to programming that you use the command prompt.
Go to C:/Windows/System32/cmd.exe (Windows XP) and make a short cut on your desktop.
Right Click the Short Cut and Change the Properties including:

--Start in: This is a great way to have your command prompt open in your working directory everytime. That way you don't need to cd, change directory, to get to your everyday programs; or you dont need to type long directory path names to run common programs.
--Cool! you can also change the colors, layout, and more--so your command prompt is fun/functional
From Urban Ecological Processes

1)A) Navigating the Command Promt
--cd (change directory)
--cd .. (go back a directory)
--Path (display paths)
--mkdir (in cmd. promt type help mkdir for easy explanation to make directories)
--Start . (opens explorer for current directory)
--Start .. (opens explorer for one directory up)
--C:\windows\java> CD ..\system32  --> C:\windows\system32
Moving up and down the folder tree in one command. CD (change dir), .. (move down tree), then go to file brilliant!
--fc filename.txt filename1.txt (prints the contents of two texts so comparisons can be made)

Command Prompt while running Programs
java Assignment1 < input1.txt > myout1.txt  //runs java program with input for system.in and creates text file

2) Setting up Path so everyday programs can be run with a single, or few, commands.
--Some of these setting are for Python, and some are just good to have for basic programming functionality.
In your Command prompt type Path.
You will see the directories windows looks in when the command prompt runs a program.
--To edit Path, so that it includes directories where you will store your programs you can do 2 things:
     Right click on My Computer, go to properties, click on the advanced tab, click on the Environment Button and look for
     Path in either user variables or system variables, I can't explain the difference, so I put in both.
     Now this is only where Windows or the Command Prompt looks to execute files.
From Urban Ecological Processes

To change the Python Path  go to HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\PythonPath in Registry Editor and add your paths where you would like Python to search for Programs
From Urban Ecological Processes

To change Java Path

"In
Windows 2000/XP, open "Control Panel". (You might be able to get there
by going through "Start" -> "Settings") Select "System". (you might
need to select "Performance and Maintenance" before this) Select
"Advanced" Select "Environmental variables" Add C:. to CLASSPATH and
PATH. If it already contains something like: D:\java\. Then you need to
add C:. as D:\java\.;C:. Then click OK buttons to get out. Then reboot
your computer. "
(Taken from Object Oriented Programing course ASU CSE 205)

There is some  convention on changing paths--do some searching to determine what they are; however I can tell you that it would be a good habit to make a folder named bin. And begin to Save your main programs there

Next, I will start adding to my bin file and try to start running programs with less effort.
Also, I will start exploring using Python IDLE to more interactively clean up and run programs.

Friday, August 8, 2008

Untangling the Variability in Urban Ecological Processes: Socioecological Drivers of Residential Landscape Management and Ecosystem Responses

Notes_CAP-LTER_LARSON PROJECT

Title:
Untangling the Variability in Urban Ecological Processes: Socioecological Drivers of Residential Landscape Management and Ecosystem Response
Hypothesis Question:
! What are the factors that drive residential landscape management decisions, and how do these practices affect ecological processes, specifically biogeochemistry?
Methodoloy:
! We will evaluate how landscape types (xeriscape yards, turfgrass lawns), irrigation practices (technology, frequency), and the application of agrichemical products (fertilizers, pesticides) impact soil nutrients, microbial processes, and emissions of trace gases into the atmosphere.
! Through an integrated sampling design and field work, we aim to investigate coupled socioecological processes by explicitly linking reported landscape practices from social surveys to biogeochemical responses.

Discussion:
! Small area globally, intensively managed urban landscapes such as lawns are increasingly prevalent. Turfgrass is now the largest irrigated crop in the U.S. (Milesi et al. 2005 covering 10-16 million hectares (Robbins et al. 2001). Alternative residential landscapes, such as water efficient xeriscapes, are often planted with densely spaced productive species that are drip irrigated, raked, and pruned (Martin 2001).
Conclusion:
! Ultimately, How are diverse homeowner practices impacting biogeochemical cycling?
Few studies have linked the drivers of residential land management to ecological impacts.

Location
In the arid region of Phoenix, AZ.
-----------------------------------------------------------
LTER support through a Social Science Supplement grant

Incorporating ecology into stormwater management solutions

Urbanization modifies hydrologic processes and contributes to contaminant loads in stormwater runoff. These relationships are well established and have been documented by numerous studies. However, most studies relate stormwater runoff volume and water quality to bulk measures of urbanization such as broad land-use categories (e.g., urban/undeveloped) or percent impervious cover (Dougherty et al. 2006). These bulk measures do not adequately reflect the complex structure of urban catchments that may influence stormwater runoff (Groffman et al. 2004, Carle et al. 2005, Walsh et al. 2005). Further, most stormwater studies have addressed conditions in the more mesic eastern United States (and other countries) that may differ from the unique monsoon storms of the arid Southwest. Thus, complex dynamics among catchment characteristics, storm attributes, and runoff in highly urbanized settings of the Southwest are poorly understood. A better understanding of the complex relationships between urban development patterns and stormwater runoff that are specific to the arid Southwest is essential to meet these challenges and to manage stormwater runoff effectively.
CAP-LTER Project DetailsIncorporating ecology into stormwater management solutions
Personnel:
Nancy Grimm (Principal Investigator)
Rebecca Hale (Graduate Research Assistant)


Project Begin: 2008

Thursday, July 24, 2008

Back Yard Garden Video From Peak Moments: Crimson and Clover



As a culture, we've taken a few steps back--De-evolution. Complex systems such as the creation of food, cloaths, shelter, and waste have moved from out of our hands and into compartamentalized sources and sinks.

We need to move to the back-yard garden, community gardens, back-yard waste composting, and community recycling.

Purpose: Ecological Services

To promote
Biodiversity, Resilience, Complexity, feedback
In
Neighborhoods, Communities, Regions
For
Waste assimilation, recycling, reusing, economy, animal habitat, food production, carbon sequestering, water and land quaility
By
Investing in pre-existing systems, entrepreneurial methods, creating ecocentric communities