News for hackers. Stuff that matters.
Re:Google Shuts Down the Google Feed API by luso_brazilian on Friday July 01, 2016 @06:40AM (#12014997)
From [1]:

> What is the Google Feed API?

> With the Feed API, you can download any public Atom, RSS, or Media RSS feed using only JavaScript, so you can mash up feeds with your content and other APIs with just a few lines of JavaScript. This makes it easy to quickly integrate feeds on your website.

"To quickly integrate feeds on your website".

The latest API deprecations and product removals (everywhere, not just at google) are part of what I believe to be a growing trend to take away the ability for the end users to be publishers and to bring them back to be passive consumers (like in the old radio / TV days).

[1] https://developers.google.com/feed/

Re:Google Shuts Down the Google Feed API by TeMPOraL on Friday July 01, 2016 @07:08AM (#12015106)
Reminds me of a rant I read recently, on why Apple killed HyperCard.

> The reason for this is that HyperCard is an echo of a different world. One where the distinction between the “use” and “programming” of a computer has been weakened and awaits near-total erasure. A world where the personal computer is a mind-amplifier, and not merely an expensive video telephone. A world in which Apple’s walled garden aesthetic has no place.

> (...)

> The Apple of Steve Jobs needed HyperCard-like products like the Monsanto Company needs a $100 home genetic-engineering set.

http://www.loper-os.org/?p=568

Personally, I've lost my faith in Google, Apple and other "hip" IT companies long time ago. They feed us toys, instead of tools. Not sure if they do that on purpose or because they think Moloch/Market demands it, but they do so nonetheless.

Re:Google Shuts Down the Google Feed API by donkeyd on Friday July 01, 2016 @07:20AM (#12015160)
Serious question: Why would Apple then create Swift and Swift Playgrounds for iPad in order to get more people to program? Seems like they are giving us some tools.
Re:Google Shuts Down the Google Feed API by TeMPOraL on Friday July 01, 2016 @07:51AM (#12015285)
My current theory: they need more programmers making stuff they can sell for iOS. Popularizing Swift is beneficial to them because it still technically keeps people locked in the Apple ecosystem (a kind of soft lock-in - they've opened the language, but it's still primarily supported by Apple).

Increasing the pool of hirable developers does not otherwise exclude selling computing toys to the general population.

I haven't heard of Swift Playgrounds for iPad before. I've just finished watching its demo - I must say, it looks nice and has some cute solutions for entering code via touch interfaces (like that for-loop dragging thing) that I hope will spread around to other applications. That said, it's an educational app - I can learn some Swift with it. But what can I actually program with it? Can I use it to make my calendar talk with my SMS app? Or with my Bluetooth headset?

That's the thing I complain about when I say that mobile devices are developed as toys, not tools. You're always limited to some functionality provided by the vendor and third party apps. Apps that don't talk to each other, that restrict your choices to few operations their authors thought about. Not to mention apps that increasingly want to suck out and monetize all your data, but that's beside the point. On Android we have Tasker, which is something that I believe should be a default component of Android (albeit it could use some ideas from Swift Playground to make UX better). But it isn't, and the current trends in mobile, web and desktop suggests it'll never be - the end user is forbidden from using the computer, they must only ask their apps for services.

Re:Google Shuts Down the Google Feed API by pjmlp on Friday July 01, 2016 @07:56AM (#12015305)
Yes you can.

Swift Playground has full access to the iOS APIs.

https://developer.apple.com/videos/play/wwdc2016/408/

I applaud Apple for this, as it makes the developer experience closer to the Xerox PARC ideas.

EDIT: typo have => has.

Re:Google Shuts Down the Google Feed API by tfinniga on Friday July 01, 2016 @12:32PM (#12017549)
I think rather than assuming malice, assume either incompetence or different goals.

The saying I've heard is that most people want elevators, but we've been selling them helicopters and blaming them when they crash.

Someone who is largely computer illiterate can download and run apps without any fear of messing things up. There is essentially no malware for iOS. They can always exit the app. They can always delete the app. If the app wants to get the user's location, or email, or documents, or pictures, it has to ask for permission from the user. The app will not mess with things that the user can't figure out - there are easy ways to check (and in some cases limit) space usage, bandwidth usage, and battery usage. Apps are now safe.

This is an amazing achievement!

However, apple has not yet figured out how to safely enable development at the same time. They're getting closer, but they're not there yet. It is obvious that that was not their top goal. There are already lots of general purpose computing devices, and if you want development access to your device, you can get it as a developer.

Re:Google Shuts Down the Google Feed API by hvidgaard on Friday July 01, 2016 @07:38AM (#12015230)
Think of tools as apis to use and integrate existing services in their ecosystem into your own. A programming language is not that.
Re:Google Shuts Down the Google Feed API by chriswarbo on Friday July 01, 2016 @07:41AM (#12015246)
I'm not an iPad user, but hasn't Apple had a long-running policy of forbidding any app which includes an interpreter?

I've seen this being mentioned for years by various programming communities (e.g. Squeak Smalltalk), where the only work around is to buy a Mac, buy OSX, buy the Apple developer tools ("Xcode"?) and pay a $99 subscription fee in order to transfer your own app to your own iPad.

Re:Google Shuts Down the Google Feed API by masklinn on Friday July 01, 2016 @07:55AM (#12015301)
> I'm not an iPad user, but hasn't Apple had a long-running policy of forbidding any app which includes an interpreter?

That policy was rescinded almost 6 years ago: http://daringfireball.net/2010/09/app_store_guidelines and had been instituted only a few months earlier: http://daringfireball.net/2010/04/why_apple_changed_section_...

IIRC there's a policy against running downloaded code (at least automatically downloaded code) in anything but the bundled JS runtime, but bundling an interpreter in an application and running user-provided code is not an issue. You can run a Python app on iOS (e.g. via Kivy) and there are Python interpreters in the appstore.

> buy the Apple developer tools ("Xcode"?)

That's free (with a mac and OSX obviously): https://itunes.apple.com/app/xcode/id497799835

> and pay a $99 subscription fee in order to transfer your own app to your own iPad.

The developer account is only necessary to publish in the store, since Xcode7 and iOS9 you can sideload applications with a regular appleid: http://www.howtogeek.com/230225/how-to-sideload-apps-onto-an...

Re:Google Shuts Down the Google Feed API by gergles on Friday July 01, 2016 @10:41AM (#12016369)
To be clear, you can sideload to a device without paying, but you still can't use all the features. If you want to make an app that uses App Groups, for example, you have to have a paid account. There's no way to even test it without paying your annual Software Development Tax.
Re:Google Shuts Down the Google Feed API by gergles on Friday July 01, 2016 @02:13PM (#12018400)
I don't understand why this has been downvoted so aggressively. I didn't say anything inaccurate. You can't develop an app that uses App Groups without a paid developer program account. You can't even test such an app locally on a simulator without a paid account.
Re:Google Shuts Down the Google Feed API by osxrand on Friday July 01, 2016 @07:53AM (#12015293)
I think your info is a bit outdated (and some incorrect). Buy a mac (or ignore the Eula and run OS X in a VM), install the dev tools (free), install the app on your iPad (free). If you want to publish, there's a fee (per year).
Re:Google Shuts Down the Google Feed API by eru on Friday July 01, 2016 @07:54AM (#12015297)
They don't forbid interpreters. But they forbid downloading code into these interpreters.

Ie running what the user types is OK.

(At least as far as I remember.)

Re:Google Shuts Down the Google Feed API by rdsnsca on Friday July 01, 2016 @09:56AM (#12016021)
Your free to down load code now, many of the interrperters come with build in support for version control now.
Re:Google Shuts Down the Google Feed API by namikaze on Friday July 01, 2016 @07:36AM (#12015227)
This is the downside of free services. They can be easy to get started. But will bite back when they go out. It has been hard to trust Google after they took reader down.
Re:Google Shuts Down the Google Feed API by RamenJunkie_ on Friday July 01, 2016 @09:50AM (#12015971)
Sounds kind of like Yahoo Pipes. Is that still around?
Re:Google Shuts Down the Google Feed API by robflynn on Friday July 01, 2016 @09:52AM (#12015995)
Pipes was shut down in fall of 2015.
Re:Google Shuts Down the Google Feed API by reubano on Friday July 01, 2016 @11:38AM (#12016973)
Re:Google Shuts Down the Google Feed API by Jaruzel on Friday July 01, 2016 @08:43AM (#12015519)
Is that all it does? I'm sure there are other services out there that do exactly this. Does anyone know of any?
Re:Google Shuts Down the Google Feed API by reubano on Friday July 01, 2016 @11:22AM (#12016815)
Check out riko [1]. It was developed to programmatically replicate Yahoo Pipes (without the UI). But as it stands, I'm pretty sure it can do most of what google feeds does.

[1] https://github.com/nerevu/riko

(full disclosure: I'm the lead dev.)

Re:Google Shuts Down the Google Feed API by Turing_Machine on Friday July 01, 2016 @10:46AM (#12016417)
Writing a system that (correctly) interprets the zillion flavors of "RSS" out there and presents them with a common API is non-trivial. An 80% solution is pretty easy, and a 90% solution isn't that hard, but a near-100% solution will take you into some very dark and ugly places.

I don't know of any service that does this as well as the Google Feed API did. If someone else does, please share.

Re:Google Shuts Down the Google Feed API by allendoerfer on Friday July 01, 2016 @10:55AM (#12016516)
Well, start the service, state you use RSS library X and that you will keep it updated and send people over to it for bug reports and contributions.
Re:Google Shuts Down the Google Feed API by Jaruzel on Friday July 01, 2016 @01:01PM (#12017824)
Ah but RSS is a standard, so where's the problem? One method to recode them all surely?

I jest, I'm the author of http://www.weegeeks.com - I know only TOO well, how there is no such thing as a 'standard' RSS feed... (sigh)

So yeah, I get your point.

Re:Google Shuts Down the Google Feed API by julien on Saturday July 02, 2016 @02:53AM (#12021674)
Re:Google Shuts Down the Google Feed API by solipsism on Friday July 01, 2016 @07:39AM (#12015236)
That theory is nonsense. This API is a tiny thing compared to YouTube and Android app store, two services that provide publishing opportunities to millions.
Re:Google Shuts Down the Google Feed API by TeMPOraL on Friday July 01, 2016 @08:11AM (#12015364)
Publishing on third-party platform, with content limited to what those platforms allow, with monetization limited to what those platforms allow, with constant exposure to random nonsense DMCA takedowns.

But I guess the primary culprits of limiting people's ability to be publishers are NATs.

Re:Google Shuts Down the Google Feed API by Godel_unicode on Friday July 01, 2016 @09:03AM (#12015642)
Even crappy home routers can port-fwd, the real barrier here is the ubiquitous (in America at least) prohibition on "hosting a server" on a residential internet connection.
Re:Google Shuts Down the Google Feed API by solipsism on Friday July 01, 2016 @11:52AM (#12017152)
You think everyone serving their own services from their residential networks is the solution? Have you thought through the security implications of that?

I can just imagine the technical support hours I'd have to log when my dad calls me up because his email server is down or his home storage is encrypted by ransomware.

Re:Google Shuts Down the Google Feed API by Godel_unicode on Friday July 01, 2016 @12:24PM (#12017470)
Of course I have, that's why I run pfSense, a separate host for my DMZ, a reverse proxy, an IPS, and don't have DNS pointing to it (marginal benefit, but I don't need it so it's off).

I'm not arguing that people should do this, I'm arguing that the "NAT is a barrier" position espoused by the "evil ISPs are trying to keep us down, man" camp is incorrect.

NAT being necessary because of IPv4 has lead to this really useful low barrier to self-hosting. People who grok security and want to do it can, but it's just arcane enough that lots of people who shouldn't self-host are scared off and go to AWS.

Re:Google Shuts Down the Google Feed API by walterbell on Friday July 01, 2016 @09:38AM (#12015899)
How does that work with WebRTC, e.g. as used in messaging apps?
Re:Google Shuts Down the Google Feed API by Godel_unicode on Friday July 01, 2016 @10:09AM (#12016107)
You've lost me, what's the connection between "people's ability to be publishers" and WebRTC messaging apps?

If you want to publish a WebRTC service, port forwarding will work fine and then you'll be bitten by the no servers restriction.

Re:Google Shuts Down the Google Feed API by walterbell on Friday July 01, 2016 @03:03PM (#12018828)
A messaging app doesn't have to require port forwarding, it can use a central server to broker the connection between endpoints. In that scenario, the "server" is on the internet, not the residential connection, but data comes from the endpoints.