Monday, September 28, 2009

SWF Catcher


Ever needed to download a flash (*.swf) file off a website? You need this tool!

SWF Catcher for Firefox -- Completely Free!

Sothink SWF Catcher for Firefox helps you saving multiple Flash based charts, presentations, e-cards, games and Flash movies in Firefox at the same time. It is the easiest and fastest Flash capture tool over the Internet. The small size allows embedding into Firefox browser by adding a neat toolbar button directly. With only a few clicks you can store all your favorite Flashes to PC easily.
Now supports Mozilla Firefox 3.5!

One-clicking capture both FLV and Flash? >>

Sunday, September 27, 2009

Python - Quick Guide

CPythonImage via Wikipedia

I found this website that is a quick reference guide for python.

Python - Quick Guide

Shared via AddThis


Reblog this post [with Zemanta]

Sony Abandons UMD Transfer Program For PSP Go



An SVG replication of a Universal Media Disc (UMD)Image via Wikipedia

I'm not pleased with the news that Sony is not offering a way to transfer UMD games to the new PSP GO. It appears that they are going to just let UMD die. Owning a PSP now means that if I want to keep playing my games I have to keep my PSP in working order because I will not be able to play them on the PSP Go. This bothers me because Sony seems to not have learned much from Nintendo's near disasters back in the 1990's by not having any backwards compatibility. Nintendo, has definitely learned not to do that and I hope Sony will wise up soon. Sony no longer has a monopoly on the market. There are too many other options for video game systems for Sony to not allow customers to have freedom. According to this article, the UK customers are going to be given the option to a few games currently available on UMD.

Unfortunately, I don't want any of these. Hopefully, in the states we'll get this opportunity with better games.

Sony Abandons UMD Transfer Program For PSP Go

Shared via AddThis


Reblog this post [with Zemanta]

Saturday, September 26, 2009

Twitlonger


Twitlonger is an easy way to post long messages to Twitter without the need to write a blog post. Write what you need here and we post the link to Twitter for you. If this is your first time you might want to read more about Twitlonger or have a look at our privacy policy

Source

Friday, September 25, 2009

IDL Programming Project

I was informed that I will be working on some IDL code at work so I looked up some information on the Net to see what I need to know.

1. IDL means Interactive Data Language
2. IDL is vectorized, numerical, and interactive, and it is commonly used for interactive processing of large amounts of data (including image processing). The syntax includes many constructs from Fortran and some from C. (From Wikipedia)

It makes sense that this would be a part of remote sensing because its good for image processing! Score! It's syntax is based on Fortran and C which I already have familiarity with! This will make it easier to learn.

Source
IDL (programming language)
Lecture 2: Programming in IDL
Running IDL Programs
IDL (Interactive Data Language) Installation

Thursday, September 24, 2009

Algorithms: Forest Service Equations for Down Logs/Snags in Summary Program



Where NTPA = Number of logs per Acre



Where

DL = Diameter Large End (DBHI*0.1)
DS = DL - [(0.125 inches per foot)*(L feet)]
L = Log Length for down logs (PRHT)
#logs/acre = (NTPA*0.01)


Log Wieght/acre (in Tons)



Where Adj Dens is adjusted density faCtor for species
DENSITY = New Object() {30, 30, 0, 0, 28, 25, 0, 0, 0, 0, 28, 28, 25, 27, 28, 0, 0, 0, 28, 0, 28, 28, 28, 28, 28, 28, 28, 30, 29, 29, 27, 27, 25, 28, 27, 0, 27, 0, 27, 0, 28, 29, 0, 0, 30, 28, 29, 29, 0, 0, 25, 25, 25, 25, 0, 0, 30, 30, 30, 0, 29, 29, 29, 29, 29, 29, 0, 28, 0, 33, 28, 42, 26, 28, 24, 33, 42, 24, 35, 35, 35, 35, 35, 35, 35, 35, 35, 30, 30, 0, 0, 28, 25, 0, 0, 0, 0, 28, 28, 25, 27, 28, 0, 28, 28, 28, 0, 28, 28, 28, 28, 28, 28, 28, 30, 29, 29, 27, 27, 25, 28, 27, 0, 27, 27, 27, 0, 28, 29, 0, 0, 30, 28, 29, 29, 0, 0, 25, 25, 25, 25, 0, 0, 30, 30, 30, 0, 29, 29, 29, 29, 29, 29, 0, 28, 0, 33, 28, 42, 26, 28, 24, 33, 42, 24, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 24, 40, 35, 28, 35, 40, 40, 35, 40, 35, 0}

Decay Factor is decay class factor for log
Decay Class Decay factor
1 1.00
2 0.85
3 0.70
4 0.55
5 0.44


Volume per Acre in Cubic Feet (Down logs and snags only)



Where
DL = Diameter Large End (DBHI*0.1)
DL = [DBHI*0.1 + (0.125 inches/ft)*4.5ft] for snags
DS = DL - [(0.125 inches per foot)*(L feet)]
L = Log Length or height for down snags (PRHT)
NT/A = #logs/acre = (NTPA*0.01)
Reblog this post [with Zemanta]

Tuesday, September 22, 2009

!Quick Screen Capture (v3.0)


I found the following tool for doing screen capture outside of web browser. IT works well!

!Quick Screen Capture (v3.0)

PyDev - the Python IDE to Use

CPythonImage via Wikipedia

If you have been following this blog, you know that I have been evaluating which Integrated Development Environment (IDE) for Python is best for me. My co-worker found PyDev which runs in the Eclipse environment. Upon trying it out and both of us evaluating, PyDev is going to be what we are going to use to convert an AML project to Python. We chose this IDE for the following reasons:

1. IDE is based on Java - this means that Eclipse run on almost any platform: Windows - Mac - Linux - Unix
2. Free - Costs nothing to install or use
3. Python works in Eclipse and IronPython (a .Net Framework platform) and Jython (a Completely Java platform).
4. Can be pointed to any version of Platform that we need including Python 2.5 used by ArcGIS.
5. Good textual editor
6. Excellent debugging tools
7. Not too difficult to install.

I just learned how to install it today in Windows. It must be installed and then configured correctly.
0. Get the Python libraries and interpreter from
1. Make sure you have the latest JVM (Java Virtual Machine) installed on your computer. If you don't have it, get it free from http://www.java.com/en/download/index.jsp
2. Download Eclipse by downloading eclipse-jee-galileo-win32.zip
3. Unzip it into any folder on your c:\ drive that you want.
4. Download PyDev from http://sourceforge.net/projects/pydev/files/pydev/Pydev%201.5.0/org.python.pydev.feature-1.5.0.1251989166.zip/download
5. org.python.pydev.feature-1.5.0.1251989166.zip is a zip file that contains all you need to complete the installation. You just unzip the files in the Features folder and put them in the Features folder installed by the Eclipse zip file and you do the same with the files in the plugins folder.
6. Start Eclipse by double clicking on Eclipse.exe Choose the location for your worksapce

Image Hosting

7. Start at the top menu and select Windows - > Preferences

Image Hosting

8. Hit the "New"button and select the python executable for the version you want to use. For me I picked the 2.5 version of python and select all the libraries. Then hit "Apply" then "OK"

Image Hosting

9. Select File -> New -> PyDev Project. Enter the required information. Make sure that the "Grammar Version" matches the Interpreter you chose for the project. It is 2.5 In my Case.

10 Add source code to Project. If you are writing a new module, right-click on project name and choose New. Select the type of file you want to add and to what folder.

Image Hosting

11. Alternatively, you can import a file into the project from omne folder to another folder. Right-click on project name and choose Import.

Image Hosting

12. Now that your project has code to run, Right click on project name -> Properties and select Run/Debug settings on the left.

Image Hosting

13. Select the new button and select "Python Run" and then name your configuration whatever you want. On the main tab, browse for the name of the project to run asnd the name of main module

Image Hosting

14. On the Arguments tab is where you enter your input arguments of the scripts and for the interpreter

Image Hosting

In this example I'm testing a script that take a string of temperatures converts them from Fahrenheit to Celsius and then Celsius to Fahrenheit

15 Hit the apply button
16. The select Run -> Run to run the script!

Image Hosting

Reblog this post [with Zemanta]

Monday, September 21, 2009

IronPython


IronPython is an implementation of Python that allows programmers to code Python in Microsoft Visual Studio. Here are links to how to get started:

IronPython
Python + .Net = IronPython
IronPython in Action
Converting C# and VB.NET Code to IronPython
A bit more on IronPython

Saturday, September 19, 2009

Python Tutorial

CPythonImage via Wikipedia

I've been learning Python and here is what I have learned so far:

1. Python is a scripted language

2. In Python, indentation matters because it's how logic blocks are grouped together

3. Python is not strongly typed like C++, C#, and Java

4. Python has the following data types - dynamic

a. Lists - dynamic array can be appended, sorted, and all kinds of goodies; defined by []

b. Tuples - array that can't be changed

c. Dictionaries - ie {'key': 'value', 'a' : 'b'}, d['k'] = 'v‘

d. integer

e. float

f. string

g. Special statements
i pass,del, raise, assert, exec
ii global
iii break
iv continue
v try
5. For loops
for item in sequence:
Statements

else:
statements


– Example:

for item in (1,3,5,7,9,15,2003):
print item

for item in xrange (1, 50):
sum += item


6. While loops
While ... [else]
while a == b:
work ()

else:
finalize ()


7. If statements
If ... [elif ... else]
if a == c:
print “a equals c”

else:
print “a and c are different”


8. Functions and Procedures
def name(arg1, arg2, ...):
"""documentation""" # optional doc string
statements

return # from procedure
return expression # from function

9. Exception
def foo(x):
return 1/x

def bar(x):
try:
print foo(x)
except ZeroDivisionError, message:
print "Can’t divide by zero:", message

bar(0)

10 File Input/output

f = open(filename[, mode[, buffersize])
mode can be "r", "w", "a" (like C stdio); default "r"
append "b" for text translation mode
append "+" for read/write open
buffersize: 0=unbuffered; 1=line-buffered; buffered

methods:
read([nbytes]), readline(), readlines()
write(string), writelines(list)
seek(pos[, how]), tell()
flush(), close()
fileno()

Some links to examples in Python
Simple Sample Python Code
Python Recipes

Reblog this post [with Zemanta]

Python IDEs


I've been looking for a good Integrated Development Environment (IDE) for the Python programming language. Here is what I have found:

Is there a good, free Python IDE for Windows?


PyScripter



IronPython


I'll list my tutorial sources later for Python.

Goodies for Powerpoint


In preparing my powerpoint I'm preparing for next Sunday, I wanted to include a couple of videos and a PDF.

To add YouTube videos to a powerpoint slide the following link is extremely useful.
YouTube Video Wizard (YTV)

How to play media clips in PowerPoint by using Windows Media Player

Insert Real Time Web Sites Into PowerPoint Presentation Slides With LiveWeb

Reblog this post [with Zemanta]

New iPod Touch Nearly 50 Percent Faster Than The Old Model


This article explains why getting an iPod Touch is a good idea. The latest versions are about 50% faster than their predecessors.

New iPod Touch Nearly 50 Percent Faster Than The Old Model

Shared via AddThis

Friday, September 11, 2009

Post Summaries on Blogger With Read More


Here is a great little gadget for Blogger allowing for posts to be summarized on the main page. Why is this worth using? You don't have to change your template in Blogger, just use a tag!

Post Summaries on Blogger With Read More

Wednesday, September 9, 2009

Facebook Features Right From Browser


Here is a toolbar that is intended to give you all your tools in Facebook on your browser toolbar!!!



Source

Saturday, September 5, 2009

Pay Pal Donation Widget- Updated

Well, I managed to add a Donation request for a PS3 on this blog as a test on the information I placed a couple of days ago. Let's see how this goes. Original article can be read here

If you like this blog,help me to buy a PS3!

Wednesday, September 2, 2009

Geek Chart - Your Geek Chart

I found a great tool that generates a pie chart based on your activity over the past 30 days on various websites.




Mmcelhaney's Geek Chart


Geek Chart - Your Geek Chart


Posted using ShareThis

Blogger's Buy me a Beer - Paypal donation

Ever wanted to put a widget on your blog so that people can donate directly into your pay pal account? Here is how you do it. I'm thinking that I will test this one out by making me a "Buy Me a PS3" widget soon for the side bar of this blog. Let's see how this works.

Adding Google sitemap to blogger.com blog account


I just found a great article on how to add a Site Map to
Google for a blog hosted at Blogspot. Read the following link from Wikipedia to understand why you would want do this. And here is a the link for how you would do this: Adding Google sitemap to blogger.com blog account