<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule">

<channel>
<title>Re: Ubuntu app programming? in Webmasters and Developers</title>
<link>http://www.dslreports.com/forum/r21680191</link>
<description></description>
<language>en</language>
<pubDate>Sun, 29 Nov 2009 20:21:01 EDT</pubDate>
<lastBuildDate>Sun, 29 Nov 2009 20:21:01 EDT</lastBuildDate>

<item>
<title>Re: Ubuntu app programming?</title>
<link>http://www.dslreports.com/forum/remark,21706687</link>
<description><![CDATA[<A HREF="/useremail/u/825167"><b>johnnyboyct</b></A> : Im glad I took a look at it, and I really like ruby syntax so its good I peaked :)<br><br>FWIW I cant figure out how to load a sound file from assets and store it in an array to play on keypress. <br><br>I tried here, but I had a few drinks after a long day of work and its pissing me off :P <br><textarea name="code" class="text" cols=50 rows=10>  alph = ("a".."c").to_a&#012; &#012;  @videos = Array.new&#012; &#012;  stack :margin =&gt; 0.1 do&#012; &#012;     title "Progress example"&#012; &#012;     @p = progress :width =&gt; 1.0&#012; &#012;     animate do |i|&#012; &#012;   letter = alph&#91;i&#93;&#012; &#012;   @videos&#91;letter&#93; = video File.join(File.dirname(__FILE__), 'assets\sounds', letter+'.mp3')&#012; &#012;       @p.fraction = (i % 100) / 100.0&#012; &#012;     end&#012; &#012;   end&#012; &#012;  &#012; &#012;  &#012; &#012;  &#012; &#012;  &#012; &#012;  &#012; &#012;  background green&#012; &#012;keypress do | key |&#012; &#012;  clear&#012; &#012;    case key&#012; &#012;      when :escape&#012; &#012;exit&#012; &#012;  else&#012; &#012;   if ('a'..'z') === key&#012; &#012;   alert(@videos.inspect )&#012; &#012;   @videos.length&#012; &#012;   background pink&#012; &#012;   end&#012; &#012;   #@img = image File.join(File.dirname(__FILE__), 'assets\images', key+'.jpg')&#012; &#012;   &#012; &#012;      &#012; &#012;end  &#012; &#012; &#012; &#012;end&#012;</textarea><!--end code block--><br>Seems you cant do it on the key event, so you have to do it before when it loads, but I cant get the stuff to load into an array correctly, nor get the progress bar to not be useless...<br><br>I reinstalled flex builder to see if I can do it eiseir with air or something,but would love to get this eventually ,.<br>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21706687</guid>
<pubDate>Thu, 08 Jan 2009 22:13:32 EDT</pubDate>
</item>

<item>
<title>Re: Ubuntu app programming?</title>
<link>http://www.dslreports.com/forum/remark,21706581</link>
<description><![CDATA[<A HREF="/useremail/u/449413"><b>jayco437</b></A> : Yeah, it's pretty new so there isn't a lot out on it yet compared to other languages.  But it's ruby :)<br><br>What do you mean it won't load right on keypress?]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21706581</guid>
<pubDate>Thu, 08 Jan 2009 21:56:36 EDT</pubDate>
</item>

<item>
<title>Re: Ubuntu app programming?</title>
<link>http://www.dslreports.com/forum/remark,21705790</link>
<description><![CDATA[<A HREF="/useremail/u/825167"><b>johnnyboyct</b></A> : Yeah I'm frustrated with this.It looks nice, but I dont see a reason to choose it over adobe air or something if im learning something new. I cant find any help anywhere :/<br><br>It could be me being frustrated. I just wanted to load the sounds, but its being redonkulus even if I put them in an array, it wont play right on keypress :/<br><br>Ill let you know what I come up with<br>John<br><small>--<br><A HREF="http://www.MilestoneMultimedia.com">Connecticut  Web Design and Development</a></small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21705790</guid>
<pubDate>Thu, 08 Jan 2009 19:44:00 EDT</pubDate>
</item>

<item>
<title>Re: Ubuntu app programming?</title>
<link>http://www.dslreports.com/forum/remark,21700752</link>
<description><![CDATA[<A HREF="/useremail/u/449413"><b>jayco437</b></A> : Not sure where you're erroring out, but I think your attempt to build an array from a to z doesn't look quite right.<br><br>Run this in irb:<br><br><textarea name="code" class="text" cols=50 rows=10>("a".."z").each {|i| puts i}&#012;</textarea><!--end code block-->]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21700752</guid>
<pubDate>Wed, 07 Jan 2009 23:28:07 EDT</pubDate>
</item>

<item>
<title>Re: Ubuntu app programming?</title>
<link>http://www.dslreports.com/forum/remark,21700515</link>
<description><![CDATA[<A HREF="/useremail/u/825167"><b>johnnyboyct</b></A> : This is rough lol, but im learning ruby so screw it :P<br><br>Im having a really tough time with flow control. Like the first problem with the fading not working, Im now finding you cant load a sound on keypress. So I have to loop through all the sounds at load and put them in an array I guess, then use those index's. <br><br>this isnt working, but I think im getting there.<br><br><textarea name="code" class="text" cols=50 rows=10>def load&#012;r = "a".."z".to_a&#012;@vids = Array.new()&#012;r.each{|l|&#012;video = video File.join(File.dirname(__FILE__), 'assets\sounds', l+'.mp3')&#012;@vids&#91;l&#93; = video&#012;}&#012;end&#012;</textarea><!--end code block--><br><small>--<br><A HREF="http://www.MilestoneMultimedia.com">Connecticut  Web Design and Development</a></small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21700515</guid>
<pubDate>Wed, 07 Jan 2009 22:44:57 EDT</pubDate>
</item>

<item>
<title>Re: Ubuntu app programming?</title>
<link>http://www.dslreports.com/forum/remark,21688056</link>
<description><![CDATA[<A HREF="/useremail/u/449413"><b>jayco437</b></A> : I played aroudn with it but couldn't get anything that worked.  Tried fading out the alpha channel and fading a regular color even but I need to slow it down without blocking it.  Be interested to see if you come up withs omething though....]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21688056</guid>
<pubDate>Tue, 06 Jan 2009 00:04:02 EDT</pubDate>
</item>

<item>
<title>Re: Ubuntu app programming?</title>
<link>http://www.dslreports.com/forum/remark,21687689</link>
<description><![CDATA[<A HREF="/useremail/u/825167"><b>johnnyboyct</b></A> : I have to say, im getting a bit frustrated doing this fade thing. Dont have as much time as Id like to spend, but I added it to the shoebox, even though its based largely on another app. <br><br>&raquo;<A HREF="http://www.the-shoebox.org/apps/119" >www.the-shoebox.org/apps/119</A><br><small>--<br><A HREF="http://www.MilestoneMultimedia.com">Connecticut  Web Design and Development</a></small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21687689</guid>
<pubDate>Mon, 05 Jan 2009 22:47:04 EDT</pubDate>
</item>

<item>
<title>Re: Ubuntu app programming?</title>
<link>http://www.dslreports.com/forum/remark,21682245</link>
<description><![CDATA[<A HREF="/useremail/u/449413"><b>jayco437</b></A> : I'm totally not familiar with Shoes much of anything.  Looking at it quickly though, do you need a while where you have the if?]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21682245</guid>
<pubDate>Sun, 04 Jan 2009 23:35:14 EDT</pubDate>
</item>

<item>
<title>Re: Ubuntu app programming?</title>
<link>http://www.dslreports.com/forum/remark,21682032</link>
<description><![CDATA[<A HREF="/useremail/u/825167"><b>johnnyboyct</b></A> : Actually Ive figured out through the shoebox examples how to listen for the keyboard strokes, put the large letter on the screen with a dynamic background, and play a sound. Im trying to figure out how I can animate the background gradient to fade to black, but I think thats a programming challenge vs an ability of the language (although youd think fade would be simple?) I just need to do something like<br><br><textarea name="code" class="text" cols=50 rows=10>if @backgroundcolors&#91;0&#93;.red &lt;255 || @backgroundcolors&#91;1&#93;.red &lt;255&#012;animate background gradient(@backgroundcolors&#91;0&#93;.red +10, @backgroundcolors&#91;1&#93;.red + 10)&#012;end &#012;</textarea><!--end code block--><br>obuviosly thats aweful, but I learned enough for a Sunday and havent had to code since before xmas :P<br><br><small>--<br><A HREF="http://www.MilestoneMultimedia.com">Connecticut  Web Design and Development</a></small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21682032</guid>
<pubDate>Sun, 04 Jan 2009 22:48:19 EDT</pubDate>
</item>

<item>
<title>Re: Ubuntu app programming?</title>
<link>http://www.dslreports.com/forum/remark,21681521</link>
<description><![CDATA[<A HREF="/useremail/u/449413"><b>jayco437</b></A> : Yeah, not sure about sound yet.  It's billed as a "tiny toolkit" and its missing some things that I'm certain Pygame has.  I probably shouldn't even mention them in the same sentence, but I found I prefer working with Ruby over Python of late.  I know the documentation available on the net (such as the book) fails to mention some things that had been released in the latest public release Checkboxes I think, or maybe radio buttons?  Maybe both?  Either way, check the examples included with the app.<br><br>The video includes sound, so I know it'll *do* sound, but maybe it might not have to be "pretty" (i.e. a hidden video clip or something).]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21681521</guid>
<pubDate>Sun, 04 Jan 2009 20:45:23 EDT</pubDate>
</item>

<item>
<title>Re: Ubuntu app programming?</title>
<link>http://www.dslreports.com/forum/remark,21681120</link>
<description><![CDATA[<A HREF="/useremail/u/825167"><b>johnnyboyct</b></A> : Im digging this, although i cant find anything to do with sound. It will do video, so I guess Ill look intothat :)<br><small>--<br><A HREF="http://www.MilestoneMultimedia.com">Connecticut  Web Design and Development</a></small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21681120</guid>
<pubDate>Sun, 04 Jan 2009 19:26:05 EDT</pubDate>
</item>

<item>
<title>Re: Ubuntu app programming?</title>
<link>http://www.dslreports.com/forum/remark,21680191</link>
<description><![CDATA[<A HREF="/useremail/u/825167"><b>johnnyboyct</b></A> : Thanks Jayco, I just downloaded shoes, looks like a decent choice for me becuase of its syntax and rubyness. <br><br>:)<br><br>Ill let you know how I make out :)<br><br>John<br><small>--<br><A HREF="http://www.MilestoneMultimedia.com">Connecticut  Web Design and Development</a></small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21680191</guid>
<pubDate>Sun, 04 Jan 2009 16:01:25 EDT</pubDate>
</item>

<item>
<title>Re: Ubuntu app programming?</title>
<link>http://www.dslreports.com/forum/remark,21677124</link>
<description><![CDATA[<A HREF="/useremail/u/449413"><b>jayco437</b></A> : Take a look at Python and Pygame.  Also might take a look at Ruby and Shoes.  Either of which will work cross-platform.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21677124</guid>
<pubDate>Sat, 03 Jan 2009 21:53:08 EDT</pubDate>
</item>

<item>
<title>Ubuntu app programming?</title>
<link>http://www.dslreports.com/forum/remark,21677024</link>
<description><![CDATA[<A HREF="/useremail/u/825167"><b>johnnyboyct</b></A> : Im trying to write a simple app for my 5 month old daughter to play with. She loves the lights on the keyboard (saitek eclipse 2) and presses and really looks up to see whats going on.<br><br>Id like to make a really quick app to catch key strokes, and play sound files, as well as something colorful on the screen. <br><br>Ive done 80% PHP/MySQL Javascript type web development and not much desktop dev. Im thinking Java might be the best route because I mostly use Ubuntu, but if I did a bunch of work on this, id be nice to make work on my windows laptop..<br><br>Any suggestions or advice?<br><small>--<br><A HREF="http://www.MilestoneMultimedia.com">Connecticut  Web Design and Development</a></small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21677024</guid>
<pubDate>Sat, 03 Jan 2009 21:29:33 EDT</pubDate>
</item>

</channel>
</rss>
