Posterous
Greg is using Posterous to post everything online. Shouldn't you?
Madmen_icon1_thumb
 
coding for food
Greg Avola


   

Search

March 4th, 7:59am 0 comments

PHP Bandsintown Library Release

logo_bit.png

Hot of the heals of the application launch of tourmappr, I've decided to release the custom PHP Library that I built to connect to Bandsintown's API services. The PHP library is very straight forward - however is currently in alpha - so it might have some bugs. I've tested with their 4 main API functions - Event Search, Artist Search, Artist Info, and Event Recommendations - and they work flawless.


So if you want to build your own awesome application with Bandsintown - head over to the project home - and download it now! All the documentation is listed in the Wiki pages. If you run into any issues - I ask that you put them in the issue tracker within the project home.

If you have any questions, comments or suggestions - let me know and I'll be quick to respond!

Loading mentions Retweet
Posted 26 minutes ago

0 Comments

February 23rd, 12:58pm 0 comments

Launch of @tourmappr!

So it's been a while since I've posted - but I've got some good news on a launch of a new product from Something More Human. If you didn't know - I was in LA this weekend, working with Tim on a new web application, called tourmappr

What is tourmappr?

Basically it allows you to find out where your favorite band or artist are, and where they are headed. It also displays some cool stats and interesting facts about the tour, and in addition, gives you the option to buy tickets for a select show. You can also share your favorite artist's tour map via Twitter, Facebook or Digg using our nice URL links such as http://tourmappr.com/Jay_Z.

All concert data is provided graciously by the good people over Bands In Town using their API. If you haven't checked them out - I suggest you do - as they have the best concert information on your favorite artists.

Go ahead and check out at http://tourmappr.com and let me know what your think!

Be sure to follow @tourmappr for updates on twitter at http://twitter.com/tourmappr

- Greg
Loading mentions Retweet
Posted 8 days ago

0 Comments

January 27th, 5:35pm 0 comments

iPadless

So, unless you been living under a rock, you know that Apple released their newest "gadget", the iPad. Without going into to much detail that you get from going over their website - I'm just going to go into my thoughts about this release. To be completely honest, I wasn't excited about the "Apple Tablet". I was more interested to see if anything would be released in the iPhone department. Turns out - I got what I wished for - but in the WRONG way. To be blunt, the iPad is a just a LARGER version of the iPod Touch / iPhone. There is no difference. Sure you can tell me that they have eBooks, better performance and blah blah blah - however when it comes down to it - it's just a larger, faster version of the iPhone/ iPod Touch. Here is why I'm little frustrated with this release.

1. NO BACKGROUND APPLICATIONS?

OK - Apple, your trying to market this for people as a middle gap between the iPhone and the Macbook. However - its still running the iPhone OS - which means you can only run one application at a time. Imagine buying a Netbook for $500 and having them you can only use one application at time. I can understand when this happens on the iPhone, because after all, its a PHONE. This is a more than phone - but it still has the restrictions like the iPhone? The hardware can support it - they just didn't add it in - very disappointing. It's a game changer.

2. BUT I HAVE A iPHONE AND A MACBOOK....
Image from humedini on Flickr

Then you have no need for it. Seriously - if you need a bigger screen - use your Macbook. On the go? Use your iPhone. The iPad would just collect dust - no need for it. 

3. FLASH
If you claim that device is going to be used by the casual user, on their bed or couch, and your browsing experience is the best - then you NEED flash. I can understand there is no flash on the iPhone - because its a phone - but according to you Apple - this is more than a phone. It's going to create GAPPING holes in webpages. If your browsing a blog and they have embedded content from an online video, your out of luck. My guess is that this has to do with battery life - but it's pretty embarrassing when you see a "plugin" error show up when your doing the demo at the Apple Event on NYT.  

Of course some of these appear to software fixes - which might come in play later on with new updates - but there is not excuse to release a good solid baseline product.

So, will I be ordering this device? No. I can spend a lot less for a coffee table book, which is where the iPad would sit. C'mon Apple - make us happy and show us the new iPhone, or perhaps iPhone 4.0?
Loading mentions Retweet
Posted 1 month ago

0 Comments

January 25th, 7:00am 0 comments

Love What You Do

I've been watching a lot of TV lately, because of the football playoffs, and time and time again, I've seen these Blackberry commercials, featuring random people dancing and signing - with the catchy song by the Beatles "Love is all you You Need". If you haven't seen it - here's an example:

My issue, is that all of these commercials HAVE NOTHING to do with the BlackBerry phone. Don't get me wrong, I'm pretty biased toward the Blackberry (being a heavy iPhone user), but at least their commercials actually spotlight the phone itself. If I was a regular user and didn't know what the Blackberry symbol was, I might not even associate these ads with them. Sure, they are catchy, but they need to drill down a point that actually relates to the phone. In this example, you have a new band that needs to break through with a new song. They finally do it in the end of the ad, but what does it have to do with Blackberry? Does anyone else view this commercial from these view-point or is it just me?

Loading mentions Retweet
Posted 1 month ago

0 Comments

December 31st, 9:44am 0 comments

Introducing: shrtcuts.org

There was a time when you wanted to figure out how to something better. Usually that involved you searching through numerous Google sites to find out the shortcut to do a certain activity on your keyboard. It took time and when you finally found it - it didn't work. Introducing shrtcuts.org - a nice easy way to learn new and helpful shortcuts that will help you do things better. If you have a shortcut that you want us to write about - send us a message @shrtcuts. Enjoy!

Loading mentions Retweet
Posted 2 months ago

0 Comments

December 24th, 3:36pm 0 comments

Early Christmas Present - Javascript Relative Time

 

So today - instead of shopping and getting in the holiday sprit - I coded. Why? Well because its fun. I ran into an issue that I though I would share. Currently - I'm working a social networking site than run their own home grown Twitter Application. I wanted it to be in a real time - and adjust the timestamps as it performs an AJAX call to see if there any new messages.

I searched near and far for the best javascript relative time - but I couldn't find the best one that I liked. Finally - found one done by Tutorialize, that they used for a Twitter Ticker. I changed it a bit to be able to display the correct date in the format that i wanted and edited the number of days allowed to be displayed before it reverts back to the regular timestamp.

So behold - a early christmas present from Santa "javascript" Claus - I hope that you find good use for it.  It's a bit scrappy - but I would like to hear your comments and feedback.

Merry Christmas!



// usage


var rel = relativeTime("Thu, 24 Dec 2009 09:45:33 -0800");


// returns


"One Hour Ago"


// code


function relativeTime(pastTime)


{    
    var origStamp = Date.parse(pastTime);
    var cDate = new Date();
    var currentStamp = cDate.getTime();

    var difference = parseInt((currentStamp - origStamp)/1000);

    if(difference < 0) return false;

    if(difference <= 5)                return "Just now";
    if(difference <= 20)            return "Just Seconds ago";
    if(difference <= 60)            return "A minute ago";
    if(difference < 3600)            return parseInt(difference/60)+" minutes ago";
    if(difference <= 1.5*3600)         return "One hour ago";
    if(difference < 23.5*3600)        return Math.round(difference/3600)+" hours ago";
    if(difference < 1.5*24*3600)    return "One day ago";

    var days = difference / (1.5*24*3600);

    if (days <= 10)
    {
        return Math.round(days) +  " days ago";
    }
    else
    {
        var dateArr = pastTime.split(' ');
        
        
        var t = dateArr[4].split(":");
        var time_format = "";
        if (parseInt(t[0]) > 12)
        {
            var a =  parseInt(t) - 12
            time_format = dateArr[2] + " " + dateArr[1] + " " + a + ":" + t[1] + " PM";
        }
        else
        {
            var first = "";
            if (t[0].substring(0, 1) == "0")
            {
                first = t[0].substring(1, 2);
            }
            else
            {
                first = t[0];
            }
            
            time_format = dateArr[2] + " " + dateArr[1] + " " + first + ":" + t[1] + " AM";
        }

        return time_format;
    }

}


Loading mentions Retweet
Posted 2 months ago

0 Comments

December 20th, 11:58am 0 comments

Launching of greg.in

So the past couple of days - I've been pretty bored - so I decided to create a stupid website. Something that was so dumb - that no one would use it. Well - today, I launch that service - greg.in. It's not really a service per say - but more like fun productivity decreases.

The site is called greg.in - and it basically puts my picture into anything you can imagine.

Like i said - its pretty simple and stupid - but it hella fun making it. Go ahead and try it and search your favorite topic and see what happens!

I hope you enjoy. Feel free to leave a comment or catch me on twitter, @gregavola, and leave some feedback.

- Greg

Loading mentions Retweet
Posted 2 months ago

0 Comments

August 24th, 7:09pm 0 comments

Loading mentions Retweet
Posted 6 months ago

0 Comments

Loading mentions Retweet
Posted 6 months ago

0 Comments

August 6th, 3:01pm 0 comments

99

Loading mentions Retweet
Posted 6 months ago

0 Comments