<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: jplazes downloads are back</title>
	<link>http://downside.ch/blog/?p=10</link>
	<description>[the downside]</description>
	<pubDate>Tue, 07 Sep 2010 03:49:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.3</generator>

	<item>
		<title>by: Admin</title>
		<link>http://downside.ch/blog/?p=10#comment-1515</link>
		<pubDate>Sun, 14 Jan 2007 20:10:51 +0000</pubDate>
		<guid>http://downside.ch/blog/?p=10#comment-1515</guid>
					<description>do you have a full stacktrace ?
as mentioned on the jplazes part of my blog the plazer API is doing stuff which is not possible in pure java (getting the gateway and then get it's MAC address). On Windows and OS X this is done by using command line stuff (ie. &quot;ipconfig&quot; and &quot;arp&quot; on windows and &quot;netstat&quot; on OS X) and then parsing the returned text. Pretty ugly stuff i have to admit (if you want to add a C implentation i can call with JNI....). So it is very well possible that this does not work on all Windows versions... 
that said...from post to the mailinglist it seems that you do not have a plazer API key ? this is required and the PlazerAPIDemo will not work without it.

I will look into giving a more descriptive exception text as soon as i create a new version (planned as soon as plazes.com publish their new API which is promised but .... )

pascal</description>
		<content:encoded><![CDATA[<p>do you have a full stacktrace ?<br />
as mentioned on the jplazes part of my blog the plazer API is doing stuff which is not possible in pure java (getting the gateway and then get it&#8217;s MAC address). On Windows and OS X this is done by using command line stuff (ie. &#8220;ipconfig&#8221; and &#8220;arp&#8221; on windows and &#8220;netstat&#8221; on OS X) and then parsing the returned text. Pretty ugly stuff i have to admit (if you want to add a C implentation i can call with JNI&#8230;.). So it is very well possible that this does not work on all Windows versions&#8230;<br />
that said&#8230;from post to the mailinglist it seems that you do not have a plazer API key ? this is required and the PlazerAPIDemo will not work without it.</p>
<p>I will look into giving a more descriptive exception text as soon as i create a new version (planned as soon as plazes.com publish their new API which is promised but &#8230;. )</p>
<p>pascal
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Geonick</title>
		<link>http://downside.ch/blog/?p=10#comment-1484</link>
		<pubDate>Sun, 14 Jan 2007 00:29:38 +0000</pubDate>
		<guid>http://downside.ch/blog/?p=10#comment-1484</guid>
					<description>Thanks for the reply. Now I get errors running PlazerApiDemo... After &quot;Login in...&quot; there occurs an error saying:

Logging in...
Exception in thread &quot;main&quot; ch.downside.jplazes.JPlazesException: Could not execute request: 'Failure writing request' (code: 0) commandName: launcher.login with parameters [yourname, yourlogin, youraccesskey, null] at ch.downside.jplazes.command.AbstractCommand.execute(Unknown Source)

=&amp;#62; What could be wrong with the code (or do I miss the OS-specific helper file)?

This is a running example:
% java -cp .;jplazes-0.20.jar;lib\commons-logging-1.1.jar;lib\xmlrpc-2.0.1.jar;lib\commons-codec-1.3.jar;lib\dom4j-1.6.1.jarc h.downside.jplazes.examples.simple.PlazerApiDemo

-- Stefan</description>
		<content:encoded><![CDATA[<p>Thanks for the reply. Now I get errors running PlazerApiDemo&#8230; After &#8220;Login in&#8230;&#8221; there occurs an error saying:</p>
<p>Logging in&#8230;<br />
Exception in thread &#8220;main&#8221; ch.downside.jplazes.JPlazesException: Could not execute request: &#8216;Failure writing request&#8217; (code: 0) commandName: launcher.login with parameters [yourname, yourlogin, youraccesskey, null] at ch.downside.jplazes.command.AbstractCommand.execute(Unknown Source)</p>
<p>=&gt; What could be wrong with the code (or do I miss the OS-specific helper file)?</p>
<p>This is a running example:<br />
% java -cp .;jplazes-0.20.jar;lib\commons-logging-1.1.jar;lib\xmlrpc-2.0.1.jar;lib\commons-codec-1.3.jar;lib\dom4j-1.6.1.jarc h.downside.jplazes.examples.simple.PlazerApiDemo</p>
<p>&#8211; Stefan
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Admin</title>
		<link>http://downside.ch/blog/?p=10#comment-1446</link>
		<pubDate>Fri, 12 Jan 2007 08:39:43 +0000</pubDate>
		<guid>http://downside.ch/blog/?p=10#comment-1446</guid>
					<description>yes...i am working on mac (at least for my projects...at work i often use windows machines... but here nobody is interested at plazes stuff :-( ).
anyway: thanks for the run file.

pascal</description>
		<content:encoded><![CDATA[<p>yes&#8230;i am working on mac (at least for my projects&#8230;at work i often use windows machines&#8230; but here nobody is interested at plazes stuff <img src='http://downside.ch/blog/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  ).<br />
anyway: thanks for the run file.</p>
<p>pascal
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Geonick</title>
		<link>http://downside.ch/blog/?p=10#comment-1275</link>
		<pubDate>Sun, 07 Jan 2007 19:05:11 +0000</pubDate>
		<guid>http://downside.ch/blog/?p=10#comment-1275</guid>
					<description>This is a nice helper application. Seems you are developing on Mac? Whatever it is, every developer needs to make a run command: Below there is one for Windows.

Paste this snipped to a file named like run.bat:

echo PlazesApiDemo - Demo of jplazes 
echo jplazes is a java API for plazes.com (http://downside.ch/blog/?page_id=9)
echo Plazes adds physical presence to the web and connects you to people and places nearby.
echo.
rem Batchfile for Windows written by Geonick.

echo Starting PlazesApiDemo... 
echo (If you get an error like 'Invalid developer key.' (code: 804)
echo check or create file jplazes.properties. See jplazes homepage).
echo.

java -cp .;jplazes-0.20.jar;lib\commons-logging-1.1.jar;lib\xmlrpc-2.0.1.jar;lib\commons-codec-1.3.jar;lib\dom4j-1.6.1.jar ch.downside.jplazes.examples.simple.PlazesApiDemo

pause
echo on</description>
		<content:encoded><![CDATA[<p>This is a nice helper application. Seems you are developing on Mac? Whatever it is, every developer needs to make a run command: Below there is one for Windows.</p>
<p>Paste this snipped to a file named like run.bat:</p>
<p>echo PlazesApiDemo - Demo of jplazes<br />
echo jplazes is a java API for plazes.com (http://downside.ch/blog/?page_id=9)<br />
echo Plazes adds physical presence to the web and connects you to people and places nearby.<br />
echo.<br />
rem Batchfile for Windows written by Geonick.</p>
<p>echo Starting PlazesApiDemo&#8230;<br />
echo (If you get an error like &#8216;Invalid developer key.&#8217; (code: 804)<br />
echo check or create file jplazes.properties. See jplazes homepage).<br />
echo.</p>
<p>java -cp .;jplazes-0.20.jar;lib\commons-logging-1.1.jar;lib\xmlrpc-2.0.1.jar;lib\commons-codec-1.3.jar;lib\dom4j-1.6.1.jar ch.downside.jplazes.examples.simple.PlazesApiDemo</p>
<p>pause<br />
echo on
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Admin</title>
		<link>http://downside.ch/blog/?p=10#comment-176</link>
		<pubDate>Wed, 25 Oct 2006 08:06:11 +0000</pubDate>
		<guid>http://downside.ch/blog/?p=10#comment-176</guid>
					<description>hey Fabien

I take cheques and cash :-)
No problem. It was an interesting experience and I learned some important things (public API design.... better think twice and harder and longer). I am still waiting for an update to the API but unfortunately plazer.com is quite slow with enhancements/improvements (or they banned me from the mailinglist :-) ).

pascal</description>
		<content:encoded><![CDATA[<p>hey Fabien</p>
<p>I take cheques and cash <img src='http://downside.ch/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
No problem. It was an interesting experience and I learned some important things (public API design&#8230;. better think twice and harder and longer). I am still waiting for an update to the API but unfortunately plazer.com is quite slow with enhancements/improvements (or they banned me from the mailinglist <img src='http://downside.ch/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ).</p>
<p>pascal
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: fabien</title>
		<link>http://downside.ch/blog/?p=10#comment-128</link>
		<pubDate>Tue, 17 Oct 2006 00:05:48 +0000</pubDate>
		<guid>http://downside.ch/blog/?p=10#comment-128</guid>
					<description>Works like a charm! Thanks a lot for this code that saved me a few hours of undesired coding</description>
		<content:encoded><![CDATA[<p>Works like a charm! Thanks a lot for this code that saved me a few hours of undesired coding
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Admin</title>
		<link>http://downside.ch/blog/?p=10#comment-15</link>
		<pubDate>Mon, 18 Sep 2006 09:22:56 +0000</pubDate>
		<guid>http://downside.ch/blog/?p=10#comment-15</guid>
					<description>yes, at least the last time i checked everything worked fine (2 weeks ago) :-)
the whereami API is not supported anymore by plazes.com, i think. The plazer API is not fully implemented for all platforms (since it requires native stuff to retrieve MAC address, Gateway IP and so on. Currently it is implemented using shell scripts and tested on OSX and Windows XP. But this could easely break. Writing native code anyone ?)


pascal</description>
		<content:encoded><![CDATA[<p>yes, at least the last time i checked everything worked fine (2 weeks ago) <img src='http://downside.ch/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
the whereami API is not supported anymore by plazes.com, i think. The plazer API is not fully implemented for all platforms (since it requires native stuff to retrieve MAC address, Gateway IP and so on. Currently it is implemented using shell scripts and tested on OSX and Windows XP. But this could easely break. Writing native code anyone ?)</p>
<p>pascal
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: andyp</title>
		<link>http://downside.ch/blog/?p=10#comment-7</link>
		<pubDate>Thu, 14 Sep 2006 20:07:00 +0000</pubDate>
		<guid>http://downside.ch/blog/?p=10#comment-7</guid>
					<description>Is jplazes up-to-date with the current version of the Plazes / Plazer / whereami APIs?</description>
		<content:encoded><![CDATA[<p>Is jplazes up-to-date with the current version of the Plazes / Plazer / whereami APIs?
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
