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

#1
Suggestions / Re: A possible undo system
January 09, 2023, 08:48:05 PM
I use a version control system to manage changes in FET file (prefer subversion but git or any other is good). It works very good because of text-based XML file.
I don't know how many work integrate one of them but IMHO it would be a good choice.

Possible workflow: at every save FET will ask the user summarize the changes ("changelog"). Later can undo any change and can see from changelog what will be revert.
#2
Report a Bug / Re: FET 5.48.0 build error on FreeBSD i386
December 09, 2020, 02:54:53 PM
It's okay, thanks for your work!
#3
Report a Bug / Re: FET 5.48.0 build error on FreeBSD i386
December 09, 2020, 09:22:07 AM
Thanks, I'm testing it.
#4
Report a Bug / FET 5.48.0 build error on FreeBSD i386
December 05, 2020, 09:11:24 AM
Hi Liviu,

I run into a build error on FreeBSD (i386). I'm not expert in C++ so I can't fix it. Could you please check the log?
http://beefy5.nyi.freebsd.org/data/121i386-default/556876/logs/fet-5.48.0.log

c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu++11 -Wall -Wextra -pthread -fPIC -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_STRICT_ITERATORS -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Iengine -Iinterface -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtPrintSupport -I/usr/local/include/qt5/QtWidgets -I/usr/local/include/qt5/QtGui -I/usr/local/include/qt5/QtNetwork -I/usr/local/include/qt5/QtCore -I../tmp/gui -I/usr/local/include/libdrm -I../tmp/gui -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o ../tmp/gui/timetableexport.o engine/timetableexport.cpp
In file included from engine/timetableexport.cpp:46:
engine/timetable_defs.h:343:17: error: class member cannot be redeclared
        static QString number(qsizetype n);
                       ^
engine/timetable_defs.h:341:17: note: previous declaration is here
        static QString number(int n);
                       ^
1 error generated.
*** Error code 1


Thanks!
#5
Suggestions / Run command at end of generation
August 11, 2020, 01:39:56 PM
It would be nice run a command at end of generation. The user can play a sound, display a pop-up window, etc.
#6
I think it's okay :)
#7
Quote from: Liviu Lalescu on February 08, 2020, 07:56:39 PM
I improved the fet-cl usage using your approach, but not identical. I hope you'll like it.
Yes, it's more better. Thanks! :)
#8
I think it's enough write only to terminal.

But one suggestion: the fet --help is hard to read. I think would better similar as:

Usage: fet-cl --inputfile=FILE [other options]

Other options are:
--outputdir=DIR             the path to results directory, without trailing slash or backslash (default is current working path). Make sure you have write permissions there.
--timelimitseconds=NUM      the time limit in seconds  (default 2000000000, which is practically infinite)
...
#9
General Stuff / Re: Compiling time (with Raspberry Pi 3)
February 19, 2018, 07:36:50 PM
I'm using it on FreeBSD 2 (model B).
I don't know about RaspBSD. I'm using 11.1. The 12 is "under developing" (or CURRENT in FreeBSD terminology), its release expected about one year later (see here).
#10
General Stuff / Re: Compiling time (with Raspberry Pi 3)
February 19, 2018, 07:05:14 PM
I'm using FreeBSD on an RPi (with Kodi), on two laptops (me and my wife), on one old (about 15 years old) desktop machine (only backup, not daily use) and on five VPS's.
#11
General Stuff / Re: Compiling time (with Raspberry Pi 3)
February 19, 2018, 06:33:05 PM
Understand :)
But I think I'll stay at FreeBSD ;)
#12
General Stuff / Re: Compiling time (with Raspberry Pi 3)
February 19, 2018, 06:09:27 PM
Ah, I see. But you can download Debian ISO files to ARM so the Raspbian unneeded :)
#13
General Stuff / Re: Compiling time (with Raspberry Pi 3)
February 19, 2018, 05:24:33 PM
Quote from: Volker Dirr on February 19, 2018, 05:21:29 PM
If you know how to download Debian Buster and/or Sid, you can get the latest version (at the moment 5.35.2).
And is it compiled to ARM too? I think the official package repositories are available only to amd64 (and i386).
#14
General Stuff / Re: Compiling time (with Raspberry Pi 3)
February 19, 2018, 05:10:59 PM
FreeBSD has 5.34.0:
$ pkg rquery "%v" fet
5.34.0

And if you use latest repository can install fet-cli (only  command-line version and only its dependencies).
#15
Talk It Up! / Re: Shortcut Name Generator
September 17, 2017, 12:40:18 PM
QuoteAnybody knows such a tool?
$ md5 -qs "Teacher Name" | cut -b 1-6                                                                                                               
77d96a

:D

I think it would be the best when FET generate automatically from teacher's name: first M char from last name and first N char from first name (maybe the M and N can be user-specified, maybe an optional infix string: Nam-Te). And the user can override this generated shortcut.