Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Zsolt Udvari

#31
Report a Bug / [fixed] assertion failed
July 25, 2017, 11:40:36 AM
I open a new activity dialog. I fill the form: without students set and set the number of students.
When I click Add a confirmation dialog appears and when I confirm it, FET exits:
Assertion failed: (_nTotalStudents==_computedNumberOfStudents), function Activity, file engine/activity.cpp, line 212.                             
Abort

FET version 5.31.5.
#32
Suggestions / Re: Tag constraints
July 25, 2017, 09:26:50 AM
Quote from: Volker Dirr on July 24, 2017, 04:55:40 PM
in my opinion weight with less than 100% should be disallowed at all.
it is a nice feature if the timetable is easy, because it is working well than and you don't need to understand much to use that.
but if you have got difficult timetables with weight less than 100% is much to much waste of time. You don't understand your dataset perfect and add to many bugs by that and must wait much longer for a solution; but waiting longer for a solution if your dataset is already difficult doesn't help much.
Hm. So do you say should I add 100% weighted time constraints to some (not all!) subactivities? I think maybe you've right because FET can try impossible (not 100% weighted) constraints many times (depends on weight) and maybe for each subactivities! And user doesn't know why takes too long...
I'll try your suggestion.
#33
Suggestions / Re: Tag constraints
July 24, 2017, 04:46:24 PM
Quote from: Volker Dirr on July 24, 2017, 04:34:06 PM
So i do it only with some "early" activities. the others will be automatically late if the others are early.
Yes I thought about it and the constraint's weight don't will be 100%.
#34
Suggestions / Re: Tag constraints
July 24, 2017, 04:10:52 PM
Quote from: Liviu Lalescu on July 24, 2017, 03:44:06 PM
You could add a tag "easy" or "hard" to each activity. But you would like to add a tag to each subject, instead (less work). I'll add this in the TODO. But it is a complication of the simple set of FET data.
I can use tag to each activity, of course. If it's complicated and only a little bit useful don't do it.

Quote from: Liviu Lalescu on July 24, 2017, 03:44:06 PM
Quote
But do you think my idea would be not so good to solve my problem?
What idea, with tags for subject? I'll add it in the TODO, but I don't like it too much, as I wrote above.
Yes, tags for subject. But if you think the more work is better because of timetable generate I accept - you're the programmer of FET and you can see the problems (about programming and generate). I don't want a feature that causes an impossible case ;)
#35
Suggestions / Re: Tag constraints
July 24, 2017, 03:27:22 PM
Yes, I know about this practice - I do it similar. But I think it's a lot of work and the quantity of this work would decrease with subject's tag.
But do you think my idea would be not so good to solve my problem?
#36
Suggestions / Re: Tag constraints
July 24, 2017, 03:12:55 PM
Quote from: Liviu Lalescu on July 24, 2017, 01:13:39 PM
Could you tell me how what constraints do you add now (with the current version of FET) to say that PE, Draw and Music should be later than Mathematics?
Maybe my explanation wasn't perfect.
So I don't prefer the following timetable:

MonTueWedThuFri
1.PEDraw...Music...
2.MusicPEDrawPE
...
6.MathLiteratureEnglishPhysGerman
7.PhysMathMathEnglishMath
Please note a lot of PE, Draw, Music are at the early of the days and the "difficult" subjects are at one of the last hours of day.

So it would be better inversly. It isn't important that first Math and after Math will the PE. The important thing is as many Math (and Phys, Literature, ...) as possible will be placed at early (or middle but not the end) of the days. And its result is that the PE, Draw, Music (and similar "easy" subjects) should be placed at the near of the end of the days.
#37
Suggestions / Tag constraints
July 24, 2017, 12:36:01 PM
I think it would be nice when can assign time constraints to tags.
And with the tags: maybe can use tag on subjects and teachers.

For example the PE, draw and the music activities should be the latter activities (on a day) than mathematics. It would be simplier if I could create a tag "later" and assign it to PE, draw and music subjects and add a time constraint to "later" tag.
Now I have to add these constraints for all activities.
#38
Quote from: Volker Dirr on July 21, 2017, 09:33:46 AM
Qt 4 is obsolete a long time now
I think it isn't Qt4-specific bug. On FreeBSD 10.3 can build it with Qt4.
#39
Programming Help / Re: generate multi in fet-cl
February 13, 2017, 03:48:45 PM
Quote from: Peter Johnson on February 13, 2017, 03:42:28 PM
nice, thanks, but I am a Windows user  :-\
I assume the Powershell has for-loop feature: https://ss64.com/ps/for.html
The "old" command.com (cmd.exe) has for-loop too: https://ss64.com/nt/for2.html
I hope the following should work:
FOR %%V IN (1 2 3 4 5 6 7) DO fet-cl --datadir=%%V ...
I think it's simplier than modify the FET's code and rebuild.
#40
Programming Help / Re: generate multi in fet-cl
February 13, 2017, 03:43:18 PM
Quote from: Liviu Lalescu on February 13, 2017, 03:30:25 PM
the beginning random seed is taken as the number of seconds since 1970
Oh, indeed. You can use $RANDOM (if you use bash) or if you've jot utility: jot -r 1 1 100000000.
#41
Programming Help / Re: generate multi in fet-cl
February 13, 2017, 03:23:43 PM
I think you can run it multiple times :)
If you use Linux(-like) operation system:
for f in `seq 1 10`; do fet-cl --outputdir=/home/fet/output/`date +%Y%m%d-%H%M`/${f} ... ; done
#42
Custom FET for Particular Needs / Re: web based FET
January 10, 2017, 12:16:18 PM
Some year ago I created a similar app. It isn't ready yet and don't work on this now (it was a work).
I think you should do it with a web framework (PHP/ruby/python/perl/... based - your favourite language). It isn't so easy as it seems (if you want to do multi-feature).
Why do you want to do it? Maybe if we know the reasons can help better.
#43
General Stuff / Re: TWO weeks
July 06, 2016, 10:07:28 AM
Do you have only ONE course?
#44
Get Help / Re: How to merge FET files
May 19, 2016, 07:16:31 PM
Maybe you want to use a version control system (git, svn, ...).
#45
Suggestions / Re: Separate engine and gui
May 10, 2016, 03:16:10 PM
Uuuh, sorry, it's my fault. Yes, it seems it's already done :)