GTK3 based gretl on Wayland
by Marcin Błażejowski
Hi,
I've been using GTK3 based gretl for years - without any problems.
Recently, I decided to move from the very old X11 graphics to Wayland
and I encountered the following two problems:
1. Drag-and-drop actions don't work (neither for scripts nor data).
2. Clipboard is one-directional: I can copy raw text from the operating
system to gretl, but I cannot copy enything from gretl to operating
system (scripts, results).
I checked GTK2 and everything is ok. I'm using current git version.
Marcin
--
Marcin Błażejowski
1 year, 8 months
small issue with error message for 'genseries' with bundle
by Sven Schreiber
Hi,
consider this example:
<hansl>
open denmark
bundle b = _(y=LRM)
list L = const
L += genseries("L", b.y)
</hansl>
This rightly gives an error, since genseries tries to create a series
"L", where the identifier "L" is already occupied by the defined list
before. But the error message is a little opaque: "variable number -1
out of bounds".
Of course, the return value -1 just signals an error. And if this wrong
construction is executed without the bundle sauce on top of it, then
gretl also says "object type list not acceptable in this context", which
is informative. But: in the example above this additional message is not
printed out, just the out of bounds reply.
Not very important, I know, but I stumbled over it in real code.
thanks
sven
1 year, 9 months
Compilation errors
by Marcin Błażejowski
Hi,
two problems:
1. yestarday: out-of-tree compilation of fresh gretl-git produced
following errors (gcc-11, clang-14, aocc-4):
make[1]: Entering directory '/home/ubuntu/cvs/gretl-git/build_gcc/po'
cd ../../po && : --update bg.po gretl.pot
cd ../../po && rm -f bg.gmo && : -c --statistics -o bg.gmo bg.po
mv: cannot stat 't-bg.gmo': No such file or directory
make[1]: *** [Makefile:323: ../../po/bg.gmo] Error 1
make[1]: Leaving directory '/home/ubuntu/cvs/gretl-git/build_gcc/po'
make: *** [Makefile:73: po] Error 2
2. today: out-of-tree recompilation produced the following (gcc-12,
clang-15):
../../gui/textbuf.c:5040:14: error: cannot combine with previous
'type-name' declaration specifier
gboolean bool;
^
/usr/lib/llvm-15/lib/clang/15.0.6/include/stdbool.h:20:14: note:
expanded from macro 'bool'
#define bool _Bool
^
../../gui/textbuf.c:5040:5: warning: declaration does not declare
anything [-Wmissing-declarations]
gboolean bool;
^~~~~~~~~~~~~
../../gui/textbuf.c:5047:10: error: expected identifier or '('
bool = gtk_text_view_get_editable(tv1);
^
../../gui/textbuf.c:5048:37: error: expected expression
gtk_text_view_set_editable(tv2, bool);
^
/usr/lib/llvm-15/lib/clang/15.0.6/include/stdbool.h:20:14: note:
expanded from macro 'bool'
#define bool _Bool
^
../../gui/textbuf.c:5049:43: error: expected expression
gtk_text_view_set_cursor_visible(tv2, bool);
^
/usr/lib/llvm-15/lib/clang/15.0.6/include/stdbool.h:20:14: note:
expanded from macro 'bool'
#define bool _Bool
^
../../gui/textbuf.c:5053:7: error: expected identifier or '('
bool = gtk_source_view_get_show_line_numbers(GTK_SOURCE_VIEW(w1));
^
../../gui/textbuf.c:5054:61: error: expected expression
gtk_source_view_set_show_line_numbers(GTK_SOURCE_VIEW(w2), bool);
^
/usr/lib/llvm-15/lib/clang/15.0.6/include/stdbool.h:20:14: note:
expanded from macro 'bool'
#define bool _Bool
Marcin
--
Marcin Błażejowski
1 year, 10 months
incompatibility log directly in gretl
by Sven Schreiber
Hi everybody,
here's an idea: When you open Help - About gretl, and then click on
News, you get the release notes in the form of the most recent
changelog, together with a link to the online version. On that webpage,
you also have a link to the log of compatibility-breaking changes.
What about including those more severe changes also directly in the
gretl: NEWS window for direct offline use?
thanks
sven
1 year, 10 months
kratom.org - Kratom Education Resource
by redddorsey1014@outlook.com
Founded in 2014, it is a consumer advocacy organization whose main aim is to protect the rights of consumers of herbs and other products in the United States. It also educates the public about kratom and its benefits, and is committed to ensuring that kratom is safe to consume. It was started by Matt Andrew, who vowed to stop over-promising and over-marketing tactics. His previous company closed down after he left. The organization hopes to change the minds of the United States about kratom and restore consumer access to it.
It has a website and an email newsletter. It accepts donations through PayPal and wire transfer. This organization provides a mailing list and a form for individuals to contact their congressional representatives. It also has an education section and a secondary website.
The organization has a code of conduct that ensures professionalism and a positive image of kratom. It also promotes proper education about the product and encourages lawmakers to pass legislation that will protect kratom users. Its board of directors oversees its business. It also publishes in-depth publications on pharmacology, psychology, and kratom.
It is composed of members from the scientific community, government officials, and responsible consumers. It is a Virginia-registered organization that has been fighting to protect consumers' rights and to bring about change to the kratom industry in the United States. It has taken on the FDA for its inaccurate representation of kratom. This organization encourages the FDA to rescind its ban on kratom products and to alter its course in the future.
The Kratom Consumer Protection Act (KCPA) was passed in four states, including Arizona, Nevada, Georgia, and Utah. The act protects consumers from products manufactured or sold by disreputable vendors. It also ensures that kratom products are of a standard quality. It highlights kratom vendors who are conscientious and follow good manufacturing practices (GMP).
Its mission is to improve the quality of Kratom products. It has introduced a GMP compliance program that double checks the quality of kratom. The program requires retailers to follow strict manufacturing standards. It also allows third-party observers to audit the end products. The GMP program has been updated by this organization, and its members are now required to undergo annual audits.
The Kratom Consumer Council is another organization that was established by this organization. The Council is committed to fighting against bands and bands of individuals, who attempt to restrict consumer access to kratom. It also fights against band members who try to intimidate Kratom growers and vendors. It also fights against companies that promote dangerous opioid medications. It is also involved in debunking deaths that have been linked to kratom.
It has been working to protect the rights of kratom users in the United States since it was established. It is a non-profit organization that is based on donations. It is also made up of people who share a common interest in kratom.
Website: https://kratom.org/
1 year, 10 months
bare matrix initialization
by Sven Schreiber
Hi,
if I create a new matrix without assignment (matrix m), I get a 0x0
empty matrix. Can I rely on this behavior or is it in principle
undefined and could change in the future?
thanks
sven
1 year, 11 months
catch failing within loop
by Sven Schreiber
Hi, consider this fairly minimal code example:
<hansl>
open denmark
loop i = $tmax..$tmax + 9
catch value = LRM[i]
eval $error # This line necessary to provoke the problem!
endloop
</hansl>
What I'm getting on gretl 2022c is that in the first loop iteration it
works as expected, namely that catch isn't necessary (since LRM[$tmax]
gives the last available obs) and the error value is zero. Directly
afterwards for i==$tmax+1 gretl says "index value 56 out of bounds".
This is correct, but that's exactly what 'catch' should, well, catch.
Notice that when the $error value isn't accessed, then gretl does _not_
complain!
But that's not all - what follows is a more complex example without a
direct $error access, where the simple loop construct works, but an
equivalent while-loop does not work:
<hansl>
open denmark
loop i = $tmax..$tmax + 9
catch value = LRM[i] # works
endloop
print "got here?"
index = $tmax
loop while index < $tmax + 10
catch value = LRM[index] # fails
index++
endloop
</hansl>
Could this have to do with the recent "more-compilation" internal gretl
business, or did that not make it into gretl 2022c?
thanks
sven
1 year, 11 months
numerical overflow problem? (with $huge and int())
by Sven Schreiber
Hi,
totally different small issue:
? eval int($huge)
-2.1474836e+009
... as opposed to floor($huge) and round($huge), which work as expected.
BTW, int(-$huge) is also negative, the same number.
thanks
sven
1 year, 11 months
sample_t1 and sample_t2 missing from $system bundle after 'system' (in narrow sense)
by Sven Schreiber
Hello everybody,
I'm noticing that the $system accessor bundle does not contain the
sample_t1 and sample_t2 members if the bundle stems from an explicit
simultaneous-equation system ('system' block, as opposed to 'var' or
'vecm'). See for example:
<hansl>
open denmark
system method=sur
equation LRM const LRY(-2) LRM(-3)
equation LRY const LRY(-1)
end system
print $system
</hansl>
Is this just an oversight like I'm guessing?
(Remember that sample_t1 and t1 can differ depending on available
pre-sample values in the dataset and on the lag structure in the system.)
thanks
sven
1 year, 11 months
print $error vs. eval $error
by Sven Schreiber
Hi, I get different behavior for a certain use of "print" and "eval":
<hansl>
open denmark
catch v = LRM[60] # is out of bounds
eval $error # non-zero as expected
open denmark
catch v = LRM[60]
print $error # 0
</hansl>
Is this difference expected/OK or a bug?
thanks
sven
1 year, 11 months