FET Forum

FET Development => Snapshots => Topic started by: Liviu Lalescu on November 24, 2014, 04:53:04 PM

Title: OLD - FET-5.24.0 snapshot available
Post by: Liviu Lalescu on November 24, 2014, 04:53:04 PM
I have put this new snapshot. From the ChangeLog:

   - Code improvement in reading the .fet XML files: converted from the obsolete Qt classes QDom* to QXmlStreamReader. It might
   bring a speed and memory improvement when reading the input file, and ensures FET source compatibility with future Qt versions.
   Also error reporting when reading a corrupt file is improved.
   - It is now allowed to have constraints preferred/home rooms with a single room (suggested by liquid and Volker Dirr).
   - Added a new example file from Vietnam, by nguyenhuuduyet.

Please test the new preferred rooms with a single room and the XML improvement by opening and saving your file and comparing by contents, it should remain the same. Also, generate on it.

The link, as usual, http://lalescu.ro/liviu/fet/download/test/

If everything goes well, the release will be probably in 1-2 weeks.
Title: Re: FET-5.24.0 snapshot available
Post by: vanyog on November 24, 2014, 08:56:44 PM
There are many files without extensions in src\interface directory or with shortened names. For example:
addconstraintactivitiesendstudentsdayform_templa
addconstraintactivitiesmaxsimultaneousinselected
addconstraintactivitiesnotoverlappingform_templa
addconstraintactivitiesoccupymaxdifferentroomsfo
...
What are these files for?
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on November 24, 2014, 09:27:05 PM
I have released a new snapshot, with minor code bug fixes.

Quote from: vanyog on November 24, 2014, 08:56:44 PM
There are many files without extensions in src\interface directory or with shortened names. For example:
addconstraintactivitiesendstudentsdayform_templa
addconstraintactivitiesmaxsimultaneousinselected
addconstraintactivitiesnotoverlappingform_templa
addconstraintactivitiesoccupymaxdifferentroomsfo
...
What are these files for?
You need to use official tar/bzip2, like: "tar -jxvf fet-5.23.4.tar.bz2". Or, under Windows, I unpack to tar with 7-zip and unpack the tar with Total Commander.
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on November 25, 2014, 02:43:03 PM
I released a new snapshot, minor changes.
Title: Re: FET-5.24.0 snapshot available
Post by: vanyog on November 25, 2014, 10:04:02 PM
Without a version control system is difficult to keep track of changes made by more then one developers.

Twice I tried to merge your daily snapshots with the changes I offered. It took me much time to find differences between the files I changed and the files in your snapshots. The result of this now is here: https://github.com/vanyog/FET but I can not be shore that some of changes you made are not missed.

I was enthusiastic to give some help, but I can not spend hour of time for work that could be done by several clicks.

If some new ideas come to me I will share but if you revise your position about usage of version control systems your collaboration with other developers will be much more efficient.


Title: Re: FET-5.24.0 snapshot available
Post by: Volker Dirr on November 25, 2014, 10:21:33 PM
Hallo vanyog,

it is not difficult if you use a tool like kdiff3:
http://kdiff3.sourceforge.net/
Title: Re: FET-5.24.0 snapshot available
Post by: vanyog on November 26, 2014, 08:41:56 AM
It's true. It is not hard by Kdiff3 to compare 2 directories or 2 files. But this is a routine job that I have to repeat each time you publish a new snapshot of code. Each time I have to download an archive, extract files, compare directories, compare files, merge them. If your code was in a repository, all this work could be done by just one command from QtCreator's menu.

Are you interested the number of developers that work on FET project to grow? If you are, you have to think about how to make them feel more comfortable in this project and save their time and effort.

http://producingoss.com/en/technical-infrastructure.html
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on November 26, 2014, 10:07:49 AM
I have put a new snapshot, only minor changes to two strings.
Title: Re: FET-5.24.0 snapshot available
Post by: Volker Dirr on November 26, 2014, 01:58:08 PM
of course version control system has advantages. i know.

you don't need to merge it every time. in fact you never need to merge, because only Liviu need to merge if he want to have it in official version. so it is only his problem. (it is max a problem if you want to code stuff that Liviu don't want to implement into official version, but in that case you might need forge code anyway. so again it doesn't matter much.)
even if you use a version control system you need/must decide if you want to merge or not.

i don't want to say version control system are bad, they have got nice advantages; but they also have at least 3 disadvantages:
- developers don't read and think carefully about changes if they are always merged automatically. critical side effect can happen much faster because of skipping reading and skipping talking to other developers.
- developers waste time, because they forgot to talk about goals (who is coding what? do all developers like the goal/target? did they talk about pro and cons of the target? no other currently coding that?)
- some developers (like me in the past) wouldn't help, because they need to learn how to use a version control system

You see: disadvantages like they happen with your code: you reimplemented a feature which was skipped because other users don't want it.
a version control system doesn't help much if developers don't talk to each others. of course in your example it wasn't critical, because just a few lines. but what if you have a nice idea and code it without talking to others? you might not see the problems for other users.
Liviu and me are several times on "other sides", because he think like a coder. I try to think more like a guy that work at school and need to use a timetable software. That are sometimes 2 totally different views on the program. But talking about that helped very much in developing and coding. It was and is good that we always talk about our ideas before we spent to much time into coding useless stuff.

of course you are also right: if there are many developers coding a version control system is of course useful/needed. but so far there are not many developers. (let me think: less then a fist full in around 10 years?)
also on github are FET uploads, but like you can see: they doesn't attact other developers :-(

but if it help you, we can think about this:
i upload by a version control system the official versions. so you can get the "official" FET versions.
Liviu can still work like we want. So he don't need to change anything in his way of coding.
And you will always have official versions.
Title: Re: FET-5.24.0 snapshot available
Post by: vanyog on November 26, 2014, 06:10:31 PM
Thank you for your post Volker!

Your are right about many things.

Of course, Liviu will decide what change to accept and what to reject.

Of course, it is better for developers to discuss their plans first and start to write code after that, and coordinate who and what is doing.

It would be worthwhile to start to maintain a code repository only if you consider this important for the overall growth of FET project, but not just for me. I would like just to help but not to create more work to you.

You see, my suggestions are changes of just 2-3 lines of code. It's easier for me to code them right away than to explain what I want to suggest. These changes make the program more comfortable for me to start it and close it many times testing the translation of interface in Bulgarian. My be these changes are not important at all for other users. I apologize for I was a bit insistent.   
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on November 26, 2014, 08:55:29 PM
No problem  :)

You don't need to check your translation that often. You can also start two FET programs in parallel, one in English and one in Bulgarian.

I prefer to keep my work to a minimum. Maybe someone will come to create a FET interface using the FET engine; I may post a link to it on the FET homepage; if and when it will be better than the current FET interface, it might replace it.
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on November 28, 2014, 05:58:10 PM
I have put a new snapshot, minor improvement in the XML .fet file. Of course older files can be opened. Please test.
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on November 29, 2014, 10:04:58 AM
I have put a new snapshot, minor source cleanup.
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on December 01, 2014, 02:28:49 PM
I have released a new snapshot, minor improvement.
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on December 03, 2014, 08:13:27 PM
I have released a new snapshot, minor improvements (bugs found with an automatic tool).
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on December 04, 2014, 11:57:09 AM
I released a new snapshot, minor source clean up.
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on December 05, 2014, 08:45:53 PM
I released a new snapshot, minor bug fix. When the user has an opened file, and he opens another corrupt one, old FET showed the name of the old file (which was in fact a new file). Now FET shows "Untitled - FET".
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on December 09, 2014, 02:45:13 PM
I released a new snapshot. From the ChangeLog:

   - Other bug fixes, reported by Vanyo Georgiev.

The location, as usual, http://lalescu.ro/liviu/fet/download/test/

Qt 5.4.0 is scheduled for release tomorrow, and if everything goes well I will put a snapshot tomorrow for testing especially under Windows.

I am not sure about the release of the official FET. I think at most a week from now, maybe less.
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on December 10, 2014, 04:07:02 PM
I have put a new snapshot. From the ChangeLog:

   - Updated to Qt 5.4.0.

The sources version (tar.bz2) should be unmodified. But please test the Windows version, especially please tell me if it works on older computers, with Windows XP or Windows Vista.
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on December 16, 2014, 06:27:23 PM
I have put a new snapshot. From the ChangeLog:

   - Automatic division of years by categories is improved (suggested by alxgudea, Bobby Wise and Volker Dirr).

Please test and let me know your opinion. A test would be this: with old FET-5.23.4-official divide year Y and save as a file_old.fet. Then in FET-5.24.0-snapshot divide year Y in the same way (settings are compatible for 4 categories) and save the file as file_new.fet. Then compare the files by contents, with a diff program. Only the Days_List and Hours_List should be different, and a bit of extra tabs (spacing).

Also, please let me know if you have a Mac. I want the tab widget in the divide year dialog not to be too big - the tab titles should be collapsible, so that say only the numbers 1..10 are visible, not 1..14.

The location, as usual, http://lalescu.ro/liviu/fet/download/test/
Title: Re: FET-5.24.0 snapshot available
Post by: alxgudea on December 16, 2014, 08:14:29 PM
Hello Liviu,
Saw the snapshot, initially I was intrigued but now I can see the difference. I hope tomorrow I reach the part we were talking about and then I will use the old file to go on with my timetabling....keep you post it..thanks...much obliged! ;D
Title: Re: FET-5.24.0 snapshot available
Post by: Bobby Wise on December 16, 2014, 08:31:29 PM
Hello Liviu,

I have sent you a mail
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on December 17, 2014, 09:47:19 PM
I have put a new snapshot. From the ChangeLog:

   - Significant speed improvements when using many students sets (suggested by Volker Dirr).

Warning: very untested code. Might bring data loss!

Please help me with testing, especially removing students sets. And removing activities/teachers/subjects/activity tags.

Generation routine is the same. Only the data is handled in a different way. You can really divide a year now into very many subgroups.

So, use previous snapshot or official 5.23.4. Do some operations on your file. Then save the file as old.fet. Then do the same operations with 5.24.0-snapshot-17-dec-22_37, and save as new.fet. Files should be identical (not regarding days list, hours list and spacing in students sets list).

I am still thinking of a possible improvement: when the user wants to divide a non-empty year, FET to maintain old activities and constraints referring to sets which are still present after the division (so no more emptying the year and removing all related activities/constraints).

Please let me know.
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on December 18, 2014, 04:17:19 PM
I added a new snapshot. Improved statistics (especially students statistics). Also, an important bug regarding previous snapshot was fixed (when dividing a year). Please test and let me know. Same usual download link.
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on December 18, 2014, 09:59:53 PM
I released a new snapshot, minor improvements compared to previous snapshot.

The link, as usual, http://lalescu.ro/liviu/fet/download/test/

Please help me with testing: dividing years, students statistics, remove students set and check activities and constraints after that. In this way, we can ensure the final release will be (critical) bug-free.
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on December 19, 2014, 07:50:57 AM
I released a new snapshot, minor improvements compared to previous snapshot.
Title: Re: FET-5.24.0 snapshot available
Post by: Bobby Wise on December 19, 2014, 09:41:22 AM
Unfortunately I do not have enough time to do thorough testing right now, but I have encountered no errors on the few tests that I have done.
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on December 19, 2014, 10:58:48 AM
Thank you! In the meantime, I released a new snapshot, minor improvements compared to previous snapshot.
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on December 19, 2014, 03:39:25 PM
I released a new snapshot; I did some more speed improvements, and again some testing should be done.
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on December 20, 2014, 10:25:36 PM
I added a new snapshot. Link: http://lalescu.ro/liviu/fet/download/test/

Complete ChangeLog:

   - Updated to Qt 5.4.0.
   - Significant speed improvements when using many students sets (suggested by Volker Dirr).
   - Speed improvements in the statistics menu.
   - Other speed improvements for larger data.
   - Added an option to hide students subgroups in combo boxes (useful if you have too many students subgroups and you don't use them in the interface).
   - Automatic division of years by categories is improved (suggested by alxgudea, Bobby Wise and Volker Dirr).
   - Code improvement in reading the .fet XML files: converted from the obsolete Qt classes QDom* to QXmlStreamReader. It brings
   speed and memory improvements when reading the input files, and ensures FET source compatibility with future Qt versions.
   Also error reporting when reading a corrupt file is improved. The structure of the .fet XML files is slightly changed,
   but of course older files are opened correctly.
   - Several bug fixes, when trying to open corrupt files.
   - Other bug fixes, reported by Vanyo Georgiev.
   - It is now allowed to have constraints preferred/home rooms with a single room (suggested by liquid and Volker Dirr).
   - Added a new example file from Vietnam, by nguyenhuuduyet.
   - Added a new example file from Namibia, by Bobby Wise.
   - Added two anonymous example files.

I am still thinking of some more changes, but I am not sure. There are a few new fields to translate.
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on December 21, 2014, 05:02:13 PM
I have put a new version. New changes compared to previous snapshot: the user can hide subgroups globally in activity planning (faster), and can choose to not write some XML or HTML timetables.

Link: http://lalescu.ro/liviu/fet/download/test/

Complete ChangeLog:

   - Updated to Qt 5.4.0.
   - Significant speed improvements when using many students sets (suggested by Volker Dirr).
   - Speed improvements in the statistics menu.
   - Other speed improvements for larger data.
   - Added an option to hide students subgroups in combo boxes/activity planning (useful if you have too many students subgroups
   and you don't use them in the interface).
   - Added options to select the categories of timetables to write on the hard disk.
   - Automatic division of years by categories is improved (suggested by alxgudea, Bobby Wise and Volker Dirr).
   - Code improvement in reading the .fet XML files: converted from the obsolete Qt classes QDom* to QXmlStreamReader. It brings
   speed and memory improvements when reading the input files, and ensures FET source compatibility with future Qt versions.
   Also error reporting when reading a corrupt file is improved. The structure of the .fet XML files is slightly changed,
   but of course older files are opened correctly.
   - Several bug fixes, when trying to open corrupt files.
   - Other bug fixes, reported by Vanyo Georgiev.
   - It is now allowed to have constraints preferred/home rooms with a single room (suggested by liquid and Volker Dirr).
   - Added a new example file from Vietnam, by nguyenhuuduyet.
   - Added a new example file from Namibia, by Bobby Wise.
   - Added two anonymous example files.

Please test.
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on December 22, 2014, 01:59:35 PM
I added a new snapshot, with minor improvements.
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on December 23, 2014, 07:39:11 AM
I added a new snapshot, with minor strings improvements.
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on December 23, 2014, 04:57:27 PM
I added a new snapshot, minor improvements.
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on December 24, 2014, 01:48:25 PM
I added a new snapshot, with minor improvements.
Title: Re: FET-5.24.0 snapshot available
Post by: Liviu Lalescu on December 27, 2014, 03:05:30 PM
I added a new snapshot, with a few strings changed.