-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sorry but… how can we help ? Installation, dev setup #24
Comments
I seriously lack time to work on CLUS. I will attempt to fix this next week and give some pointers as to how other people can help me with this. |
@vindarel I talk with @phoe today, he is overworked so I try explain in the place of him, what that we need to do in first place. To make it straight, this acronyms always means: @Pheo edit part of CLHS and @rhmsilva creates diffs between CLHS and CLUS files, there are in diffs directory of this repository. We must that all parts that are in the Common Lisp specification are type right in CLUS, so main thing now is to check diffs, find which version is CLUS (plus or minus in diffs) which CLHS, noted differences and if we can correct it. @phoe said that the best way that he know to find which version is which is like that. For example we have file cl:constant_variables:array-dimension-limit.diff, we google "Hyper Spec array-dimension-limit" and comper it with content of diff. For now that doesn't look to hard. I alredy do some work on my fork, you can find it here https://github.com/KZiemian/clus-data/tree/master/diffs If you interested in doing that, I will put here guidelines about checking diffs here and we can try to work throught that files. |
This is summary of information about one of biggest tasks we have to do with Common Lisp UltraSpec. I will always use two acronyms, so I stay them now MAIN POINT NOTE
a) When there is question what should be in CLUS are gold standard is Common Lisp Standard, @xach have it on GitHub in dvi format https://github.com/xach/dpans/tree/master/dvi. b) The easiest way check which version is which, that we know is to google "CLHS name-of-the-file" and compare it with CLHS. c) My way to marks version is like this. Consider that +version is CLUS and -version is CLHS. At the top of the file I write
a) NOTES and EXAMPLES, etc. because they are not part of CL Standard are disregarded at current stage. More on which thing are unimportant I will write later. b) The amount of work is not as big as it may look. If I understand it, there is as many diffs as hyperlinks in CLUS, but many links point to the same file. If you find such series check first and mark all others as "Same file-name". c) If you can, remove all whitespaces at the end of the line. Check if your editor can do it for you.
a) Every line of commentary which I add to mark differences starts with ###. b) As mentioned above, every checked diff starts in particular way.
EXAMPLES
c) Commentary is always just below commented part.
Plus version will have two defuns. Because +code is better formated corected version is
d) I use GNU Emacs with packages aggresive-indent and rainbow-delimiters, to indent my CL code and count parenties, so when I need to check indentation deepth I past may code to some-file.lisp and trust Emacs standards od code. e) You can change comments in GNU Emacs to ###, that can make work much easier. In Text-mode you only need type M-; and ###.
a) Text in both version may be the same, but order of paragraphs can be diffrent. Always note that. b) If two version of code have diffrent format you only need to check that they are equivalent. If you can't mark it to future checking. c) The same when style of code is changing.
d) NOTES, EXAMPLES and COMMENTS are not part of CL Standard, so disregard it. e) Sometime code in ASCII is diffrent, if you can change it to the best version. If you can't, mark it. Each line of Corrected code should start with ###
f) Like above change style of sections reference.
f) Symbol
is often missing, don't care.
g) Also disregard symbol if it appare
EXAMPLE
h) Disregard:
i) Disregard line starting with:
List of identical files in CLUS and CLHS. |
thanks for the detailed explanations. I'd also welcome a doc on setup: how to install dokuwiki and give it the CLUS pages (see my attempts at my first comment). (I was actually thinking into putting syntax highlighting, even if it is not the core priority.) |
Hey, I will get to you on Saturday and describe this. I will most likely create a repo containing my custom hacked DokuWiki instance that displays the CLUS markup correctly. |
@vindarel Do you need any help with this project? I don't know dokuwiki at all, but in other topics maybe I can help? |
@KZiemian to be honest, it's not all clear to me. First, how where these diff files generated ?
couldn't the generation script mark which is the CLHS ? And I suppose we can refer to this resource: http://cvberry.com/tech_writings/notes/common_lisp_standard_draft.html (the standard in nice pdf, with a TOC sidebar) (and tex sources) Let's consider https://github.com/phoe/clus-data/blob/master/diffs/cl:constant_variables:array-dimension-limit.diff what do we have to do about it ? thanks again :) and @phoe, no worries. |
@vindarel Diffs was make by @rmhsilva I don't know how, but it was very big help for us. I ask him some question about marking all +content as CLUS week ago, but he didn't have time to responed. So I say to myself: ok, better to work this out, than the project stuck. Ulitmetly @phoe who is Master of All CLUS say this checking must be done, so I try do it best as I can. "What are the CLUS changes and what is missing?" This may sound funny, but change is what @phoe say it is a change. I constatntly ask him about thigs I notice. I don't have time now, but I write in the evening more extensivly. One cleary example of thing to notice is wrong mathematical equation. In CLUS "^" is often missing, so we must note where is missing and write correct version of it. You can find it in cl:functions:acosh.diff. Sorry for english I write in hurry. |
@vindarel This is description how look my work on file cl:constant_variables:array-dimension-limit.diff. First I try to find which is CLHS and which CLUS. Often this is very easy, this time I must google "clhs array-dimension-limit". Compering that page I find that +content is CLUS and -content is CLHS. Second I look on red and green lines. I see that line 14 "-Description" is missing in CLUS, so I note that. Also I find that text is in diffrent order in this two version. In CLUS this will look like Constant Value A positive fixnum, the exact magnitude of which is implementation-dependent, but which is not less than 1024.""" In CLHS The upper exclusive bound on each individual dimension of an array.""" I note that in file. It is big change in text, so it is resonable thing to do. You must ask @phoe what we will do with that. Next I see Another peaces I myself still don't understand how CLUS will be build, so I can't answer many question. Again, if you need answer @phoe is the person you should ask. |
@vindarel here is a list of few things that I find to this moment that happened in CLUS with regard to CLHS. This list can be much longer, but I must look to a checked files and think what is worth mentioning and what is just pedantic precision.
If you need more information, give a sign to me. |
Hi! Idea of your project is very fine, but I'm not sure you're not violating Lispworks copyright. By using diffs with CLHS and changing CLUS to make them smaller, you seem to take CLHS texts indirectly. I'd be glad if someone proves me wrong. |
@budden You're most likely right. Let me investigate the issue a bit further. |
@budden You are right. I'll do something about the matter as soon as I finish being sick and once I can think straight about the matter. |
Sure! Get healthy!
2017-09-03 22:56 GMT+03:00, Michał Herda <[email protected]>:
… @budden You are right. I'll do something about the matter as soon as I
finish being sick and once I can think straight about the matter.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#24 (comment)
|
@vindarel Did you join #clus-general at Discord? There is possible big problem with diffs, so better stay in touch. |
@KZiemian hey I logged in there a few times but it isn't a habit yet :) Thanks for the notice, I'll keep me informed. |
@vindarel I try to clean a mess that I make with diff moving they between operating systems, do you have time and will do something with them now or not yet? If you do, I will try quickly remove that mess. |
@vindarel If you want most "To do" diffs in diff cataloge need work, you can try do something with them. I apologized by mess, maybe next week that would be cleaned. |
sorry but the task isn't clear enough to me. I also have the impression that many things are being redesigned right now so the work to be done may change, including this. |
@vindarel Yes, untile phoe don't cameback on full time, noone will know what realy need to be done. If you have more questions, I will try answer as best as I can. |
Hi !
I'd like to help :) but… it isn't clear to me how this works. Could you add build/dev info on the readme maybe ? Where do you get the sources from, how do you process, build and publish them ? How do we get a local working copy ? I see it uses Dokuwiki, I see content in
.txt
files, but I'd like more pointers.I tried installing Dokuwiki locally with no much success (copied to
/var/www/dokuwiki
and accessinglocalhost/dokuwiki/install.php
gave a bunch of errors, looking like if php was not interpreted (apache is running) and it says that my data directory is not correctly secured). Is there an easier way ?Thanks !
edit: allright, I got a Dokuwiki running with https://hub.docker.com/r/mprasil/dokuwiki/ Now I see folders in /var/www/dokuwiki/, but I don't know how to give it CLUS's pages…
The text was updated successfully, but these errors were encountered: