Hello,<br>My comments below.<br><br><div class="gmail_quote">On Tue, Jun 8, 2010 at 5:35 AM, santosh kumar <span dir="ltr">&lt;<a href="mailto:santosh.k66@gmail.com">santosh.k66@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br><br><div class="gmail_quote"><div class="im">On Thu, Jun 3, 2010 at 8:58 PM, Brian Cappello <span dir="ltr">&lt;<a href="mailto:briancappello@gmail.com" target="_blank">briancappello@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div class="gmail_quote"><div>On Thu, Jun 3, 2010 at 4:50 AM, santosh kumar <span dir="ltr">&lt;<a href="mailto:santosh.k66@gmail.com" target="_blank">santosh.k66@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


exams about to be over in next  two days :D<br>
<br>
<br>
<br>
I have started with my work ,but will need sometime to chalk out the schedule.<br>
<br>
I need some help.<br>
<br>
can we use  dcop Knotify to send notification from a server to an<br>
invidual machine. if not can u suggest an alternative routine?<br>
<br>
how do u send emails to people from your appplication without using a<br>
mail client ? Is it weird? I&#39;m a novice and u have to sculpt me<br>
initially.<br>
<br>
if this is not possible how do I use Kmail for the same?<br>
<br>
I am trying to go over KDevelop and cmake thing myself from random<br>
sources. Can someone suggest me great sources so that I can go beyond<br>
the reading phase in a couple of days.<br></blockquote><div> </div></div><div>This is just what&#39;s been helpful to me for my style of learning, but, if you haven&#39;t already done so I guess I&#39;d just recommend that during the reading phase it&#39;s best to just get any standalone code running, even if it&#39;s not directly related to your project. <a href="http://techbase.kde.org/Development/Tutorials/Using_KXmlGuiWindow" target="_blank">http://techbase.kde.org/Development/Tutorials/Using_KXmlGuiWindow</a> and the following 4-5 tutorials might be a good place to start. That way, if you don&#39;t already have it, you can at least get a better grip on how to make your own cmake files for your own standalone code. Then once you&#39;ve understood how all that works, you can focus on massaging the code to better fit your goals. <br>


<br>As for example code, IMO the &quot;best&quot; examples are usually the smallest programs. I found the KEuroCalc project Thomas mentioned to be very useful... the code is simple enough, split up as a GUI frontend and a DBus backend, and shows how to make cmake work with multiple directories/programs. Sources can be grabbed from its kde-apps page: <a href="http://kde-apps.org/content/show.php/keurocalc?content=26033" target="_blank">http://kde-apps.org/content/show.php/keurocalc?content=26033</a> <br>


When it comes to finding other examples, personally, I just browsed kde-apps until I found something that looked like it might have functionality like what I wanted, and then I dug through the sources to see what was under the hood. I wish I could say I knew of a better way...<br>


<br></div><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
alvaro ,as per your specification I am keeping the source and<br>
notification different from core program  so they can be customized as<br>
per need.<br>
<br>
Bryan, I suppose you are creating a backend based on SQLlite, what all<br>
fields do you plan to have ? Will you have a time stamp field too?<br></blockquote></div><div><br>I&#39;ll probably be using a database of some sort for private internal storage of at least intraday and company info/stats information, </div>

</div></blockquote></div><div><br>  well ,will that not leave the historical perspective behind?.to track the history of a stock we must have access to past stock value too .that will make the database cumbersome ,that is why the class  structure has to incorporate this functionality in the initial stage only. <br>

<br></div></div></blockquote><div><br>I think so too that values should be stored. Not everyone is online all the time.<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="gmail_quote"><div>.  <br></div><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote"><div>but as far as gaining access to that information, client applications (eg you) will all need to call DBus &quot;functions&quot; (aka interfaces in DBus-speak). And/or maybe DBus signals/slots.</div>

</div></blockquote></div><div><br>what functions? where are they? is someone working on them?<br></div></div></blockquote><div><br>Brian is working on this, as far as I can tell. Right?<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="gmail_quote"><div> <br></div><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="gmail_quote"><div> How familiar are you with address spaces and the differences between threads and processes and inter-thread communication (ITC) versus inter-process communication (IPC) and all that good stuff? (If that all sounds esoteric that&#39;s totally cool, you don&#39;t necessarily need to know much about all that stuff, but knowing how much you do know might help towards better explanations... :)<br>

</div></div></blockquote></div><div><br>I know DBus is for IPC ,I have read (just read) about threads in java and python.<br></div><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="gmail_quote"><div>
</div><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
please treat me as  a novice while replying and refrain from esoteric<br>
replies . Is it possible to possible to query a database so that it<br>
returns a struct datatype? </blockquote></div><div><br>I still have a fair amount of code to crank out before I&#39;ll have a more accurate idea of exactly how it&#39;ll work, but, a struct seems a likely candidate for intraday data. (It&#39;s being worked on... shouldn&#39;t be too long until I at least get something functional that you can interface with working... ;) The way I&#39;m thinking it&#39;ll work is the client will tell the backend (via DBus) that it wants to start watching a symbol. The backend gets the request, downloads some data and gets itself setup, and sends a signal to the client telling them the data for that symbol is ready. Then, the client can &quot;query&quot; the backend (via DBus) for whatever information they want. At least for intraday data, there will also be a way for the client to &quot;register&quot; with the backend to receive broadcasted updates for whenever a certain symbol&#39;s data changes.</div>

</div></blockquote></div><div><br> should registering be a part of the backend ?  that has to be a part of my layer of work otherwise your&#39;s will become bothersome. <br><br>the way I see my work : the application takes the query from the client (in form of a file or command line switch or a simple gui )  and then retrieves from the backend and notify&#39;s the user (through a plasmoid and  Knotify ).<br>

<br>so may be the backend should ignore such minor details and it shouldn&#39;t be client specific ,gee imagine 100 thousand clients , can we employ hundreds of servers.<br><br></div></div></blockquote><div><br>That&#39;s what DBus is about. It will allow different clients to retrieve the information. From a selfish point of view, we have Skrooge and KMyMoney. They both already have this stock query functionality, but we want to drop our code and use Alkimia to get the data for us.<br>
 <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="gmail_quote"><div><br></div><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="gmail_quote"><div> As for the intraday query, it will return at least this information, but in what exact form is still to-be-determined:<br>
QString? DateAndTime<br>AlkValue Open<br>AlkValue High<br>AlkValue Low<br>AlkValue Close<br>AlkValue? Volume<br></div></div></blockquote></div><div><br>that will do . order is immaterial for me at present.<br><br><br><br>
 <br>
</div><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote"><div><br></div><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


any help on the code front or any page<br>
suggestion? <br></blockquote></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
<br>
  I am reading 12 hours next couple of days so if anyone wants me to<br>
go through some stuff they think is useful kindly recommend.<br>
<br>
 there must be some similar applications (which gets some input from<br>
an user ,queries a database, do some processing and sends some<br>
notifications,mails ).It will be great if someone suggest me one.<br>
<br>
want ot get something working ,that is the biggest motivator ,u see.<br>
<br>
waitng for responses<br>
<br>
your&#39;s truely (humbly if u like it that way)<br>
<font color="#888888">santosh kumar<br>
</font></div><div><div><div></div><div>_______________________________________________<br>
Kde-finance-apps mailing list<br>
<a href="mailto:Kde-finance-apps@kde.org" target="_blank">Kde-finance-apps@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-finance-apps" target="_blank">https://mail.kde.org/mailman/listinfo/kde-finance-apps</a><br>
</div></div></div></blockquote></div><br>
<br>_______________________________________________<br>
Kde-finance-apps mailing list<br>
<a href="mailto:Kde-finance-apps@kde.org" target="_blank">Kde-finance-apps@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-finance-apps" target="_blank">https://mail.kde.org/mailman/listinfo/kde-finance-apps</a><br>
<br></blockquote></div></div><font color="#888888"><br><br clear="all"><br>-- <br>encore<br>
</font><br>_______________________________________________<br>
Kde-finance-apps mailing list<br>
<a href="mailto:Kde-finance-apps@kde.org">Kde-finance-apps@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-finance-apps" target="_blank">https://mail.kde.org/mailman/listinfo/kde-finance-apps</a><br>
<br></blockquote></div><br>