Maximum number of characters in a Windows path is 260 characters

A Java project compilation went berserk and I ended up with a directory structure of more than 260 characters. I stopped the mad process but it already created more than 50 successive duo of path “build/classes” … Now I had to delete this structure. And, to my surprise, it was impossible. When you try to just press the “Delete” key with the root directory selected in the File Explorer, you get a Path Too Long exception. The reason is that the maximum length of a path according to the Windows API (MAX_PATH variable) is defined as 260 characters. I tried some other methods but all of them failed: ...

February 28, 2012 · 2 min · jepoirrier

Google+ API started

Google+ (G+) is a social networking and identity service operated by Google. It started a few months ago like a closed service from where you can’t get out any data and where the only possible interaction (read/write/play) is only possible via the official interfaces (i.e. the web and android clients). Google promised to release a public API and it partly did so tonight, here. As they stated, “this initial API release is focused on public data only — it lets you read information that people have shared publicly on Google+” (emphasis is mine). So you can already take most of your data out of G+ (note that it was already possible to download your G+ stream with Takeout from the Google Data Liberation Front). As usual, it’s a RESTful API with OAuth authorization. It comes with its own rules and terms (it could be interesting to add to GooDiff). The next step would be to be able to directly write something on Google+. ...

September 15, 2011 · 1 min · jepoirrier

OpenSocial, a step further towards a "society of social networks"

Since Thursday, Google Code is hosting the OpenSocial project, a group of APIs allowing the development of common software for a certain number of “social networking” websites (e.g. LinkedIn, MySpace, Ning, Orkut, …). Before Thursday, every programmer wanting to develop a software for social networks had to learn an API, how to write code and sometimes a new language for each of these networks (when these ones exposed a public API!). Now, OpenSocial gives access to the most common functions of all the participating networks. Currently, the API gives access to: ...

November 4, 2007 · 2 min · jepoirrier