Remote hosts

Hi,
How to monitor databases of remote hosts ?

If you are asking how to analyze log remotely with pgbadger, just execute pgbadger with the ip address of the remote server and the path to the log file:
    pgbadger --remote-host<IP_ADDRESS>  /var/log/postgresql/postgresql-9.3-main.log

You need to exchange ssh key between de machine to be able to execute the command without typing a password.

sudo pgbadger --remote-host <IP_ADDRESS>  /var/log/postgresql/postgresql-9.3-main.log
[sudo] password for saksham:
The authenticity of host '<IP_ADDRESS> (<IP_ADDRESS>)' can't be established.
ECDSA key fingerprint is 32:87:18:d7:28:7f:45:92:84:cf:ac:87:bf:74:17:f1.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '<IP_ADDRESS>' (ECDSA) to the list of known hosts.
Permission denied (publickey,password).
FATAL: you must give a log file as command line parameter.
Usage: pgbadger [options] logfile [...] . . .

You can not use sudo  to run pgbadger in this use or at least it generate an error that return an empty log file. Here is what you should see:
gilles@W230ST:~$ /home/git/pgbadger/pgbadger -f stderr --remote-host <IP_ADDRESS> /var/log/postgresql/postgresql-9.5-main.log.1
[========================>] Parsed 381531 bytes of 381531 (100.00%), queries: 304, events: 259

With this user I'm able to read the log file at remote side. If you need to use a specific user or ssh key, see options --ssh-* You will also have to specify the PostgreSQL log format with the -f option.

saksham@saksham:~$ /home/saksham/Downloads/pgbadger-6.4/pgbadger -f stderr
--remote-host <IP_ADDRESS> /var/log/postgresql/postgresql-9.3-main.log.1
Permission denied (publickey,password).
FATAL: you must give a log file as command line parameter.
Usage: pgbadger [options] logfile [...]
On Sat, Jul 30, 2016 at 1:12 PM, Darold<EMAIL_ADDRESS>wrote:

You can not use sudo to run pgbadger in this use or at least it generate
an error that return an empty log file. Here is what you should see:
gilles@W230ST:~$ /home/git/pgbadger/pgbadger -f stderr --remote-host <IP_ADDRESS> /var/log/postgresql/postgresql-9.5-main.log.1
[========================>] Parsed 381531 bytes of 381531 (100.00%), queries: 304, events: 259
With this user I'm able to read the log file at remote side. If you need
to use a specific user or ssh key, see options --ssh-* You will also have
to specify the PostgreSQL log format with the -f option.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dalibo/pgbadger/issues/292#issuecomment-236351251,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQTXPyfWQ6UdZMoqZ-m90WBBZwj4Shkyks5qawBRgaJpZM4JYDxN
.

Please, you are using an old release, you can download version 8.1 here  https://github.com/dalibo/pgbadger/releases
And check the following command:
ssh <IP_ADDRESS> tail /var/log/postgresql/postgresql-9.3-main.log.1

~$ ssh <IP_ADDRESS> tail /var/log/postgresql/postgresql-9.3-main.log
<EMAIL_ADDRESS>password:
to_char(co.em_oca_eta) as eta,sum(col.qtyinvoiced) as qty
from c_order co
left join c_doctype cdt on cdt.c_doctype_id = co.c_doctypetarget_id
left join c_bpartner cbp on cbp.c_bpartner_id = co.c_bpartner_id
left join FIN_Payment_Sched_Ord_V fp on fp.c_order_id = co.c_order_id
left join c_orderline col on col.c_order_id = co.c_order_id
left join ad_org org on org.ad_org_id = co.ad_org_id
where co.issotrx= 'Y'
group by docnum,docname,docstatus,bpcardcode,bpname,docdate,datedue,eta
order by docnum
Actual log file has more lines.

$ ssh<EMAIL_ADDRESS>tail
/var/log/postgresql/postgresql-9.1-main.log.1
<EMAIL_ADDRESS>password:
tail: cannot open ‘/var/log/postgresql/postgresql-9.1-main.log.1’ for
reading: Permission denied
On Sat, Jul 30, 2016 at 8:32 PM, Darold<EMAIL_ADDRESS>wrote:

Please, you are using an old release, you can download version 8.1 here
https://github.com/dalibo/pgbadger/releases
And check the following command:
ssh <IP_ADDRESS> tail /var/log/postgresql/postgresql-9.3-main.log.1
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dalibo/pgbadger/issues/292#issuecomment-236369896,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQTXP0jr7cWEJoRDfQyp59-Dcdw6vaVoks5qa2eigaJpZM4JYDxN
.

Good Afternoon,
Thank you, Now I'm using pgbadger 8.1. I'm having above error. Pl. help me.
On Fri, Aug 5, 2016 at 12:36 PM, PITHANI V V SATYANARAYANA <
<EMAIL_ADDRESS>wrote:

$ ssh<EMAIL_ADDRESS>tail
/var/log/postgresql/postgresql-9.1-main.log.1
<EMAIL_ADDRESS>password:
tail: cannot open ‘/var/log/postgresql/postgresql-9.1-main.log.1’ for
reading: Permission denied
On Sat, Jul 30, 2016 at 8:32 PM, Darold<EMAIL_ADDRESS>wrote:

Please, you are using an old release, you can download version 8.1 here
https://github.com/dalibo/pgbadger/releases
And check the following command:
ssh <IP_ADDRESS> tail /var/log/postgresql/postgresql-9.3-main.log.1
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dalibo/pgbadger/issues/292#issuecomment-236369896,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQTXP0jr7cWEJoRDfQyp59-Dcdw6vaVoks5qa2eigaJpZM4JYDxN
.

Here are the results when I perform previous commands you suggested :
$ pgbadger --remote-host <IP_ADDRESS>
/var/log/postgresql/postgresql-9.3-main.log
ssh: connect to host <IP_ADDRESS> port 22: Connection timed out
FATAL: you must give a log file at command line parameter.
$ pgbadger -f stderr --remote-host <IP_ADDRESS>
/var/log/postgresql/postgresql-9.1-main.log.1
ssh: connect to host <IP_ADDRESS> port 22: Connection timed out
FATAL: you must give a log file at command line parameter.
On Fri, Aug 5, 2016 at 12:40 PM, PITHANI V V SATYANARAYANA <
<EMAIL_ADDRESS>wrote:

Good Afternoon,
Thank you, Now I'm using pgbadger 8.1. I'm having above error. Pl. help me.
On Fri, Aug 5, 2016 at 12:36 PM, PITHANI V V SATYANARAYANA <
<EMAIL_ADDRESS>wrote:

$ ssh<EMAIL_ADDRESS>tail
/var/log/postgresql/postgresql-9.1-main.log.1
<EMAIL_ADDRESS>password:
tail: cannot open ‘/var/log/postgresql/postgresql-9.1-main.log.1’ for
reading: Permission denied
On Sat, Jul 30, 2016 at 8:32 PM, Darold<EMAIL_ADDRESS>wrote:

Please, you are using an old release, you can download version 8.1 here
https://github.com/dalibo/pgbadger/releases
And check the following command:
ssh <IP_ADDRESS> tail /var/log/postgresql/postgresql-9.3-main.log.1
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dalibo/pgbadger/issues/292#issuecomment-236369896,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQTXP0jr7cWEJoRDfQyp59-Dcdw6vaVoks5qa2eigaJpZM4JYDxN
.

You have to perform a ssh key exchange between the machine to be able to connect without password, see ssh-copy-id

I followed this documentation
https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2
but remote host still asking to enter the password
$ ssh 'user@IP'
user@IP's password:
On Fri, Aug 5, 2016 at 1:25 PM, Darold<EMAIL_ADDRESS>wrote:

You have to perform a ssh key exchange between the machine to be able to
connect without password, see ssh-copy-id
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dalibo/pgbadger/issues/292#issuecomment-237781290,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQTXP6RMjtZpKF3XGfXs3q4C43KzE4l0ks5qcuyBgaJpZM4JYDxN
.

Hi,
It seems that what you want to achieve is not whole under control and so in this case I recommend you to not start with remote capabilities of pgbadger and to test again after some training. For the moment you can transfer your logs using ftp or otherwise you can use rsyslog to centralized your log but this last solution can be difficult too if you don't have sysadmin skills.
Best regards,

Hi,
Through sftp I'm able to access remote host and I can transfer that log
file to my machine, generate out.html. Is there any possibility to copy
that log file from the remote system and generate out.html by using
crontab ?
On Fri, Aug 5, 2016 at 7:22 PM, Darold<EMAIL_ADDRESS>wrote:

Hi,
It seems that what you want to achieve is not whole under control and so
in this case I recommend you to not start with remote capabilities of
pgbadger and to test again after some training. For the moment you can
transfer your logs using ftp or otherwise you can use rsyslog to
centralized your log but this last solution can be difficult too if you
don't have sysadmin skills.
Best regards,
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dalibo/pgbadger/issues/292#issuecomment-237855947,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQTXP-DTMYpbsGnxedBTkAcOk8eLHZejks5qc0AlgaJpZM4JYDxN
.

Hello #darold https://github.com/darold,
Now I'm able to connect with my host and tried this command *ssh User@IP
tail /var/log/postgresql/postgresql-9.1-main.log.1. **; *having last 10
lines of the log file.
Please tell me how can I generate *out.html *periodically.
Thank you.

Hi,
I tried this command and it's generating out.html too, but no content
within.
./pgbadger -v -f stderr -r <IP_ADDRESS> --ssh-user citium -b '2014-09-26
04:48:01' -e '2014-09-26 04:54:00'
/var/log/postgresql/postgresql-9.1-main.log.1 [Ref : Issue #197 ]
https://github.com/dalibo/pgbadger/issues/197
DEBUG: Looking for remote filename using command: ssh -o ConnectTimeout=10
-o PreferredAuthentications=hostbased,publickey my_user@my_host "ls
/var/log/postgresql/postgresql-9.1-main.log.1"
DEBUG: Output 'html' reports will be written to out.html
DEBUG: Starting to parse remote log file:
my_host:/var/log/postgresql/postgresql-9.1-main.log.1
DEBUG: Looking for file size using command: ssh -o ConnectTimeout=10 -o
PreferredAuthentications=hostbased,publickey my_user@my_host "ls -l
/var/log/postgresql/postgresql-9.1-main.log.1" | awk '{print $5}'
DEBUG: Remote file size: 463989
DEBUG: Retrieving log entries using command: ssh -o ConnectTimeout=10 -o
PreferredAuthentications=hostbased,publickey my_user@my_host " cat
/var/log/postgresql/postgresql-9.1-main.log.1" |
DEBUG: Starting reading file
my_host:/var/log/postgresql/postgresql-9.1-main.log.1...
DEBUG: Looking for file size using command: ssh -o ConnectTimeout=10 -o
PreferredAuthentications=hostbased,publickey my_user@my_host "ls -l
/var/log/postgresql/postgresql-9.1-main.log.1" | awk '{print $5}'
DEBUG: Remote file size: 463989
DEBUG: Retrieving log entries using command: ssh -o ConnectTimeout=10 -o
PreferredAuthentications=hostbased,publickey my_user@my_host " cat
/var/log/postgresql/postgresql-9.1-main.log.1" |
cat: /var/log/postgresql/postgresql-9.1-main.log.1: Permission denied
cat: /var/log/postgresql/postgresql-9.1-main.log.1: Permission denied
DEBUG: Start parsing at offset 0 of file
/var/log/postgresql/postgresql-9.1-main.log.1 to 463989
[>                        ] Parsed      0 bytes of 463989 (0.00%), queries:
0, events: 0
DEBUG: the log statistics gathering took: 6 wallclock secs ( 0.00 usr  0.01
sys +  0.15 cusr  0.02 csys =  0.18 CPU)
LOG: Ok, generating html report...
DEBUG: building reports took:  0 wallclock secs ( 0.01 usr +  0.00 sys =
0.01 CPU)
DEBUG: the total execution time took:  6 wallclock secs ( 0.01 usr  0.01
sys +  0.15 cusr  0.02 csys =  0.19 CPU)
Thanks and Warm Regards,

If you take care of the debug output It might be obvious:
cat: /var/log/postgresql/postgresql-9.1-main.log.1: Permission denied

Suggest me, What I've to do; Can I change the permissions of the log in my
host ? Or Any modifications in command ?
On Mon, Aug 8, 2016 at 12:48 PM, Darold<EMAIL_ADDRESS>wrote:

If you take care of the debug output It might be obvious:
cat: /var/log/postgresql/postgresql-9.1-main.log.1: Permission denied
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dalibo/pgbadger/issues/292#issuecomment-238159100,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQTXP4-4kH78AwvO82UeKjq5cEi5uaXfks5qdtgpgaJpZM4JYDxN
.

Why not use a user that have read permission (postgres) or include your user in the postgres group? Changing the permission to 644 of the log files on the host will also solves the issue but your log files will be readable by anyone that can login to that host.

After Changing the permissions of the log files out.html file generated
but with no content ?

Congratulation, now you might have a log format issue. Take a look at documentation about supported log format and log line prefix.

Thank you, I made following changes in Postgresql configuration file but
not found any information in
out.html yet.
log_line_prefix = '%t [%p]: [%l-1] '
log_statement = 'none'
log_min_duration_statement = 0
log_checkpoints = on
log_connections = on
log_disconnections = on
log_lock_waits = on
log_temp_files = 0
log_autovacuum_min_duration = 0
On Mon, Aug 8, 2016 at 5:17 PM, Darold<EMAIL_ADDRESS>wrote:

Congratulation, now you might have a log format issue. Take a look at
documentation about supported log format and log line prefix.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dalibo/pgbadger/issues/292#issuecomment-238212919,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQTXP772tOda03Nb5BJ-AiiqGEiPODNyks5qdxdBgaJpZM4JYDxN
.

This is what I can see in my Terminal:
DEBUG: Looking for remote filename using command: ssh -o ConnectTimeout=10
-o PreferredAuthentications=hostbased,publickey user@host "ls
/var/log/postgresql/postgresql-9.1-main.log.1"
DEBUG: Output 'html' reports will be written to out.html
DEBUG: Starting to parse remote log file:
host:/var/log/postgresql/postgresql-9.1-main.log.1
DEBUG: Looking for file size using command: ssh -o ConnectTimeout=10 -o
PreferredAuthentications=hostbased,publickey user@host "ls -l
/var/log/postgresql/postgresql-9.1-main.log.1" | awk '{print $5}'
DEBUG: Remote file size: 463989
DEBUG: Retrieving log entries using command: ssh -o ConnectTimeout=10 -o
PreferredAuthentications=hostbased,publickey user@host " cat
/var/log/postgresql/postgresql-9.1-main.log.1" |
DEBUG: Starting reading file
host:/var/log/postgresql/postgresql-9.1-main.log.1...
DEBUG: Looking for file size using command: ssh -o ConnectTimeout=10 -o
PreferredAuthentications=hostbased,publickey user@host "ls -l
/var/log/postgresql/postgresql-9.1-main.log.1" | awk '{print $5}'
DEBUG: Remote file size: 463989
DEBUG: Retrieving log entries using command: ssh -o ConnectTimeout=10 -o
PreferredAuthentications=hostbased,publickey user@host " cat
/var/log/postgresql/postgresql-9.1-main.log.1" |
DEBUG: Start parsing at offset 0 of file
/var/log/postgresql/postgresql-9.1-main.log.1 to 463989
[========================>] Parsed 463989 bytes of 463989 (100.00%),
queries: 0, events: 0
DEBUG: the log statistics gathering took:11 wallclock secs ( 0.06 usr  0.00
sys +  0.17 cusr  0.06 csys =  0.29 CPU)
LOG: Ok, generating html report...
DEBUG: building reports took:  0 wallclock secs ( 0.01 usr +  0.00 sys =
0.01 CPU)
DEBUG: the total execution time took: 11 wallclock secs ( 0.07 usr  0.00
sys +  0.17 cusr  0.06 csys =  0.30 CPU)
On Mon, Aug 8, 2016 at 6:25 PM, PITHANI V V SATYANARAYANA <
<EMAIL_ADDRESS>wrote:

Thank you, I made following changes in Postgresql configuration file but
not found any information in
out.html yet.
log_line_prefix = '%t [%p]: [%l-1] '
log_statement = 'none'
log_min_duration_statement = 0
log_checkpoints = on
log_connections = on
log_disconnections = on
log_lock_waits = on
log_temp_files = 0
log_autovacuum_min_duration = 0
On Mon, Aug 8, 2016 at 5:17 PM, Darold<EMAIL_ADDRESS>wrote:

Congratulation, now you might have a log format issue. Take a look at
documentation about supported log format and log line prefix.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dalibo/pgbadger/issues/292#issuecomment-238212919,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQTXP772tOda03Nb5BJ-AiiqGEiPODNyks5qdxdBgaJpZM4JYDxN
.

You need to reload your configuration file after those changes:
SELECT pg_reload_conf();

as postgres user.

I did that too. But still it is not showing any data. My host using
PostgreSQL 9.1. I attached my html file.
On Mon, Aug 8, 2016 at 7:14 PM, Darold<EMAIL_ADDRESS>wrote:

You need to reload your configuration file after those changes:
SELECT pg_reload_conf();
as postgres user.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dalibo/pgbadger/issues/292#issuecomment-238241599,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQTXPz-z_H-9geI0Q4aQWluyUwxluaU-ks5qdzKhgaJpZM4JYDxN
.

Hello Darold,
Feeling Ebullient !!! Finally output file generated with the Information
when I use postgresql-9.1-main.log, postgresql-9.1-main.log.1 instead.
Would you please explain Difference between these two logs ?
On Tue, Aug 9, 2016 at 9:23 AM, PITHANI V V SATYANARAYANA <
<EMAIL_ADDRESS>wrote:

I did that too. But still it is not showing any data. My host using
PostgreSQL 9.1. I attached my html file.
On Mon, Aug 8, 2016 at 7:14 PM, Darold<EMAIL_ADDRESS>wrote:

You need to reload your configuration file after those changes:
SELECT pg_reload_conf();
as postgres user.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dalibo/pgbadger/issues/292#issuecomment-238241599,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQTXPz-z_H-9geI0Q4aQWluyUwxluaU-ks5qdzKhgaJpZM4JYDxN
.

Would you please explain the Difference between these two logs ?
/var/log/postgresql/postgresql-9.1-main.log   --->  2.6GB
/var/log/postgresql/postgresql-9.1-main.log.1 --> 51.1GB
Which is to be used in order to generate output file ?
On Thu, Aug 11, 2016 at 6:50 PM, Darold<EMAIL_ADDRESS>wrote:

Closed #292 https://github.com/dalibo/pgbadger/issues/292.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dalibo/pgbadger/issues/292#event-752642989, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AQTXP296CzAiuL0G3BCknpsvC4CZQ1l8ks5qeyGSgaJpZM4JYDxN
.

You may want to reduce the number of information logged. What are the values of the following postgresql.conf directives:

log_min_messages
log_min_error_statement
log_min_duration_statement

#log_min_messages = warning
#log_min_error_statement = error
log_min_duration_statement = 0
On Tue, Aug 30, 2016 at 3:05 PM, Darold<EMAIL_ADDRESS>wrote:

You may want to reduce the number of information logged. What are the
values of the following postgresql.conf directives:

log_min_messages
log_min_error_statement
log_min_duration_statement

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dalibo/pgbadger/issues/292#issuecomment-243386010,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQTXP7SGK04DwK193FcpoZD-t9AWRw1Zks5qk_ltgaJpZM4JYDxN
.

You might want to only logged queries with a duration >= 5 seconds for example to limit size of the log output.

log_min_duration_statement = 5000

then reload configuration.

Followed your instructions.
Which file provides reliable results
/var/log/postgresql/postgresql-9.1-main.log or
/var/log/postgresql/postgresql-9.1-main.log.1
On Tue, Aug 30, 2016 at 3:21 PM, Darold<EMAIL_ADDRESS>wrote:

then reload configuration.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dalibo/pgbadger/issues/292#issuecomment-243389957,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQTXP5tR6S1qDVTYbxHaEA7Xoz2-GwT_ks5qk_0egaJpZM4JYDxN
.

Use /var/log/postgresql/postgresql-9.1-main.log

This one, *pgbadger -j 4 pg_clean.log -d ril16aug -o ril.html -O
/home/satya/pgbadger-8.1 *not generating output of particular given
database.
Under *Top *tab, how to find out Database of the Query when no particular
dB is mentioned ?
On Tue, Aug 30, 2016 at 4:21 PM, Darold<EMAIL_ADDRESS>wrote:

Use /var/log/postgresql/postgresql-9.1-main.log
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dalibo/pgbadger/issues/292#issuecomment-243403138,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQTXPxJBo50T32LmPmF2b29Zb2hW4pu5ks5qlAswgaJpZM4JYDxN
.

Commit 147cae3 might solves your issue.

If you are asking how to analyze log remotely with pgbadger, just execute pgbadger with the ip address of the remote server and the path to the log file:
    pgbadger --remote-host<IP_ADDRESS>  /var/log/postgresql/postgresql-9.3-main.log

You need to exchange ssh key between de machine to be able to execute the command without typing a password.

Hi ,
Could you please specify the correct steps for generate the report remotely ?
I have created two ubuntu VM servers.

One server-1 has postgresql 10
On server -2  I have installed pgbadger (it installed 7.1 version)
then generated SSH key on server 2 and run ssh-copy-id command on server-2 to server-1.
4.I can access server 1 from server 2
however when I run pgbadger command as below I got permission error.

Thanks,
Darshan Shah


Check cedar-policy SemVer compatibility on pull requests (feedback wanted)

Description of changes
This adds a GItHub Actions workflow to check changes to cedar-policy's public API against the base branch for SemVer compatibility, using cargo semver-checks.
Currently this depends on my fork of cargo-semver-checks-action, with changes I'll send upstream if this is deemed worth merging.
Issue #, if available
N/A
Checklist for requesting a review
The change in this PR is (choose one, and delete the other options):

[ ] A breaking change requiring a major version bump to cedar-policy (e.g., changes to the signature of an existing API).
[ ] A backwards-compatible change requiring a minor version bump to cedar-policy (e.g., addition of a new API).
[ ] A bug fix or other functionality change requiring a patch to cedar-policy.
[x] A change "invisible" to users (e.g., documentation, changes to "internal" crates like cedar-policy-core, cedar-validator, etc.)
[ ] A change (breaking or otherwise) that only impacts unreleased or experimental code.

I confirm that this PR (choose one, and delete the other options):

[ ] Updates the "Unreleased" section of the CHANGELOG with a description of my change (required for major/minor version bumps).
[x] Does not update the CHANGELOG because my change does not significantly impact released code.

I confirm that cedar-spec (choose one, and delete the other options):

[x] Does not require updates because my change does not impact the Cedar Dafny model or DRT infrastructure.
[ ] Requires updates, and I have made / will make these updates myself. (Please include in your description a timeline or link to the relevant PR in cedar-spec, and how you have tested that your updates are correct.)
[ ] Requires updates, but I do not plan to make them in the near future. (Make sure that your changes are hidden behind a feature flag to mark them as experimental.)
[ ] I'm not sure how my change impacts cedar-spec. (Post your PR anyways, and we'll discuss in the comments.)

Disclaimer
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Is this blocking for a merge into main? I don't think that's what we want, at least with our current development practices.

I think you can change which status checks are required to pass for merging in the repository settings?
I figure it's better to surface this information at the individual PR level rather than in bulk on preparing to cut a release. At code review time, the results are more actionable: unintended API breakage can be immediately corrected, and intended breakage can be allowed through. Then each merge ends up annotated with whether it breaks SemVer, which could be used for deciding what's safe to cherry-pick into a release. If the checks are put off until it's time to actually cut a release, then fixing detected breakage would involve tracking down the origin of each incompatibility and looping in the responsible parties. Scheduling and other pressures at release-time could make it tempting to take shortcuts or allow things through that we otherwise wouldn't. This was my takeaway from the Google paper on successfully implementing static analysis tools in developer workflows.

Checking semver for each PR is good, but I would not want to be a position where we are regularly overriding an otherwise blocking CI failure due to an expected semver break.

Looks like we could set continue-on-error on the cargo_semver_checks job to accomplish that.

I set continue-on-error as above and swapped out the custom action for a few run: lines.

I tacked on sample commit that breaks SemVer compatibility. How does that look?

I tacked on sample commit that breaks SemVer compatibility. How does that look?

LGTM

Checking semver for each PR is good, but I would not want to be a position where we are regularly overriding an otherwise blocking CI failure due to an expected semver break.
If there's an option to treat this one check as a warning, then that's good by me.

As I understand it, this will check for symver breaks just for this PR's change. So I don't think we'd have to override the merge continually (as we would if it checked for symver against e.g. the latest tagged commit starting with "v").
Personally I'm fine with this. It's similar to our process for overriding changes that will break cedar-spec. I view this as a sanity check where the failing action reminds you to check that the changelog is modified in this PR before overriding.

I think it's at least worth trying. It's not hard to undo if we end up not liking the process.

I've made the check optional for normal PRs and mandatory for PRs into release/* branches. For normal PRs, the SemVer check is relative to the code in the target branch, so existing SemVer breakage is ignored and only new breakage introduced by the PR should be surfaced. For release PRs, the SemVer check is relative to the latest version published to crates.io <= the version in the PR's cedar-policy/Cargo.toml.
This PR should currently be showing up with a failed SemVer check that doesn't block merging. I submitted https://github.com/cedar-policy/cedar/pull/172 against release/2.3.x, which should be showing up with a failed SemVer check that does block merging.
@andrewmwells-amazon @john-h-kastner-aws If this looks good to y'all (I can't confirm from my end whether the checks are properly requiring/not-requiring overrides), then I'll remove the breakage-inducing commit and this'll be ready to merge.

After approving I see

which looks good to me. It clearly signals that something is failing, but the merge is possible without override.

If this looks good to y'all (I can't confirm from my end whether the checks are properly requiring/not-requiring overrides), then I'll remove the breakage-inducing commit and this'll be ready to merge.

Seems good to me (modulo comments)

This should be good to go!

Resolved a merge conflict.


APIVersionQueryParameterMissing error when running pv search query

I am getting the following error when I run the pv search query --keywords "" command:
{
"errorCode": "APIVersionQueryParameterMissing",
"errorMessage": "Please specify the query parameter api-version as one of the values in set [2021-09-01, 2021-05-01-preview] then retry.",
"requestId": "----********"
}
Other pv commands are working as expected. Any help would be greatly appreciated.
Thanks

Thanks @wc12345678 . Just published 0.1.32 which includes this query parameter and should fix pv search query --keywords {keyword}.


just return list of ids for multiple results, format=id

Connect #414
In the big picture, it's easier to just return a list of ids than raise errors in this case.
tower-cli schedule list --format=id
3 1 2

Not actually useful, but keeps the exit codes consistent.

Coverage remained the same at 90.643% when pulling cbde2e61cf1bc43bdb76a6d167de6a5cadcad359 on AlanCoding:zero_exit_code into 1a662f51f900b089dd2d74956fd1d90b466da2f3 on ansible:master.


Remove plan to make it self aware and take over human race.

This could have unforeseen consequences :-)

Isn't that the point?

Isn't that the point?


increase configuration options

Would something like this help with #10 ?

Closing, since we changed the record format:
{
    "time": "xyz",   // from handler
    "request": {
        "time": "xyz", // request time, from middleware
        "path": "/hello/world",
        ...
    },
    "response": {
        "time": "xyz", // response time, from middleware
        "duration": "10ms",
        "status": 200,
        ...
    },
    ...
}


feat: add raw aggregate udf planner

Which issue does this PR close?

Related to #11228
Rationale for this change
This builds on the other work around plannable expressions (see: https://github.com/apache/datafusion/pull/11180).
This also may be used in https://github.com/apache/datafusion/pull/11229 but it's unclear yet what the best implementation pattern is, so I wanted to peal this part off after the name change to ExprPlanner.
What changes are included in this PR?
Adds an AggregateUDFPlanner which can plan aggregated expressions.
Are these changes tested?
Manually yes, but I couldn't find a good example to copy from the other planners, so open to something around a unittest.
Are there any user-facing changes?
No

I'm going to close this as I don't think it is necessary for count() though it seemed to be an incremental step towards supporting planned aggregate udf expressions.
For count() I actually did try that in the first commit into this PR (https://github.com/apache/datafusion/pull/11229). I tried turning it into a plannable expression which resulted in this PR, but it ends up being quiet complex and has some reduced functionality w.r.t. the way the dataframe api works. I'm gonna revert that PR back to the original approach, though I may do so in a new PR to keep things cleaner.


[REQ] Is it possible to make it possible to change your FPS in-game?

Acknowledgement of preliminary instructions

[X] I have read and acknowledged the preliminary instructions.

What idea do you have?
I'm pretty sure it's possible to copy some code of an old popular roblox fps unlocker to make it so you can change fps in-game (only if it's possible tho)

Removing the fps cap at 240?

Removing the fps cap at 240

Removing the fps cap at 240?

No, I mean being able to change your fps in-game

Yes but how much u want?, that's the question.

Yes but how much u want?, that's the question.

Sorry for the late reply, I want 15 fps because that's the fps needed to peform a glitch thaat either makes you clip through walls or glide them

you go into Bloxstrap Menu and go Fast Flags

you go into Bloxstrap Menu and go Fast Flags

To change your fps with the default fps unlocker ONLY lets you change fps after a rejoin, or are you talking about using the ff editor?


Error on roblox

Hello, i use this anti afk for roblox and gives me this error

Interesting.
This is the second time someone has encountered this issue.
I will try and debug it; does it happen often?

Interesting. This is the second time someone has encountered this issue. I will try and debug it; does it happen often?

yeah. everytime

Interesting. This is the second time someone has encountered this issue. I will try and debug it; does it happen often?

did u fix it?

yo I got the same bug after I updated windows. I think it's somehow related?

@pokecosimo have you tried running it with admin privileges? (right click then run as administrator)

@pokecosimo have you tried running it with admin privileges? (right click then run as administrator)

yes

Hello there o/
I wasn't able to reproduce this on my computer.
I'll try updating windows, but that tends to take a while.

Well that didn't work :(
It's clear the system the script is running on definitely has a role in whether this issue arises.
Perhaps slower computers are not able to activate the window in time?
We can get around this by using WinWaitActive() after a window is activated.
Can one of you please test if this fixes it?
Here's the modified function:
resetTimer(targetWindow, resetAction, DenyInput)
{
    if (!WinExist("A") || (WinGetClass("A") = "WorkerW" || WinGetClass("A") = "Progman"))
    {
        WinActivate("ahk_id " targetWindow)
        WinWaitActive("ahk_id " targetWindow)
    }

    if (WinActive("ahk_id " targetWindow))
    {
        resetAction()
        return
    }

    if (DenyInput && A_IsAdmin)
        BlockInput("On")

    oldWindow := WinGetID("A")

    WinSetTransparent(0, "ahk_id " targetWindow)
    WinActivate("ahk_id " targetWindow)
    WinWaitActive("ahk_id " targetWindow)

    resetAction()

    WinMoveBottom("ahk_id " targetWindow)
    WinSetTransparent("OFF", "ahk_id " targetWindow)

    WinActivate("ahk_id " oldWindow)
    WinWaitActive("ahk_id " oldWindow)

    if (DenyInput && A_IsAdmin)
        BlockInput("Off")
}

yeah I think it's related to the system. because I had the problem with my Intel gen 4 laptop. but using it on my gen 12 laptop it runs fine.

Well that didn't work :(
It's clear the system the script is running on definitely has a role in whether this issue arises. Perhaps slower computers are not able to activate the window in time? We can get around this by using WinWaitActive() after a window is activated.
Can one of you please test if this fixes it?
Here's the modified function:
resetTimer(targetWindow, resetAction, DenyInput)
{
    if (!WinExist("A") || (WinGetClass("A") = "WorkerW" || WinGetClass("A") = "Progman"))
    {
        WinActivate("ahk_id " targetWindow)
        WinWaitActive("ahk_id " targetWindow)
    }

    if (WinActive("ahk_id " targetWindow))
    {
        resetAction()
        return
    }

    if (DenyInput && A_IsAdmin)
        BlockInput("On")

    oldWindow := WinGetID("A")

    WinSetTransparent(0, "ahk_id " targetWindow)
    WinActivate("ahk_id " targetWindow)
    WinWaitActive("ahk_id " targetWindow)

    resetAction()

    WinMoveBottom("ahk_id " targetWindow)
    WinSetTransparent("OFF", "ahk_id " targetWindow)

    WinActivate("ahk_id " oldWindow)
    WinWaitActive("ahk_id " oldWindow)

    if (DenyInput && A_IsAdmin)
        BlockInput("Off")
}

i will test

Well that didn't work :(
It's clear the system the script is running on definitely has a role in whether this issue arises. Perhaps slower computers are not able to activate the window in time? We can get around this by using WinWaitActive() after a window is activated.
Can one of you please test if this fixes it?
Here's the modified function:
resetTimer(targetWindow, resetAction, DenyInput)
{
    if (!WinExist("A") || (WinGetClass("A") = "WorkerW" || WinGetClass("A") = "Progman"))
    {
        WinActivate("ahk_id " targetWindow)
        WinWaitActive("ahk_id " targetWindow)
    }

    if (WinActive("ahk_id " targetWindow))
    {
        resetAction()
        return
    }

    if (DenyInput && A_IsAdmin)
        BlockInput("On")

    oldWindow := WinGetID("A")

    WinSetTransparent(0, "ahk_id " targetWindow)
    WinActivate("ahk_id " targetWindow)
    WinWaitActive("ahk_id " targetWindow)

    resetAction()

    WinMoveBottom("ahk_id " targetWindow)
    WinSetTransparent("OFF", "ahk_id " targetWindow)

    WinActivate("ahk_id " oldWindow)
    WinWaitActive("ahk_id " oldWindow)

    if (DenyInput && A_IsAdmin)
        BlockInput("Off")
}

im testing it

Well that didn't work :(
It's clear the system the script is running on definitely has a role in whether this issue arises. Perhaps slower computers are not able to activate the window in time? We can get around this by using WinWaitActive() after a window is activated.
Can one of you please test if this fixes it?
Here's the modified function:
resetTimer(targetWindow, resetAction, DenyInput)
{
    if (!WinExist("A") || (WinGetClass("A") = "WorkerW" || WinGetClass("A") = "Progman"))
    {
        WinActivate("ahk_id " targetWindow)
        WinWaitActive("ahk_id " targetWindow)
    }

    if (WinActive("ahk_id " targetWindow))
    {
        resetAction()
        return
    }

    if (DenyInput && A_IsAdmin)
        BlockInput("On")

    oldWindow := WinGetID("A")

    WinSetTransparent(0, "ahk_id " targetWindow)
    WinActivate("ahk_id " targetWindow)
    WinWaitActive("ahk_id " targetWindow)

    resetAction()

    WinMoveBottom("ahk_id " targetWindow)
    WinSetTransparent("OFF", "ahk_id " targetWindow)

    WinActivate("ahk_id " oldWindow)
    WinWaitActive("ahk_id " oldWindow)

    if (DenyInput && A_IsAdmin)
        BlockInput("Off")
}

it seams working

Glad to hear it!
I'll push out the fix then :)

This should now be fixed in f8afd99e007788f21e4d6a927005a00fb01d1141


0 should not be converted to a string

Because of the #163 fix, numbers with a leading zero change datatype for the column to “string” (https://github.com/rickbergfalk/sqlpad/blob/8e59c391f6ea09f86d0d0b5433ac4ca12d371c3b/server/models/QueryResult.js#L106). However, when this number is zero it leads (no pun intended) to unexpectedly broken charts.
By the way, thanks for all your work and props for using taucharts!

Thanks for reporting @razumau - I'll take a look at this.
Out of curiosity, is the column this is happening to a BIGINT column or the result of a COUNT(*) or SUM() or some other aggregate?

It was the result of COUNT(role) where role could be null, so the row was NULL; 0. It was in fact an error in query (so it’s not a really important issue), but it was hard to catch since at first it simply looked like the graph was wrong.

This is now addressed in 2.5.5 available on docker and npm


when we use snowflake generate id

when we use snowflake generate id
add 'int64_to_string_tags: true' to config
will generate json tag like:
type User struct {
ID int64 json:"id,string"
}

when we use snowflake generate id
add 'int64_to_string_tags: true' to config
will generate json tag like:
type User struct {
ID int64 json:"id,string"
}

when we use snowflake generate id
add 'int64_to_string_tags: true' to config
will generate json tag like:
type User struct {
ID int64 json:"id,string"
}

@Yunfei1982 Thanks for the pull request.
Sadly, this solution isn't general enough to get merged. There are many different types and columns that may require different JSON tags. Instead, I think the correct solution here is to support custom models #755.

@Yunfei1982 Thanks for the pull request.
Sadly, this solution isn't general enough to get merged. There are many different types and columns that may require different JSON tags. Instead, I think the correct solution here is to support custom models #755.


CSS Specificity issue with Reach UI

Bug report
Describe the bug
When extending the @reach/listbox component, the css that is generated by stitches holds a lower priority than the base css that is required by the library. This means that much of the styling you define with styled will be overridden without !important everywhere.
To Reproduce
https://codesandbox.io/s/musing-nobel-tuyif?file=/src/App.js
The sandbox contains a minimum repro :) When you inspect the dropdown (popover) element, you will see that the priority of stitches styles are lower.
The top dropdown, built with stitches, will have a white background when open.
The bottom dropdown, built with SC, has a green background as expected.
Expected behavior
This seems to work as expected using styled-components, which I was using before testing this out (love what you guys have here!).
Screenshots
Stitches behavior

S-C behavior

System information

Version of Stitches: canary-7
Version of Styled Components: 5.2.1

Hmm, yeah. It seems that the style tag added by stitches quite high up in the head. Whereas as styled-components tries to put it as lower down as possible.

@peduarte I could work on this if you could provide some insight on how we want to implement it? Not sure if we want to follow how styled-components does it (https://github.com/styled-components/styled-components/blob/08390f25fa7e353107f0a30080075104cec6426f/packages/styled-components/src/sheet/dom.js#L10).

/cc @jonathantneal

If you would like to put the stitches style tag (<style id="stitches" />) lower in the <head />, then it will take whichever priority you would like to give it.

@jonathantneal, Using snowpack to bundle, I don't have the liberty of inserting a style tag lower in the <head />. I forked this and am working on a branch where stitches inserts its style at the bottom of the <head />- assuming this is something that should be fixed.

FWIW, the @reach styles are not required. They're heavily emphasized, but if you - in good faith - replicate things with higher precedence... that's a totally valid workaround.

There are a few ways we can provide this feature. @kysley, what would be your ideal API?
We could let you specify a node. We could let you specify a selector. We could give you a react element. We could fire an "update" event or something like that with all the necessary CSS. We could give you a prepend/append switch and ... well, hopefully you see that you have options, and we want the best DX for you.
I’m glad y’all need this feature. I was surprised that nearly-if-not-all CSS-in-JS libraries get away with auto-injecting the <style> tag. I’m good with the feature, because so many designers & developers prefer how quickly they can build things this way, but I would personally never let a script perform any kind of implicit DOM manipulation on my site, because I prefer everything explicit like how things work with css() or styled().
Anyway — it may be wise to not add features for their own sake, but your request shows me that Stitches ought to give control of <style> to authors (like me, and maybe you, too! 😸). We’ll add this, your feedback is appreciated, and thanks for bringing it up.

Thanks for understanding @jonathantneal, expressing my frustration (and intent) with such grace.
Thinking about an ideal API, prepend/append switch sounds good- perhaps the best? As a consumer I might worry about placing the react element too close to the root (so that stitches styles are processed/added too soon, if that makes sense?). A switch would be expressive enough to know, that if the order is append, its going at the end of the <head/>.
I don't see an issue with specifying a selector/node, but that might be more useful for core users- or users who don't have all their styles bundled for them.

@jonathantneal Possibly related: https://github.com/modulz/stitches/issues/357

Checking in to say that the api works as expected. Thanks a lot @jonathantneal!

@kysley Great to hear.


284 added nav searchbar and changed footer section

Navigation Section Enhancements:

Added a search bar to the navigation section.
Implemented a function that enables the search bar to search through projects.

Footer Improvements:

Updated the styling of the footer.
Made the footer fixed at the bottom of the website.

which issue u are working @NavAneEth777 ??

which issue u are working @NavAneEth777 ??

Search Functionality: I added a search bar that allows you to search through all 76 projects. You can now type in the name of any project, and it will show the relevant results.
Footer Adjustment: The footer was previously not fixed to the bottom of the page. I’ve fixed it so it now stays at the bottom."

You have not assigned any issue @NavAneEth777
Make an issue first

@NavAneEth777 there are conflicts


add watcher tests

Looks like both PRs have some minor issues - let me know after the fix!

I fixed both PRs!


Connection String Format

Hi there, will this library supports connection string as the authentication parameters soon?

Yeah, I just hadn't had any use case for it myself yet. But I added it in #11. Thanks for reporting.


:memo: Docs: (subsection) Examples

Examples
This subsections should include some example simulations, I know that the portfolio simulation is good but also so is Philogy's circuit breaker and many more are in the works

Closed as completed


Small cleanup on Shai RPCs

Two tiny fixes here:

Use lower-case consistently for gRPC service methods (this doesn't make a difference
for Scala code generation but does for Python)
Use the same field name and representation for returning counterexamples
coming from deadlock and violation errors

[x] Ran make fmt-fix (or had formatting run automatically on all files edited)

Codecov Report

Merging #2231 (629f3d2) into main (9b6a820) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

:exclamation: Current head 629f3d2 differs from pull request most recent head 8fc6a60. Consider uploading reports for the commit 8fc6a60 to get more accurate results

@@            Coverage Diff             @@
##             main    #2231      +/-   ##
==========================================
- Coverage   79.28%   79.27%   -0.01%
==========================================
  Files         428      428
  Lines       14471    14471
  Branches     2034     2046      +12
==========================================
- Hits        11473    11472       -1
- Misses       2998     2999       +1

Impacted Files
Coverage Δ

.../scala/at/forsyte/apalache/tla/bmcmt/Checker.scala
40.00% <0.00%> (ø)

.../forsyte/apalache/io/typecheck/parser/tokens.scala
93.10% <0.00%> (-3.45%)
:arrow_down:

...he/io/annotations/parser/CommentPreprocessor.scala
96.70% <0.00%> (-1.10%)
:arrow_down:

...a/at/forsyte/apalache/tla/lir/TlaLevelFinder.scala
95.83% <0.00%> (+2.08%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Support of Modelica language

This pull request adds Modelica as a programming language in Linguist.
@thorade made a first attempt to add it a long time ago: #107. At the time it caused issues with GNU gettext files (#119) and was reverted (cb80982).
.mo GNU gettext files are binary files. They are now detected correctly as binary by Linguist.
For this reason, the Modelica language can be added back.
I tested it against the repository linked in #119 to make sure that the issue with GNU gettext is solved.
This Sublime Text package is used for syntax highlighting: https://github.com/BorisChumichev/modelicaSublimeTextPackage:

Translational.mo
modelica.mo

:+1: thanks for this @pchaigno


Create sparse matrix structure for outer product of StandardBasisVector

Currently the outer product of two StandardBasisVector returns a full matrix. This can be made more efficient by a specialized struct.

Fixed in #347


Use randomly generated delimiter for multiline env variables

The previous discussion in #6 finally has a proper answer, this updates it to follow @actions/core: https://github.com/actions/toolkit/blob/b36e70495fbee083eb20f600eafa9091d832577d/packages/core/src/file-command.ts#L27-L47

Not sure how to fix that last test, please let me know if you have any ideas!


Malformed JSON in import

Hi Sean,
I'm trying to import JSON data previously exported from the tool but I'm getting this error message.

Couldn't find information about the issue anywhere. Have you come across this before? Any idea how could I fix it?
Thanks,
J

Hi @liteljaime ,
Thanks for reporting this and sorry that there's an issue - if you don't mind, can you please share the JSON file? If you don't feel comfortable sharing it publicly, you can email to<EMAIL_ADDRESS>

This was related to an issue with escaping characters in the export and will be fixed in 1.1.2.


Adding timestamp in log file name

How to add timestamp in log file "2015-04-27_Snapraid.log"
1- add this line in # Global variables in snapraid-runner.py
dateTimeStamp = time.strftime('%Y-%m-%d') #in the format YYYY-MM-DD
2-  add a file path in the config file :
[logging]
; log path to write to
filepath = C:\snapraid\logs
; logfile name to write to, leave empty to disable
file = _Snapraid-runner.log
; maximum logfile size in KiB, leave empty for infinite
maxsize = 5000
3- change this section :
if config["logging"]["file"]:
max_log_size = min(config["logging"]["maxsize"], 0) * 1024
file_logger = logging.handlers.RotatingFileHandler(
config["logging"]["filepath"] + dateTimeStamp + config["logging"]["file"],
maxBytes=max_log_size,
backupCount=9)
file_logger.setFormatter(log_format)
root_logger.addHandler(file_logger)

The proposed solution here would render the max file count (backupCount=9) of the RotatingFileHandler ineffective as with every run the filename will change. You should then take care to remove old log files "by hand" before your disk runs out of space.

You might be looking for TimedRotatingFileHandler


 Yes

https://github.com/Microsoft/vscode/issues/60717


Not getting device.uuid or device.platform after upgrading cordova platform update<EMAIL_ADDRESS>

i upgrated cordova platform update<EMAIL_ADDRESS>for installing phonegap-plugin-push plugin but after installing i am not getting device UUid and device Platform from device.uuid and device.platform for ios but i got these value for android platform and i have already installed cordova plugin add cordova-plugin-device.
$ionicPlatform.ready(function() {
console.log('deviceready');
});
$ionicPlatform.ready fired only for android. not for ios

@ajaysaini95700 this has nothing to do with this plugin. Please open an issue on the device plugin or with ionic or on the PhoneGap forums.


Updated documentation for async components

Description
Unable to add a custom loader to an async component following the documentation example.
Steps to reproduce
Steps to reproduce the behavior:

Start up a fresh clean template
Add custom loader to HomePage Loadable.tsx

Expected behavior
The documentation example should be a working example.
Versions

react-boilerplate-cra-template: 1.2.0
Node/NPM: 12.19.0
Browser: N/A

PR for fix #133

Closed by #133


Reapply "Merge pull request #60 from RedHatProductSecurity/feature/ad…

I reverted this merge for further discussion in light of feedback from @pandatix on #60.

See https://github.com/RedHatProductSecurity/cvss-v4-calculator/pull/60#issuecomment-2345575757 for context.


[flang] Fix openmpi configure to recognize llvm-flang flang-new

Needed for building openmpi support files with FLANG=flang-new

Needed for GenASiS nightly testing


Please be specific about requirements for each OS

For example, server 2012 and 2012 R2 are not mentioned, however it says "Windows Server does not load attestation signed drivers".  It's ambiguous whether this applies to Server 2016 only due to the preceding sentence.
What would be very useful is a table of each OS from Windows 7 onwards and Server from 2008 onwards with the requirements for each.  What would be even more useful is if Server WOULD load attestation signed drivers, at least for certain class of drivers (not hardware-related, e.g. NDIS LWF).  Any exceptions about requirements for different types of drivers need to be here.  We need to be able to find all signing requirements for all the platforms we need to support in one place.  At the moment the requirements seem to be spread over many web pages, and aren't always consistent with each other or unambiguous.  I can only imagine the pain this causes countless kernel driver devs.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1eb19d33-8f4c-f379-b645-938a746c5615
Version Independent ID: 8efb9fb4-1e9a-1a8a-994b-450495449e15
Content: Driver Signing Policy
Content Source: windows-driver-docs-pr/install/kernel-mode-code-signing-policy--windows-vista-and-later-.md
Product: windows-hardware
GitHub Login: @tedhudek
Microsoft Alias: windowsdriverdev

Thanks for the feedback @adc68 and apologies for the delay.  We've updated the page in question, hopefully it's a bit clearer now.


CI Testing Matrix: OfLength

Feature Request
Description
We have produced a testing matrix which documents all scenarios we want to produce to confirm that our constraints work as expected. We now need to revisit our current tests with the matrix in mind, remove any duplicate tests and add/update missing scenarios.
The OfLength.feature already exists we just need to confirm that it meets the testing matrix.
Testing Matrix: https://docs.google.com/spreadsheets/d/1t4GJxZNIIYVdSGsx6B8KxsCJOwIRvaFX1g6b8lMIMFc/edit#gid=0
Acceptance Criteria:

[ ] OfLength tests match the desired testing matrix
[ ] Issues are raised for any failing tests with a clear "ignore" tag and a comment mentioning the bug raised with a short description of the test failure

completes as documented in #411


Setup automated tests for Unity 2020 beta

Description
Gableroux actually has an image prepared for Unity 2020.1.0b6.
(https://gitlab.com/gableroux/unity3d/-/blob/350a4f2b70454494659e2490cd137c33b079088f/ci-generator/unity_versions.old.yml#L3083)
Even though it's not stable yet it might still catch some weird bugs or incompatible changes before we get too drilled down.
Motivation
Catch bugs before release.
Suggested solution
Since it's still in beta: keep the repo still at Unity v2019, and let the cloud build do the update migrations each build.
Make a duplication of the existing test-unity-2019-2-11f1 job, maybe tweak some values, and ensure to add environment values for the license.

Trouble in paradise. Trying the 2020.1.0b6 image and I'm getting segmentation fault:
root@fc9c0814dd46:~/repo/Src/UnityConvertersTestingProject# xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' /opt/Unity/Editor/Unity \
>         -projectPath $(pwd) \
>         -runTests \
>         -testPlatform playmode \
>         -testResults $(pwd)/test-results.xml \
>         -buildTarget Linux64 \
>         -batchmode \
>         -logfile /dev/stdout
[Licensing::Module] Channel doesn't exist: "LicenseClient-root"
[Licensing::Module] Successfully launched the LicensingClient (PId: 370)
[Licensing::Module] Successfully connected to LicensingClient on channel: "LicenseClient-root"
[SignatureVerifier] Application signature verification not supported on this platform.
Entitlement-based licensing initiated
[LicensingClient] Licenses updated successfully
Segmentation fault

Ok it works with the flag -nographics. Previous versions had not needed that flag but now it does. Interesting


Server is down

The last feed updated 21 hours ago 😭

Thanks, I've kicked the server and it's back up!


Using with Bankai

choop works great with with bankai, however there is currently a bug (https://github.com/choojs/bankai/issues/341) with nested .babelrc files which will cause the server to crash. There are 2 solutions in the meantime:
Manually modify bankai/lib/graph-script.js by adding babelrc: false to the babelify config
OR
You can install some additional babel transforms in your project:
npm i -D babel-plugin-transform-class-properties \
babel-plugin-transform-react-jsx \
babel-preset-es2015 \
babel-preset-stage-0

https://github.com/choojs/bankai/issues/341 is fixed by https://github.com/choojs/bankai/issues/352!


Better handling of server startup errors

This uses deoplete.exceptions.SourceInitError, proposed in
https://github.com/Shougo/deoplete.nvim/pull/417.

Pending until Shougo/deoplete.nvim#417 is merged.

Shougo/deoplete.nvim#417 has been merged.

@blueyed LGTM, thanks.

/cc @tweekmonster

I'll merge it. thanks!


Support building SourceKit-LSP using Swift 5 language mode

Fixes a failure when building a toolchain.

@swift-ci Please test


String literal completions right after quote

Bug Report
🔎 Search Terms

⏯ Playground Link
https://www.typescriptlang.org/play?#code/MYewdgzgLgBAhgLhgcjsmBeFyg
💻 Code

// Trigger suggst after last quote
const a: 'a' = ''

🙁 Actual behavior
Suggests string literal completions ("a")
🙂 Expected behavior
Doesn't suggest string literal completions
This is more general version of https://github.com/microsoft/TypeScript/issues/51667 (I also opened this issue to ensure <input type='text'[||] /> case is captured)

Thank you @zardoy!


No longer working on Linux after 0.13

I've been enjoying icons with VS Code 0.12 on Ubuntu 16.04. But after the 0.13 (and 0.13.1) update, I can't get the icons back.
If I run Icons Enable, nothing happens. But if I run Icons Update and restart VS Code, it comes back up with an empty window and just the menu.

Nevermind, looks like there was maybe some junk left in /usr/share/code, removing it and reinstalling did the trick


Generate sha256sums on release and add to github release page

Generate pharos-cluster-linux-amd64.sha256 and pharos-cluster-darwin-amd64.sha256 and upload them to github release as attachments.
xargs -P0 should make the uploads happen in parallel, usually meaning that the creation timestamp that is visible in the release info JSON's asset list should be very similar.

If someone switches the binary, they can just as well switch the .sha256. Gpg would be more trustworthy I guess.

Convention would be to have a single SHA256SUMS file with checksums for all of the release files.

xargs -P0 should make the uploads happen in parallel, usually meaning that the creation timestamp that is visible in the release info JSON's asset list should be very similar.

Nothing wrong with the xargs -P0, but a for ... in ...; do ... loop would be fine as well, I wouldn't worry too much about the timestamps.

Outdated due to binaries no longer being uploaded  to github


Custom pragma aliases or definitions

Sometimes it's convenient to have a custom pragma aliases: https://github.com/QQuick/Transcrypt/issues/404#issuecomment-419371541
Or may be it would also be useful to define something more complex than such aliases.
PS
This thought started here. So I guess that comments are no longer relevant.
Like
__pragma__('jsx', x)

means
__pragma__('xtrans', 'jsx-transform --factory React.createElement', '{}', x)

?
Even that the previous can now be written as:
__pragma__('xtrans', None, '{}', x)

When using the
transcrypt --xtrans="jsx-transform --factory React.createElement"

Command line switch it still looks not neat enough.

I just bumped into transcrypt and haven't used it yet but I found the potential to use JSX interesting, hence stumbled into this issue (along with preceding discussions).
Is there anything stopping me from doing this?
def jsx(x):
    return __pragma__('xtrans', 'jsx-transform --factory React.createElement', '{}', x)

Then in another module do
from pyreact import jsx
...

jsx("""

Hello {world}!

""")

In case anyone else is trying to figure this out, I believe the JSX needs to either be a string literal or brought in from another file using __include__, which IMO is cleaner than putting all the JSX into a string.  So for example, if you put all of your JSX code into a file called test.jsx:

    <button onClick={hello}>Click Me</button>

You could then use this:
def hello():
    alert("Hello World!")

__pragma__('xtrans', 'jsx-transform --factory createElement', '{}', __include__('./test.jsx'))

Also don't forget to make sure that jsx-transform-cli is installed in your project so it actually transpiles the JSX.
npm install --save-dev jsx-transform-cli


Understand date drift

Skips 7 days into the next year when using num_days_per_point=365
Looking for data in the date range ('2008-01-01', '2009-01-07')...
No cloud mask logic defined for input collection USDA/NAIP/DOQQ
Found 1 valid images of 1 total images in this date range.
Looking for data in the date range ('2009-01-07', '2010-01-14')...
No images found in this date rage, skipping.
Looking for data in the date range ('2010-01-14', '2011-01-21')...
No cloud mask logic defined for input collection USDA/NAIP/DOQQ
Found 1 valid images of 1 total images in this date range.

Happens due to the logic of the get_num_n_day_slices function. This breaks the range up into equal sized intervals, rather than truncating the last one. So, if you specify a 1.5 year date range, and specify you want 365 days per point, this function rounds so you would either get one 1.5 year long sample, or two 0.75 long samples (depending on whether the rounding was up or down). This is a bit counterintutive, do we want to fix?

Will fix this with the pipeline refactoring


Models injection via sails.hook.orm.models

Models injection now use sails.hook.orm.models -- fixes bug with models injections #9 #10
Fixed small typo in controllers injection

Thanks for your work! I finally merged this, and if it does not works with older Sails versions, people can stay with v0.3.2. Thanks again!


error: Could not find suitable distribution for Requirement.parse('scruffington>=0.3.2')

Voltron gives the above dependency error when attempting to install on Ubuntu 15.10.
I've install scruffington 0.3.2 using pip install scruffington. But I still get this error:

I've done everything mentioned here as well: Voltron on Ubuntu with GDB

you need type
sudo pip install scruffington

Yep, I did it with sudo the first time around, still giving me this error.

You'll probably need to pip3 install scruffington

That did it! Voltron is awesome!

Nice!


feat(plus): add liveness and startup probes to Container

This PR expands the probe support in Container to include liveness and startup probes.

@eladb Thanks so much for accepting this change.


[Feature request] Add game-icons badges as card icons

Feature request
The game icons webpage has some extra icons that are use in said web as badges https://game-icons.net/badges.html. However, it would be interesting to have them as icons for the cards because they add more variety and are circular. Specially the numbered badges can be useful for indicating creature CR (limited from 0-9, but at least it's something) or spell level more clearly.

Remembrer that HTML is allowed. In example, you can write something like this:
text | Pay <img src="https://game-icons.net/badges/number-3.svg" style="height:1em"> to destroy target creature.

to obtain this:


Using unstandardized genotypes

Hello,
Should summary statistics be computed based on standardized genotypes? GWAS with standardized genotypes isn't supported by Plink2, so I'm hoping I can by without doing it.
Thanks!

Hi - We don't require GWAS being performed on standardized genotypes.

Thank you!


[UNDERTOW-2385] Modify ThreadLocalCache using WeakHashMap

https://issues.redhat.com/browse/UNDERTOW-2385

LGTM

What is the next release date? If the date is far away, we will try to downgrade.

we are releasing this week @ddaaac

@ddaaac  I am merging this one with #1591 so we can have the weak hash map synchronized. Please see #1591. I am closing this one and marking it as incorporated


Data Equalizer - doesn't work if different number of elements within adjacent, unwatched containers

What should happen?
Data-Equalizer should match the height of specified 'watched' elements within a parent container.
...
What happens instead?
However if 'non-watched' elements adjacent to the 'watched' elements contain differing number of nested items (i.e. paragraph tags, divs etc), it appears that data equalizer stops working.
Please see example: https://codepen.io/_Stef/pen/WajdOv
(based on original Zurb example 'pen')
Edit// noticed that equalizer appends style of height:auto to element.
Really sorry if I don't understand Equalizer properly - but don't recall this behaviour in F5.

...
Test Case and/or Steps to Reproduce (for bugs)
Test Case: https://codepen.io/_Stef/pen/WajdOv
Context
Scenario A - a 'balanced grid' on homepage that can be dynamical resized. Could have used flex, but wanted different halves of grid to be asyemtic (see example 3 in codepen)
Scenario B - grid of products. Product details and element of varying length and number. Trying to use Equalizer to push down 'buy' buttons so all are visually level.
...
Your Environment

Foundation version(s) used: 6.5.0 rc3
Browser(s) name and version(s): Safari 12.0, Chrome 69.0.3497.100
Device, Operating System and version: Mac OS X 10.14
Link to your project: localhost (example in codepen listed above)

Checklist

[ x] I have read and follow the CONTRIBUTING.md document.
[ x] There are no other issues similar to this one.
[ x] The issue title and template are correctly filled.

Although not obvious, the scenarios I demonstrated are effectively 'stacked' elements.
Therefore adding data-equalize-on-stack="true" fixes things for me.
Apologies for posting a non-issue!
Updated codepen with data-equalize-on-stack="true"
https://codepen.io/_Stef/pen/KGmQmZ


.NET core 3.x prerequisites page missing UCRT for Windows 7

Re: .NET Core dependencies and requirements:
The .NET Core prereqs for Windows seems to be missing UCRT - probably an inadvertent deletion?
Until very recently (around 10/18/2018), KB2999226 appeared in this page, but now it seems to be gone.
There was a recent discussion on a WPF issue about the prerequisites where I remember referencing this page - see https://github.com/dotnet/wpf/issues/2009#issuecomment-543798668 and https://github.com/dotnet/wpf/issues/2009#issuecomment-543872453.
I believe WPF links to UCRT dynamically because that's the policy we were given to follow. I don't think we should drop the prereq on Win7.
/cc @thraka, @richlander, @ericstj, @rladuca

The article also says that VC++ redistributables are needed on Win7, but I thought that they were not needed...

All 3 items used to be said to be installed, but as discovered in #13431 Microsoft Visual C++ 2015 Redistributable Update 3 contains KB2999226 as it was published a year after, making the install of KB2999226 redundant.

Assuming .NET Core 2.2 requires both vcrutime and ucrt, I can see that its very advantageous to tell folks to just install one thing - that's great!
I'm under the impression that vcruntime is not needed for .NET Core 3.x. WPF was the only piece that required vcruntime for a long time, and it no longer requires it. It seems like we are telling customers to install a very old copy of vcruntime in order to get something bundled with it (KB2999226) - when instead simply KB2999226 would suffice instead. @ericstj ?

Looks like @richlander added this initially: https://github.com/dotnet/docs/commit/36073291da7a31aa118708576871125e8c780e3b.  My reccollection of our runtime repo is that we statically link all but the UCRT, so I believe only one pre-req is needed, but perhaps @jeffschwMSFT or someone from coreCLR side is more familiar with the minimal dependencies.


Fix Some Tests

This PR fixes most tests in utils/ and webhooks/

This PR fixes most tests in utils/ and webhooks/

Does it mean CI was not passing ?

This PR fixes most tests in utils/ and webhooks/

Does it mean CI was not passing ?

The tests were passing and correct, but the TS linter/interpreter for the tests was broken


Bugfix

fix terminal output
fix Discrete([n, m]) initialization

Codecov Report

Merging #37 (17d372f) into master (3ccf7ae) will increase coverage by 8.25%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #37      +/-   ##
==========================================
+ Coverage   77.11%   85.37%   +8.25%
==========================================
  Files          16       20       +4
  Lines        1298     1306       +8
==========================================
+ Hits         1001     1115     +114
+ Misses        297      191     -106

Impacted Files
Coverage Δ

src/distribution/distribution.jl
61.11% <0.00%> (-5.56%)
:arrow_down:

src/distribution/variable.jl
82.69% <0.00%> (+9.13%)
:arrow_up:

src/mcmc/MCMC.jl
100.00% <0.00%> (ø)

src/vegas_mc/VegasMC.jl
100.00% <0.00%> (ø)

src/MCIntegration.jl
100.00% <0.00%> (ø)

src/vegas/Vegas.jl
100.00% <0.00%> (ø)

src/statistics.jl
84.21% <0.00%> (+3.15%)
:arrow_up:

src/utility/parallel.jl
96.36% <0.00%> (+5.45%)
:arrow_up:

src/distribution/sampler.jl
72.12% <0.00%> (+6.63%)
:arrow_up:

... and 11 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


isomorphicRslog.createLogger is not a function

Describe the bug
I create a new project and add @module-federation/enhanced v0.6.14, then import '@module-federation/enhanced/runtime'; and got the error
isomorphicRslog.createLogger is not a function TypeError: isomorphicRslog.createLogger is not a function
Reproduction
install v0.6.14
Used Package Manager
yarn
System Info
MacOS 15.0.1
Chrome

Validations

[X] Read the docs.
[X] Read the common issues list.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Module federation issue and not a framework-specific issue.
[X] The provided reproduction is a minimal reproducible example of the bug.

please provide a repo

i am currently having a similar  issue
index.cjs.js:102 Uncaught TypeError: isomorphicRslog.createLogger is not a function
    at createLogger (index.cjs.js:102:44)
    at ../../node_modules/.pnpm/@module-federation+sdk<EMAIL_ADDRESS>(index.cjs.js:116:16)
    at options.factory (react refresh:6:1)
    at __webpack_require__ (bootstrap:22:1)
    at fn (hot module replacement:61:1)
    at ../../node_modules/.pnpm/@module-federation+runtime<EMAIL_ADDRESS>(index.cjs.js:4:11)
    at options.factory (react refresh:6:1)
    at __webpack_require__ (bootstrap:22:1)
    at fn (hot module replacement:61:1)
    at ../../node_modules/.pnpm/@module-federation+webpack-bundler-runtime<EMAIL_ADDRESS>(index.cjs.js:3:15)

@mes113 you must provide a repository

@ScriptedAlchemy https://github.com/mes113/mf-issue-example
repository with example

your build is treating .cjs as file-loader

Add correct resolve extensions for cjs files, the build configuration seems to be non-compliant with modern specifications.
https://webpack.js.org/configuration/resolve/#resolveextensionalias

i have same issue with webpack, after i migrate to v5. what can i do?

@hosseinmd https://github.com/module-federation/core/issues/3137#issuecomment-2458218747
CRA treats it a file loader becuase the extention is .cjs - you need to mutate their config or something.
Just use rsbuild, will be less of a pain, CRA is long dead


Refactored code to push REQ to top level functions

Fixes:
Shifted REQ to top-level functions to allow our OpenAPI documentation test suite to detect the REQ variables and not create an error if added to the documentation. Solves issue #25015

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Merged, after squashing the commit and rewriting the commit message, thanks @tanmaymunjal!
Check out the Zulip commit message guidelines for more details.

Got it, thanks! Will make sure next time


about API  /v2/stats/leader

Hi team,
as now I setup a cluster using ETCD v2.0.4 with three ips(<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>), <IP_ADDRESS> is the leader's IP, calling the v2/stats/leader API, the result:
<IP_ADDRESS>:
{"message": "not current leader"}
<IP_ADDRESS>
{"message": "not current leader"}
<IP_ADDRESS>
{"leader": "e15b2c5ad298c819","followers": {"570f819cb07b647b": {"latency": {
"current": 0.04551,"average": 0.07842731802412709,"standardDeviation": 0.20539326076968417,"minimum": 0.014055, "maximum": 29.62512},"counts":{"fail": 0, "success": 522583}},"f6b23e48e8d1cac1":{"latency":{"current": 0.095036,"average": 0.06204500975165349, "standardDeviation": 0.1650211755350052,"minimum": 0.014175,"maximum": 31.651171},
"counts": { "fail": 150,"success": 522373}}}}
Can followers get leader's information? @xiang90

Hello, I think the answer is on ETCD API Documentation already.
If you didn't go through please check the below curl command :
curl -L http://<IP_ADDRESS>:4001/v2/stats/self
which might produce the result such as,
{
"leaderInfo": {
"leader": "machine1",
"uptime": "1m18.544996775s"
},
"name": "machine0",
"recvAppendRequestCnt": 5871307,
"recvBandwidthRate":<PHONE_NUMBER>542599,
"recvPkgRate": 19.272654323628185,
"sendAppendRequestCnt": 3175763,
"startTime": "2014-01-01T15:26:24.96569404Z",
"state": "follower"
}

hi @il9ue  this only works on the leader server, how about the server that is not the leader?

@lawrencewu You need to find the leader. And then get the information for the leader. Our plan is to have etcdctl do that for you in the future.

@lawrencewu I am closing this due to low activity. Reopen if you have a follow-up. Thanks!


[SPARK-48648][PYTHON][CONNECT] Make SparkConnectClient.tags properly threadlocal

What changes were proposed in this pull request?
This PR changes the thread.local in SparkConnectClient to be used properly to fix the bug caused by https://github.com/apache/spark/pull/44210. It mistakenly used thread.local wrongly by inheriting thread.local and setting the class-level variables which always exist.
Why are the changes needed?
So users can properly use thread-based interruptTag. Now the code below cancels both queries:
import concurrent.futures
import time
import threading
from pyspark.sql.functions import udf

def run_query_with_tag(query, tag):
    try:
        spark.addTag(tag)
        print(f"starting query {tag}")
        df = spark.sql(query).select(udf(lambda: time.sleep(10))())
        print(f"collecting query {tag}")
        res = df.collect()
        print(f"done with query {tag}")
    finally:
        spark.removeTag(tag)

queries_with_tags = [
    ("SELECT * FROM range(100)", "tag1"),
    ("SELECT * FROM range(100)", "tag2"),
]

with concurrent.futures.ThreadPoolExecutor() as executor:
    futures = {executor.submit(run_query_with_tag, query, tag): (query, tag) for query, tag in queries_with_tags}
    time.sleep(5)
    print("Interrupting tag1")
    print(spark.interruptTag("tag1"))
    for f in futures:
        try:
            f.result()
            print(f"done with {f.result()}")
        except:
            print(f"failed with {f.exception()}")

Does this PR introduce any user-facing change?
No, this was caused by https://github.com/apache/spark/pull/44210 but the change has not been released out.
How was this patch tested?
Unittest was added.
Was this patch authored or co-authored using generative AI tooling?
No.

Merged to master.


murex: 4.4.9100 -> 4.4.9500; added maintainer

Description of changes
change log: https://github.com/lmorg/murex/releases/tag/v4.4.9500
diff: https://github.com/lmorg/murex/compare/v4.4.9100...v4.4.9500
also added myself as a maintainer of this package

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 250467 run on x86_64-linux 1

1 package built:

murex

Sure, happy to do this now or i can just make a mental note of it for the future.


Z Index on selection

There have been a lot of posts regarding z index and layer ordering but none with much of a solution. Its easy enough to layer things as you need, but if you need dynamic layer re-ordering it becomes a problem. Like for example I have four moveable elements, when one is selected it should move above the others but they are already in set order so each moves under the other.
If they are layered in render order than how can the active item move to the front and move above the other three?
Yes I know about stackoverflow but its really a dead end there, almost nothing regarding react native seems to get answered. Due to the lack of documentation and tutorials as well as only few answering on stackoverflow its hard to ever get answers to anything. Its a shame 'cos its such a promising framework.

@facebook-github-bot stack-overflow

Hey, I really see your problem here, ran into the same kind of trouble. Someone with more knowledge should really improve the documentation on this topic. I just posted your question to stack overflow and answered it myself, hope this helps: http://stackoverflow.com/questions/36106503/react-native-z-index-on-selection/36106504#36106504

Thanks for the reply, so hard to get any support anywhere regarding React Native. The only issue is that my items are pan responder activated so when I move them the render method is not reactivated so the layers still don't reorder.

Thanks for the reply, that's perfect.

Very cool, thank you @DanielMSchmidt :+1:


[Feature Idea] Scalebar that adjust on zoom

It would be nice to have a scalebar that adjust on zoom so you easy can have a length reference in the figure.
The syntax could be similar to axislegend so it can be added with a single line of code and the position and style can be set via arguments.

  I will put it on my list and give it a go when I have some time :)

I think https://github.com/JuliaAPlavin/MakieExtra.jl has something like this now.  I guess there should also be an option to turn it off...


possibility to update state via thread and have dependencies executed

Description
I want to create state (mo.state) and update it via a thread and have it work as usual (i.e. as it works from within a cell), i.e.
import marimo as mo

app = mo.App()

@app.cell
def __():
    getter, setter = mo.state(0)
    return getter, setter

@app.cell
def __():
  from threading import Thread
  from time import sleep
  def update():
    while True:
      sleep(1)
      setter(getter() + 1)

  thread = Thread(start=update, name='update_at_1_hz')
  thread.start()

@app.cell
def __():
  # This should update at 1 Hz. It does not.
  getter()

Suggested solution
I'm not sure this is even a wanted feature. It is related to the open bug about parallelism but only slightly - I want this so I can have long background running SQL server access and be able to change the running SQL queries in a separate thread and communicating partial results over to the marimo notebook via some IPC (i.e. queue.Queue) and using the mo.state as a signal for a cell to rerun (i.e. some plot or table).
Alternative
No response
Additional context
No response

You can do this with mo.ui.refresh: https://marimo.app/l/z7cb7q
It's not multi-threaded, but will let you poll

Not sure I understand, if you have:
graph TD
  root --> A[expensive procedure]
  A --> output
  root --> refresh
  refresh --> output

"Expensive procedure" isn't rerun on "refresh" changes- only if "root" changes, it is already async in that sense.
But to bring it to your question, is "Expensive procedure"  just a SQL server connection in the foreground? What if you daemonized it, and used refresh as a poll?
if daemon.has_updates():
    set_changed(True)
refresh

get_changed()
daemon.run_query()

I event-listeners might be a better async pattern, but maybe that would work? https://marimo.app/l/eh7a67

I want to create state (mo.state) and update it via a thread and have it work as usual (i.e. as it works from within a cell), i.e.

The reason this doesn't work today is due to an implementation detail: state setters need to reach into global state, but that global state is a Python thread-local object -- in run-mode we don't want different sessions (each of which runs in a single process, separate thread) to share kernels.
So we'd need a way for user spawned threads to inherit the global state of their parent thread.

One way we could do this is to have an API that subclasses the Thread class but passes in the parent's global state, and expose this as mo.Thread

Tried this and realized it's not that simple. We don't have a way for background threads to trigger execution of cells, so we'd need to add that as well.


newsflash: 2.1.2 -> 2.1.3

Description of changes
update: https://gitlab.com/news-flash/news_flash_gtk/-/tags/v.2.1.3

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 200570 run on aarch64-darwin 1

1 package marked as broken and skipped:

newsflash

webkitgtk-2.38.2+abi=5.0 is currently broken on darwin. Therefore it does not compile. On linux it works fine.

Result of nixpkgs-review pr 200570 run on x86_64-linux 1

1 package built:

newsflash

Oh sorry @Stunkymonkey! I tried testing this out last weekend but got stuck for hours waiting for webkit to compile on nixpkgs-review, and forgot to get back to this. Looks like it's in the binary cache now though!
Everything looks good to me! :slightly_smiling_face:

There is already a new release :see_no_evil:


Fixed Item Renders

I fixed the item renders so that items are held like how vanilla items are, instead of them being held flat against your face. Also removed the bits of code that dealt with the rotation of the in first and third person as they weren't really needed in my opinion.

Thanks for cleaning this up! i dont know why i started having those in there, i must have had it from some tutorial maybe and just copy pasted.  Eventually i learned about json inheritance but never looked back i guess.
❤

Yea no problem, it could still be made better but in my own mod I figured out how to fix it and I just wanted to pass it along.


Add the Missing Descriptions of the Lang.XML Module in API Docs

Description:
We need to add the below missing descriptions of the Lang.XML Module in API Docs.

https://ballerina.io/v1-1/learn/api-docs/ballerina/lang.xml/constants.html#XML_ELEMENT
https://ballerina.io/v1-1/learn/api-docs/ballerina/lang.xml/types.html#XMLType

Steps to reproduce:
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Closing as this issue is due to https://github.com/ballerina-platform/ballerina-lang/issues/22238 and the lang.xml module does have documentation attached to them in the .bal file.


Patch/improve events on is business registered

Change from 2 space to 4 space tabs

CI: No security warnings found


Organize third-party Components into standard folder

Task
Description:
For any first-party Google open source projects, any code that Google does not own the copyright to or that Google has not received under Google's Contributor License Agreement must be placed in a third_party directory at the root of the project.
The following code must be into the designated third_party folder:

Open source, free software, or commercially-licensed code
Tools or libraries or protocols that are open source, free software, or commercially licensed
Derivative works of third-party code

This has been addressed.


Cannot start kosmos with ssh-agent on mac

Branch development
JSX in docker
Stacktrace
3BOTDEVEL:default:/: kosmos --init
sysctl: setting key "vm.overcommit_memory": Read-only file system
Tue 16 15:00:43 RedisFactory.py  - 297 - j.clients.redis:redisfactory       : mkdir -p /sandbox/var;redis-server --unixsocket /sandbox/var/redis.sock --port 6379 --maxmemory 100000000 --daemonize yes
49:C 16 Apr 15:00:43.750 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
49:C 16 Apr 15:00:43.750 # Redis version=4.0.9, bits=64, commit=00000000, modified=0, pid=49, just started
49:C 16 Apr 15:00:43.750 # Configuration loaded
do you want to use ssh-agent for secret key in jumpscale? [y/n]: y
   55 pts/0    S+     0:00 /bin/bash -c ps ax | grep 'ssh-agent'
   57 pts/0    S+     0:00 grep ssh-agent
Tue 16 15:00:45 SSHAgent.py      - 384 - j.clients.sshagent:sshagent        : load ssh agent
Ok to generate private key (Y or 1 for yes, otherwise provide words)? [y/n]: y
We have generated a private key for you.
The private key:
## There is an issue in the Jumpscale encryption layer. ##
could not find secret key from sshagent, ssh-agent not active, if active need 1 ssh key loaded!

loaded ssh-agent in docker and now it works.


There is no test_env.py script

Hi,
I'm currently working from your latest source and the installation instructions for a local install mention this:
\item To test your environment and make sure it has everything we need, run the following command:

\begin{verbatim}
python test_env.py
\end{verbatim}

Is this still planned? I'm not a beginner but I think this might be important for beginners to give them confidence in their correctly installing the Python stack. That's why I'm reporting on it here.
Thank you for this work of your's Allen!
Regards,
Florian

Closing this one as it is now out of date.


fix bug in wikidata_bioguide.py that caused google_entity id duplicat…

…ion. also fix the data the bug messed up.

I still get a dup in H000570/H000571.

Thanks!


[FEATURE] HAPPO, and HetIPPO, HetMAPPO, ... Implementations

Feature

HAPPO seems to be missing in the current implementation and either being WIP or discarded, even though HASAC was implemented in Mava already. So implementing HAPPO + HAPPO_rec would be a relevant feature.

Heterogeneous agent versions of any I-type and MA-type Agent would be interesting for having heterogeneous agent counterparts of agents like IPPO and MAPPO, that could tackle tasks that require heterogeneity to solve them properly with the standard algorithms of IPPO/MAPPO.

For context Agents like HetIPPO were introduced in the VMAS paper, while a "HetMAPPO" version was used in the MAPPO Paper to allow the use of heterogeneous agents. I spotted TorchRL adopting these heterogeneous agent versions already (see this line), while they still miss agents like HAPPO or HASAC.
Heterogeneous agent versions would also enable better comparability between agents like (Het-)MAPPO and the more advanced HAPPO agent, which might be relevant for future research on the MARL agents, and in application.
HetMAPPO/HetIPPO means only not to share parameters in MAPPO/IPPO. So all that needs to be done to implement Het- agent versions, is to disable parameter sharing. HAPPO differs from HetMAPPO in its additional sequential updating scheme, while HetMAPPO simply updates all agents at once like MAPPO.

Proposal

It seems that to implement HAPPO not much has to be changed from MAPPO apart from adding the sequential HARL updating scheme that (of my knowledge) only needs to calculate updating weights M as in the depiction below. Else, the implementation should be the same as MAPPO.

(Image Source)
I also looked through the Mava code and can't spot any barrier implementing this yet. One should essentially be able to implement this into the actor_loss_fn similarly to HASAC.
This documentation source might be helpful as additional context for HAPPO.
To implement Het- Agent versions, simply provide an option/implementation without parameter sharing for I- and MA-Type MARL agents. The recurrent versions for the Het-type agents might be kept up as well.
Definition of done
Implemented HAPPO, HAPPO_rec, HetIPPO, HetIPPO_rec, HetMAPPO_rec, HetISAC, HetMASAC.
One can do the same with IQL and QMIX, giving HetQMix_rec, HetIQL_rec - I wonder why there are no non-recurrent IQL/QMIX variants; I guess they do not perform that well as recurrent variants, but it could be still interesting to have a classic IQL/QMIX version for testing. [OPTIONAL]
In general, these are a lot of ideas/tasks. Feel free to just implement what seems relevant to you.

@HenningBeyer check the pr-https://github.com/instadeepai/Mava/pull/1151 tried out a basic implementation? would love your feedback!

Hi @HenningBeyer thanks for the issue. We have tried HAPPO in the past and found that it doesn't perform well, which is why we don't currently have it in Mava. If you'd like to contribute it you're welcome to just know that we'd like to fully benchmark it and see that it performs compatibly to MAPPO/it's paper results before accepting it.
As for heterogenous algorithms we don't currently support this but I think it would be something good to add to the Mava roadmap (cc @RuanJohn). If you're looking to implement this, simply vmaping the network.init function is a good place to start as this will give you a set of parameters per agent

Hi @sash-a, thank you for your insights.
The performance of MAPPO and HAPPO mostly matched in the HARL paper and follow-up papers, where HAPPO seems to perform equal or barely better than HetMAPPO/MAPPO in ~75% of the cases. So I think it's some little detail that's missing.
Else, HAPPO outperformed MAPPO for highly heterogeneous + complex tasks as humanoid-v2 17x1, ShadowHandCatchOver2Underarm, or ShadowHandPen. While HAPPO and HetMAPPO achieve very similar performance for the simple homogeneous tasks like MPE in the HARL paper.
So HAPPO might rather be relevant for cases of very complex and highly heterogeneous CTDE MARL tasks, where HASAC also does well. In my case, I looked for a less memory-intensive alternative to HASAC for large-scale MARL simulations, that may also conveniently fit on a single GPU and is more easily transferable to a real-world online-learning setup without the big replay buffer of HASAC. MAPPO/HetMAPPO + the recurrent variants should suffice here, although testing HAPPO would be interesting too in simulation.
PQN (CTCE) or PQN-VDN (CTDE) look interesting for this use case too. PQN-VDN is currently implemented in JaxMARL and seems competitive to MAPPO in performance (based on the paper results).


[Godot 3.2-stable] 3D Particles Node not work

Godot version: 3.2
OS/device including version: windows 7
Issue description: Godot 3.2 3D Particles Node shows nothing, and log is: "ERROR: Image height must be greater than 0." It works well after convert to CPUParticles
Steps to reproduce: In the editor, create new scene, set as 3d scene, add Particles node, set Process Material to New ParticlesMaterial, set Pass 1 in Draw Passes to New QuadMesh, then nothing shows.

Does it work if you check "disable z"? If yes, then it's a duplicate of #35492

Yes! It will work fine if I check "disable z"!

Duplicate of #35492


Create a test in the strongbox-web-integration-tests/npm module that installs an artifact via group with a proxy to npmjs.org

There is already a set of npm tests in strongbox-web-integration-tests which can be taken as an example.
Within this task there should be a new test npm/src/it/resolve-package-via-proxy.

strongbox-web-integration-tests
Is this issue still open

@Cooks-Johns ,
This task is still up for grabs! Feel free to dig in! :)

Cool, this is my first time working on an open source project.

Feel free to join our chat channel.


Add FrameworkUdk dll to our test framework package

Our test framework package differs from the end (real) framework by lacking the FrameworkUdk dll. Never noticed before as no one used it -- until now.
Add the FrameworkUdk dll to our test framework package

/azp run

/azp run

/azp run


Typo in README.md

In the table Options the first parameter is wrong:
totalStar instead of totalStars (missing s).
Greetings

Thanks


Add Intermud chat functionality (IMC 3 a.ka. I3 in this case)

I'd like to add this kind of functionality. Since this exists already I'd like to use an existing set of code.
There is some I3 code from a mud that was in development ca. 2005 called Aelfengard that is GPL licensed and is available for download at MUDBytes.net
[link]
DEPENDENCY: a working internal/local chat system

Indeterminately shelved due to no progress.


Restrict hummingbird-lm to <0.4.9 to resolve CI issues

Hello!
Pull Request overview

Restrict hummingbird-lm to <0.4.9 to resolve CI failures [1] [2].

Tom Aarsen

@bogedy 🙏 I appreciate the help! I think the CI will pass, and then your PR is likely also ready.


Flask getting blocked by css

Fix the error where when we open the page the CSS code is not taken from frontend

issue is solved


feat: support ollama.com structured-outputs Support ollama structured output.

Description
Now ollama supports structured output.
Motivation and Context
close #1290

[ ] I have raised an issue to propose this change (required for new features and bug fixes)

Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds core functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation (update in the documentation)
[ ] Example (update in the folder of example)

Implemented Tasks

[ ] Subtask 1
[ ] Subtask 2
[ ] Subtask 3

Checklist
Go over all the following points, and put an x in all the boxes that apply.
If you are unsure about any of these, don't hesitate to ask. We are here to help!

[x] I have read the CONTRIBUTION guide. (required)
[ ] My change requires a change to the documentation.
[ ] I have updated the tests accordingly. (required for a bug fix or a new feature)
[ ] I have updated the documentation accordingly.

However, I failed to run the example... The model failed to produce a valid json format and the pydantic validation failed. Other reviewers can double check with this..

Based on the allama doc, you need to install the latest version of allama to make it work.

Thanks @willshang76 !


Custom CA for networks

Several networks use a custom CA for their servers (e.g. hackint). I couldn't find a way how to specify this CA for a network in order to prevent fingerprint validation for every server from the pool. Something like that would be very nice.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40644528-custom-ca-for-networks?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github).

Duplicate of https://github.com/znc/znc/issues/909.

Strange, didn't find that one when searching.


[Bug] GRANT revoke statements in redshift fails when usernames contain certain characters (eg. .)

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
When grants are setup in an incremental model dbt attempts to run some a REVOKE statement. When the username(s) that currently have access to that table contain a dot character (eg. ivan.sabik), which is completely valid for a Redshift username , building those models fails with:
syntax error at or near "."

That would be solved by adding quotes to those users, that is instead of revoke select on table eventview from ivan.sabik it should be revoke select on table eventview from "ivan.sabik"
Expected Behavior
REVOKE statements don't throw a syntax error
Steps To Reproduce

Create a username containing a dot character
Run an incremental dbt model
Manually add GRANT statements for the user from step 1
Add a grant configuration in dbt for this model
Re-run the model
Confirm you get an error: syntax error at or near "."

Relevant log output
No response
Environment
- OS:
- Python:
- dbt:

Which database adapter are you using with dbt?
redshift
Additional Context
No response

Thanks for reporting this @ivansabik !
The relevant code appears to be in apply_grants.sql, and I didn't notice any specify overrides of get_revoke_sql within dbt-redshift (neither within the current code or the original implementation https://github.com/dbt-labs/dbt-redshift/pull/131).
In the meantime, you might be able to resolve it by adding something like the following to your dbt project in a file named macros/overrides/get_revoke_sql.sql:
{%- macro default__get_revoke_sql(relation, privilege, grantees) -%}
    -- just figure out the right code to put here
{%- endmacro -%}


Add serverbid automatad alias.

@mkendall07 I'd like to merge this but I have a question:
Are there any download page implications to think about since this is an alias, or does the download page just handle the aliasing stuff automagically when things like this are merged?

@rmloveland Hi, anything I can help with on this?
We've done this with a few other aliases (e.g. https://github.com/prebid/prebid.github.io/blob/master/dev-docs/bidders/onefiftytwo.md), and followed the same format as the AppNexus aliases adapters (e.g. https://github.com/prebid/prebid.github.io/blob/master/dev-docs/bidders/defymedia.md).