Showing posts with label yahoo. Show all posts
Showing posts with label yahoo. Show all posts

Saturday, July 18, 2015

Yahoo Pipes no more...

So, Yahoo decided to pull the plug on one of their most interesting services: Yahoo Pipes.

So I revisited the service as long as it is still there. Turns out, the only 2 cases where I'm still using Pipes is for aggregating and filtering RSS feeds.

So I will look into one of the alternatives now, as listed here for example. 

Thursday, November 08, 2012

ifttt to the rescue

Since my feed from flickr to Facebook has been broken for a while now (and I re-authorized flickr on facebook and v.v.) I decided to work around this with ifttt.

No, I'm not out of my breath, I'm just using if this then that

A simple but very convenient service, with rules of the nature
If (this) happens then trigger (that)
with predefined "channels" for this and that. E.g. flickr and Facebook.

So I created a rule
which takes every new picture I upload to flickr (with the tag #FB) and posts the URL to facebook
Bingo, it works again, and I can now control what is being posted to Facebook by adding or omitting the #FB tag.
Cool

You can slightly modify those rules, but you are bound to what ifttt offers. Pretty much actually.

Sort of competes with Yahoo Pipes in a way (if they were really still alive). Bit more powerful in some aspect, less powerful in others.

Saturday, October 27, 2012

Maps mash up: Underground vs post office

The other day, when I had to post an important letter, I was wondering if there is any post office close to an underground station on my commute, and I could not come up with one. So - me being me after all - I decided to do some in-depth analysis on this. And learn Python along the way.

1.  The Idea
Get all the underground stations and post offices as geo coordinates, and find those closest to each other.


2. Getting the underground data
Easy, the geo data of all the public transport stations (or ony the underground stations) can be found easily, since the are part of the open government data, shared by the municipality of Vienna.

3. Going postal
Getting the post office data is rather challenging, because they are seemingly not considered to be public enough.

Still, this can be done; so first get a list of all the post offices in Vienna from post.at. Best with a little python script (my first!!) to parse it.
Get all those with a ZIP code starting with '1' into a CSV file including their full street address.

Then - thanks for the hint, martin - use the Yahoo! PlaceFinder API to convert those postal addresses to geo coordinates. Get an Appid for Yahoo!, if you don't yet have one.

Important trick here: Don't place everything into the q=... query string, but separate it into postal, city, street, etc. Like this
u = yahooURL+"?appid="+yahooAppidy
u += "&postal="+po.zip
u += "&city="+po.city
u += "&street="+quote_plus(unicodedata.normalize('NFKD', po.addr).encode('ascii','ignore'))
u += "&country=Austria"
From Y! we get some fine XML back and use XPath to access the geo coordinates

doc = ElementTree(file=urlopen(u))
lat = doc.findall('.//Result/latitude')[0].text
lon = doc.findall('.//Result/longitude')[0].text
So now we have the geo coordinates of all the underground stations and all the post offices.

4. Visualize & Verify the data
Let's again use Python to create a simple KML file to load the date acquired so far into Google Maps (or Google Earth). There's a Simple KML python library to do just that. Here's are the maps (post offices, underground stations)

5. Do the Geo Math
This is the tricky part. I decided to put all the data into a (relational) database, and since I have DB2 installed on my system, it was of course DB2. I did not use any geo/spatial extension, but just put the latitude and longitude into proper types. Then I created a user defined function (UDF) to do the geo math. Actually, for this purpose this could have been simpler, since one can disregard all spherical aspects and assume the surface (of the Earth in Vienna) to be flat.
With my newly created haversine function the query then looks like this:

select haversine(p.lat,p.lon, u.lat,u.lon) as distance, p.plz,p.street,p.lat,p.lon,u.station,u.lat,u.lon
from ubahn.post p, ubahn.stationen u
where haversine(p.lat,p.lon, u.lat,u.lon) <1
order by 1 asc
fetch first 20 rows only

I'm only interested in post offices that are maximum 1km (distance<1) from an underground, and I only want the closest 20 of those (first 20 rows only)

6. Create a map
Export those data into a CSV file, and run a pyhton script that creates the KML file for this, with the post office being a point, the distance being a line, and the underground again a point. Map can be found here.

Turns out, there are more pairs than I actually thought.

Monday, March 08, 2010

Flickr language

And why exactly is it, that Flickr fall of a sudden talks German to me?
I did not change any preferences, still have en_xx way before de_xx in my browser language settings, ...

But starting last weekend, Flickr is German.
And no option[1] to turn it off.

What the f%&/( ??
--
[1] none that I could find, anyway.

Monday, March 01, 2010

Google Acquires Online Image-Editing Tool Picnik


Odd .... Google Acquires Online Image-Editing Tool Picnik (see also here)
I know Picnik mainly from / for Flickr, which now is a Yahoo company...

So, did Google just grab Picnik before Yahoo had chance?

Then again, it was also available for Picasa et al... still surprised me.

Thursday, September 24, 2009

Yahoo pushing its brand?

Seems that Yahoo noticed that they own flickr...
Well, at least they changed the logo :-)

Monday, February 11, 2008

Yahoo Officially Rejects Microsoft Offer

Yahoo Officially Rejects Microsoft Offer:
"As expected, Yahoo has officially rejected Microsoft’s $44.6 billion bid to acquire the company. In a brief press release issued ..."
End of act #1.
Brief intermission.

Let's see how this will continue.

Friday, February 01, 2008

Please don't

Microsoft bids for Yahoo | Webware : Cool Web apps for everyone:
"Microsoft went public Friday with a $44.6 billion cash-and-stock bid to acquire Yahoo.

In its response, Yahoo called the Microsoft bid 'unsolicited' but did not reject it."

Now that I finally became a flickr, del.icio.us and upcoming addict, ... PLEASE DONT.

Saturday, January 19, 2008

Yahoo to start supporting OpenID

Yahoo! backs! OpenID! | The Register:
"Yahoo! has pledged to support OpenID from the end of the month, giving a massive boost for the online identity framework that aims to cut password headaches."
Smart move for Yahoo.
Good move for everyone.