<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://www.linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Fri May 24, 2013 4:12 pm by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Fri May 24, 2013 4:12 pm</pubDate>
  <lastBuildDate>Fri May 24, 2013 4:12 pm</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://www.linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Re: Interactive Juke Box</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=107987#107987</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=58561'&gt;Bazza&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sat Sep 22, 2012 10:17 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Here is a starter...&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://docs.python.org/py3k/tutorial/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://docs.python.org/py3k/tutorial/&lt;/a&gt;</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=107987#107987</comments>
                                        <author>Bazza</author>
                                        <pubDate>Sat Sep 22, 2012 10:17 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=107987#107987</guid>
                                      </item>
                                      <item>
                                        <title>Re: Interactive Juke Box</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=107949#107949</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=68180'&gt;blundakat&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Sep 20, 2012 10:15 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      ahh decisions decisions!&lt;br /&gt;
&lt;br /&gt;
I think I might go with python for now, I don't want to get discouraged (I have quite a short attention span!) &lt;img src=&quot;images/smiles/icon_smile.gif&quot; alt=&quot;Smile&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Would you recommend any literature to learn python?&lt;br /&gt;
&lt;br /&gt;
Thanks for your help</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=107949#107949</comments>
                                        <author>blundakat</author>
                                        <pubDate>Thu Sep 20, 2012 10:15 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=107949#107949</guid>
                                      </item>
                                      <item>
                                        <title>Re: Interactive Juke Box</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=107945#107945</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=68033'&gt;einonm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Sep 20, 2012 1:01 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;blundakat wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;Would you say I would be better off doing it all from scratch in the long run or would an mp3 player etc be too complicated to code for a beginner?&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
What do you mean by mp3 player exactly? Is it just a GUI based player, like VLC, or are you talking about writing an mp3 decoder library as well?&lt;br /&gt;
&lt;br /&gt;
One golden rule is to not try and reinvent the wheel. Even VLC uses standard external libraries for encoding and decoding. One of the benefits of coding in a unix system is that it's far more like Lego, where there are lots of small programs and libraries so you build with the pre-existing blocks as far as you can.&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;blundakat wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;Also, why python? why would you choose that language over the others?&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Because it's a high level language in which there are APIs ('bindings') available for a lot of common programs and libraries - e.g. VLC, Gnome, ffmpeg. That way you can have more fun producing something that's quickly usable (that really helps with the motivation!)&lt;br /&gt;
&lt;br /&gt;
Personally, I'd start with c (not c++) if you've no experience of coding at all, but it's a lower level language and would take a lot longer to code something like a music player. C is also like chess - the rules are easy to learn, and worth learning, but it takes a lifetime to master.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=107945#107945</comments>
                                        <author>einonm</author>
                                        <pubDate>Thu Sep 20, 2012 1:01 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=107945#107945</guid>
                                      </item>
                                      <item>
                                        <title>Re: Interactive Juke Box</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=107943#107943</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=68180'&gt;blundakat&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Sep 20, 2012 12:31 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Would you say I would be better off doing it all from scratch in the long run or would an mp3 player etc be too complicated to code for a beginner?&lt;br /&gt;
&lt;br /&gt;
Also, why python? why would you choose that language over the others?</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=107943#107943</comments>
                                        <author>blundakat</author>
                                        <pubDate>Thu Sep 20, 2012 12:31 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=107943#107943</guid>
                                      </item>
                                      <item>
                                        <title>Re: Interactive Juke Box</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=107942#107942</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=68033'&gt;einonm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Sep 20, 2012 12:05 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I'd probably not start by designing a GUI first, and then trying to program what the buttons do underneath - that path would lead to a very brittle and complicated program (it's the way Windows was designed, as far as I can tell, and look how painful that can be to use). &lt;br /&gt;
&lt;br /&gt;
Try instead to focus on one feature/goal and create a small program to achieve that, perhaps just launching a program (vlc?) to play one file with some options set. Then create a simple GUI with a button to launch it.&lt;br /&gt;
&lt;br /&gt;
Python would be a good candidate for something like this, or second choice a bash shell script - but that can be quite idiosyncratic to use.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=107942#107942</comments>
                                        <author>einonm</author>
                                        <pubDate>Thu Sep 20, 2012 12:05 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=107942#107942</guid>
                                      </item>
                                      <item>
                                        <title>Interactive Juke Box</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=107941#107941</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=68180'&gt;blundakat&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Sep 20, 2012 10:25 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Hello&lt;br /&gt;
&lt;br /&gt;
If you keep an eye on this forum you will remember I have been looking for advice on what programming language to learn, and you guys helpfully suggested that I should think of a project first before I decided which language to use. Well after much deliberation I have decided on a project which should keep my attention. However, I wont be assisting to any existing open source project, I will be starting from scratch.&lt;br /&gt;
&lt;br /&gt;
I have an old laptop I was going to convert into a digital photo frame, which got me to thinking, If I add a touch screen and better speakers I could easily turn it into an interactive jukebox/DAB radio. Now I'm sure there must be software out there which will allow me to do that but I thought this would be the perfect opportunity to start learning a programming language as well. Now what I have in mind is to start off easy and just program a GUI front end for various pieces of software like vlc etc. Then as I get more confident with the language slowly program the back-end as well.&lt;br /&gt;
&lt;br /&gt;
Now what I would like to know is your thoughts on this project, any ideas/advice you may have and what language would be best suited to this project.&lt;br /&gt;
&lt;br /&gt;
Judging by your comments in my last post I'm sure your advice will be more than helpful! Thanks for all your help guys!</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=107941#107941</comments>
                                        <author>blundakat</author>
                                        <pubDate>Thu Sep 20, 2012 10:25 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=107941#107941</guid>
                                      </item></channel></rss>