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

Purebe_|Workoh00:13
Purebe_|WorkI bet it's because I misunderstood nohup, I thought it automatically rebased your application to have initd be the parent00:13
Purebe_|Workbut that is only if it intercepts a hup signal00:14
=== _salem is now known as salem_
ahoneybundarn scopes are hard01:23
ahoneybunI'm trying to make a Steam scope01:24
SturmFlutahoneybun: I built a bunch of apps but no scopes. Is there a big difference?01:31
ahoneybunSturmFlut, they pull from other apis and can get info01:32
ahoneybunlook at the Cinema Scope, pulls info from IMDB and you can search for local movies right from the dash01:32
ahoneybunor the ebay and amazon scopes01:32
SturmFlutahoneybun: Looks like I have to take a proper look at the scopes concept01:33
ahoneybunSturmFlut, really nice and cool01:33
ahoneybunrpadovani, would I be about to use this http://steamcommunity.com/dev or is there some other api steam has if you know01:35
ahoneybunnevermind need a key01:35
SturmFlutahoneybun: Jep, http://steamcommunity.com/dev is the official API and you need a key01:36
ahoneybunSturmFlut, the question is if I could use it for what I want01:36
ahoneybunand I need a domain (website) to get a key01:36
ahoneybunI think the main use of it is for a widget or something on a site01:37
SturmFlutahoneybun: Looks like it, yes01:38
ahoneybunSturmFlut, I have no exp with API and such other then the ubuntu one for apps01:38
SturmFlutGrrrr, the Ubuntu SDK supplied with Vivid changed and now some of my projects no longer work on the phone. I have to create a new project, incorporate the file from the existing project and then it works again. Don't know why and don't want to know. Probably some change in the CMake files01:45
ahoneybunwow01:46
SturmFlutMost of my projects which use native Qt/C++ code no longer work01:48
* SturmFlut hates to fix qt3d-cylinder01:49
=== salem_ is now known as _salem
ahoneybunSturmFlut, all my just use QML01:54
ahoneybunI have some exp with C++ from a intro class lol01:54
SturmFlutahoneybun: There are no QML classes for a lot of use cases, and QML lacks performance01:55
SturmFlutahoneybun: My "Game of Life" app runs way too slow on a phone01:55
ahoneybunyea SturmFlut my app is simple and my others are just webapps01:55
SturmFlutahoneybun: I did some webapps in the beginning, too, but then I built qt3d-cylinder and since then I mix QML/C++ whenever it makes sense. My two main applications, Flood It and Game of Life, are currently implemented in pure QML though.02:06
ahoneybunSturmFlut, see that is far above me, I know I could get there just not there yet02:06
=== _salem is now known as salem_
SturmFlutahoneybun: Qt/C+ is actually quite easy once you get the basic concepts.02:28
ahoneybunSturmFlut, yea I just need practice and application02:29
=== salem_ is now known as _salem
bzoltan_SturmFlut:  what is the symptom of "my app not working on the phone" is there an error message fro cmake or from compiler?04:24
cpyargerWho can help a guy with integration of Gstreamer into an app in the ubuntu SDK?04:28
cpyargerI cant figure out why it can't find the qtgstreamer, or or gstreamer libraries.04:30
=== chihchun is now known as chihchun_afk
AkivaAvrahamdoes anyone know if any projects have more than one test suites for autopilot?06:50
emc2send hola07:16
emc2No se como funciona esto07:16
AkivaAvrahamemc2, hmmm?07:17
AkivaAvrahamif only dpm was here; I think he speaks spanish07:17
Prahi... can tell how to import existing cordova project to the ubuntu sdk07:35
AkivaAvrahamPra, cordova? I'm not familiar with it.07:35
AkivaAvrahamPra, what is it programmed in?07:35
Prayes ,for cross platform07:35
AkivaAvrahamPra, do you want to just make it available for the ubuntu desktop, or for the ubuntu touch?07:36
Praubuntu touch07:37
AkivaAvrahamPra, okay you came to the right place.07:37
AkivaAvrahamPra, What does the project do?07:37
Prathere is option in sdk but it showing error07:37
AkivaAvrahamPra, are you on 14.04?07:37
Prait is just a demo app insert and delete op.07:38
Pra12.0407:38
AkivaAvrahamPra, you need to upgrade to at least 14.04.07:38
AkivaAvrahamif you plan on developing for the touch.07:38
Prawhat to do?07:38
AkivaAvrahamPra, sec07:38
AkivaAvrahamPra, http://www.ubuntu.com/desktop/developers07:40
AkivaAvrahamahayzen, o/11:16
ahayzenAkivaAvraham, yo11:16
AkivaAvrahamahayzen, btw about a week ago, I posted the music reboot on the linux subreddit. If you want some feedback, well you know how linux users are :)11:16
ahayzenAkivaAvraham, oh cool :) have you got a link?11:17
AkivaAvrahamsure11:17
AkivaAvrahamahayzen, http://www.reddit.com/r/linux/comments/2s5df2/ubuntu_music_app_on_ubuntu_1504/11:18
ahayzenAkivaAvraham, thanks11:18
AkivaAvraham174 comments11:18
* ahayzen just read all of them lol11:23
AkivaAvrahamahayzen, its hard reading a lot of the comments because many people have no clue that this is just the phone/tablet interface.11:24
ahayzenAkivaAvraham, yeah lol ... it'll be interesting what they say after we get/implement the tablet designs and then the desktop after that11:24
ahayzenAkivaAvraham, do you remember the old app ?11:24
AkivaAvrahamahayzen, barely11:25
ahayzenAkivaAvraham, http://hayzentech.co.uk/blog/wp-content/uploads/2014/11/old_music_app_images_2.jpg11:26
ahayzenAkivaAvraham, the last version of it11:26
ahayzenAkivaAvraham, i agree with most of them that it is tricky to use on the desktop, but the recent addition of search has helped... and say if you could use the keyboard to navigate through the tiles and other screens, if the actions didn't overflow etc things would be much better11:27
ahayzenoh and if it didn't waste soooooo much whitespace on larger screens :)11:27
AkivaAvrahamahayzen, indeed.11:28
ahayzenAkivaAvraham, also remember we only started this rewrite in ~oct 2014 ;)11:28
AkivaAvrahamahayzen, I remember; its the reason why I am writing this autopilot plugin11:31
ahayzenhehe11:31
ahayzenAkivaAvraham, is that the one for qtc?11:31
AkivaAvrahamwhich btw is almost done. It now autodetects most autopilot tests, and allows you to run them.11:31
ahayzensweet :)11:31
AkivaAvrahamahayzen, yah I just pushed an upgrade.11:31
AkivaAvraham:)11:32
ahayzenAkivaAvraham, have you got it working with qmltests as well?11:32
ahayzenalot of apps are starting to use them as well as autopilot11:32
AkivaAvrahamahayzen, I'm not sure. what it does, is it uses "autopilot3 list [module]" to get a list, and then parses the list to create menu actions that will run the tests.11:33
AkivaAvrahamahayzen, so does qml tests use "autopilot3 run test_name"?11:33
ahayzenAkivaAvraham, ah yeah it'll be autopilot only, but that is still *really* useful11:33
ahayzenAkivaAvraham, not it uses qmltestrunner ... let me find an example11:33
ahayzenAkivaAvraham, there are some here http://bazaar.launchpad.net/~ubuntu-clock-dev/ubuntu-clock-app/utopic-3.0/files/head:/tests/unit/11:34
ahayzenAkivaAvraham, i wonder if they are already being run via cmake in that example though11:35
AkivaAvrahamahayzen, okay I'll have to add that later then.11:35
ahayzenAkivaAvraham, yeah they are easier, and far quicker to run, than autopilot... so an autopilot helper is of more use11:35
AkivaAvrahamahayzen, the trouble with autopilot, is detecting the tests. There is no "Keyword" or uniformity, so I basically have to cast a few nets and hope I get lucky.11:35
ahayzenAkivaAvraham, can you pick one test and run it in your plugin?11:36
ahayzenhah11:36
AkivaAvrahamahayzen, yes.11:36
AkivaAvrahamahayzen, I'll make a video and show you, give me 7 minutes11:36
ahayzenAkivaAvraham, sweet :) that would save me *alot* of time hehe11:36
ahayzenAkivaAvraham, you know about Vis as well? could be useful having a menuitem to launch that11:37
ahayzenAkivaAvraham, thanks :)11:37
AkivaAvrahamvis?11:37
AkivaAvrahamnope11:37
AkivaAvrahamokay stop pinging me, you cut my video off :P11:37
ahayzenhttp://www.theorangenotebook.com/2013/01/introspecting-with-autopilot.html11:38
ahayzenits a gui tool which allows you to 'see' what autopilot 'sees'11:39
AkivaAvrahamhmmmm don't you already see what it sees though, when you run it on your desktop?11:41
ahayzenno as in the actual objects so you can see the all the properties11:42
ahayzenAkivaAvraham, its more obvious what it does if you run it ;)11:43
AkivaAvrahamahayzen, interesting11:44
* AkivaAvraham fears the feature creep!11:44
ahayzenhehe11:44
ahayzenAkivaAvraham, have you talked to the sdk and autopilot guys about what your making, they may have some more ideas?11:44
AkivaAvrahamI have one more thing I need to do to get this to be ... accepted by the sdk team. I need it runnable on devices.11:45
ahayzenah11:45
AkivaAvrahamyah, bzoltan_ and zbenjamin said its got be seemless. Will be a bit hard because of how the autopilot tests vary so much from project to project.11:45
bzoltan_AkivaAvraham:  we can enforce a structure policy I guess ...11:47
AkivaAvrahambzoltan_, you work on weekends?11:47
AkivaAvraham:o11:47
bzoltan_AkivaAvraham:  I never work ... I do my hobby during the week11:47
AkivaAvrahambzoltan_, :D11:48
AkivaAvrahambzoltan_, ahayzen  https://www.youtube.com/watch?v=1RRFLKYCeck&feature=youtu.be -- latest version11:48
AkivaAvrahamit detects all the template apps I think, most core apps, but not the terminal reboot!11:49
ahayzenAkivaAvraham, thats pretty cool :) ... i think it would be useful if there was a 'run all' at the top of the menu or something11:50
AkivaAvrahamahayzen, yah thats easy enough to do.11:51
ahayzenAkivaAvraham, but it already looks pretty functional and *really* useful11:51
AkivaAvrahamahayzen, no more copy pasta from the terminal to run individual tests11:51
ahayzenAkivaAvraham, maybe just have a few menus at the top like ... Autopilot docs, Start Autopilot Vis, Run all then the others underneath11:52
ahayzen<- no UX designer ;)11:52
AkivaAvrahamahayzen, yah I got you. Its easy enough to put in. I'll put it on the todo wishlist.11:53
ahayzensweet11:53
ahayzenAkivaAvraham, when it dumped the output... was that in a separate window or something?11:53
AkivaAvrahamahayzen, now if only I had a device, where I could actually test whether this will work on a device :<11:53
ahayzenhah :)11:54
ahayzenAkivaAvraham, i'm sure people with devices will be willing to test things for you ;)11:54
AkivaAvrahamahayzen, oh that was just a QMessage::notify(0,string,standardoutput)11:54
ahayzenah11:54
ahayzenAkivaAvraham, are you able/already dumping the output to one of the panes at the bottom ?11:54
AkivaAvrahamahayzen, yah I'll need to make that more scaleable.11:54
AkivaAvrahammmmmmm no , havn't thought about that. That would be a bit more work creating such a widget on the sdk11:55
AkivaAvrahamnik90 suggested adding a side tab; I don't disagree. For now, I just want to focus on getting the menu commands working.11:56
ahayzenAkivaAvraham, when you run the sdk things the output usually appears in general messages or app output IIRC11:56
AkivaAvrahamahayzen, you mean from qDebug?11:57
ahayzenAkivaAvraham, yeah and others ... would be cool if it could appear down there11:57
AkivaAvrahamahayzen, yah I think I know how I might be able to do that... Anyways,11:58
AkivaAvrahamahayzen, I need to get a device, because I don't know how to run autopilot on devices.11:59
ahayzenerm ... phablet-test-run or via adt-run11:59
AkivaAvrahamand bloody bq and meizu won't work in canada on my network ;_:11:59
ahayzen:/11:59
AkivaAvrahamahayzen, if you want to do me a solid, do you have a video of you or someone running a test on a device? If I can boil it down to a terminal command, that might be enough.12:00
ahayzenAkivaAvraham, i usually run ... $ phablet-test-run -v $tests > $out ... where $tests is like music_app.tests.test_music.TestMainWindow.test_shuffle12:02
ahayzenAkivaAvraham, but you have todo other things first to enable ap and set it all up12:02
AkivaAvrahamahayzen, well do you need to ssh into the device?12:03
ahayzenAkivaAvraham, probably best to talk to the autopilot guys as i have old scripts ... and i'm not sure if adt is preferred now12:03
ahayzenAkivaAvraham, no phablet-test-run does that for you12:03
AkivaAvrahamokay12:04
ahayzenAkivaAvraham, IIRC adt is something like ... ADT_AUTOPILOT_MODULE="-v %s" adt-run --click com.ubuntu.music --- ssh -s adb ... where %s are your tests to run12:04
ahayzenbut again needs setup before12:04
AkivaAvrahamif its just that, that would be easy.12:04
ahayzensomething like $ phablet-config autopilot --dbus-probe enable .. so setup12:04
AkivaAvrahamahayzen, will phablet-test-run only run if it detects an attached device?12:04
AkivaAvrahamor running emulator?12:04
ahayzenyup ... i think12:04
AkivaAvrahamokay that should be easy then.12:05
ahayzenyeah should be simple enough, i would just check with someone what the latest way of doing things is12:05
AkivaAvrahamthanks12:06
cpyarger  If anyone is willing to give a hand. I need someone to build a framework, that I can fill in that uses qtgstreamer for my kast project.  --  https://github.com/cpyarger/kast --I would like to get somewhere with this project, But qt+gstreamer hasn't quite clicked for me yet and I am hoping with some help from more experienced people some progress might be made.14:22
Akiva!ping15:58
ubot5pong!15:58
Akivacpyarger, hey15:58
cpyargerhey15:58
Akivacpyarger, What are you having trouble with specifically?15:58
AkivaAssuming you know how to incorporate qt into your qml program, right?15:59
cpyargerI do not know c++, QT, or Gstreamer well,15:59
cpyargerSo at this point I would say im stuck at the good Idea stage15:59
Akivacpyarger, okay thanks; gives me a good grounding on what you need16:00
Akivacpyarger, okay question: whats the difference between the stack and the heap?16:00
cpyargerI believe in how the memory is allocated.16:01
Akivacpyarger, okay good,16:01
Akivacpyarger, which one is dynamic?16:01
cpyargerTo be perfectly honest, My skills in programming lie in making decent BASH scripts, and coding for the arduino, and Heap16:02
Akivacpyarger, no problem, if you are honest, that is best.16:02
cpyargerIt took me about 3 hours to figure out how to include a library in the ubuntu-sdk16:03
Akivacpyarger, yep, ive been there.16:03
Akivacpyarger, trust me. You are not alone in your frustrations. C++ has archaic error messages. However, I know of a cure.16:03
AkivaMost people would tell you to go learn C++, but the trouble with that is that you will learn skills that will be supplanted by qt16:04
AkivaAnd if you want to learn qt, you need to know c++16:04
AkivaSo, the best solution is a manual that teaches you c++ the qt way16:04
Akivathat way you kill two birds with one stone; are you following me?16:04
cpyargerGot it.16:05
Akivaokay hold on one sec...16:05
Akivacpyarger, alright, go here; its an incomplete guide (i'm busy)16:05
Akivahttp://www.reddit.com/r/UbuntuAppDev/comments/2qy5ko/guide_for_new_ubuntu_developers/16:05
Akivabut it provides you what you need at the bottom, and gives a good synopsis.16:06
AkivaNow, the reason why c++ is important,16:06
Akivaand very important16:06
Akivais that it will teach you how to understand the qt documentation.16:06
Akivacpyarger, if you can drag yourself through the first two chapters, learning Classes and Memory Management, you probably can go from there and start completing programs on your own.16:07
cpyargerok, I have it downloaded.16:07
cpyargerany suggestions on books for qtgstreamer integration?16:08
Akivacpyarger, well, I gather there is qt documentation on it16:08
Akivasec16:08
Akivacpyarger, okay apparently this is something by gstreamer. in any case; their api requires you to understand c++.16:10
cpyargeryea, I found their stuff, it seemed a bit lacking in depth,16:11
AkivaDon't make the same mistake I did, about groping in the dark until you found out how it worked. For the love of god, make sure you read that manual.16:11
cpyargerI already started reading16:11
Akivado the tests. figure out that first.16:11
Akivacpyarger, do all the tests and questions it gives you. comment and explain how memory is being allocated.16:11
cpyargerWill do,16:12
Akivacpyarger, oh and if you are like me, and are a bad reader, It really helps me to go through the documentation with a text-to-speech reader.16:12
Akiva:)16:12
cpyargerI am a good reader, and tend to love experimentation, So as long as I dont end up with a 32 GB memory hole somewhere I should be good16:13
Akivacpyarger, the first chapter is definitely the most important though.16:13
Akivacpyarger, anyways I have an appointment to attend to. Read the documentation! It is for your own good. I can't stress it enough.16:14
* Akiva still has so many regrets about not reading the documentation earlier...16:14
* cpyarger nods Documentation is key16:15
Akivacpyarger, oh and if you do get bored and need to take a break, learn some qml by contributing to one of the core apps. Fun language, easy to use, and you get a lot of good experience if you see how ubuntu is developing theirs.16:16
cpyargerwill do16:17
* SturmFlut announces that "Flood It" is now feature-complete and available in the store19:09

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