Re: [MSEide-MSEgui-talk] MSE Programing Pass Book
On 9/21/18 8:56 PM, fredvs wrote: >> Why don't you copy your /.ssh directory to a memory stick? > > For the same reason as for my car keys (I continually lose them or do not > remember anymore where they are). > With a unique password in head, I have less problems. > You use a unique password for all your https accounts? Ouch! Martin ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] dbfilter2 demo (was: General list for MSEide+MSEgui)
did you commit last mseuniverse archive ? I have the same error with archive dating 20 ? ( I have seen Gitlab with 2 archives with the same date 20) regards De : Martin Schreiber Envoyé : vendredi 21 septembre 2018 12:03 À : mseide-msegui-talk@lists.sourceforge.net Objet : [MSEide-MSEgui-talk] dbfilter2 demo (was: General list for MSEide+MSEgui) On 9/21/18 1:36 PM, mohamed hamza wrote: > I have an exception : Stream read Error > > I can not open dataset. > > By algorithm I am referring to procedure tmainfo.filterchangedev(const > sender: tmsebufdataset) is it universal or depending on number of fields in > dataset?; > tmainfo.filterchangedev() is used in example in order to show the filter values in the grid headers. In your own code you probably don't need it. Martin ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] MSE Programing Pass Book
> don't know what you want to do. Can you explain? OK, as beginning I propose to do this: Configure my PC to be able to commit ideU to MSE GitLab too. 1) Clone my ideU (Github) directory to ideu_gitlab (for GitLab). 2) Delete old .git in ideu_gitlab 3) Do in that directory $ git init 4) Here the result of git config -l user.name=fredvs user.email=[hidden email] core.repositoryformatversion=0 core.filemode=true core.bare=false core.logallrefupdates=true How must I configure "git remote" to access the mse-universe-gitlab site ? It would be good to do this for sak_mse too that is very out of date in mse-universe-gitlab site. To resume, after git init, what must be used ? When I will be able to do this, I will commit your MSE translated book with less fear. Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] MSE Programing Pass Book
> Why don't you copy your /.ssh directory to a memory stick? For the same reason as for my car keys (I continually lose them or do not remember anymore where they are). With a unique password in head, I have less problems. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] MSE Programing Pass Book
> It is intended to be printed on A4 paper. Are you taking about paper that needs to kill trees, needs lot of energy and is highly polluting to produce and was using as support in older centuries? And to print needs chemical products also highly polluting. Sorry but I do not want to be responsible for this. ;-) -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] MSE Programing Pass Book
On 9/21/18 3:59 PM, fredvs wrote: >> Or do you use SSH in GitHub with a valid key pair and damaged your key pair > for GitLab? > > No, I do not use SSH with Github, only a password. > I know that SSH is more secure but I do not code forbidden things so I am > not afraid. > > And it is much more easy for a nomad like me that crash-loose-reinstall the > operation system lot of time. > Why don't you copy your /.ssh directory to a memory stick? Martin ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] MSE Programing Pass Book
On 9/21/18 3:41 PM, fredvs wrote: >> The English and French PDFs have a completely different layout than the > German original. Is this intended? > > Huh, completely no, the only thing I did is to disable the 2 columns feature > of the text-layout. > And fit some images on the right place. > IMHO it is much more comfortable to read and that way all the images are fit > on the right place. It is intended to be printed on A4 paper. Martin ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] MSE Programing Pass Book
On 9/21/18 3:59 PM, fredvs wrote: >> Or do you use SSH in GitHub with a valid key pair and damaged your key pair > for GitLab? > > No, I do not use SSH with Github, only a password. > I know that SSH is more secure but I do not code forbidden things so I am > not afraid. > SSH is more convenient because it allows to push with a common local password for multipple used secret keys or even to use a secret key without password. > > Maybe you can show me what I must do with the mse_compfun directory. > > I did already git init and here the result of git config: > > fred@fiens:~/mse_progfun$ git config -l > user.name=fredvs > user.email=fi...@hotmail.com > core.repositoryformatversion=0 > core.filemode=true > core.bare=false > core.logallrefupdates=true > I don't know what you want to do. Can you explain? Martin ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] MSE Programing Pass Book
> Or do you use SSH in GitHub with a valid key pair and damaged your key pair for GitLab? No, I do not use SSH with Github, only a password. I know that SSH is more secure but I do not code forbidden things so I am not afraid. And it is much more easy for a nomad like me that crash-loose-reinstall the operation system lot of time. Here my config for ideU: -- fred@fiens:~/ideu$ git config -l user.name=fredvs user.email=fi...@hotmail.com core.repositoryformatversion=0 core.filemode=true core.bare=false core.logallrefupdates=true remote.origin.url=https://github.com/fredvs/ideu remote.origin.fetch=+refs/heads/*:refs/remotes/origin/* remote.origin.pushurl=https://github.com/fredvs/ideu branch.master.remote=origin branch.master.merge=refs/heads/master -- Maybe you can show me what I must do with the mse_compfun directory. I did already git init and here the result of git config: fred@fiens:~/mse_progfun$ git config -l user.name=fredvs user.email=fi...@hotmail.com core.repositoryformatversion=0 core.filemode=true core.bare=false core.logallrefupdates=true Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] MSE Programing Pass Book
>The English and French PDFs have a completely different layout than the German original. Is this intended? Huh, completely no, the only thing I did is to disable the 2 columns feature of the text-layout. And fit some images on the right place. IMHO it is much more comfortable to read and that way all the images are fit on the right place. Also that way the pdf can easily be used with mobiles and little screens. But if you prefer multi columns, in LyX settings / Text layout / check "Two columns document". > You used an automatically translated text as start? Yes a pdf translator online on the web. It should be great that somebody that speaks well English do a check for progfun_en.pdf. Because I think that the English version will be used as template for translators. > zusammenzählen -> put Oops, ok, fixed. By the way, you cannot imagine how incomprehensible was the translation from German to French with Google translate. And doing this from English to French was even worst ! Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] dbfilter2 demo (was: General list for MSEide+MSEgui)
On 9/21/18 2:03 PM, Martin Schreiber wrote: > On 9/21/18 1:36 PM, mohamed hamza wrote: >> I have an exception : Stream read Error >> >> I can not open dataset. >> Should be fixed in 6238275e6d12c864a32ecec68b95c8c3432a2143. Martin ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] dbfilter2 demo (was: General list for MSEide+MSEgui)
On 9/21/18 1:36 PM, mohamed hamza wrote: > I have an exception : Stream read Error > > I can not open dataset. > > By algorithm I am referring to procedure tmainfo.filterchangedev(const > sender: tmsebufdataset) is it universal or depending on number of fields in > dataset?; > tmainfo.filterchangedev() is used in example in order to show the filter values in the grid headers. In your own code you probably don't need it. Martin ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] General list for MSEide+MSEgui
I have an exception : Stream read Error I can not open dataset. By algorithm I am referring to procedure tmainfo.filterchangedev(const sender: tmsebufdataset) is it universal or depending on number of fields in dataset?; Regards. Nb: I want to change the object of all messages uploaded to mseide-msegui-talk under this subject ( General List .) to the subject Filter-find like this the user can easily find them. How to proceed with the moderator ? Objet : Re: [MSEide-MSEgui-talk] General list for MSEide+MSEgui On 9/21/18 12:52 PM, mohamed hamza wrote: > Many thanks for your advice. > Is your algorithm valid regardless the number of fields in dataset ? > Yes. > NB: the demo dbfiter2 has an exception error ? > Which one? Works for me. Martin ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] General list for MSEide+MSEgui
On 9/21/18 12:52 PM, mohamed hamza wrote: > > NB: the demo dbfiter2 has an exception error ? > Please try again with git master 6238275e6d12c864a32ecec68b95c8c3432a2143, there was an invalid db file. Martin ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] General list for MSEide+MSEgui
On 9/21/18 12:52 PM, mohamed hamza wrote: > Many thanks for your advice. > Is your algorithm valid regardless the number of fields in dataset ? > Yes. > NB: the demo dbfiter2 has an exception error ? > Which one? Works for me. Martin ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] General list for MSEide+MSEgui
Many thanks for your advice. Is your algorithm valid regardless the number of fields in dataset ? Regards. NB: the demo dbfiter2 has an exception error ? De : Martin Schreiber Envoyé : jeudi 20 septembre 2018 12:50 À : mseide-msegui-talk@lists.sourceforge.net Objet : Re: [MSEide-MSEgui-talk] General list for MSEide+MSEgui On Wednesday 19 September 2018 19:42:02 mohamed hamza wrote: > I think we have to go back to the last MSEIDE. I am still debugging > mseuniverse/sample/db/dbfilter.prj. I do not know why the filter is reset > each time we do a filter and then a find ? > Because the fek_find also calls the filter edit events and there is a single "i" and "varvar" for all filter edit actions. " procedure tmainfo.beforeendfilteredit(const sender: tmsebufdataset; const akind: filtereditkindty); begin i:=0; with sender do begin while (ivarvar; end; ftstring: case tmseBufDataset(dataset).FilterEditKind of fek_filtermin: accept:= msecomparetextlen(varvar,value)<0; fek_filter: accept:= msecomparetextlen(varvar,value)=0; fek_filtermax: accept:=msecomparetextlen(varvar,value)>0; end; else showmessage ('Unsupported ft*'); end;end; " An example is here: https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/db/dbfilter2 needs current git master. Martin ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] MSE Programing Pass Book
On 9/20/18 7:22 PM, fredvs wrote: > Hello Martin. > > Before that I attack gitlab, could it be possible to check the first chapter > in English (or French if you can) ? > I don't know well English nor French so I can not comment on the text. Some expressions probably are not ideal. " Als erstes machen wir ein Programm, welches zwei Zahlen zusammenzählen kann " has been translated to " First we make a program that can put two numbers. " zusammenzählen -> put https://dict.leo.org/englisch-deutsch/zusammenz%C3%A4hlen does not list "put" as English translation for "zusammenzählen" but "add". I fear there are more words which distort the meaning. You used an automatically translated text as start? The English and French PDFs have a completely different layout than the German original. Is this intended? Martin ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] MSE Programing Pass Book
On Friday 21 September 2018 00:11:34 fredvs wrote: > > It is like in GitHub. > > In GitHub they only ask a password. > You want to use the HTTPS protocol in order to push (not recommended)? Please use the URL https://gitlab.com/mseide-msegui/mseuniverse.git instead the SSH URL g...@gitlab.com:mseide-msegui/mseuniverse.git Or do you use SSH in GitHub with a valid key pair and damaged your key pair for GitLab? Martin ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] MSE Programing Pass Book
On Friday 21 September 2018 00:06:29 fredvs wrote: > > the examples could be made in English. > > And maybe the images too. > Of course. I know that I can not convince you, the following comments are meant for other readers. > I am not convinced that using branches would make things easier for the > translator. > > In my case, I load 2 projects in LyX, the template progfun_en.lyx and the > target progfun_fr.lyx and compile + switch from one to the other. > > But if you work with git-branches it is much more complicated. > One would make two clones of the "book" repo in different directories so one can work with two different branches at the same time. > Also, each time you load the project with a other language, you have to > paste the correspondent mse.module in /usr/share/lyx/layouts. > And re-compile LyX. > One would use the local module in "book" repo instead. Probably it is the best to solely push the PDF's to MSEuniverse. I already pushed the German version: https://gitlab.com/mseide-msegui/mseuniverse/blob/master/docs/books/programmierspass/programmierspass_de.pdf So you can do with the other files as you like and publish them as and if you like. Martin ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk