Profile

Cover photo
Guy McArthur
Works at University of Arizona
Attended University of Arizona
Lives in Tucson, AZ
90 followers|192,031 views
AboutPostsPhotosYouTubeReviews

Stream

Guy McArthur

Shared publicly  - 
 
Dystopian Dreamland... progressive sci-fi rock by Porcupine Tree.
1
Add a comment...
 
I've been using the HTML framework Bootstrap (originally from Twitter) in a new web app and to update some pages (e.g. http://pirlwww.lpl.arizona.edu/~guym/hiview.html).  I like the default clean look (many 3rd party themes are available) and component ["widget"] set that meets most of my needs. I like that you can do most everything via markup or via API (JavaScript). I like that you can do a responsive layout to handle all device screen sizes. I like that it uses jQuery because I already always use jQuery for any sort of DOM work.
Updates in 1.5. Handle https URLs; Scripting engine (includes constants from PDS labels); Plugin to open PDS (ie non-JP2) data files; Distance measuring tool; Restore original contrast option; "Copy Coordinates" to clipboard; Command-line option to show supported formats ( -F ); Updated to Qt ...
1
Add a comment...

Guy McArthur

Shared publicly  - 
1
Guy McArthur's profile photo
 
Awesome sauce?
Add a comment...

Guy McArthur

Shared publicly  - 
 
I think I have a formula that can tell me where the ideal place to live is...

it consists of six additive factors:

A = 250 ÷ miles to the 4 Corners

because the wealth of recreational areas in the AZ, CO, NM, UT region is so great, it has to be close to there. Places closer than 250 miles (a half day drive) will receive a value greater than 1.

B = months where 60 < avg Temp < 80 ÷ 12

because I like it kinda warm, but not too warm. This term will be at most 1.

C = avg number of sunny days per year ÷ 365.25

well this is a closely related weather term, but weather is a very important factor. This term also will be at most 1.

D = population in millions, up to 1 million. This is a factor for jobs of course, but also cultural events and things to do and, studies show, longevity (quick access to medical care for example). Capped at 1 million so something like New York City doesn't throw off the equation; at most 1.

E = elevation in miles. Tucson would be ¼. This is a proxy for topography, because topographically interesting places will have better hikes, bike rides, etc. I suppose it could be thrown off by high desert places.

score = (A + B + C + D + E) ÷ 6

I don't know that any place would score higher than 1.0, but it would be interesting to find out. Now I just need to locate data to plug into it....
1
Robert Hunter's profile photoGuy McArthur's profile photo
5 comments
 
Right, I don't think there's an actual town there, but stuff arbitrarily close would trump all the other factors....
Add a comment...

Guy McArthur

Shared publicly  - 
 
Ventana Canyon....
1
Add a comment...

Guy McArthur

Shared publicly  - 
 
I hope they can get Jason Statham to play Sir Isaac ...
1
Add a comment...
In his circles
68 people
Have him in circles
90 people
Aaron Schultz's profile photo
Abhinav Badola's profile photo
Loretta McKibben's profile photo
Matt Chojnacki's profile photo
nasarin kamsiri's profile photo
George Martian's profile photo
Alina Aloshyna's profile photo
mark filby's profile photo
Afzaal Manzoor's profile photo

Guy McArthur

Shared publicly  - 
 
I had a set of data to investigate, database output as tab-delimited.
I decided to get a little groovier, and make a re-usable method that could create either a time series or regular scatter plot, for multiple data series, creating the interactive app from which the screenshot is saved. I also wanted it to default to a larger size, so used the Java API to get the screen size.

That file is available here.
https://gist.github.com/guymac/8813728

The code that calls it, specific to this set of data, is pretty simple:

import java.text.SimpleDateFormat

fmt = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss")

@Grab(group='jfree', module='jcommon', version='1.0.16')
@Grab(group='jfree', module='jfreechart', version='1.0.13')

import org.jfree.data.time.TimeSeries
import org.jfree.data.time.TimeSeriesCollection
import org.jfree.data.time.Second

ts = new TimeSeries("values")
dataset = new TimeSeriesCollection()
dataset.addSeries(ts)

System.in.eachLine
{
    row = it.split "\t+"
    if (row[1] != "NULL") {
       ts.add new Second(fmt.parse(row[0])), row[1] as double
    }
}

import charts
charts.chartWidget(dataset)
1
Guy McArthur's profile photo
 
To run it, you would just save both groovy files to the same folder and run 'groovy ' + the file listed here; the @Grab notation will fetch the 3rd party dependencies (open source) and cache them for you.
Add a comment...

Guy McArthur

Shared publicly  - 
 
Correct me if wrong: there is no #android   or #Google equivalent to #iTunesU   or the #iTunes podcast directory for browsing and syncing free educational content.
1
Elian Gonzales's profile photoNicolas Ibarra's profile photo
3 comments
 
Think free email services...
Add a comment...

Guy McArthur

Shared publicly  - 
 
Isaac Asimov would read a newspaper and then fold it back up so perfectly that it looked brand new (a skill honed working in his parent's Brooklyn candy store/mart). He also became known at his publisher's offices (in Mad Men era Manhattan) as "the man with a thousand hands" for his habit of pinching secretaries' bottoms). He would have been 93 next week.
1
Add a comment...

Guy McArthur

Shared publicly  - 
 
Comparing a folder of files versus those in a checked-out copy:

find . -name '*.ext' -exec diff -I ID -I Revision -qw {} "/Folder/{}" \;
1
Add a comment...

Guy McArthur

Shared publicly  - 
 
Out at Saguaro East.
1
Guy McArthur's profile photo
 
First pic is a rattler near where one nipped at my heels the last time I was out on this trail. When I was just a step away from leaving that section of trail, I inadvertently stepped right next to this one (it rattled but didn't strike).
Add a comment...

Guy McArthur

Shared publicly  - 
 
southwestern coral bean, now flowering at ~4500ft on Mt Lemmon
1
Add a comment...
People
In his circles
68 people
Have him in circles
90 people
Aaron Schultz's profile photo
Abhinav Badola's profile photo
Loretta McKibben's profile photo
Matt Chojnacki's profile photo
nasarin kamsiri's profile photo
George Martian's profile photo
Alina Aloshyna's profile photo
mark filby's profile photo
Afzaal Manzoor's profile photo
Education
  • University of Arizona
Basic Information
Gender
Male
Story
Tagline
I enjoy 2pi.
Introduction
I love to party and am always ready to party (and by party, I mean go running and then take a nap).
Work
Occupation
Programmer
Skills
Full-stack web applications developer
Employment
  • University of Arizona
    Programmer, present
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Tucson, AZ
Previously
Gig Harbor, WA
Very friendly and helpful staff. Excellent group training programs, you really get your money's worth!
Public - 11 months ago
reviewed 11 months ago
2 reviews
Map
Map
Map