Is it possible to have teachers names and code be added on fet whereby the name will appear on the Teacher's timetables while codes will be on Student's timetables?It can be of help more so while dealing with a large number of teachers and you wish to issue printed timetables
I added this in the TODO. Unfortunately, it is now complicated, since it was not thought of at from the beginning.
Okay.How does hide full teachers work?
I think only in Activity planning.
You have a Settings item to hide the teachers in the timetables.
Quote from: Liviu Lalescu on February 15, 2024, 06:07:40 AMI added this in the TODO. Unfortunately, it is now complicated, since it was not thought of at from the beginning.
I look forward to that time when this will be a reality.It will really help
I am sorry, but it would be a titanic task.
I might be interested if properly sustained financially.
But can't you use teachers' codes (short names) everywhere?
Quote from: Cyrus Ireri on February 15, 2024, 05:29:34 AMIs it possible to have teachers names and code be added on fet whereby the name will appear on the Teacher's timetables while codes will be on Student's timetables?It can be of help more so while dealing with a large number of teachers and you wish to issue printed timetables
If I understand correctly your problem:
It seems that you need a way to replace the teachers names in the students' timetables. You can use
sed for this task. With
sed you can replace the teachers names with their respective "codes", using the html files from the fet-results folder.
Sed can work in batch mode for making these replacements.
https://www.gnu.org/software/sed/manual/sed.html (https://www.gnu.org/software/sed/manual/sed.html)
https://gnuwin32.sourceforge.net/packages/sed.htm (https://gnuwin32.sourceforge.net/packages/sed.htm)
After modifying the html file(s) with
sed, you can edit the html file with LibreOffice Writer (for example, you could use other similar applications as well), and print the timetables.
Vangelis
Thats too much.Lets just continue mastering teachers code
Quote from: Liviu Lalescu on April 04, 2024, 11:12:14 AMI am sorry, but it would be a titanic task.
I might be interested if properly sustained financially.
But can't you use teachers' codes (short names) everywhere?
I would love to hear more on the part of finances since this is a major aspect i would really really love to see and use.
Sample class and teachers timetables generated with asc with teachers name appearing on teacher's timetable but codes on the class timetables.This one thing makes it an outstanding aspect
Quote from: Cyrus Ireri on June 09, 2024, 07:48:12 PMSample class and teachers timetables generated with asc with teachers name appearing on teacher's timetable but codes on the class timetables.This one thing makes it an outstanding aspect
Plus writing the names of breaks and lunch
Replacing the names should be possible with css.
So like here:
https://stackoverflow.com/questions/7896402/how-can-i-replace-text-with-css
Naming the breaks will be difficult, since FET breaks are more flexible and can change the hour. So it will be impossible to span them.
BTW: Those hours are not allowed in Germany, since the students can't swap a room in 0s. We always need time to swap the room. If we do it like that, we will get trouble, since they will complain that the teachers work less.
There is nothing that can be done on fet itself without going through other routes
You mentioned something to do with finances
You mean implemented into the FET interface.
Yes, that must be coded. Sadly a boring task. I implement features that I need myself or that make fun if i code them. But I don't have time to code other stuff. Sadly I must work to earn money, so in fact I also haven't unlimited time to code.
But yes, every time if there are guys donating this project, then it will be much easier for Liviu (or me) to code new stuff. Well, our dream is that there are enough donations that we could code the whole day. But sadly that is currently impossible, since most guys don't help or donate. I must sadly earn my money with an other job. That is also why you must pay for software like asc and that is why that tools are maybe a bit better in some points than fet. People pay money to the asc coders and so the coders can always code. They are not coding only in spare time for fun.
I understand.I wish to say that fet is by far better than asc.It has a looooooong way to go.Now,which kind of donation would contribute to you to do the coding to effect the issue at hand?
I must admit, that i am bad in the GUI stuff.
It is always a bit difficult to estimate how long we need to code it.
Sometimes I can code 100 lines of code in a few minutes and everything is running without a single bug.
But sometimes only a single line of code can take hours.
Liviu, what do you estimate in this case?
Lets hear what Liviu will say
Hello, sorry for not writing sooner, but I needed to think.
Thank you, Cyrus, for your suggestions and kind words!
I am always interested into the best for FET, and so is Volker. I am willing to try to code a better data structure, for instance for a teacher include name, surname, or other values. Unfortunately, this was not thought of from the start and now maybe a complete rewrite of big portions is needed. Also, I am willing to try to write a better timetables output/print/view, together with Volker.
It is easy coding compared to the algorithm, I must admit, but also boring, tedious, and critically error-prone. And also not my best area of experience.
Since FET started, I said that I would be happy if I got 10% of the revenue the competition makes. This is still valid. Or, put in another way, maybe around 1 euro per month from each user/institution that uses FET.
Great.Some of us would really love to appreciate your effort for such an improvement that would mean alot to me personally.
My concern arise when you have to deal with quite a number of teachers and don't want to strain mastering their codes.You wish codes to appear at class timetables but personal copies to have their names
Thank you, Cyrus, you are kind! Unfortunately, very few were/are interested.
Indeed. There are many nice improvements possible, but they take time and resources. Unfortunately, as I said, very few users are interested in supporting FET.
Quote from: Liviu Lalescu on June 09, 2024, 10:56:28 PMThank you, Cyrus, you are kind! Unfortunately, very few were/are interested.
Welcome.I'm more than willing to support you in this since i know what it means.I was working on a 12 stream school (form 1-4 12 classes) with 106 teachers and i can assure you,i had to have code followed by teachers name of the teacher's data.All was well but as for the class and master timetables,i had to use custom scale to fill in an a4 paper in lascape since it could spill on the next pages.If codes were the only one appearing on the two,things would be better
Quote from: Liviu Lalescu on June 09, 2024, 10:59:45 PMIndeed. There are many nice improvements possible, but they take time and resources. Unfortunately, as I said, very few users are interested in supporting FET.
How many Euros would be okay for you to work on this?
The time to make these major internal changes might be measured in a few months; I am not sure. Maybe less. Maybe a month. I already wrote my price; unfortunately my price is very high if you think of only a few institutions to contribute for this special coding.
Was asking to see if i can appreciate since paying is costly for initiative to make the changes.
Absolutely no problem, Cyrus! You are a useful user, and made very good suggestions on important new recent improvements! And you are a kind person to talk to.
I wouldn't mind supporting what you do after all is said and done
Quote from: Liviu Lalescu on June 09, 2024, 11:48:37 PMAbsolutely no problem, Cyrus! You are a useful user, and made very good suggestions on important new recent improvements! And you are a kind person to talk to.
450 Eur to have fet with such consideration.Just appreciating
Thank you for your offer! I know that coming from a single person this is very much. But unfortunately I cannot do it. I was thinking of something like 50k.
You mean 50k Euro
Yes, 50000, or 50,000, or 50 thousand, or fifty thousand euros. Sorry for the abbreviation!
Its okay.Wish i had that financial muscles.I would pay for it to effected.
You are very kind!
I will think about it in the future, making plans on how to implement adding more information to teachers, students, subjects, activity tags, rooms, and buildings. Like maybe ID, short name, and long name. Unfortunately, there are over 300 types of constraints and 900 dialogs for these constraints. It is a long time to convert them. I should consider simplifying these dialogs to less source files, but it is a titanic task, the code is so large... Also, each constraint considers only the current name (of teacher, students, subject, activity tag, room), and a conversion to ID would take a long time.
It is easy, predictable work, not like the algorithm or adding new constraints, but tedious and the mistakes are critical.
Take your time.We shall be waiting for the development
OK.
Do you have suggestions on what information to add to say a teacher? ID (unique integer), short name (string), long name (string), code (integer), comments (string)? Do you have better proposals for the name of these properties? Additional fields?
Name and code.Thats enough
If we rewrite the structure, it is best to do it properly and universally. I think the competition programs have short name and long name at least, and you also mentioned the code.
That would be fine
I fear there will no single person that is able to spent so much.
We should think about collecting a lot of small values to get the same sum.
Quote from: Volker Dirr on June 10, 2024, 04:22:52 PMI fear there will no single person that is able to spent so much.
We should think about collecting a lot of small values to get the same sum.
I would second this.Your work should add value to your lives.Users can be a blessing to you guys
The problem is that we need to inform the users about that.
Maybe with something like a kickstarter project. Or like Wikipedia is collection money. Sadly most guys use this software only a few times per year and probably won't notice it.
Maybe a thread where we describe the feature and print the collected money for that TODO so far, so everybody can see it more detailed.
hmm... I don't know.
Just doing nothing doesn't help. Most guys sadly don't donate :-(
Encouraged by my mother to try it, and by a nice idea of simplifying things by Volker, I began something. It might work, and it might be made much faster than I thought. I'll let you know.
The interface will have mostly only the short names, but internally FET will also contain long names and codes, and I intend to make these selectable in the HTML timetables, I mean which one to print in which timetable.
That will be great Liviu.Lemmie ask,for us who do distribute the hard copies to teachers in their different offices,how can one make it easier when it come to doing so?
Different teachers are usually in different offices/rooms.When doing so,i print and then start sorting timetables for teachers as per their offices.If teacher's timetables can be indicated their offices,it can be easy since when sorting out,you just read them and place at their rightful offices instead of checking codes/ teachers and trying to remember where they are and then place them.
This will be easy and we'll try to do it. There will be 4 fields in a teacher:
- Name (short name), unique and nonempty, used as an ID.
- Long name (in the future).
- Code (in the future).
- Comments (already existing).
All these will be strings. Are they enough for your necessities? We could add one of them in the header for teachers' timetables, and I am thinking of the comments. It will be an option with a check box. OK?
From your options,i i want teacher 1 to be in science department,teacher 2 humanity department where shall i indicate their offices?
I think the best is in the Comments, and the teachers' timetables days horizontal/vertical will contain for each teacher the comments as the table heading.
Thats fine
Quote from: Liviu Lalescu on June 12, 2024, 02:44:02 AMEncouraged by my mother to try it, and by a nice idea of simplifying things by Volker, I began something. It might work, and it might be made much faster than I thought. I'll let you know.
The interface will have mostly only the short names, but internally FET will also contain long names and codes, and I intend to make these selectable in the HTML timetables, I mean which one to print in which timetable.
We should expect something nice soon?
I hope. I did the long name and code internally and modifiable in the interface for everything needed. Now a big work is making the HTML timetables, which is more Volker's code and I am not sure he can work very fast now. I will try to present working snapshots soon.
I can't wait for this.It will be great
Me too! :)
It was a good suggestion.
Hello, Cyrus! :) I hope I have good news: the main parts seem to work. I need a bit more work to finish it up, and testing a bit, and then I'll be able to put a snapshot.
It was much easier than I thought.
I must apologize for hugely overestimating the needed work time. But with Volker's advice and some tricks it was possible fast.
It is not ready yet, we need now to add the optional comments as table heading in each days horizontal/vertical timetables and the options about the hours'/days' names. But the main part is done.
Quote from: Liviu Lalescu on June 13, 2024, 01:53:27 PMHello, Cyrus! :) I hope I have good news: the main parts seem to work. I need a bit more work to finish it up, and testing a bit, and then I'll be able to put a snapshot.
It was much easier than I thought.
Keep the good news coming.We are chilling to enjoy the upgrade
Quote from: Liviu Lalescu on June 13, 2024, 03:28:58 PMI must apologize for hugely overestimating the needed work time. But with Volker's advice and some tricks it was possible fast.
It is not ready yet, we need now to add the optional comments as table heading in each days horizontal/vertical timetables and the options about the hours'/days' names. But the main part is done.
Thats quite commendable👌
Well, it was only fast, since we (or better you) didn't change the GUI. That is still old (short) only; but I think that is very fine. We changed only html-timetables and print; so tables that are for other users. So for example also not the statistics, but I think that is also fine)
And also because you are working without a break. Other guys work only max. 10 hours per day. I hope a few guys will donate for this work.
Quote from: Volker Dirr on June 13, 2024, 08:58:39 PMWell, it was only fast, since we (or better you) didn't change the GUI. That is still old (short) only; but I think that is very fine. We changed only html-timetables and print; so tables that are for other users. So for example also not the statistics, but I think that is also fine)
And also because you are working without a break. Other guys work only max. 10 hours per day. I hope a few guys will donate for this work.
We shall come in handy
Hello, Cyrus, Volker, and users,
It is ready! :) I just released a snapshot: https://lalescu.ro/liviu/fet/download/test/
It implements the suggested options. Please test. I might release on 17 June the final version.
Thank you, Cyrus, for the good suggestions!
Thanks in advance.Will test and see the amazing skills you put to have it outstanding
I have put a new snapshot, with improvements: https://lalescu.ro/liviu/fet/download/test/ . Please, if you have time, test it a bit again.
I will
Thank you, Cyrus, you are kind!
Everything is fine
Thank you, Cyrus! I added a new snapshot, as explained in the Snapshots section - no need to recheck, only if you have spare time. See that post.
Hello, Cyrus,
I just released the new version. Thank you very much for the suggestion and persuasion! FET will be now even better.
I estimated the work to 1-2 months. I think I did it in maybe about 50 hours of hard work. But I used tricks (some suggested by Volker) to make the work as easy as possible. The new fields are not very nice in the interface, like in the competition programs. Also, we did not make a nice view like those screenshots you showed us. In most parts of the interface the used fields are only the old names, because it is very easy for the lazy me.
Thank you so much for your commitment.Personally, i really appreciate what we have now.We shall keep making things better with time.In the meantime,lets keep the new version rolling.