|
=== JackyAlcine is now known as ThisCode |
|
=== ThisCode is now known as JackyAlcine |
|
[08:05] <dpm> good morning all |
|
[08:06] <noodles775> Hey there dpm |
|
[08:06] <dpm> hey noodles775, good morning :) |
|
[09:39] <rigved> hi everyone. i am using 12.04 and quickly. i was following the quickly tutorial, but i have come across a problem: http://paste.ubuntu.com/834986/ |
|
[09:41] <rigved> the quickly tutorial says that i should provide only the start and the end iter for the TextView widget's TextBuffer. |
|
[09:41] <rigved> but the error tells me otherwise. can anyone help regarding this? |
|
[09:42] <dpm> hi rigved, which tutorial are you following? |
|
[09:44] <rigved> i typed the quickly tutorial on the cli |
|
[09:45] <dpm> rigved, let me try to reproduce it to see if I can help |
|
[09:46] <rigved> dpm: i was checking http://www.pygtk.org/docs/pygtk/class-gtktextbuffer.html#method-gtktextbuffer--get-text. |
|
[09:47] <rigved> there is a third attribute: include_hidden_chars |
|
[09:48] <rigved> i just now included it in the function call and it worked. |
|
[09:49] <dpm> rigved, ah, cool :) |
|
[09:50] <rigved> dpm: so, it seems like the textbuffer api has changed, right? should i file a bug? |
|
[09:51] <dpm> rigved, I think a bug to update the tutorial would be useful, yes. Which part in the quickly tutorial mentions these arguments? |
|
[09:52] <rigved> dpm: Quickly 11.12 User Guide > Getting Started > Here's the code to get pull the text out of the TextView |
|
[09:53] <rigved> dpm: it's the part where the note data is retrieved from the TextView's TextBuffer. |
|
[09:54] <rigved> dpm: also, i just now noticed that there is a grammatical mistake here: "Here's the code to get pull the text out of the TextView" should be "Here's the code to get/pull the text out of the TextView" or something like that... |
|
[09:56] <rigved> dpm: so, should i file a bug against quickly or is there a separate package for quickly tutorial? |
|
[09:57] <dpm> rigved, thanks, yeah, a bug would be really helpful. Afaik there is only one quickly project, so if you fire up a terminal and run 'ubuntu-bug quickly', it should take you to the right project |
|
[09:59] <rigved> dpm: ok. thanks! |
|
[09:59] <dpm> no worries, thank you! |
|
[10:15] <rigved> bug 929417 |
|
[10:15] <ubot2> Launchpad bug 929417 in quickly "Quickly tutorial contains wrong gtk.TextBuffer.get_text function call" [Undecided,New] https://launchpad.net/bugs/929417 |
|
[10:16] <rigved> bug 929420 |
|
[10:16] <ubot2> Launchpad bug 929420 in quickly "Quickly tutorial contains grammatical mistake" [Undecided,New] https://launchpad.net/bugs/929420 |
|
[10:17] <dpm> awesome, thanks rigved! |
|
[10:22] <rigved> dpm: np |
|
[19:26] <arslanatajanov> Hello. Are there any Python devs here? |
|
[19:31] <jo-erlend> arslanatajanov, yes, but I'm sure that's not really what you'd like to know. :) |
|
[19:31] <jo-erlend> just blurt out your question and see if someone answers. People aren't always looking at their screens. :) |
|
[19:33] <arslanatajanov> Thank you for your prompt reply....Yes, I seek advise... |
|
[19:34] <arslanatajanov> I have just finished reading couple books about Python 2.x and 3.x...And I want to start "a little project"... |
|
[19:35] <arslanatajanov> Let say I am still new to Python but can do something that is working :) |
|
[19:37] <jo-erlend> in that case, it doesn't really matter which one you begin with. Python 3 is the way forwards, but it has less libraries to play with. |
|
[19:39] <jo-erlend> they aren't radically different. If you learn Python 2 first, then you might get a few bad habits, but other than that the languages are the same. You can start to use mostly Python 3 syntax in Python 2 as well. |
|
[19:39] <jo-erlend> for instance, don't get used to writing things like: print "Test". That won't be allowed in the future, so get used to writing print("Test"), etc. |
|
[19:40] <arslanatajanov> So back to my "project"... I am a Biomedical Science student and Computer Science student....And I have noticed that people who are studying with me experience difficulties in finding short and "highly understandable" definitions for various scientific words and phrases...And I thought if it would be possible to create a piece of software which contains a set of short definitions for a large number of scientific termin |
|
[19:42] <jo-erlend> there is a collection of those... But what is it called? |
|
[19:44] <jo-erlend> oh, I misread. I don't know of anything exactly like that. |
|
[19:45] <jo-erlend> arslanatajanov, I think that sounds like a cool project. How do you intend to deliver the application, via a browser or a native desktop experience? |
|
[19:48] <arslanatajanov> Via native experience, (and If it is going to be successful I would like to add different features that will need internet connection, I've came up with a whole list of possible features, so its too long to write) :) |
|
[19:49] <arslanatajanov> I also know C# and have experience in .NET....So i dont know, what to choose, if I choose C# then i'll need to stick to Windows for a long time...but I really like Ubuntu and want to make something on this platform |
|
[19:51] <jo-erlend> You can develop in C# in Ubuntu using Mono. Or you can use Vala, which is very similar to C# but very much faster and built for Gnome. |
|
[19:51] <arslanatajanov> and I wish to use Python because it is more or less portable |
|
[19:51] <jo-erlend> Python is a beautiful language. |
|
[19:51] <arslanatajanov> Yes ive heard of it...but I like Python :) |
|
[19:52] <arslanatajanov> I would really appreciate if you will provide me with links to some resources with Python apps |
|
[19:53] <arslanatajanov> I couldn't find any descent resources on the web by myself |
|
[19:57] <jo-erlend> arslanatajanov, I would look at http://developer.ubuntu.com. |
|
[19:57] <jo-erlend> http://docs.python.org/tutorial is nice. |
|
[19:58] <jo-erlend> of course, there are plenty of apps in Ubuntu itself. Ubuntu One, for instance. |
|
[19:58] <arslanatajanov> Hmm..Ok Thank you...Hope I will get something descent in near future. :) |
|
[19:59] <arslanatajanov> But I really want to implement it.. |
|
[19:59] <jo-erlend> :) |
|
[19:59] <jo-erlend> http://python-gtk-3-tutorial.readthedocs.org/en/latest/ |
|
[19:59] <arslanatajanov> Ok...Thank you again...bye.. |
|
[20:00] <jo-erlend> that's a good one for Python and GTK3 apps. |
|
[20:00] <arslanatajanov> wow..that last link seems cool |
|
[20:01] <arslanatajanov> I was looking for something like this |
|
[20:01] <arslanatajanov> thanks |
|
[20:01] <jo-erlend> Quickly is the first thing you should look at. |
|
[20:01] <jo-erlend> it gets you up and running in minutes. |
|
[20:01] <arslanatajanov> ok...need to go...thanks...I've looked at it...and glade...and created couple simple programms |
|
[20:02] <arslanatajanov> bye |
|
|