/srv/irclogs.ubuntu.com/2012/01/17/#ubuntu-app-devel.txt

pete__hi00:01
jo-erlendhey pete__ :)00:02
pete__hi jo-erlend. I'm looking for someone to guide me in terms of recommended reading as for ubuntu+pygtk+packaging commercial apps.00:04
jo-erlendpete__, ok. What do you already know?00:04
pete__frankly not much. never used python. read about cpython but I dont know if that would be the case here00:07
pete__my main worry is if it's to be closed source it better be bytecode. so the question is00:07
pete__can it be compiled to bytecode?00:08
jo-erlendyes, but all byte code can easily be converted to source code, whether you use Java, C# or Python. In other words, if your goal is secrecy, that's not the way to do it.00:09
pete__my goal is to create an app that00:09
pete__1) is a great app and serves users00:09
pete__2) allows me to pay my bills and concentrate on supporting and extending the app00:10
pete__so the question is - should I choose C/C++ ? :)00:10
jo-erlendPython programs don't hide the source. But open source refers to licensing. Even if the source code is readable, it doesn't mean it has to be open source. Also, there's no reason why you can't sell open source software.00:10
pete__well perhaps you're right00:11
pete__don't plan any proprietary patented algorithms00:11
jo-erlendif you want a language that compiles to native code, I would recommend Vala. It's very similar to Java and C#, but it compiles to C, which is then compiled to native. That makes it both very platform independent and extremely fast. It's faster than C++ and it's _much_ faster than C# and Java. But it isn't more complicated.00:12
pete__can I use C/C++ libs with Vala?00:13
jo-erlendif you haven't done much programming before, then I would still recommend that you start with Python. It's easier to learn, and faster to develop in. Developing for Ubuntu in Python is very similar to using Vala, so you won't start from scratch if you decide to move on.00:13
jo-erlendpete__, yes. In Python too.00:13
pete__well I'm been doing pretty much programming for the last 15 years :) only never 1) made aps for linux 2) released commercial app 3) used python00:14
jo-erlendto begin with, I would recommend that you have a look at Quickly. It's a tool that simplifies the job of getting up and running. It does so by creating a project from a template. Then you can use a visual GUI designer for your program, and start developing. It also handles packaging and upload to your PPA if you have one.00:15
pete__yes looked into quickly00:15
pete__and franklu i'm tempted using python00:15
pete__cause i love the syntax00:16
pete__my worries are the commerce-related ones00:16
jo-erlendyes, me too. And I love GTK and GLib.00:16
jo-erlendwell.. What exactly is it you're worried about?00:16
pete__well maybe you made your point that it's not about being able to read the code00:17
pete__only the license itself00:17
pete__you know... in the old days :D we used obfuscators for java applets :)00:17
jo-erlendYou can publish your software for sale in Ubuntu Software Center and then users can buy it from there. Canonical will then not allow anyone else to upload your code to the software center. If you license it as open source, then people can still package it themselves and distribute in a PPA or similar, but you'll still be much more visible in USC.00:18
jo-erlendbut as I said before, you don't have to license it as open source if you don't want to. The fact that people can read the code, doesn't mean that they are allowed to actually use it.00:19
pete__maybe you're right00:20
pete__the other question is if anyone buys the software :) hahah but that's the risk00:21
jo-erlendbut if you're used to Java and you want to program for Ubuntu, then you will want to look at Vala. It's _very_ similar. Very short tutorial: http://live.gnome.org/Vala/Tutorial00:22
pete__let me take a lok00:22
pete__*look00:22
jo-erlendpete__, hehe, yes, that's another question.00:22
pete__what can I say - I'd buy some :)00:24
pete__as for Vala - strong typing?00:24
jo-erlendbut I think, whether or not the application is open source, people who doesn't want to pay, won't. And I don't think most people are going to look much at the license either. At least, they don't do that in the Windows world. They just skip the license altogether. And if they don't want to pay, then they pirate it.00:24
jo-erlendpete__, yes.00:24
pete__yeah you're right about the license.00:25
pete__open source and free software are great concepts00:25
jo-erlendand it is pretty much based on GObject, which makes it a very nice language for the Gnome platform.00:25
pete__but you know... not everyone is canonical :)00:25
pete__i've contributed some minor stuff00:26
pete__but at the end of a day, I'm a software developer, I don't work for a corporation and I have to make a living00:27
pete__vala looks cool, but I'm really tempted to use python00:27
pete__used ruby recently00:27
pete__so even if they're different00:27
pete__there's some similiarity00:27
jo-erlendright. I know the feeling. I really want to sell some of my software. I'm having many of the same thoughts as you have. But my current thought is that if I put my software for sale in USC, users are either going to buy it because they want it, or not going to buy it. I don't think hardly any users would care if it's Free software or not.00:28
jo-erlendmany similarities between Ruby and Python. I read up on both at the same time, and I chose Python. Never regretted that.00:29
pete__yeah you're right about buying00:29
pete__have you put up anything on USC?00:29
pete__...yet?00:30
=== allquixotic_ is now known as allquixotic
jo-erlendpete__, not yet. :)00:31
jo-erlendactively working towards that goal, though, but my current project is rather large, so it'll be a while.00:32
pete__is it a side-project?00:32
pete__because mine will be, and it means huuuuge delays :)00:33
jo-erlendwell, yes.00:33
pete__so it's gonna be a long year for you too ;)00:34
pete__ok thanks very much for help00:35
jo-erlendoh, no, not really. My projects are so fun, time really flies. :)00:35
pete__i think you convinced me with python00:35
jo-erlendthanks! :)00:35
pete__ok i'm off bye00:35
jo-erlendbye :)00:35
dpmgood morning!08:11
jmlhello10:23
dpmhey jml :)10:30
ajmitchhi10:54
=== achuni_ is now known as achuni
aquariusanyone feeling knowledgeable about gtk3 drag and drop? I want a webkit.webview *and* its container to both receive drag and drop signals...23:42

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!