Hi all,<br><br>This is a log of an IRC meeting me( GSoC 2011 student ), Aleix, Aaron and Marco had regarding KDE Plasma Educational Desktop GSoC.<br>This meet was basically to decide the goals of the GSoC and what technologies could be used to implement them.<br>
<br>Any comments or suggestions are welcome and appreciated :)<br><br>[00:10:55] &lt;kps_foo&gt; so shall we begin?<br>[00:11:00] &lt;apol&gt; sure<br>[00:11:08] &lt;apol&gt; let me start<br>[00:11:11] &lt;kps_foo&gt; ok<br>
[00:11:51] &lt;apol&gt; I think that the most important part of this project would be to provide to KDE some way to create the classroom abstraction<br>[00:12:39] &lt;apol&gt; we should identify what kind of data are we going to be sharing<br>
[00:12:46] &lt;apol&gt; and provide good infrastructure for that<br>[00:13:14] &lt;kps_foo&gt; ok<br>[00:13:34] &lt;apol&gt; synchrotron is good probably for some use cases, but we should make sure it&#39;s the correct way to go<br>
[00:14:33] &lt;notmart&gt; that was one of the two first ideas (i.e. remote widgets and syncrotron)<br>[00:14:46] &lt;apol&gt; in my opinion, we should use this gsoc as a kickstart for a new environment paradigm where the user (student using his computer) is not alone<br>
[00:14:54] &lt;notmart&gt; syncrotron seems a good async way to distribute files to sync configurations<br>[00:15:01] &lt;kps_foo&gt; notmart: +1<br>[00:15:04] &lt;notmart&gt; and doesn&#39;t need a perfect connection all the time<br>
[00:15:14] &lt;apol&gt; it&#39;s good, but it&#39;s 1 way<br>[00:16:29] &lt;notmart&gt; yeah, right<br>[00:16:32] &lt;apol&gt; also it&#39;s requiring quite some setup (it&#39;s php, probably needs a webserver and so? I don&#39;t know)<br>
[00:16:39] &lt;notmart&gt; what exactly would be needed for the other way?<br>[00:16:57] &lt;notmart&gt; yeah, any lamp would do<br>[00:17:07] &lt;kps_foo&gt; yup its php<br>[00:17:24] &lt;notmart&gt; (now still uses postgres, will have to change since kde infra doesn&#39;t haz it)<br>
[00:17:39] &lt;kps_foo&gt; mysql ?<br>[00:17:48] &lt;apol&gt; requiring that every classroom should have a lamp server is a bit overkilling, isn&#39;t it?<br>[00:18:25] &lt;aseigo&gt; apol: yes, it requires a webserver and is in PHP. it could trivially be rewritten in C++ or whatever using a Qt based http stack<br>
[00:18:38] &lt;aseigo&gt; (if that&#39;s a real issue :)<br>[00:18:49] &lt;aseigo&gt; it certainly isn&#39;t rocket science, which is the nice thing about it<br>[00:19:20] &lt;aseigo&gt; (it literally took me 1.5 days to write and test, and ~2 days of not-full-time-efforts to work out various kinks that were reported and features requested)<br>
[00:19:51] &lt;aseigo&gt; also remember that &quot;lamp server&quot; runs just fine on a laptop..<br>[00:19:54] &lt;aseigo&gt; or a netbook, for that matte<br>[00:19:55] &lt;aseigo&gt; r<br>[00:20:05] &lt;apol&gt; runs fine, but it&#39;s a pain in the ass to setup<br>
[00:20:16] &lt;apol&gt; or well<br>[00:20:19] &lt;apol&gt; runs fine, but it&#39;s a pain in the ass to setup _properly_<br>[00:20:24] &lt;aseigo&gt; certainly harder than a built-in solution<br>[00:20:42] &lt;aseigo&gt; a built-in solution is not going to be as scalable, but that isn&#39;t an issue here<br>
[00:20:49] &lt;apol&gt; what kind of data would we share there? lessons?<br>[00:20:57] &lt;notmart&gt; $educationaldistro could have it already setted..<br>[00:21:02] &lt;aseigo&gt; kps_foo: have you read the <a href="http://community.kde.org">community.kde.org</a> page about plasma classroom?<br>
[00:21:12] &lt;kps_foo&gt; yes long time back<br>[00:21:15] &lt;apol&gt; notmart: requiring less from distros is good generally<br>[00:22:06] &lt;kps_foo&gt; I also read about a Meduxa project on the wiki<br>[00:22:11] &lt;aseigo&gt; things that are most often requested are:<br>
[00:22:23] &lt;aseigo&gt; * sets of files (possibly templates, but that&#39;s a detail)<br>[00:22:32] &lt;aseigo&gt; * set of applications to launch (possibly with pre-configurations)<br>[00:22:58] &lt;aseigo&gt; * sets of plasmoids (they, or their equivalents, are used in both the portugal and brazil deployments)<br>
[00:23:13] &lt;apol&gt; how would the student report back to their teacher?<br>[00:23:14] &lt;aseigo&gt; essentially, pre-configured activities<br>[00:23:15] &lt;kps_foo&gt; maybe also instant chat with the teacher ?<br>[00:23:23] &lt;kps_foo&gt; aseigo: exactly<br>
[00:23:26] &lt;apol&gt; plasmoids should be installed by the distro... no?<br>[00:23:30] &lt;aseigo&gt; i don&#39;t know if chat is useful, tbh, in a classroom<br>[00:23:56] &lt;apol&gt; well, we need to be able to send the results back to the teacher<br>
[00:24:08] &lt;kps_foo&gt; apol: yeah<br>[00:24:13] &lt;aseigo&gt; apol: not necessarily.. and this is about configuration as well.. even if the plasmoids already exist on the student systems, something needs to say &quot;start the parley plasmoid, place it over there and load that language file&quot;<br>
[00:24:49] &lt;apol&gt; aseigo: sure, but that&#39;s a configuration, not a plasmoid...<br>[00:24:50] &lt;aseigo&gt; right .. so .. results .. this is something i think would be best implemented in the &quot;classroom containment&quot; which would be a full-screen (aka &quot;desktop&quot;) containment<br>
[00:24:50] &lt;apol&gt; no¿<br>[00:25:33] &lt;apol&gt; but that wouldn&#39;t make it possible for applications to integrate with that<br>[00:25:38] &lt;aseigo&gt; apol: yes, that&#39;s configuration; so is which applications and possibly even which files (they may already be on the system or on a network drive)<br>
[00:25:56] &lt;apol&gt; yes<br>[00:25:58] &lt;aseigo&gt; there&#39;s also the possibility of scripted plasmoids living on the teacher&#39;s system that are distributed<br>[00:26:03] &lt;aseigo&gt; which makes it not just configuration in this case<br>
[00:26:14] &lt;apol&gt; well, teachers don&#39;t want to write code generally...<br>[00:26:25] -*- aseigo can imagine having &quot;template&quot; plasmoids written in javascript that the teacher can &quot;configure&quot; and then deploy<br>
[00:26:33] &lt;apol&gt; but yes, if we can do files, we can install scripts, of course<br>[00:26:34] &lt;aseigo&gt; nah, don&#39;t have to.<br>[00:27:03] &lt;aseigo&gt; imagine a &quot;math test plasmoid&quot; that includes the math questions entered by the teacher earlier<br>
[00:27:21] &lt;aseigo&gt; would be very easy to create a front end to such a thing that would require zero coding, packaging, etc.<br>[00:27:26] &lt;aseigo&gt; a plasmate for teachers, if you will :)<br>[00:27:52] &lt;aseigo&gt; ditto for future kde applications written with QtQuick; those could be deployed on demand quite easily<br>
[00:28:06] &lt;aseigo&gt; anyways.. delivery is just files, yes<br>[00:28:22] &lt;apol&gt; yeah well, let&#39;s consider plasma as a shell for the moment<br>[00:28:29] &lt;aseigo&gt; the basic configuration is probably most easily done using Plasma Desktop Scripting files (so they can automatically adapt to screen resolutions, etc)<br>
[00:29:01] &lt;apol&gt; also something very important is how we would setup the classroom<br>[00:29:07] &lt;aseigo&gt; the containment is a good candidate (though not the only one, certainly) for housing both the layout fetching/display and the feedback to the teacher<br>
[00:29:37] &lt;aseigo&gt; apol: could be done perhaps via this theoretical classroom containmen<br>[00:29:38] &lt;aseigo&gt; t<br>[00:29:51] &lt;apol&gt; aseigo: specifying the teacher IP?<br>[00:29:53] &lt;aseigo&gt; the teacher system could either announce via zero conf, or the containments could be preconfigured<br>
[00:30:12] &lt;aseigo&gt; IP, host name, zeroconf ...<br>[00:30:16] &lt;apol&gt; I think preconfigured will tend not to work<br>[00:30:20] &lt;aseigo&gt; the containment could include a small &quot;log in&quot; prompt<br>
[00:30:20] &lt;apol&gt; zeroconf would be great<br>[00:30:30] &lt;kps_foo&gt; there could be  a default configuration in case the teacher&#39;s system is not working?<br>[00:30:34] &lt;aseigo&gt; (we will already use zeroconf elsewhere in libplasma, so shouldn&#39;t be a stretch)<br>
[00:30:59] &lt;aseigo&gt; kps_foo: could just say &quot;waiting for teacher system&quot; and refuse to do anything else :)<br>[00:31:11] &lt;apol&gt; kps_foo: let&#39;s forget about defaults for the moment...<br>[00:31:16] &lt;kps_foo&gt; ok<br>
[00:31:36] &lt;apol&gt; ok, then, getting back at teacher feedback<br>[00:31:41] &lt;aseigo&gt; ah, and to be extra clear on the shell aspect: i suggest just usng plasma-desktop as the shell .. it has all the features needed and all the extra bits are easily made innaccessable as they are all triggered using plugins<br>
[00:31:57] &lt;aseigo&gt; right, so that&#39;ll be the Big Part(tm) of this imho<br>[00:32:10] &lt;aseigo&gt; there needs to be a server implementation at the teacher&#39;s system<br>[00:32:29] &lt;aseigo&gt; the students need to &quot;log in&quot; to the system, and the teacher can do the auth (much like a web app, really)<br>
[00:32:33] &lt;apol&gt; aseigo: he will receive it using synchrotron? how?<br>[00:32:53] &lt;apol&gt; or just post to the http server?<br>[00:33:12] &lt;aseigo&gt; can be http; could be XMPP; protocol is almost secondary<br>
[00:33:27] &lt;aseigo&gt; the teacher&#39;s system needs to be able to:<br>[00:33:38] &lt;aseigo&gt; * list which students are logged in, and which activity they are currently using<br>[00:33:48] &lt;apol&gt; agree<br>[00:33:52] &lt;kps_foo&gt; +1<br>
[00:33:54] &lt;aseigo&gt; * provide feedback as to what they are doing (e.g. which application is launched, etc.)<br>[00:34:00] &lt;apol&gt; that&#39;s why I was thinking about telepathy<br>[00:34:23] &lt;apol&gt; this would mean that edu applications would be able to use what has been setup<br>
[00:34:30] &lt;aseigo&gt; telepathy might be overkill (i&#39;m a little sceptical of the API), but sure .. it could definitely work<br>[00:35:07] &lt;apol&gt; well, it&#39;s the only thing we have KDE-wise<br>[00:35:10] &lt;aseigo&gt; what would be very interesting is to find out how the nepomuk event stuff is going<br>
[00:35:13] &lt;aseigo&gt; notmart: how is it? :)<br>[00:35:37] &lt;notmart&gt; spitted some blood on it today<br>[00:35:43] &lt;aseigo&gt; because if that is ticking along quickly enough (might be due to contour) then the containment could just forward on those events via xmpp to the teacher system<br>
[00:35:54] &lt;aseigo&gt; then the edu apps, etc. could just register events<br>[00:36:07] &lt;notmart&gt; basically it logs what resource is open/modified/closed by which application<br>[00:36:10] &lt;aseigo&gt; that would avoid close coupling of the edu apps and plasma classroom, for instance<br>
[00:36:26] &lt;notmart&gt; after having that one can infer all kinds of crazy things<br>[00:36:27] &lt;apol&gt; sure<br>[00:36:31] &lt;apol&gt; we don&#39;t want coupling<br>[00:36:32] &lt;aseigo&gt; notmart: how feasible would it be to add a &quot;current app&quot; log?<br>
[00:36:33] &lt;notmart&gt; (note as of today is still not really working)<br>[00:36:39] &lt;apol&gt; schools will want to use openoffice<br>[00:36:46] &lt;apol&gt; (or libreoffice XD)<br>[00:36:48] &lt;aseigo&gt; apol: yeah..<br>
[00:37:02] &lt;aseigo&gt; we can track the current app with KWindowSystem and/or libtaskmanager fairly easily though<br>[00:37:07] &lt;aseigo&gt; and send that info to the teacher<br>[00:37:20] &lt;notmart&gt; hmm, not sure about that, ivan would be more the man for it<br>
[00:37:22] &lt;aseigo&gt; technically, what i&#39;d recommend is that the classroom containment becomes responsible for that.<br>[00:37:32] &lt;notmart&gt; at the moment is centered about resources<br>[00:37:48] &lt;notmart&gt; so what file open or whatever can be mapped in a nepomuk resource<br>
[00:37:50] &lt;aseigo&gt; and a Plasma::Service is written that implements the send-the-messages-to-the-teacher-system as well as the authentication<br>[00:37:59] &lt;apol&gt; well, the important thing is to have the channel to provide all this information<br>
[00:38:06] &lt;aseigo&gt; then the Containment can use the Service and funnel all the informatoin we wish to the teacher<br>[00:38:17] &lt;aseigo&gt; the teacher system would then have one connection open per student<br>[00:38:17] &lt;apol&gt; the specific information is not that much of a problem, by now<br>
[00:38:40] &lt;aseigo&gt; and this is an important point: the connection needs to be kept alive and ping the teacher system every so often (e.g. every 1-10 seconds)<br>[00:38:41] &lt;apol&gt; if we limit it to such small use cases we will be limited in the future<br>
[00:38:59] &lt;apol&gt; aseigo: or just use a stateful protocol to communicate<br>[00:39:01] &lt;aseigo&gt; this is a requested feature, apparently: to know if a student has been naughty and unplugged the network cable to try and avoid being watched ;)<br>
[00:39:18] &lt;aseigo&gt; no, apparently we need to &quot;heartbeat&quot; the student systems<br>[00:39:33] &lt;apol&gt; aseigo: xmpp knows if a client is down<br>[00:39:42] &lt;aseigo&gt; perfect then :)<br>[00:39:55] &lt;kps_foo&gt; agreed<br>
[00:39:56] &lt;aseigo&gt; so should we add xmpp as a part of the design specifics? kps_foo: what do you think?<br>[00:40:00] &lt;aseigo&gt; perfect :)<br>[00:40:16] &lt;kps_foo&gt; :)<br>[00:40:35] &lt;apol&gt; problem with xmpp is that libraries are a pain in the ass (used it some in the past) that&#39;s why I proposed to use telepathy<br>
[00:40:59] &lt;apol&gt; probably kps_foo should find the best way<br>[00:41:10] &lt;aseigo&gt; a containment with a service that connects to a teacher app (can be a stand-alone KDE app; not necessarily plasma-desktop or plasma anything ..), speaks XMPP, notes disconnects, does auth (at first can be &quot;fake&quot; auth) would be a great start<br>
[00:41:25] &lt;aseigo&gt; apol: yes, i agree that that is a good starting task indeed<br>[00:41:26] &lt;apol&gt; that would be awesome<br>[00:41:45] &lt;apol&gt; that way we would have the abstraction we need set up<br>[00:41:59] -*- aseigo nods<br>
[00:42:00] &lt;aseigo&gt; step 2 could involve sending pre-configured layouts from the teacher to a student containment<br>[00:42:02] &lt;apol&gt; and start worrying about gettign it properly integrated with the desktop<br>
[00:42:04] &lt;kps_foo&gt; got it<br>[00:42:16] &lt;aseigo&gt; step 3 could be forwarding nepomuk events<br>[00:42:50] &lt;aseigo&gt; step 4 could be augmenting kde edu apps to log such events, and include a &quot;current window&quot; logger as well (could be in the containment itself)<br>
[00:42:59] &lt;aseigo&gt; if that was managed, that would already be kick ass..<br>[00:43:14] &lt;kps_foo&gt; understood<br>[00:43:24] &lt;aseigo&gt; having a way to set up pre-configured layouts visually would be another fine step<br>
[00:43:35] &lt;aseigo&gt; apol: what do you think? anything to add, remove, re-arrange?<br>[00:43:48] &lt;apol&gt; i think it&#39;s good<br>[00:43:52] &lt;kps_foo&gt; me too<br>[00:44:05] &lt;apol&gt; aseigo: what will be teh first kde to support proper qml plasmoids?<br>
[00:44:15] &lt;aseigo&gt; apol: 4.6.0 :)<br>[00:44:38] &lt;apol&gt; hahaha<br>[00:44:39] &lt;apol&gt; good<br>[00:44:41] &lt;aseigo&gt; notmart has done some awesome work there<br>[00:45:01] &lt;notmart&gt; uuh, on what? ;)<br>
[00:45:11] &lt;notmart&gt; ah, qml plasmoids<br>[00:45:55] &lt;aseigo&gt; notmart: yes, you&#39;re favourite thing in the world ;)<br>[00:46:10] &lt;kps_foo&gt; :-)<br>[00:46:42] &lt;aseigo&gt; er, your favourite<br>[00:46:50] &lt;aseigo&gt; kps_foo: how do you feel about that?<br>
[00:47:02] -*- notmart hoped to be your favourite thing in the world :p<br>[00:47:05] &lt;aseigo&gt; kps_foo: too much, too little, just right, exciting, boring, pink, fluffy?<br>[00:47:15] &lt;apol&gt; kps_foo: I think that the very interesting part about this gsoc is that if the classroom abstraction is done properly, we can probably adapt it to other use cases quite easily in the future<br>
[00:47:22] &lt;aseigo&gt; apol: agreed<br>[00:47:22] &lt;kps_foo&gt; exciting<br>[00:47:37] &lt;apol&gt; in the end the classroom is just an abstraction for &quot;some people working together and exchanging stuff&quot;<br>
[00:47:48] &lt;kps_foo&gt; apol: +1<br>[00:48:42] &lt;kps_foo&gt; it could well be extended to Plasma Office or something like that ?<br>[00:48:47] -*- notmart thinks the difficult and awesomio thing here is the sharing protocols<br>
[00:49:07] &lt;notmart&gt; a shell can come after, that by itself is not the awfully time consuming process it used to be<br>[00:49:14] &lt;notmart&gt; even tough not to be undersestimated<br>[00:49:18] &lt;apol&gt; kps_foo: thign is you will be touching many technologies, so don&#39;t be afraid to ask us or to look for the right guy (tm)<br>
[00:49:31] &lt;apol&gt; notmart: agree<br>[00:49:38] &lt;kps_foo&gt; oh I will ask a lot thats for sure :D<br>[00:50:15] &lt;kps_foo&gt; should we place a log of this IRC meet on the MLs ?<br>[00:50:35] &lt;notmart&gt; think is a good idea<br>
[00:50:57] &lt;apol&gt; sure<br>[00:50:57] &lt;aseigo&gt; kps_foo: and please feel free to start pages in the <a href="http://community.kde.org">community.kde.org</a> wiki and what not<br>[00:51:11] &lt;kps_foo&gt; aseigo: ok, got it<br>
[00:52:02] &lt;kps_foo&gt; now 1 last thing I wanted to tell everyone.....<br>[00:52:06] &lt;aseigo&gt; (and to use any other part of our infrastructure too .. it&#39;s all there to make you go, go, go! :)<br>[00:52:16] &lt;kps_foo&gt; aseigo: ok<br>
[00:53:15] &lt;kps_foo&gt; Its just that I got semester exams from 14th May to 27th May....I will have small pockets of time in this period during which I will try to research as much as I can about the technologies to be used<br>
[00:53:42] &lt;kps_foo&gt; but I can start full time coding only from 27th May<br>[00:54:35] &lt;kps_foo&gt; so till 27th May....I will be researching the protocols.....will be mostly absent from IRC....but will be able to reply to emails once or twice in a day..<br>
[00:55:03] &lt;kps_foo&gt; is that ok?<br>[00:55:05] &lt;aseigo&gt; kps_foo: email is fine; you can email any questions you have to the relevant mailing lists<br>[00:55:06] &lt;apol&gt; kps_foo: it&#39;s ok<br>[00:55:17] &lt;aseigo&gt; kps_foo: you can also send mail to use directly, of course, but the lists are usually better<br>
[00:55:22] &lt;apol&gt; community bounding ends by end of may so it&#39;s pretty good already<br>[00:55:23] &lt;aseigo&gt; more people, doesn&#39;t get lost as easily, etc.<br>[00:55:50] &lt;kps_foo&gt; Ok, got it , thanks! :)<br>
[00:56:38] &lt;kps_foo&gt; so this concludes the meet, then ?<br>[00:56:45] &lt;apol&gt; yep<br>[00:56:55] &lt;kps_foo&gt; ok<br>[00:57:04] &lt;aseigo&gt; great :)<br>[00:57:05] &lt;apol&gt; kps_foo: keep us up to date with your research, thoughts and conclusions<br>
[00:57:08] -*- aseigo waves....<br>[00:57:09] &lt;-- aseigo (~aseigo@kde/aseigo) has left #kde-classroom<br>[00:57:11] &lt;kps_foo&gt; ok<br>[00:57:13] &lt;kps_foo&gt; :)<br>[00:57:19] &lt;kps_foo&gt; definitely<br>[00:57:25] &lt;apol&gt; it&#39;s better to make sure that when you start we&#39;re on the same page<br>
[00:57:29] &lt;apol&gt; tahn backtracking<br>[00:57:36] &lt;kps_foo&gt; ok<br>[00:57:38] &lt;kps_foo&gt; got it<br>[00:57:49] &lt;kps_foo&gt; no code until I get the go ahead from you all :)<br>[00:58:17] -*- kps_foo is placing a log of this meet on MLs<br>
[00:58:22] &lt;apol&gt; :)<br><br><br>from<br>Karan Pratap Singh<br>KDE Plasma Educational Desktop<br>IRC nick: kps_foo<br>