<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Silveira Neto</title>
	<atom:link href="http://silveiraneto.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://silveiraneto.net</link>
	<description>JavaFX, Game Development, Pixel Art, etc.</description>
	<lastBuildDate>Tue, 16 Jun 2009 09:35:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>pt-br</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Going to Jazoon</title>
		<link>http://silveiraneto.net/2009/06/16/going-to-jazoon/</link>
		<comments>http://silveiraneto.net/2009/06/16/going-to-jazoon/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 09:35:41 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[Amsterdam]]></category>
		<category><![CDATA[Backpacker]]></category>
		<category><![CDATA[Brussels]]></category>
		<category><![CDATA[Europe]]></category>
		<category><![CDATA[Jazoon]]></category>
		<category><![CDATA[Lisbon]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=2656</guid>
		<description><![CDATA[
Today I&#8217;m traveling to Zürich to join Jazoon to talk JavaFX game development. Before the event I&#8217;ll try to visit Bern and after the event I&#8217;m going to Lison, so Brussels and then Amsterdam. That&#8217;s the plan!  
During the next days I&#8217;ll try blog from there. Bye.
]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="alignnone size-full wp-image-2655" title="mochilas" src="http://silveiraneto.net/wp-content/uploads/2009/06/mochilas.png" alt="mochilas" width="200" height="185" /></p>
<p>Today I&#8217;m traveling to Zürich to join <a href="http://jazoon.com">Jazoon</a> to talk JavaFX game development. Before the event I&#8217;ll try to visit Bern and after the event I&#8217;m going to Lison, so Brussels and then Amsterdam. That&#8217;s the plan! <img src='http://silveiraneto.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>During the next days I&#8217;ll try blog from there. Bye.</p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2009/06/16/going-to-jazoon/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>JavaFX on Linux!</title>
		<link>http://silveiraneto.net/2009/06/02/javafx-on-linux/</link>
		<comments>http://silveiraneto.net/2009/06/02/javafx-on-linux/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 02:10:11 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[JavaFX]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MacOS X]]></category>
		<category><![CDATA[Opensolaris]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=2649</guid>
		<description><![CDATA[Yeah. No more workarounds. Download now JavaFX 1.2 for Windows, MacOS X, Linux and OpenSolaris!

\o/
There&#8217;s also a lots of improvements in the language and the API. For details on that read this document. Unfortunately, as a side effect of those great changes some JavaFX source codes posted here are now deprecated and need a few [...]]]></description>
			<content:encoded><![CDATA[<p>Yeah. No more workarounds. <a title="Get JavaFX" href="http://javafx.com/downloads">Download now JavaFX 1.2 for Windows, MacOS X, Linux and OpenSolaris!</a></p>
<p><center><img title="bob sponja dancinha" src="http://silveiraneto.net/wp-content/uploads/2009/06/bob_sponja_dancinha.gif" alt="bob sponja dancinha" width="275" height="200" /></center></p>
<p>\o/</p>
<p>There&#8217;s also a lots of improvements in the language and the API. For details on that <a href="http://www.javafx.com/docs/articles/javafx1-2.jsp">read this document</a>. Unfortunately, as a side effect of those great changes some JavaFX source codes posted here are now deprecated and need a few changes to compile again but the online preview of them as applet or Java Web Start will continue to work well.</p>
<p>Let&#8217;s code.</p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2009/06/02/javafx-on-linux/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>FootprintFX</title>
		<link>http://silveiraneto.net/2009/06/02/footprintfx/</link>
		<comments>http://silveiraneto.net/2009/06/02/footprintfx/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 04:53:28 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[certificates]]></category>
		<category><![CDATA[Felipe Gaúcho]]></category>
		<category><![CDATA[Footprint]]></category>
		<category><![CDATA[JavaFX]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[web services]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=2646</guid>
		<description><![CDATA[
Footprint is a publisher and distributor of certificates of participation in conferences &#8211; signed PDF documents that prove you attended a conference or a course.
This is a little JavaFX application that shows how to create a interface that displays data provided by services. This version uses three services: one that counts the number of users, [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-full wp-image-2647 aligncenter" title="Footprint logo" src="http://silveiraneto.net/wp-content/uploads/2009/06/footprintlogo.jpg" alt="Footprint logo" width="109" height="80" /></p>
<p><a title="Footprint" href="https://footprint.dev.java.net/">Footprint</a> is a publisher and distributor of certificates of participation in conferences &#8211; signed PDF documents that prove you attended a conference or a course.</p>
<p>This is a little JavaFX application that shows how to create a interface that displays data provided by services. This version uses three services: one that counts the number of users, other that counts the number of events and one that list these events. Check out the <a title="JAVAFX Source Code " href="http://silveiraneto.net/downloads/javafx/footprintfx/src/footprintfx/Main.fx">source code here</a>.  Try the application as a draggable <a title="JavaFX" href="http://silveiraneto.net/downloads/javafx/footprintfx/dist/footprintfx.html">JavaFX applet here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2009/06/02/footprintfx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaFX, Retrieving non XML/JSON data from clouds</title>
		<link>http://silveiraneto.net/2009/05/31/javafx-retrieving-non-xmljson-data-from-clouds/</link>
		<comments>http://silveiraneto.net/2009/05/31/javafx-retrieving-non-xmljson-data-from-clouds/#comments</comments>
		<pubDate>Sun, 31 May 2009 15:34:42 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[HttpRequest]]></category>
		<category><![CDATA[JavaFX]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[PullParser]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[Zembly]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=2631</guid>
		<description><![CDATA[
Usuually on JavaFX we grab data using HttpRequest from external resources on formats like JSON or XML. I showed how to get it on the post Reading Twitter with JavaFX and how to parse it using PullParser on the post Parsing a XML sandwich with JavaFX.
Another day I need to grab and interpret some plain [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-full wp-image-2640 aligncenter" title="weather overcast icon from the Tango Project" src="http://silveiraneto.net/wp-content/uploads/2009/05/tango_weather-overcast.png" alt="tango weather overcast" width="200" height="200" /></p>
<p>Usuually on JavaFX we grab data using <a title="JAVAFX API" href="http://java.sun.com/javafx/1/docs/api/javafx.io.http/javafx.io.http.HttpRequest.html">HttpRequest</a> from external resources on formats like JSON or XML. I showed how to get it on the post <a title="Reading Twitter with JavaFX" href="http://silveiraneto.net/2009/01/04/reding-twitter-with-javafx/">Reading Twitter with JavaFX</a> and how to parse it using <a href="http://java.sun.com/javafx/1/docs/api/javafx.data.pull/javafx.data.pull.PullParser.html">PullParser</a> on the post <a title="Parsing XML sandwich with JavaFX" href="http://silveiraneto.net/2008/12/25/parsing-xml-sandwich-with-javafx/">Parsing a XML sandwich with JavaFX</a>.</p>
<p>Another day I need to grab and interpret some plain results, not in XML nor JSON, while consuming a REST service. In this case we don&#8217;t have a well structure data so the PullParser won&#8217;t help us.</p>
<p><strong>Example 1: Reading Raw Data</strong></p>
<p>In this example we&#8217;ll load a plain text file served in a remote location.</p>

<div class="wp_syntax"><div class="code"><pre class="java java" style="font-family:monospace;">var planetsRequest <span style="color: #339933;">=</span> HttpRequest <span style="color: #009900;">&#123;</span>
    location<span style="color: #339933;">:</span> <span style="color: #0000ff;">&quot;http://silveiraneto.net/downloads/planets&quot;</span>;
    onInput<span style="color: #339933;">:</span> function<span style="color: #009900;">&#40;</span>stream<span style="color: #339933;">:</span> <span style="color: #003399;">InputStream</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        var buff <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">BufferedReader</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">InputStreamReader</span><span style="color: #009900;">&#40;</span>stream<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>;
        var line <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span>;
        <span style="color: #000000; font-weight: bold;">while</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>line <span style="color: #339933;">=</span> buff.<span style="color: #006633;">readLine</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">!=</span><span style="color: #000066; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
            println<span style="color: #009900;">&#40;</span>line<span style="color: #009900;">&#41;</span>;
        <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
planetsRequest.<span style="color: #006633;">enqueue</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;</pre></div></div>

<p>This will produce the output:</p>
<blockquote><p>Mercury<br />
Venus<br />
Earth<br />
Mars<br />
Jupiter<br />
Saturn<br />
Uranus<br />
Neptune</p></blockquote>
<p><strong>Example 2: </strong><strong>Discovering your IP Address</strong></p>
<p>In this example we&#8217;ll examine how to integrate a request of a remote data in a running graphical program.</p>
<p>The best way to know your real IP address is asking for a remote server to look which IP made that request. It&#8217;s like calling for a friend and asking him which number appeared in his mobile. =) This <a href="http://en.wikipedia.org/wiki/Server-side">server side</a> Python script prints the IP address of who requested the page.</p>

<div class="wp_syntax"><div class="code"><pre class="python python" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">#!/usr/bin/env python</span>
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">os</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">&quot;Content-type: text/html&quot;</span>
<span style="color: #ff7700;font-weight:bold;">print</span>
<span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #dc143c;">os</span>.<span style="color: black;">environ</span><span style="color: black;">&#91;</span><span style="color: #483d8b;">'REMOTE_ADDR'</span><span style="color: black;">&#93;</span></pre></div></div>

<p>In the client side, with JavaFX, we&#8217;ll load the remote value into a local variable. The <em>ip</em> is assigned with the value &#8220;&#8230;&#8221; and later the ipRequest will replace it with a String with the IP. The <em>bind</em> feature will automatically fix the GUI String text.</p>
<p>For the user he will see the ellipsis for a few seconds and so their IP.</p>

<div class="wp_syntax"><div class="code"><pre class="java java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">javafx.stage.Stage</span>;
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">javafx.scene.Scene</span>;
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">javafx.scene.text.Text</span>;
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">javafx.io.http.HttpRequest</span>;
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.io.*</span>;
&nbsp;
var ip <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;...&quot;</span>;
&nbsp;
Stage <span style="color: #009900;">&#123;</span>
    title<span style="color: #339933;">:</span> <span style="color: #0000ff;">&quot;What is my IP?&quot;</span> width<span style="color: #339933;">:</span> <span style="color: #cc66cc;">250</span> height<span style="color: #339933;">:</span> <span style="color: #cc66cc;">80</span>
    scene<span style="color: #339933;">:</span> Scene <span style="color: #009900;">&#123;</span>
        content<span style="color: #339933;">:</span> Text <span style="color: #009900;">&#123;</span>
            x<span style="color: #339933;">:</span> <span style="color: #cc66cc;">10</span>, y<span style="color: #339933;">:</span> <span style="color: #cc66cc;">30</span>
            content<span style="color: #339933;">:</span> bind <span style="color: #0000ff;">&quot;My IP is {ip}&quot;</span>
        <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
var ipRequest <span style="color: #339933;">=</span> HttpRequest <span style="color: #009900;">&#123;</span>
    location<span style="color: #339933;">:</span> <span style="color: #0000ff;">&quot;http://silveiraneto.net/scripts/myip.py&quot;</span>;
    onInput<span style="color: #339933;">:</span> function<span style="color: #009900;">&#40;</span>stream<span style="color: #339933;">:</span> <span style="color: #003399;">InputStream</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        var buff <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">BufferedReader</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">InputStreamReader</span><span style="color: #009900;">&#40;</span>stream<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>;
        ip <span style="color: #339933;">=</span> buff.<span style="color: #006633;">readLine</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
ipRequest.<span style="color: #006633;">enqueue</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;</pre></div></div>

<p>You can try this <a href="http://silveiraneto.net/downloads/javafx/myip/MyIP.html">JavaFX applet here</a>.</p>
<p><strong>Example 3: </strong><strong>Reading Integer values</strong></p>
<p>Until now we handled just plain Strings. But in some cases you want to get number as non structured data. In this case you need to know previously which type the data is. In the case of a web service this probably will be described in a <a href="http://www.w3.org/TR/wsdl">WSDL file</a>.</p>
<p>Here I&#8217;m writing a very simple service script at <a href="http://zembly.com">Zembly</a>, a great platform for cloud computing. It&#8217;s called aplusb, it justs add the first parameter A to the second B.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>Parameters.<span style="color: #660066;">a</span> <span style="color: #339933;">!=</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>amp;&amp;amp; <span style="color: #009900;">&#40;</span>Parameters.<span style="color: #660066;">b</span><span style="color: #339933;">!=</span> 0<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #000066; font-weight: bold;">return</span> Parameters.<span style="color: #660066;">a</span><span style="color: #339933;">+</span>Parameters.<span style="color: #660066;">b</span>;
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>The service is <a href="http://zembly.com/things/1827f696529d4e6f940c36e8e79bea1c#">published at Zembly here</a> where you can see more details on how to invoke it.</p>
<p>A simple way to invoke it on JavaFX and than getting the value as an Integer:</p>

<div class="wp_syntax"><div class="code"><pre class="java java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.io.*</span>;
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">javafx.io.http.HttpRequest</span>;
&nbsp;
var a <span style="color: #339933;">=</span> <span style="color: #cc66cc;">100</span>;
var b <span style="color: #339933;">=</span> <span style="color: #cc66cc;">200</span>;
var result <span style="color: #339933;">=</span> 0 on replace <span style="color: #009900;">&#123;</span>
    println<span style="color: #009900;">&#40;</span>result<span style="color: #009900;">&#41;</span>;
<span style="color: #009900;">&#125;</span>
&nbsp;
var zemblyRequest <span style="color: #339933;">=</span> HttpRequest <span style="color: #009900;">&#123;</span>
    location<span style="color: #339933;">:</span> <span style="color: #0000ff;">&quot;http://zembly.net/things/1827f696529d4e6f940c36e8e79bea1c;exec?a={a}&amp;amp;b={b}&quot;</span>;
    onInput<span style="color: #339933;">:</span> function<span style="color: #009900;">&#40;</span>stream<span style="color: #339933;">:</span> <span style="color: #003399;">InputStream</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        var buff <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">BufferedReader</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">InputStreamReader</span><span style="color: #009900;">&#40;</span>stream<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>;
        result <span style="color: #339933;">=</span> <span style="color: #003399;">Integer</span>.<span style="color: #006633;">valueOf</span><span style="color: #009900;">&#40;</span>buff.<span style="color: #006633;">readLine</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>;
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
zemblyRequest.<span style="color: #006633;">enqueue</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;</pre></div></div>

<p>The output will be:</p>
<blockquote><p>0<br />
300</p></blockquote>
<p>The first 0 is from the first assignment on the var result. The 300 is from the webservice itself.</p>
<p>The same approach can be used to convert the ASCII/Unicode result from the stream to the suitable type on a variable.</p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2009/05/31/javafx-retrieving-non-xmljson-data-from-clouds/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Caravana Panapanã</title>
		<link>http://silveiraneto.net/2009/05/29/caravana-panapana/</link>
		<comments>http://silveiraneto.net/2009/05/29/caravana-panapana/#comments</comments>
		<pubDate>Fri, 29 May 2009 18:09:34 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[português]]></category>
		<category><![CDATA[Cauicaia]]></category>
		<category><![CDATA[panapanã]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=2627</guid>
		<description><![CDATA[Para quem estará na semana que vem em Caucaia nas redondezas, participe da Caravana Panapanã comemorando os aniversário de dois anos da unidade Casa Brasil de Caucaia.

Programação:

]]></description>
			<content:encoded><![CDATA[<p>Para quem estará na semana que vem em Caucaia nas redondezas, participe da Caravana Panapanã comemorando os aniversário de dois anos da unidade Casa Brasil de Caucaia.</p>
<p style="text-align: center;"><img class="size-full wp-image-2628 aligncenter" title="cartaz caravana" src="http://silveiraneto.net/wp-content/uploads/2009/05/cartaz-caravana-panapana21.png" alt="cartaz caravana" width="500" height="647" /></p>
<p>Programação:</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-2626" title="programação panapanã" src="http://silveiraneto.net/wp-content/uploads/2009/05/panapana.png" alt="programação panapanã" width="462" height="1043" /></p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2009/05/29/caravana-panapana/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Radio Debate, Software Livre e Lei Azeredo</title>
		<link>http://silveiraneto.net/2009/05/26/radio-debate/</link>
		<comments>http://silveiraneto.net/2009/05/26/radio-debate/#comments</comments>
		<pubDate>Tue, 26 May 2009 03:03:52 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[português]]></category>
		<category><![CDATA[rádio debate]]></category>
		<category><![CDATA[universitária fm]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=2619</guid>
		<description><![CDATA[
Download: em MP3 ou em OGG.

Participei no dia 21 de Maio do programa Rádio Debate da Universitária FM, apresentado pelo Agostinho Gósson, jornalista e professor do Departamento de Comunicação Social da UFC, sobre segurança na rede, vigilantismo na Internet, Software Livres e outras coisas mais. Foi uma satisfação imensa conhecer esta rádio que eu escuto [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>Download: em <a href="http://silveiraneto.net/downloads/radio_debate_completo_21_maio_2009.mp3">MP3</a> ou em <a href="http://silveiraneto.net/downloads/radio_debate_completo_21_maio_2009.ogg">OGG</a>.</p>
<p><object width="400" height="300"><param name="flashvars" value="offsite=true&#038;lang=en-us&#038;page_show_url=%2Fphotos%2Fsilveiraneto%2Fsets%2F72157618694670693%2Fshow%2F&#038;page_show_back_url=%2Fphotos%2Fsilveiraneto%2Fsets%2F72157618694670693%2F&#038;set_id=72157618694670693&#038;jump_to="></param><param name="movie" value="http://www.flickr.com/apps/slideshow/show.swf?v=71649"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/slideshow/show.swf?v=71649" allowFullScreen="true" flashvars="offsite=true&#038;lang=en-us&#038;page_show_url=%2Fphotos%2Fsilveiraneto%2Fsets%2F72157618694670693%2Fshow%2F&#038;page_show_back_url=%2Fphotos%2Fsilveiraneto%2Fsets%2F72157618694670693%2F&#038;set_id=72157618694670693&#038;jump_to=" width="400" height="300"></embed></object></p>
<p>Participei no dia 21 de Maio do programa Rádio Debate da <a href="http://www.radiouniversitariafm.com.br">Universitária FM</a>, apresentado pelo Agostinho Gósson, jornalista e professor do Departamento de Comunicação Social da UFC, sobre segurança na rede, vigilantismo na Internet, Software Livres e outras coisas mais. Foi uma satisfação imensa conhecer esta rádio que eu escuto quase todos os dias e conhecer algumas das figuras que cujas vozes habitam meu imaginário. Não preciso nem dizer que estava muito nervoso nas primeiras falas, mas depois eu fui me acostumando. É estranho falar com o Agostinho, dá impressão que eu estou na rua, dirigindo, ouvindo.</p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2009/05/26/radio-debate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://silveiraneto.net/downloads/radio_debate_completo_21_maio_2009.mp3" length="27681617" type="audio/mpeg" />
		</item>
		<item>
		<title>Menina</title>
		<link>http://silveiraneto.net/2009/05/19/menina/</link>
		<comments>http://silveiraneto.net/2009/05/19/menina/#comments</comments>
		<pubDate>Tue, 19 May 2009 06:18:35 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[fofa]]></category>
		<category><![CDATA[Inkscape]]></category>
		<category><![CDATA[menina]]></category>
		<category><![CDATA[portifólio]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=2608</guid>
		<description><![CDATA[Desenho vetorial com o Inkscape.

  
]]></description>
			<content:encoded><![CDATA[<p>Desenho vetorial com o <a title="Inkscape" href="http://inkscape.org">Inkscape</a>.</p>
<p style="text-align: center;"><a href="http://silveiraneto.net/wp-content/uploads/2009/05/menina.svg"><img class="size-full wp-image-2610 aligncenter" title="Menina" src="http://silveiraneto.net/wp-content/uploads/2009/05/menina1.png" alt="Menina" width="401" height="222" /></a></p>
<p> <img src='http://silveiraneto.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2009/05/19/menina/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Slides com o Kdenlive</title>
		<link>http://silveiraneto.net/2009/05/17/slides-com-o-kdenlive/</link>
		<comments>http://silveiraneto.net/2009/05/17/slides-com-o-kdenlive/#comments</comments>
		<pubDate>Sun, 17 May 2009 12:32:45 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[português]]></category>
		<category><![CDATA[Casa Brasil]]></category>
		<category><![CDATA[Cinelerra]]></category>
		<category><![CDATA[edição de vídeo]]></category>
		<category><![CDATA[Gimp]]></category>
		<category><![CDATA[Kdenlive]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=2600</guid>
		<description><![CDATA[
Estou dando uma olhada no Kdenlive, um editor de vídeo não-linear, livre, focado na facilidade de usar e na flexibilidade. O vídeo acima foi produzido com uma série de fotos de uma reunião do Casa Brasil, títulos feitos no Gimp e música livre do artista Antony Raijekov.
As fotos originais estão neste meu álbum no Flickr. [...]]]></description>
			<content:encoded><![CDATA[<p><center><object width="600" height="400"><param name="movie" value="http://www.youtube.com/v/AMXGI8XSEFo&#038;hl=pt-br&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/AMXGI8XSEFo&#038;hl=pt-br&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="600" height="400"></embed></object></center></p>
<p>Estou dando uma olhada no <a href="http://www.kdenlive.org/">Kdenlive</a>, um editor de vídeo não-linear, livre, focado na facilidade de usar e na flexibilidade. O vídeo acima foi produzido com uma série de fotos de uma reunião do Casa Brasil, títulos feitos no <a href="http://gimp.org">Gimp</a> e música livre do artista <a href="http://www.jamendo.com/en/album/3777">Antony Raijekov</a>.</p>
<p>As fotos originais estão <a href="http://www.flickr.com/photos/silveiraneto/sets/72157618152812759/">neste meu álbum no Flickr</a>. O vídeo em mais alta resolução está em <a href="http://silveiraneto.net/downloads/reuniao_casabrasil_maio_2009.ogg">reuniao_casabrasil_maio_2009.ogg</a> (apróx. 12Mb) ou <a href="http://silveiraneto.net/downloads/reuniao_casabrasil_maio_2009.avi">reuniao_casabrasil_maio_2009.avi</a> (apróx. 378Mb).</p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2009/05/17/slides-com-o-kdenlive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://silveiraneto.net/downloads/reuniao_casabrasil_maio_2009.avi" length="396000716" type="video/x-msvideo" />
		</item>
		<item>
		<title>CRAb na TV</title>
		<link>http://silveiraneto.net/2009/05/16/crab-na-tv/</link>
		<comments>http://silveiraneto.net/2009/05/16/crab-na-tv/#comments</comments>
		<pubDate>Sat, 16 May 2009 21:40:40 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[computação]]></category>
		<category><![CDATA[crab]]></category>
		<category><![CDATA[fortaleza]]></category>
		<category><![CDATA[pesquisa]]></category>
		<category><![CDATA[ufc]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=2598</guid>
		<description><![CDATA[Matéria do Grupo de Pesquisa em Computação Gráfica, Realidade Virtual e Animação (CRAb) da Universidade Federal do Ceará para a UFC TV, que foi ao ar no dia 10 de maio de 2009. O CRAb é um dos diversos grupos de pesquisa temáticos existentes no Departamento de Computação na UFC.

]]></description>
			<content:encoded><![CDATA[<p>Matéria do <a title="CRAAAAAB" href="http://wiki.dc.ufc.br/index.php/GruposDePesquisa/CRAb">Grupo de Pesquisa em Computação Gráfica, Realidade Virtual e Animação</a> (CRAb) da Universidade Federal do Ceará para a UFC TV, que foi ao ar no dia 10 de maio de 2009. O CRAb é um dos diversos grupos de pesquisa temáticos existentes no Departamento de Computação na UFC.</p>
<p><center><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/dT9ePgoYXlg&#038;hl=pt-br&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/dT9ePgoYXlg&#038;hl=pt-br&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></center></p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2009/05/16/crab-na-tv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaFX 1.1 for Linux workaround</title>
		<link>http://silveiraneto.net/2009/05/16/javafx-11-for-linux-workaround/</link>
		<comments>http://silveiraneto.net/2009/05/16/javafx-11-for-linux-workaround/#comments</comments>
		<pubDate>Sat, 16 May 2009 11:53:15 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[HuaSong Liu]]></category>
		<category><![CDATA[jaunty jackalope]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JavaFX]]></category>
		<category><![CDATA[javafx4linux]]></category>
		<category><![CDATA[jfx]]></category>
		<category><![CDATA[Kaesar Alnijres]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Weiqi Gao]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=2581</guid>
		<description><![CDATA[Download
javafx4linux.tar.bz2 (~ 36Mb).
Installing
1) Extract the javafx4linux.tar.bz2 file. In this example I&#8217;m placing it on my Desktop. After the installing process you can remove it.


2) Open your NetBeans 6.5 and go at Tools → Plugins and go to Downloaded tab. In a plain and new NetBeans installation there will be no plugin in this tab yet.




3) [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Download</strong></p>
<blockquote><p><a title="JavaFX for Linux" href="http://silveiraneto.net/downloads/javafx4linux.tar.bz2">javafx4linux.tar.bz2</a> (~ 36Mb).</p></blockquote>
<p><strong>Installing</strong></p>
<p>1) Extract the javafx4linux.tar.bz2 file. In this example I&#8217;m placing it on my Desktop. After the installing process you can remove it.</p>
<p style="text-align: center;"><strong><a href="http://silveiraneto.net/wp-content/uploads/2009/05/javafx_linux_ubuntu_extract.png"><img class="size-medium wp-image-2593 aligncenter" title="javafx linux ubuntu extract" src="http://silveiraneto.net/wp-content/uploads/2009/05/javafx_linux_ubuntu_extract-500x312.png" alt="javafx linux ubuntu extract" width="500" height="312" /></a><br />
</strong></p>
<p>2) Open your NetBeans 6.5 and go at <em>Tools</em> → <em>Plugins</em> and go to <em>Downloaded</em> tab. In a plain and new NetBeans installation there will be no plugin in this tab yet.</p>
<p style="text-align: center;"><strong><a href="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step01.png"><img class="alignnone size-medium wp-image-2582" title="netbeans javafx linux step01" src="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step01-500x312.png" alt="netbeans javafx linux step01" width="500" height="312" /></a><br />
</strong></p>
<p style="text-align: center;"><a href="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step02.png"><img class="size-medium wp-image-2583 aligncenter" title="netbeans javafx linux step02" src="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step02-500x312.png" alt="netbeans javafx linux step02" width="500" height="312" /></a></p>
<p style="text-align: center;"><a href="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step03.png"><img class="size-medium wp-image-2584 aligncenter" title="netbeans javafx linux step03" src="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step03-500x312.png" alt="netbeans javafx linux step03" width="500" height="312" /></a></p>
<p>3) Click on the <em>Add Plugins</em> button and head to the directory you extracted the file and select all .nbm files.</p>
<p style="text-align: center;"><a href="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step04.png"><img class="size-medium wp-image-2585 aligncenter" title="netbeans javafx linux step 04" src="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step04-500x312.png" alt="netbeans javafx linux step 04" width="500" height="312" /></a></p>
<p>4) You will see a list of 22 plugins selected. Click on the <em>Install</em> button.</p>
<p style="text-align: center;"><a href="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step05.png"><img class="size-medium wp-image-2586 aligncenter" title="netbeans javafx linux step 05" src="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step05-500x312.png" alt="netbeans javafx linux step 05" width="500" height="312" /></a></p>
<p>5) Just keep clicking on the <em>Next</em> button.</p>
<p style="text-align: center;"><a href="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step06.png"><img class="size-medium wp-image-2587 aligncenter" title="netbeans javafx linux step 6" src="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step06-500x312.png" alt="netbeans javafx linux step 6" width="500" height="312" /></a></p>
<p>6) Check the license agreement accept box.</p>
<p style="text-align: center;"><a href="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step07.png"><img class="size-medium wp-image-2588 aligncenter" title="netbeans javafx linux step 7" src="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step07-500x312.png" alt="netbeans javafx linux step 7" width="500" height="312" /></a></p>
<p>7) You&#8217;ll see a warning because the Linux pluggin is not signed. Don&#8217;t worry, just click <em>Continue</em>.</p>
<p style="text-align: center;"><a href="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step08.png"><img class="size-medium wp-image-2589 aligncenter" title="netbeans javafx linux step 8" src="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step08-500x312.png" alt="netbeans javafx linux step 8" width="500" height="312" /></a></p>
<p> <img src='http://silveiraneto.net/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> Click on Finish to restart NetBeans.</p>
<p style="text-align: center;"><a href="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step09.png"><img class="size-medium wp-image-2590 aligncenter" title="netbeans javafx linux step 9" src="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step09-500x312.png" alt="netbeans javafx linux step 9" width="500" height="312" /></a></p>
<p>9) Now we can test it. Go at <em>File</em> → <em>New Project</em>, select the JavaFX on <em>Categories</em> and <em>JavaFX Script Application</em> on Projects.</p>
<p style="text-align: center;"><a href="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step10.png"><img class="alignnone size-medium wp-image-2591" title="netbeans javafx linux step 10" src="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step10-500x312.png" alt="netbeans javafx linux step 10" width="500" height="312" /></a></p>
<p>10) Put some code and run it. There is. JavaFX on Linux.</p>
<p style="text-align: center;"><a href="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step11.png"><img class="size-medium wp-image-2592 aligncenter" title="netbeans javafx linux step 11" src="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step11-500x312.png" alt="netbeans javafx linux step 11" width="500" height="312" /></a></p>
<p><strong>Considerations</strong></p>
<p>This is not a official of JavaFX for Linux! This solution was tested on Ubuntu 9.04 &#8220;Jaunty Jackalope&#8221; with Java 6 update 13 and NetBeans 6.5.1, but should also work with others Linux distributions and Java versions greater than 5.</p>
<p><strong>Known bugs</strong></p>
<p>As a non official workaround for JavaFX for Linux you may notice some drawbacks. Some parts of the JavaFX runtime rely on native implementations on the specific operational system. You may not use some multimedia capabilities as video playback, JavaFX Mobile emulator and some performance issues in some effects. Despite that, is perfectly possible to develop applications using JavaFX on NetBeans.</p>
<p><strong>Thanks</strong></p>
<p>I&#8217;d like to thanks some guys around the world. <a href="http://www.weiqigao.com/blog/2008/12/04/using_javafx_1_0_on_linux.html">Weiqi Gao&#8217;s original post on JavaFX on Linux</a>, <a href="http://java.dzone.com/tips/javafx-11-linux-netbeans">HuaSong Liu article on DZone</a> and <a href="http://java-javafx-iipt.blogspot.com/2009/03/javafx-111-netbeans-651-on-linux.html">Kaesar Alnijres post</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2009/05/16/javafx-11-for-linux-workaround/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
