Slurm collector crashes after switch to winter/standard time

systemd[1]: Started AUDITOR SLURM collector.
Oct 30 09:31:27 auditor-slurm-collector[17165]: {"v":0,"name":"AUDITOR-slurm-collector","msg":"[SLURM COLLECTOR - START]","level":30,"hostname":"slurm.bfg.uni-freiburg.de","pid":17165,"time":"2023-10-30T08:31:27.734550119Z","target":"auditor_slurm_collector","line":84,"file":"collectors/slurm/src/main.rs","run_id":"c5762663-b115-4d8d-8e5d-8ea09b30d766"}
Oct 30 09:31:27 auditor-slurm-collector[17165]: {"v":0,"name":"AUDITOR-slurm-collector","msg":"[STARTING SACCT MONITOR - START]","level":30,"hostname":"slurm.bfg.uni-freiburg.de","pid":17165,"time":"2023-10-30T08:31:27.736869247Z","target":"auditor_slurm_collector::sacctcaller","line":40,"file":"collectors/slurm/src/sacctcaller.rs","run_id":"c5762663-b115-4d8d-8e5d-8ea09b30d766"}
Oct 30 09:31:27 auditor-slurm-collector[17165]: {"v":0,"name":"AUDITOR-slurm-collector","msg":"[STARTING SACCT MONITOR - END]","level":30,"hostname":"slurm.bfg.uni-freiburg.de","pid":17165,"time":"2023-10-30T08:31:27.736968219Z","target":"auditor_slurm_collector::sacctcaller","line":40,"file":"collectors/slurm/src/sacctcaller.rs","run_id":"c5762663-b115-4d8d-8e5d-8ea09b30d766","elapsed_milliseconds":0}
Oct 30 09:31:27 auditor-slurm-collector[17165]: {"v":0,"name":"AUDITOR-slurm-collector","msg":"[STARTING AUDITORSENDER - START]","level":30,"hostname":"slurm.bfg.uni-freiburg.de","pid":17165,"time":"2023-10-30T08:31:27.737816231Z","target":"auditor_slurm_collector::auditorsender","line":28,"file":"collectors/slurm/src/auditorsender.rs","run_id":"c5762663-b115-4d8d-8e5d-8ea09b30d766"}
Oct 30 09:31:27 auditor-slurm-collector[17165]: {"v":0,"name":"AUDITOR-slurm-collector","msg":"[STARTING AUDITORSENDER - END]","level":30,"hostname":"slurm.bfg.uni-freiburg.de","pid":17165,"time":"2023-10-30T08:31:27.737872625Z","target":"auditor_slurm_collector::auditorsender","line":28,"file":"collectors/slurm/src/auditorsender.rs","run_id":"c5762663-b115-4d8d-8e5d-8ea09b30d766","elapsed_milliseconds":0}
Oct 30 09:31:27 auditor-slurm-collector[17165]: {"v":0,"name":"AUDITOR-slurm-collector","msg":"[CALLING SACCT AND PARSING OUTPUT - START]","level":30,"hostname":"slurm.bfg.uni-freiburg.de","pid":17165,"time":"2023-10-30T08:31:27.738162231Z","target":"auditor_slurm_collector::sacctcaller","line":94,"file":"collectors/slurm/src/sacctcaller.rs"}
Oct 30 09:31:27 auditor-slurm-collector[17165]: thread 'tokio-runtime-worker' panicked at 'Ambiguous local time, ranging from 2023-10-29T02:22:07+01:00 to 2023-10-29T02:22:07+02:00', collectors/slurm/src/database.rs:93:59
Oct 30 09:31:27 auditor-slurm-collector[17165]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Oct 30 09:31:27 auditor-slurm-collector[17165]: {"v":0,"name":"AUDITOR-slurm-collector","msg":"[CALLING SACCT AND PARSING OUTPUT - END]","level":30,"hostname":"slurm.bfg.uni-freiburg.de","pid":17165,"time":"2023-10-30T08:31:27.738773842Z","target":"auditor_slurm_collector::sacctcaller","line":94,"file":"collectors/slurm/src/sacctcaller.rs","elapsed_milliseconds":0}
Oct 30 09:31:27 auditor-slurm-collector[17165]: {"v":0,"name":"AUDITOR-slurm-collector","msg":"[SLURM COLLECTOR - EVENT] Shutdown signal from inside application received.","level":30,"hostname":"slurm.bfg.uni-freiburg.de","pid":17165,"time":"2023-10-30T08:31:27.738940071Z","target":"auditor_slurm_collector","line":139,"file":"collectors/slurm/src/main.rs","run_id":"c5762663-b115-4d8d-8e5d-8ea09b30d766"}
Oct 30 09:31:27 auditor-slurm-collector[17165]: {"v":0,"name":"AUDITOR-slurm-collector","msg":"[SENDING SHUTDOWN SIGNAL TO SACCTCALLER AND AUDITORSENDER - START]","level":30,"hostname":"slurm.bfg.uni-freiburg.de","pid":17165,"time":"2023-10-30T08:31:27.738975333Z","target":"auditor_slurm_collector::shutdown","line":50,"file":"collectors/slurm/src/shutdown.rs","run_id":"c5762663-b115-4d8d-8e5d-8ea09b30d766"}
Oct 30 09:31:27 auditor-slurm-collector[17165]: {"v":0,"name":"AUDITOR-slurm-collector","msg":"[SENDING SHUTDOWN SIGNAL TO SACCTCALLER AND AUDITORSENDER - END]","level":30,"hostname":"slurm.bfg.uni-freiburg.de","pid":17165,"time":"2023-10-30T08:31:27.73906013Z","target":"auditor_slurm_collector::shutdown","line":50,"file":"collectors/slurm/src/shutdown.rs","run_id":"c5762663-b115-4d8d-8e5d-8ea09b30d766","elapsed_milliseconds":0}
Oct 30 09:31:27 auditor-slurm-collector[17165]: {"v":0,"name":"AUDITOR-slurm-collector","msg":"[SLURM COLLECTOR - EVENT] Could not send shutdown signal to tasks: channel closed\n\nLocation:\n    collectors/slurm/src/shutdown.rs:56:13","level":50,"hostname":"slurm.bfg.uni-freiburg.de","pid":17165,"time":"2023-10-30T08:31:27.73913181Z","target":"auditor_slurm_collector","line":144,"file":"collectors/slurm/src/main.rs","run_id":"c5762663-b115-4d8d-8e5d-8ea09b30d766"}
Oct 30 09:31:27 auditor-slurm-collector[17165]: {"v":0,"name":"AUDITOR-slurm-collector","msg":"[SLURM COLLECTOR - END]","level":30,"hostname":"slurm.bfg.uni-freiburg.de","pid":17165,"time":"2023-10-30T08:31:27.739205015Z","target":"auditor_slurm_collector","line":84,"file":"collectors/slurm/src/main.rs","run_id":"c5762663-b115-4d8d-8e5d-8ea09b30d766","elapsed_milliseconds":4}
systemd[1]: auditor-slurm-collector.service holdoff time over, scheduling restart.
systemd[1]: Stopped AUDITOR SLURM collector.

Not sure if related to #249

This happens because a timestamp with a negative TZ is stored in the DB:
sqlite> SELECT lastcheck, jobid FROM lastcheck;
2023-10-29T02:22:07-01:00|slurm-6811184

The crash is caused when reading the lastcheck datetime object from the database:
https://github.com/ALU-Schumacher/AUDITOR/blob/4115613f88eab542221b7907b7af22954ac024aa/collectors/slurm/src/database.rs#L83-L104
Minimal working example to reproduce the crash:
use chrono::{offset::Local, offset::TimeZone, NaiveDateTime};

fn main() {
    let lastcheck =
        NaiveDateTime::parse_from_str("2023-10-29T02:22:07-01:00", "%Y-%m-%dT%H:%M:%S%:z").unwrap();
    let datetime = Local.from_local_datetime(&lastcheck).unwrap();
    println!("{}", datetime);
}

Local.from_local_datetime() returns a LocalResult. Instead of using unwrap(), we must handle the three cases independently.
Something like this:
use chrono::{offset::Local, offset::TimeZone, NaiveDateTime};

fn main() {
    let lastcheck =
        NaiveDateTime::parse_from_str("2023-10-29T02:22:07-01:00", "%Y-%m-%dT%H:%M:%S%:z").unwrap();
    let datetime = match Local.from_local_datetime(&lastcheck) {
        chrono::LocalResult::None => todo!(),  // probably return an error here
        chrono::LocalResult::Single(datetime) => datetime,
        chrono::LocalResult::Ambiguous(datetime1, datetime2) => {
            println!("datetime1: {}", datetime1);
            println!("datetime2: {}", datetime2);
            datetime1  // not yet sure whether to pick datetime1 or datetime2
        }
    };
}

This returns
datetime1: 2023-10-29 02:22:07 +01:00
datetime2: 2023-10-29 02:22:07 +02:00

For me, it's unclear yet whether to return the first or second timestamp in the Ambiguous case.


Update notebooks for glo30 dem

Something seems wrong in the last cell of ariaTSsetup.py.

Can we change the nodata to 0 in the waterMask plotting to be consistent with what is seen in MintPy (I often get confused by this)

Ok I ran through ariaTSsetup successfully and uploaded the notebook here.
Welcome to take a look at this, but not sure I have the bandwidth right now to dig into this.

When I run this branch locally and whatever is installed on opensarlab (release I assume), my mask looks black and white as before. I'm confused as to why yours could be different. It must have something to do with the nan value... perhaps you are using an old mask?


Add experimental support for QUIC

This is a follow-up of https://github.com/paritytech/substrate/pull/6366
From the point of view of Substrate:

We now open a UDP socket only if --experimental-quic CLI option is set to true (with default value = false).
This UDP socket is used both to accept incoming QUIC connections but also to establish connections to the respective UDP socket of other nodes. In other words, all communications go through this single socket.
At the moment, since support is experimental, we refuse all incoming QUIC connections by default. One can listen on incoming QUIC connections by passing --listen-addr /ip4/<IP_ADDRESS>/udp/30333/quic-v1. Note that multiaddr should listen on quic-v1 not on quic, otherwise the listening will fail.
There is a small caveat at the moment: if you spawn two nodes on the same machine the same UDP port, one of them will fail with "Address already in use". Contrary to TCP/IP, the consequence is that the node which failed to open the UDP port will also be unable to dial the QUIC addresses of other nodes. This is pretty annoying, and I'd be in favour of automatically trying multiple ports if the default one fails to open, but this needs to be brainstormed because of the interaction with --listen-addr.

Before we can consider merging, we need to:

[x] Review and merge the libp2p changes https://github.com/libp2p/rust-libp2p/pull/2289.
[x] Merge https://github.com/paritytech/substrate/pull/12734.
[ ] Modify the bandwidth measurement system of libp2p?

So far I managed to connect two nodes through QUIC:

cargo r --bin node-template -- --no-mdns --experimental-quic --listen-addr /ip6/::1/tcp/8081 /ip6/::1/udp/8081/quic-v1 --alice --tmp
cargo r --bin node-template -- --no-mdns --experimental-quic --listen-addr /ip4/<IP_ADDRESS>/udp/8080/quic-v1 --bootnodes /ip6/::1/udp/8081/quic-v1/p2p/12D3KooWRRNUr42JBC79TuiWSg3BnAcsNwjT6zasJsCrcB5bgaxK --bob --tmp

I am working on this.

I am working on this. This is a very important issue.

@kpp can you give us an update? I agree this is important specially considering the issues with networking/parachains at the moment

I am working on this issue

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable-int
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2096270

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2729336

:(


Juggler Sequence

Description
Write the program that prints juggler sequence using loop and recursive.
Juggler Sequence is a series of integer number in which the first term starts with a positive integer number a and the remaining terms are generated from the immediate previous term using the below recurrence relation :

Example:
Input : 9
Output : 9, 27, 140, 11, 36, 6, 2, 1
And Solution will is in Mathematical Algorithms folder.
Domain
Competitive Programming
Type of Contribution
Addition
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of LearnCPP.

/assign

/assign


Develop script to highlight features unused during matching

closes #331
Logic Used : Get all features from sample file using "scripts/show_features.py" , create a set of all features present in rules in given rules directory.
Checklist

[ ] No CHANGELOG update needed

[x] No new tests needed

[x] No documentation update needed

add color to count and feature class.

would you please also add a test showing the invocation of the script, like we do here: https://github.com/mandiant/capa/blob/master/tests/test_scripts.py#L45

please address test failures on python 3.8 (maybe syntax/typing related?).

=================================== FAILURES ===================================
_________________ test_scripts[show-unused-features.py-args6] __________________

script = 'show-unused-features.py'
args = ['/home/runner/work/capa/capa/tests/data/9324d1a8ae37a36ae560c37448c9705a.exe_']

    @pytest.mark.parametrize(
        "script,args",
        [
            pytest.param("capa2yara.py", [get_rules_path()]),
            pytest.param("capafmt.py", [get_rule_path()]),
            # not testing lint.py as it runs regularly anyway
            pytest.param("match-function-id.py", [get_file_path()]),
            pytest.param("show-capabilities-by-function.py", [get_file_path()]),
            pytest.param("show-features.py", [get_file_path()]),
            pytest.param("show-features.py", ["-F", "0x407970", get_file_path()]),
            pytest.param("show-unused-features.py", [get_file_path()]),
            pytest.param("capa_as_library.py", [get_file_path()]),
        ],
    )
    def test_scripts(script, args):
        script_path = get_script_path(script)
        p = run_program(script_path, args)
>       assert p.returncode == 0
E       AssertionError: assert 1 == 0
E        +  where 1 = CompletedProcess(args=['/opt/hostedtoolcache/Python/3.8.17/x64/bin/python', '/home/runner/work/capa/capa/tests/../scripts/show-unused-features.py', '/home/runner/work/capa/capa/tests/data/9324d1a8ae37a36ae560c37448c9705a.exe_'], returncode=1, stdout=b'').returncode

tests/test_scripts.py:55: AssertionError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/home/runner/work/capa/capa/tests/../scripts/show-unused-features.py", line 55, in <module>
    ) -> Counter[Feature]:
TypeError: 'type' object is not subscriptable

see inline tweaks, then we'll be ready to merge.

Done,


Adopt BEM methodology with a prefix

Based on Sam's review comment, I think it makes sense to adopt BEM methodology together with using a kubevirt prefix.
This should give our styles a better structure and avoid potential clashes with the target application.
Taking sass/components/_VmStatus.scss as an example:
/* before */
.vm-status-icon { margin-right: 5px; }

/* after */
.kubevirt-vm-status__icon { margin-right: 5px; }

cc @jelkosz @mareklibra @rawagner


Add recursive C test

Hi @jschueller Julien,
Thank you for the impressively quick response.
I will implement the Fortran test, but it will not be soon since I am quite busy now.
I tried to understand the C test. It seems that you are defining
f_outer(x) = prima(f_inner, x)

which means that f_outer(x) is the minimal value of f_inner obtained by minimizing f_inner by a prima solver starting from x.
For the purpose of the recursive test, this is sufficient. However, I note that f_outer is in fact a constant function: f_outer(x) = min f_inner = 0 in this case.
What I did in MATLAB is
f_outer(x) = prima(f_inner(x, y), y0)

which means that f_outer(x) is the minimal value of f_inner(x, y) obtained by minimizing f_inner with respect to y by a prima solver starting from y0 (set to a random number in my implementation).  Or, more mathematically,
$$f_1(x) = min_{y} f_0(x, y).$$
I am not sure whether this is doable in C.

I am not sure whether this is doable in C.

This seems doable using the data pointer. https://github.com/libprima/prima/pull/86


typo: Availabilty -> Availability

@nschonni Thanks for fixing that, we'll get your change merged.


bump version.h as well

Hi Danny,
while updating the openbsd port of cnagios[1] I encountered this little detail.
[1] http://marc.info/?l=openbsd-ports&m=148028895323490&w=2

Ah, good catch, thanks!  I'll make sure this gets bumped appropriately from now on.
In regards to the other comment about how it would be nice if cnagios worked with other compatible monitoring platforms - I agree!  Once I get some time away from work, I'm going to wrap up going through the cnagios codebase and decoupling it from requiring a live version of nagios.  Ideally, it should be an open ended tool that can display whatever nagios-like status.dat files you an throw at it.

Ideally, it should be an open ended tool that can display whatever nagios-like status.dat files you an throw at it.

completely agree! :)

FYI, here is the github bug for it:
https://github.com/dannywarren/cnagios/issues/6
And here is the FreeBSD PR discussion that spawned it:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212102


:TOC: label in "org mode" readme files should be hidden

Gitea version (or commit ref): 1.13.0

Git version: 2.11.0

Operating system: Debian (official gitea docker image)

Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[X] SQLite

Description
I've created a README.org file using Emacs org mode. The file is something like:
#TITLE: file title

* Table of contents :TOC:
- [[#title][Title]]

* Title
Lorem ipsum...

Usually github/gitlab doesn't show the :TOC: attribute, which is used by Emacs to regenerate the table of contents on save.
Screenshots
Actual result:

Desidered behaviour:

Extra issues
I've found other two "bugs", the first is that if the README already has a TOC, gitea shouldn't render his own index. The second is that the anchors generated using org mode doesn't works. Should I open two separate issues for this two bug?
Thank you.

@finex  because gitea not support this format now, it consider this file as an simple markdown file.
related issue :#12832. Thanks.

@a1012112796 In fact, we support org-mod on git files but not wikis. This should be a problem of upstream library which Gitea depends on.

ok, I see, I will check it and send issue to upstream repo.

Thanks!

Usually github/gitlab doesn't show the :TOC: attribute, which is used by Emacs to regenerate the table of contents on save.

I couldn't find anything on the :TOC: label in the org mode docs and haven't seen it before. Could you link me to documentation / example markup that modifies the TOC html in emacs org export?

Usually github/gitlab doesn't show the :TOC: attribute, which is used by Emacs to regenerate the table of contents on save.

I couldn't find anything on the :TOC: label in the org mode docs and haven't seen it before. Could you link me to documentation / example markup that modifies the TOC html in emacs org export?

Hi, you're right, I was using Doom Emacs and I didn't know (until now) that this feature is not default but it's from the following package installed by Doom: https://github.com/snosov1/toc-org

Hi, you're right, I was using Doom Emacs and I didn't know (until now) that this feature is not default but it's from the following package installed by Doom: https://github.com/snosov1/toc-org

thx.
as org mode supports positioning the toc using #+TOC I'd opt for implementing that - that would also get rid of the default toc. Fixing the links is up to gitea - they work in raw go-org output.
Would that solve your problem? No promises, would have to check if this is as low hanging fruit as I'm expecting.

thx.
as org mode supports positioning the toc using #+TOC I'd opt for implementing that - that would also get rid of the default toc. Fixing the links is up to gitea - they work in raw go-org output.
Would that solve your problem? No promises, would have to check if this is as low hanging fruit as I'm expecting.

Hi, yes, it should be good :-)

https://github.com/niklasfasching/go-org/commit/7c239a7aeb26a3de2027838d31d22d60828ce17e
go-org now supports #+TOC: headlines $n - $n being the max headline lvl to include (0 being all).
The default toc has to be disabled manually (#+OPTIONS: toc:nil) as that's the way org mode does it
https://github.com/niklasfasching/go-org/commit/7c239a7aeb26a3de2027838d31d22d60828ce17e

Thank you :smile:

Once go-org released, we can upgrade the vendor.

There are many reasons to upgrade go-org, many features supported here are not in gitea (VERSE and EXPORT blocks, TODO separate class, ATTR_HTML, etc...).

#18824 could be backported to 1.16 - but users of org should confirm that it doesn't cause regressions.

#18824 could be backported to 1.16 - but users of org should confirm that it doesn't cause regressions.

I can confirm that on go-org test page (https://niklasfasching.github.io/go-org/)
#+TITLE: file title

* Table of contents :TOC:
- [[#title][Title]]

* Title
Lorem ipsum...

Gives the expected result:

This was not what I meant. I meant testing #18824, either once it is in or by downloading 18824 and building and/or download the gitea 1.16 source code, and run:
go get -d github.com/niklasfasching/go-org
make vendor
make

to then test gitea to see if there were significant downgrade

This was not what I meant. I meant testing #18824, either once it is in or by downloading 18824 and building and/or download the gitea 1.16 source code, and run:

I tried to compile, but there too many dependencies, I am afraid to break something here if I upgrade stuff like npm. What do you mean by once it is in ? Is there a place where I could download a gitea binary version (linux x86_64) with #18824 patch ?


db pull logs full connection string on P4001 The introspected database was empty (or test is outdated)

According to test snapshot https://github.com/prisma/prisma/blob/44574f5d90de279b19230eab678a4790ef9a7165/packages/migrate/src/tests/DbPull/postgresql-multischema.test.ts#L184 db pull logs the full connection string.
Either that test is not run and the snapshot is outdated (which should be fixed), or we indeed do that (which should be fixed).

Code is here
https://github.com/prisma/prisma/blob/cf2b019e80a7c1fb3703fb5578a9174d91f75764/packages/migrate/src/commands/DbPull.ts#L271-L275
This only happens when using --url
Example:
npx prisma db pull --url="postgresql://prisma:prisma@localhost:5432/21733"
Prisma schema loaded from prisma/schema.prisma
Environment variables loaded from prisma/.env
Datasource "db": PostgreSQL database "21733", schema "public" at "localhost:5432"

✖ Introspecting
Error:
P4001 The introspected database was empty: postgresql://prisma:prisma@localhost:5432/21733

prisma db pull could not create any models in your schema.prisma file and you will not be able to generate Prisma Client with the npx prisma generate command.

To fix this, you have two options:

- manually create a table in your database.
- make sure the database connection URL inside the datasource block in schema.prisma points to a database that is not empty (it must contain at least one table).

Then you can run npx prisma db pull again.


Prefix accessKeyId on Users and Projects

Is your feature request related to a problem? Please describe.
The pattern on the accessKeyId for Users and Projects looks exactly the same which sometimes causes confusion.
Describe the solution you'd like
Add a prefix so it is easy to identify the type of account. This enhancement will bring the following changes:

User's accessKeyId will now have the US prefix (i.e US618572e3ec11d10600000001)
Project's accessKeyId will now have PJ prefix (i.e PJ618688e35315720700000001)

Describe alternatives you've considered
None
Additional context
NA

This one has already been fixed with commit eb9a83, maybe should also be closed.
For your approbal @psanders


Explicitly add py.typed during build process

Hi again! This is a continuation to https://github.com/valknight/Cohost.py/pull/32 since, due to an oversight on my side, I forgot to explicitly tell setuptools to include the new py.typed file during build process. I realized version 0.3.3 didn't include the file although it did include all other changes, and a bit of looking around made me realize it wasn't being copied on purpose.
I checked these references:

https://blog.whtsky.me/tech/2021/dont-forget-py.typed-for-your-typed-python-package/ a blog post that coincidentally alerts people not to forget to do this :-P
https://github.com/DSD-DBS/pyease/blob/c5b42a2116460df53500c90ddd9df034054e5739/pyproject.toml#L177 to see how to include it on pyproject.toml without poetry

I verified that by running python -m build with this change, the compressed file that's generated contains the py.typed file but juuust in case, please double check if you can reproduce, and if not I'll keep looking around on how to fix this.
Thanks again and any suggestions welcome!

looks good to me! the build github actions made included py.typed, so i'm confident to merge.
(also, lol i gotta update the github actions to not have the build named "code-coverage-report" from when i was trying to set that up. good times)


Signature Help Expected Behavior?

Is there documentation somewhere that covers when/under what conditions plyance is able to provide signature help?
For example, should help be expected for something like (the RandomForestClassifier instance)?
from sklearn.ensemble import RandomForestClassifier rc = RandomForestClassifier()
On different machines, using the same version of pylance and vscode, for some reason I only get signature help on one. I'm trying to figure out if I'm missing something before filing an issue.

@rlaabs, It is unclear why you would be seeing this discrepancy. The signature help should show if pylance can find the docstrings in the .py files for the module or if there are docstrings in the type stubs. In your case, there is  docstrings for the class RandomForestClassifier(): in the sklearn\ensemble\_forest.py. So Pylance should be able to find it.
On the machine where it is not showing, would you hit F12 or "Go to definition" with the cursor on the class name in rc = RandomForestClassifier(). That may help narrow down the issue.
Please let me know what you find.
thanks

@judej The docstrings are the same, but I just noticed that scikitlearn (0.23.2) added a '@_deprecate_positional_args' decorator to the class definitions. The machine that it works on has an older version (0.22.1) without that decorator.
Is it correct to assume that this issue is likely because of the behavior of that decorator and functools.wraps?
[IDX(2)]     parsing: /opt/miniconda3/envs/scikitlearn/lib/python3.8/site-packages/sklearn/ensemble/init.py [fs read 0ms] (1ms)
[IDX(2)]     binding: /opt/miniconda3/envs/scikitlearn/lib/python3.8/site-packages/sklearn/ensemble/init.py (1ms)
[IDX(2)]     indexing: /opt/miniconda3/envs/scikitlearn/lib/python3.8/site-packages/sklearn/ensemble/init.py ...

Likely. Types for decorators (especially wraps) are a bit notorious for causing issues like these.

Duplicate of #442


Put lower priority for typeahead completion in property name

When typing the name of a property in an object declaration (in order to pass it to a function that expects a certain interface), the hints for importing a class/interface/whatever comes prior the ones for the  property.
The hovered one is what I want to insert and the first ones are from the import suggestions:

I don't know if it is possible with vs-code API to use a custom priority for hinting but in this case the property hint should be displayed first.
BTW: 0.7.1 is awesome !

@n00dl3 Thanks :-)
I don't think I can lower the priority. What I could do is sorting them to the bottom. But I fixed some bugs for the auto completion, so actually should not suggest stuff that is already imported or in your own file.
Would you mind to check that out? =)
(master branch)
Cheers

I'll test that this weekend, I'm in a hurry right now :tired_face: !

No worries ;-)

Hey @n00dl3 got a chance to check it with the new and shiny 0.8.0 version?

Oh sorry, I forgot that.
yup, still the same with 0.8... :disappointed:

Well I'll have a look at that. VSCode did something to this priority stuff, but I don't know if it's solving your / our problem..


Implement N-Queen Problem in C++ and Java.

🚀 Feature
I would like to contribute to the N-Queen problem In C++ and JAVA. Please assign it to me as a part of GSSOC 2021.
Have you read the Contributing Guidelines on Pull Requests?
YES.

I would like to do N-Queen problem In C++ . Please assign it to me as a part of GSSOC 2021.

@HarshCasper  Sir Since this is for GSSoC'21 I think you forgot to add GSSoC'21 label .Can you please add it?

@HarshCasper @atarax665 I would like to take this issue in Golang and JS.
Also, has GSSOC '21 officially started? I couldn't see any announcements on their discord server.

@ritvij14 Since you have been a previous contributor, you might understanding that managing individual contributions through a single issue is often hard. You can create a separate issue for Golang and JS and I will assign you the same.
The Coding Period has started. Contributors have started creating Issues and making PRs from beforehand.

@HarshCasper alright understood, thanks for the clarification. I will make the separate issues 👍


Gradle 2.8

Gradle 2.8 is available now.
This pull request updates Gradle wrapper and build.gradle in the repository.
Merge it if all tests passed with the latest Gradle.
Automatic pull request can be turned off by unstar gradleupdate repository.

Dominik Stadler » poi-mail-merge #9 SUCCESS
This pull request looks good
(what's this?)


'TranslationFromPretrainedBARTTask' object has no attribute 'args' under fairseq version 0.12.0

🐛 Bug

To Reproduce
Steps to reproduce the behavior (always include the command you ran):

Run the following command

PRETRAIN=mbart.cc25 # fix if you moved the downloaded checkpoint
langs=ar_AR,cs_CZ,de_DE,en_XX,es_XX,et_EE,fi_FI,fr_XX,gu_IN,hi_IN,it_IT,ja_XX,kk_KZ,ko_KR,lt_LT,lv_LV,my_MM,ne_NP,nl_XX,ro_RO,ru_RU,si_LK,tr_TR,vi_VN,zh_CN
fairseq-train path_2_data
--encoder-normalize-before --decoder-normalize-before
--arch mbart_large --layernorm-embedding
--task translation_from_pretrained_bart
--source-lang hi_IN --target-lang en_XX
--criterion label_smoothed_cross_entropy --label-smoothing 0.2
--optimizer adam --adam-eps 1e-06 --adam-betas '(0.9, 0.98)'
--lr-scheduler polynomial_decay --lr 3e-05 --warmup-updates 2500 --total-num-update 40000
--dropout 0.3 --attention-dropout 0.1 --weight-decay 0.0
--max-tokens 1024 --update-freq 2
--save-interval 1 --save-interval-updates 5000 --keep-interval-updates 10 --no-epoch-checkpoints
--seed 222 --log-format simple --log-interval 2
--restore-file $PRETRAIN
--reset-optimizer --reset-meters --reset-dataloader --reset-lr-scheduler
--langs $langs
--ddp-backend legacy_ddp

Got the following error

Traceback (most recent call last):
File "/usr/local/bin/fairseq-train", line 8, in
sys.exit(cli_main())
File "/usr/local/lib/python3.7/dist-packages/fairseq_cli/train.py", line 557, in cli_main
distributed_utils.call_main(cfg, main)
File "/usr/local/lib/python3.7/dist-packages/fairseq/distributed/utils.py", line 369, in call_main
main(cfg, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/fairseq_cli/train.py", line 133, in main
task.load_dataset(valid_sub_split, combine=False, epoch=1)
File "/usr/local/lib/python3.7/dist-packages/fairseq/tasks/translation_from_pretrained_bart.py", line 66, in load_dataset
paths = utils.split_paths(self.args.data)
AttributeError: 'TranslationFromPretrainedBARTTask' object has no attribute 'args'

Expected behavior
After running the above code, it should start training the model, which still works earlier today with fairseq version 0.10.2, but it seems that fairseq just got an update to 0.12.0 and now the code gives an error.

Environment

fairseq Version 0.12.0:

Yes, TranslationTask uses self.cfg instead of self.args now.
And the quicker fix is to do it yourself and upload it, so enjoy it.
A replace all of self.args self.cfg will do.

Wait, are you using google colab or something remote?
If you are installing with pip you have to find where those installed package are.
use which fairseq-train or where fairseq-train may tell you an about.
Once you found the fairseq folder, open fairseq/tasks/translation_from_pretrained_bart.py and use your editor to replace all.
(You can use vim if it is on linux or use python to do this for you)
Then test it whether it works or not.
(I know nothing about upload or sending pull request. But I guess it is not a fairseq issue, more like how to work with public library. Would be nice if you teach me in the future.)
--
No matter where you run the programs, I believe the best install option is
git clone https://github.com/pytorch/fairseq  this will download fairseq repository into current directory and
cd fairseq open it
pip install --editable ./ this will install your local fairseq.
If you want to upgrade, cd fairseq and git pull which will update till the main branch.
This applies to most (famous) packages found on github

Thank you so much for your help. I found the older version on the branch that works for the model. And I installed it with --editable as you suggested. Now it works :)


interface: add FailedResourcePlacements field in binding status

Description of your changes

Fixes #
I have:

[ ] Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Special notes for your reviewer

Had to run go mod tidy to be able to run make manifests, make generate


How to log boolean value?

print info like "true" or "false"?

And I wonder how to print double type value to the specified format

print info like "true" or "false"?

use boolalpha

And I wonder how to print double type value to the specified format

may this help:setprecision
these problem may solved by C++ stream


example to delete, query the state of a workload

https://github.com/threefoldtech/home/issues/1103

example to getting deployment state https://github.com/threefoldtech/vgrid/blob/review-types/getdeployment.v


Fix/management service

Summary

Create a service for an application, deployed by Quarkus extension, needed due to quarkusio/quarkus#34645, required for https://issues.redhat.com/browse/QQE-401
Add an option to disable automatic test reruns,  #1040

Please check the relevant options

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Dependency update
[ ] Refactoring
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] This change requires a documentation update
[x] This change requires execution against OCP (use run tests phrase in comment)

Checklist:

[x] Example scenarios has been updated / added
[x] Methods and classes used in PR scenarios are meaningful
[x] Commits are well encapsulated and follow the best practices

run tests

forgot to comment - changes LGTM, PR name not ideal :-), thanks


expr: pushdown repeat to tiflash

What problem does this PR solve?
Issue Number: close #5114
Problem Summary: push down repeat to tiflash
What is changed and how it works?
Check List
Tests

[x] Unit test
[x] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-unit-test

/run-all-tests

/run-all-tests

/run-unit-test

/run-all-tests

/run-unit-test

/run-integration-test

/run-integration-test

/run-integration-test

Find a bug(maybe)? if we only output one column and there has empty string, it will be truncated. Then I add other columns it will success.

/cc @zanmato1984 @guo-shaoge

/cc @SeaRise @Willendless

@likzn Hi, thanks for contribution, we'll look into your PR soon.
Would you please link the corresponding PR in TiDB repo in the description of this one.

@likzn Hi, thanks for contribution, we'll look into your PR soon.
Would you please link the corresponding PR in TiDB repo in the description of this one?

Done. https://github.com/pingcap/tidb/pull/36024

TODO: We should handle maxAllowedPacket about String function together. #3669

/run-all-test

/run-all-tests

Add release note like 'Support to pushdown repeat to TiFlash'.
And add the pr link of tidb?

Add release note like 'Support to pushdown repeat to TiFlash'. And add the pr link of tidb?

Done.

/run-all-tests

/merge


About 3dtile rendering mode

Hi，
Whether cesium 3dtile supports the rendering effect shown in Figure 2, Figure 1 is the original display effect.

thanks！

Hello @verybigzhouhai, please ask your question on the forum: https://groups.google.com/forum/?hl=en#!forum/cesium-dev
Someone there should be able to help you.  We use GitHub exclusively for tracking bugs and planning new features.  Thanks!


no jquery, works?

Hi @xonzonex
If there is no jquery dependency, it works?
Thanks
Eric Xin

Unfortunately, at the moment it requires jquery, but you can fork it and change the code a little to use it for your own purposes.


SSE:  Invalid state: Controller is already closed

Hi, loving being able to use middleware with RR7, but I have an issue with SSE and Hono, not sure what is happening.
I have been using Remix and remix-live-loader (https://github.com/moishinetzer/remix-live-loader) for sometime, and have this week making the changes for RR7, using your hono-server implementation for the middleware ability.
I am getting intermittent errors using remix-live-loader and react-router-hono-server together, it seems as though connections are not being closed when navigating back and forth.
I have a repo here to take a look at, its the example given by remix-live-loader with your hono-server added.
https://github.com/JasonColeyNZ/remix-live-loader
If you open two windows and navigate back and forth between the task lists on the left and mark and change task completion, eventually (after 10-20) changes and switching back and forth between the two tabs you will get the controller error.
Any chance you can take a look and maybe help find out what is happening?

Hello 👋
I will look at it but I'm pretty sure that you need the same implementation as https://github.com/rphlmr/drizzle-lab/blob/b07f58e8a40aaffcadb62e243810a3a179aafbad/apps/cli/visualizer/routes/watch.ts#L17C1-L31C63
export async function loader({ request }: LoaderFunctionArgs) {
  const abortController = new AbortController();
  abortController.signal.addEventListener("abort", () =>
    abortController.abort(),
  );

  // simplified code

  return eventStream(
    AbortSignal.any([request.signal, abortController.signal]),
    (send: SendFunction) => {
      function notify(event: EventType) {
        try {
          send({ event, data: new Date().toISOString() });
        } catch (cause) {
          if (
            cause instanceof Error &&
            !cause.message.includes("Controller is already closed")
          ) {
            console.error("Failed to send SSE event", cause);
          }
        }
      }

      // simplified code
    },
  );
}

Are you sure why, because remix hasn't needed this in the past, and RR7 doesn't need it either, works very well in fact with the implementation that remix-live-loader uses. It's only when hono is added that the issues appear. if you remove hono server it all works as expected again?

Yep. I have this issue with Hono since Vite.
I don't know why, maybe a difference between ExpressJS and Hono.
Since it fixes my issues, I haven't dig deeper.
I should try without Remix utils, just in case.

If all we are doing is adding a try/catch around the send, then surely we will have a memory leak?
I have a console that shows the emitter listenerCount on the loaders and this just seems to be going up and up.
emitter.listenerCount()
HMR seems to be the main cause here, each time a save occurs in a stream modification, the old emitters are not being freed.

Interesting I can't actually get the emitter count over 3, or two windows, my only concern is with the potential with many users hitting pages at the same time?

Yeah with the sample I made, with three windows I now have an emitter count of 6 on one of the slugs, so its just getting higher and higher. I did find somewhere that nextjs were having the same error and their 'solution' was to patch react itself.
https://github.com/vercel/next.js/pull/57011/commits/f2009f34b956e1d91eda27d695d233e8d75b7ea9
https://x.com/Kingsley_codes/status/1808578766375113027
I did read also that nextjs  14 had similar issues.
also undici were looking into this, I tried Node 22 but this didn't help
https://github.com/nodejs/undici/issues/1564

So, I tried your example and I was able to reproduce it.
We can better handle the error and maintain a proper number of connections with:
import { eventStream } from "remix-utils/sse/server";
import { emitter } from "./emitter.server";

export function createEventStream(request: Request, eventName: string) {
  const abortController = new AbortController();
  abortController.signal.addEventListener("abort", () =>
    abortController.abort()
  );

  return eventStream(
    AbortSignal.any([request.signal, abortController.signal]),
    (send) => {
      const handle = () => {
        try {
          console.log("listenerCount: ", emitter.listenerCount(eventName));

          send({
            data: String(Date.now()),
          });
        } catch (error) {
          if (
            error instanceof Error &&
            !error.message.includes("Controller is already closed")
          ) {
            console.error("Failed to send SSE event", error);
          } else {
            // Remove dead listeners
            emitter.removeListener(eventName, handle);
          }
        }
      };

      emitter.addListener(eventName, handle);

      return () => {
        emitter.removeListener(eventName, handle);
      };
    }
  );
}


[BUG] Type 'ReactNativePlugin' is not assignable to type 'ITelemetryPlugin'

Description/Screenshot
Type 'ReactNativePlugin' is not assignable to type 'ITelemetryPlugin'.
Types of property 'setNextPlugin' are incompatible.
Type '(next: ITelemetryPlugin) => void' is not assignable to type '(next: ITelemetryPlugin | ITelemetryPluginChain) => void'.
Types of parameters 'next' and 'next' are incompatible.
Type 'ITelemetryPlugin | ITelemetryPluginChain' is not assignable to type 'ITelemetryPlugin'.
Type 'ITelemetryPluginChain' is missing the following properties from type 'ITelemetryPlugin': priority, initialize, identifier
Steps to Reproduce
When I add the latest versions of applicationinsights-react-native and applicationinsights-web, I get the above error while trying to create a new instance of ApplicationInsights().
ReactNativePlugin is not accepted as a valid value for extensions array.
yarn add @microsoft/applicationinsights-react-native
yarn add @microsoft/applicationinsights-web
Versions installed are,
"@microsoft/applicationinsights-react-native": "^2.2.5",
"@microsoft/applicationinsights-web": "^2.5.6",

OS/Browser:
SDK Version [e.g. 22]:
How you initialized the SDK:

Expected behavior
Additional context
Add any other context about the problem here.

This issue is a method signature issue only, as a workaround you should be able and can safely cast the plugin to an ITelemetryPlugin when assigning the react-native to the extensions.
The ITelemetryPluginChain property is only used if you are creating a shared instance and reusing across multiple AI instances.

thanks! the workaround seems to do the trick. Is there a plan to fix this in the future releases?

Yep, about to start working on it now -- should be in next release

thank you!

PR is out -- please have a look as I've applied a couple of changes, specifically

fixed this issue, by extending from the new base class
refactored to use dynamicProto() -- for better minification
as part of the refactoring ALL of the private properties are now closure based instance variables (part of the minification changes), but the big change is that they will no longer be available on the instance.

Fully Deployed to CDN and NPM as version 2.5.7


refactor: add TransactionParameters and DetectionData fields in TransactionBody

Closes #2784
The scope of this is refactoring the TransactionBody to contain two new fields:

the TransactionParameters (new struct) that contains the expiry height and chain ID (both previously fields directly on the TransactionBody).
the optional DetectionData (new struct) that contains the Fuzzy Message Detection (FMD) clues for that transaction (previously a field directly on the TransactionBody).

In this PR I have not modified the EffectHash implementation (see #2808). The idea is (per the comment at the end of #2784):

This will also allow us to refactor the effect hash computation so that a signer can consider each of the parts of the transaction in turn, without having to load an entire transaction plan all at once. The effect hash could be computed by, for instance, individually hashing the memo packet, the parameters packet, and each of the actions, and then combining these hashes.

Note: CI job Protobuf / Lint protobuf (pull_request) will fail during the check for breaking changes to the protobufs, but breaking changes to the protobufs are unavoidable here.

This has had review comments addressed - lmk if there is any other feedback else I'll plan to merge in the next few hours


Huge delays on GROUP REPEAT

Hi,
last 4-5 months we experienced the issue with “group repeat” on Kobo and Ona, they use your service, so I think the problem is here. Tested in different browsers, even MS IE lol.
After 15 iterations of group repeat, every next opened with progressive delay, 25, 45, 90, 200 sec an so on. Just frozen page, scroll doesn’t work.
The issue doesn’t relay to complexity of group, the group with only one question has the same problem.
I tried to ask help of Kobo and Ona and ODK teams but still no success.
Looking for your advice, guys, I like ODK and Enketo, but that is real problem for users!
Best wishes, Eugene

Thanks for the report! I've added your report to an existing report here: https://github.com/kobotoolbox/enketo-express/issues/806 (The application that Ona and KoBo use is called enketo-express).


Dev

Codecov Report
Attention: Patch coverage is 4.21456% with 250 lines in your changes missing coverage. Please review.

Project coverage is 20.35%. Comparing base (fae14a8) to head (161f3e3).

Files with missing lines
Patch %
Lines

src/invert4geom/optimization.py
0.00%
73 Missing :warning:

src/invert4geom/cross_validation.py
0.00%
67 Missing :warning:

src/invert4geom/uncertainty.py
0.00%
43 Missing :warning:

src/invert4geom/utils.py
8.82%
31 Missing :warning:

src/invert4geom/regional.py
33.33%
16 Missing :warning:

src/invert4geom/synthetic.py
0.00%
14 Missing :warning:

src/invert4geom/inversion.py
0.00%
4 Missing :warning:

src/invert4geom/plotting.py
0.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #99      +/-   ##
==========================================
- Coverage   20.84%   20.35%   -0.49%
==========================================
  Files           9        9
  Lines        3229     3336     +107
==========================================
+ Hits          673      679       +6
- Misses       2556     2657     +101

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add Unraid installation documentation

Add instructions on how to install Tunarr on Unraid.
Closes #478

Awesome, thanks!


Add 'advanced mode' that shows raw data

Add an optional 'advanced mode' that shows more raw data, including...

item ID;
object type;
NPC's raw friendship/happiness/health/attack/defence values;
tree health.

Here are three possible approaches. (These are raw prototypes, so they might be prettier in the released version.)

Dump all raw data and constants.
Potentially useful for data mining, but also overwhelming. For example, a common mushroom has 152 such fields.
Dump all raw data except constants.
Still useful for data mining (they can look up the constants separately), but much less overwhelming. For example, a common mushroom has 38 such fields:

Dump hand-picked data.
Less useful for general data mining, but conveys the most important data. Individual fields can be hand-formatted (like the category line), and we can show data that isn't from fields (like the type name).

I thinking dumping all the data would be better as it may be difficult to determine which properties are important as that varies. Though with all that data it might be hard to sift through so having the option to "pin" properties so they stay at the top of the list would be handy.
Alternatively approach 3 would work just as well and sort of already handles the "pinning" if it allowed you to expand the view to see the rest of the properties. This way the generally deemed important ones can always be "pinned", but access to the less used ones is still available if you need it, without having to wait for the mod to update.

@tstaples we can't expand a field interactively (without changing how the mod renders its UI), but we could use a combined approach:

Done in the develop branch for the upcoming 1.9 release. You can enable the fields by setting ShowDataMiningFields: true in the config.json. Here's how the UI looks in this release pending feedback (demonstrating the sheer amount of data this can make available to data miners):


Added a solution for Asset bundle manifest is invalid

So I just had the problem that I couldn't publish my project because of this error.
After 5 minutes of trying I found out it was because my Description contained illegal characters from copy & pasting
the "Built with Everon Life Framework" text into it

@Tomboru thank you for the suggestion :)
Please integrate the suggestions from @alexhosier. Then we can merge this.


Addresses issue in #1935

@doctordns Thanks for the addition!


Dangerous reordering of Carbon .ini sections

Right now in cookbooks/graphite/libraries/chef_graphite.rb the INI file sections are generated as such:
     def generate_conf_data(data)
      tuples = sort_tuples(section_tuples(data))

       result = Hash.new
       tuples.each { |tuple| result[tuple.first] = tuple.last }
       result
     end

    def sort_tuples(tuples)
      tuples.sort { |a, b| a.first <=> b.first }
    end

Which means that sections are reordered by section name alphabetically rather than by the order they are defined in the file. This is dangerous since carbon is order-sensitive when it parses the rules in INI files. For example, in single_node.rb example in the cookbook, you have the following:
graphite_storage_schema "carbon" do
  config ({
            pattern: "^carbon\.",
            retentions: "60:90d"
          })
end

graphite_storage_schema "default_1min_for_1day" do
  config ({
            pattern: ".*",
            retentions: "60s:1d"
          })
end

In this case, the insertion order is the same as the alphabetic order ("carbon" then "default_1min_for_1day"). If you switch the names around the pattern .* will catch everything and the "carbon" rule will never be matched, resulting in completely different behavior and expensively unexpected results.

The solution for ruby 1.9+ is simple: remove sort_tuples function. For earlier versions, you'll have to use some ordered hash implementation throughout or to keep the order in an independent list.

Duplicates #218


Camera lookAt

Deprecated the eye, target, and up parameters to Camera.lookAt.
Camera.lookAt now sets the camera position and orientation using a target, offset and transformation matrix. The target must be given in world coordinates. The offset is a cartesian offset from the target in a reference frame centered by the target. By default, the reference frame is the local east-north-up frame centered at the target. The transformation matrix can be used to specify a different reference frame.

Does this require any updates to the camera tutorial?

Does this require any updates to the camera tutorial?

Nothing needs to be updated, but I'm going to add a section for this since I think it will be more widely used now.

@pjcozzi This is ready for another review.
I plan to deprecate the transform property and the setTransform function. I'd make the transform a read-only property and remove the function (though I'd keep a private version because its useful internally). I want to do it in a separate PR. I'm not sure how much these changes would affect.

@pjcozzi This is ready for another review. I'll summarize the changes since last time you looked at it:

Added HeadingPitchRange which has heading and pitch angle properties in radians and a range in meters.
Camera.lookAt now takes a target and an offset. The offset can be be either a Cartesian3 or a HeadingPitchRange. The offset is in the east-north-up reference frame centered at target.
Added Camera.lookAtTransform which is the same as lookAt, but takes a 4x4 matrix instead of a target and east-north-up frame.
Deprecated the Camera.setTransform function and the Camera.transform property.

Beautiful.  Let the forum know this is coming in 1.6.


test_multiple_capture failing on alpine starting with ci #1015

alpine builds failed three nights in a row, always in test_multiple_capture.
Looks like docker image/python version did not change between #1014 and #1015, but platform did?
Linux-5.11.0-1028-azure-x86_64-with -> Linux-5.13.0-1017-azure-x86_64-with.

Added work-around.


Sort commands with similarity of command name

for command list:
there is difference near publish and sync.
BEFORE
branches Get a nice pretty list of branches.
graft <branch> <into-branch> Merges specified branch into the second branch, and removes it.
harvest [<branch>] <into-branch> Auto-Merge/Rebase of specified branch changes into the second branch.
help <command> Display help for legit command.
install Installs legit git aliases.
publish <branch> Publishes specified branch to the remote.
sync <branch> Syncronizes the given branch.
settings Opens legit settings in a text editor.
sprout [<branch>] <new-branch> Creates a new branch off of the specified branch.
switch <branch> Switches to specified branch.
sync <branch> Syncronizes the given branch.
unpublish <branch> Removes specified branch from the remote.

AFTER
branches Get a nice pretty list of branches.
graft <branch> <into-branch> Merges specified branch into the second branch, and removes it.
harvest [<branch>] <into-branch> Auto-Merge/Rebase of specified branch changes into the second branch.
help <command> Display help for legit command.
install Installs legit git aliases.
publish [<branch>] Publishes specified branch to the remote.
unpublish <branch> Removes specified branch from the remote.
resync <upstream-branch> Re-synchronize current branch with specified upstream branch.
sync <branch> Synchronizes the given branch.
settings Opens legit settings in a text editor.
sprout [<branch>] <new-branch> Creates a new branch off of the specified branch.
switch <branch> Switches to specified branch.

:sparkles: :cake: :sparkles:


JSON debug output

would be nicer if the debug output was more consumable, so I could use it with tools like jq in bash

added in 92929ceadbfe45d1c433ac8849cdf9c893d24fc8


[Question] Restore data after fresh OS install

What is your question?
Hey, First, thank you for Insomnia, it's a very cool software I use more and more every day.
I have an "issue". I formated my linux computer, reinstalled a fresh linux , rsync my home , installed insomnia and ran the program. Then nothing in the UI, my settings are not "read / recognized" even if my .conf/Insomnia folder is populated like the FAQ describes

Mine looks like this and my insomnia is empty :cry:

Nothing in env managements and everywhere else even if the help>show app data folder works properly.
Do I have something else to try to recover my settings are they just lost ?
Thank you for any help / suggestion.

If your rsync included the .config/Insomnia folder, then it should have re-opened with all your data. Did you have a backup that you can pull from?

I have no backup, only the .config/Insomnia folder. It does not work as expected. That's strange as zll other software continued ,working the same with rsync

If you inspect the *.db files in the Insomnia/ folder, do you see your data in there?
Also, be sure to check Help > Show AppData Folder within Insomnia to ensure it's pointing to the same place as before.

I should have worked, but it did not . I wiped my work and started another project.

@gschier Thanks! Recently accidentally formatted my pc but still had access to AppData and was able to restore my Workspaces by copying all of the .db files.


Implement --outdir

Allow user to specify an output directory. Should try to make the directory if it does not exist.

Won't do


Issue 907

Update Fork REPO

          1 Message

:book:
Thank you for submitting a pull request to SwifterSwift. The team will review your submission as soon as possible.

  Generated by :no_entry_sign: Danger


7.0.0 _glob_to_regex fails in directories with regexp characters

Describe the bug
We build and test in directories that contain the + character (as a separator in a version string).  Using a .coveragerc file in such a directory that contains an omit specification that does not begin with a * or ? wildcard fails.
To Reproduce
How can we reproduce the problem?  Please be specific. Don't link to a failing CI job. Answer the questions below:

What version of Python are you using?
3.10
What version of coverage.py shows the problem? The output of coverage debug sys is helpful.
7.0.0.  6.5.0 is fine.

-- sys -------------------------------------------------------
               coverage_version: 7.0.0
                coverage_module: /sdf/home/k/ktl/.conda/envs/covtest/lib/python3.10/site-packages/coverage/__init__.py
                         tracer: -none-
                        CTracer: available
           plugins.file_tracers: -none-
            plugins.configurers: -none-
      plugins.context_switchers: -none-
              configs_attempted: .coveragerc
                                 setup.cfg
                                 tox.ini
                                 pyproject.toml
                   configs_read: -none-
                    config_file: None
                config_contents: -none-
                      data_file: -none-
                         python: 3.10.8 | packaged by conda-forge | (main, Nov 22 2022, 08:23:14) [GCC 10.4.0]
                       platform: Linux-4.18.0-372.32.1.el8_6.x86_64-x86_64-with-glibc2.28
                 implementation: CPython
                     executable: /sdf/home/k/ktl/.conda/envs/covtest/bin/python
                   def_encoding: utf-8
                    fs_encoding: utf-8
                            pid: 2829394
                            cwd: /sdf/home/k/ktl
                           path: /sdf/home/k/ktl/.conda/envs/covtest/bin
                                 /sdf/home/k/ktl/.conda/envs/covtest/eups/python
                                 /sdf/home/k/ktl/.conda/envs/covtest/lib/python310.zip
                                 /sdf/home/k/ktl/.conda/envs/covtest/lib/python3.10
                                 /sdf/home/k/ktl/.conda/envs/covtest/lib/python3.10/lib-dynload
                                 /sdf/home/k/ktl/.conda/envs/covtest/lib/python3.10/site-packages
                    environment: CONDA_PYTHONBREAKPOINT =
                                 CONDA_PYTHON_EXE = /sdf/group/rubin/sw/conda/bin/python
                                 HOME = /sdf/home/k/ktl
                                 OBJCOPY = /sdf/home/k/ktl/.conda/envs/covtest/bin/x86_64-conda-linux-gnu-objcopy
                                 PYTHONPATH = /sdf/home/k/ktl/.conda/envs/covtest/eups/python
                                 _CONDA_PYTHON_SYSCONFIGDATA_NAME = _sysconfigdata_x86_64_conda_cos6_linux_gnu
                   command_line: /sdf/home/k/ktl/.conda/envs/covtest/bin/coverage debug sys
         sqlite3_sqlite_version: 3.40.0
             sqlite3_temp_store: 0
        sqlite3_compile_options: ATOMIC_INTRINSICS=1, COMPILER=gcc-10.4.0, DEFAULT_AUTOVACUUM,
                                 DEFAULT_CACHE_SIZE=-2000, DEFAULT_FILE_FORMAT=4,
                                 DEFAULT_JOURNAL_SIZE_LIMIT=-1, DEFAULT_MMAP_SIZE=0, DEFAULT_PAGE_SIZE=4096,
                                 DEFAULT_PCACHE_INITSZ=20, DEFAULT_RECURSIVE_TRIGGERS,
                                 DEFAULT_SECTOR_SIZE=4096, DEFAULT_SYNCHRONOUS=2,
                                 DEFAULT_WAL_AUTOCHECKPOINT=1000, DEFAULT_WAL_SYNCHRONOUS=2,
                                 DEFAULT_WORKER_THREADS=0, ENABLE_COLUMN_METADATA, ENABLE_DBSTAT_VTAB,
                                 ENABLE_FTS3, ENABLE_FTS3_TOKENIZER, ENABLE_FTS4, ENABLE_FTS5,
                                 ENABLE_GEOPOLY, ENABLE_MATH_FUNCTIONS, ENABLE_RTREE, ENABLE_UNLOCK_NOTIFY,
                                 MALLOC_SOFT_LIMIT=1024, MAX_ATTACHED=10, MAX_COLUMN=2000,
                                 MAX_COMPOUND_SELECT=500, MAX_DEFAULT_PAGE_SIZE=8192, MAX_EXPR_DEPTH=10000,
                                 MAX_FUNCTION_ARG=127, MAX_LENGTH=1000000000, MAX_LIKE_PATTERN_LENGTH=50000,
                                 MAX_MMAP_SIZE=0x7fff0000, MAX_PAGE_COUNT=1073741823, MAX_PAGE_SIZE=65536,
                                 MAX_SQL_LENGTH=1000000000, MAX_TRIGGER_DEPTH=1000,
                                 MAX_VARIABLE_NUMBER=250000, MAX_VDBE_OP=250000000, MAX_WORKER_THREADS=8,
                                 MUTEX_PTHREADS, SECURE_DELETE, SYSTEM_MALLOC, TEMP_STORE=1, THREADSAFE=1

What versions of what packages do you have installed? The output of pip freeze is helpful.

(covtest) $ conda list
# packages in environment at /sdf/home/k/ktl/.conda/envs/covtest:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
ca-certificates           2022.12.7            ha878542_0    conda-forge
coverage                  7.0.0           py311h2582759_0    conda-forge
ld_impl_linux-64          2.39                 hcc3a1bd_1    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-ng                 12.2.0              h65d4601_19    conda-forge
libgomp                   12.2.0              h65d4601_19    conda-forge
libnsl                    2.0.0                h7f98852_0    conda-forge
libsqlite                 3.40.0               h753d276_0    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libzlib                   1.2.13               h166bdaf_4    conda-forge
ncurses                   6.3                  h27087fc_1    conda-forge
openssl                   3.0.7                h0b41bf4_1    conda-forge
pip                       22.3.1             pyhd8ed1ab_0    conda-forge
python                    3.11.0          ha86cf86_0_cpython    conda-forge
python_abi                3.11                    3_cp311    conda-forge
readline                  8.1.2                h0f457ee_0    conda-forge
setuptools                65.6.3             pyhd8ed1ab_0    conda-forge
tk                        8.6.12               h27826a3_0    conda-forge
tomli                     2.0.1              pyhd8ed1ab_0    conda-forge
tzdata                    2022g                h191b570_0    conda-forge
wheel                     0.38.4             pyhd8ed1ab_0    conda-forge
xz                        5.2.6                h166bdaf_0    conda-forge

What code shows the problem?  Give us a specific commit of a specific repo that we can check out. If you've already worked around the problem, please provide a commit before that fix.

$ mkdir cov+test cov+test/tests
$ cd cov+test
$ echo -e "[run]\nomit = x/*" > .coveragerc
$ echo -e "def test_foo():\n    assert 4 == 4" > tests/test_foo.py
$ coverage run tests/test_foo.py
File pattern can't include '+'
$ cd ..
$ mv cov+test covtest
$ cd covtest
$ coverage run tests/test_foo.py
$

What commands did you run?
See above.

Expected behavior
See above.
Additional context
I'm not sure why a complex custom glob-to-regexp translator was used instead of glob, but I suggest that regexp metacharacters be quoted instead of causing failures, as they're quite legal and not infrequently used in pathnames.  Perhaps leaving out files.py:328 would be sufficient.

This is now fixed in commit 152cdc7a.  Plus signs and curly braces are no longer forbidden in directory and file names.

This is now released as part of coverage 7.0.1.


Not able to save images in store state

Hi author,
I was trying to store image file in the state. But, somehow its getting remove while storing. Please help me out with the solution.

There wouldn't be a way to store an image file in any front-end state store unless you base64 encode the bytes. You could store a URL for an image as a property of the store of course, but that's entirely different.
Storing an actual image isn't something I'd recommend unless the image is really small because the store clones (ensures immutable data) store data and that could be expensive if the image is very big. If you really need to store an image on the front-end you might consider localStorage or sessionStorage. That way the image bytes/base64 data won't be cloned.
Since this isn't something I'd recommend for any front-end store I'm going to close the issue. But, if you still want to do it you'll need to convert the image to a byte[] and then base64 encode that for storage on anything related to the front-end.


CompareFaces always returns true

Hello @takuya-takeuchi!
I'm hoping you can help me. Every time I call FaceRecognition.CompareFaces on a previously saved FaceEncoding it always returns true. Can you please have a look and advise if I'm doing something wrong? Note I left out my usings and namespace.
FaceRecognitionDotNet: <IP_ADDRESS>
DlibDotNet: <IP_ADDRESS>00525
Sample pictures: https://www.sendspace.com/file/qo6egt
Model files: https://github.com/ageitgey/face_recognition_models/tree/master/face_recognition_models/models
Thanks in advance for your help!
PS: FaceRecognitionDotNet作れてくてありがとうございました！僕は日本人じゃないけど、奥さんがは日本人です。9年かん日本語を勉強したですがあまり上手じゃない。
public class FaceCompareTest
    {
        string testDir = @"samples";
        static FaceRecognition _FaceRecognition = FaceRecognition.Create(Path.GetFullPath("models"));

        private async Task Discover()
        {
            // get the sample pictures.
            var files = Directory.EnumerateFiles(testDir, "*.jpg");

            // create the face index.
            var index = new Dictionary<string, List<FaceEncoding>>();

            // begin processing each picture.
            int count = 0;
            foreach (var file in files)
            {
                var faces = new List<string>();
                int faceDetectCount;

                // load the picture file as .NET bitmap.
                using (Bitmap originalImg = (Bitmap)System.Drawing.Image.FromFile(file))
                {
                    // load the bitmap into a FaceRecognition image.
                    using (var unknownImage = FaceRecognition.LoadImage(originalImg))
                    {
                        // compute the image's face encodings.
                        var encodings = await Task.Run(() => _FaceRecognition.FaceEncodings(unknownImage, null, 0, PredictorModel.Large).ToArray());
                        faceDetectCount = encodings.Count();

                        // determine if it's a face we've already seen.
                        foreach (var encoding in encodings)
                        {
                            // search for current face encoding in the face index.
                            var person = index.FirstOrDefault(kv => FaceRecognition.CompareFaces(kv.Value, encoding).Any());
                            var personName = $"Unknown {index.Count + 1}";

                            if (person.Key == null)
                            {
                                // face is not present in the index. this is an unknown face. add them to the index.
                                index.Add(personName, new List<FaceEncoding> { encoding });
                            }
                            else
                            {
                                // face was recognized. grab their name.
                                personName = person.Key;
                            }

                            // accumulate the face for subsequent reporting.
                            faces.Add(personName);
                        }
                    }

                    // remove any accumulate duplicates.
                    faces = faces.Distinct().ToList();

                    // report the face recognition findings.
                    Console.WriteLine($"[{count}/{files.Count()}] {Path.GetFileName(file)}: {faceDetectCount} face(s): {string.Join(", ", faces)}");
                }
            }
        }
}

@ddili
sorry. I'm very busy inspite of new year.
but i will check and reply your issue.
thanks.

@ddili
sorry. I'm very busy inspite of new year.
but i will check and reply your issue.
thanks.

@ddili
OK, I found issue of usage .
CompareFaces returns collection of match results.
var person = index.FirstOrDefault(kv => FaceRecognition.CompareFaces(kv.Value, encoding).Any());

But your code call Any method.
So I guess your intension is
var person = index.FirstOrDefault(kv =>
{
    var results = FaceRecognition.CompareFaces(kv.Value, encoding).ToArray();
    return results.FirstOrDefault(t => t);
});

@ddili
OK, I found issue of usage .
CompareFaces returns collection of match results.
var person = index.FirstOrDefault(kv => FaceRecognition.CompareFaces(kv.Value, encoding).Any());

But your code call Any method.
So I guess your intension is
var person = index.FirstOrDefault(kv =>
{
    var results = FaceRecognition.CompareFaces(kv.Value, encoding).ToArray();
    return results.FirstOrDefault(t => t);
});


Update installation process which works for tm2py + Emme

As a user, I'd like to have a documented python environment which works for tm2py and Emme
Progress checklist:

[x] Problem defined
[ ] Cause found (need help from @inrokevin or INRO collaborators)
[ ] Defined successful versions in a checked-in environment.yml
[ ] Updated installation instructions

I'm not sure if this is a chore or a bug yet so I'm just starting a discussion here.  My tm2py environment broke (GDAL runtime errors -- so I think) so I decided to make a new one.
I started by created a new conda environment
and installing python and then installing Emme packages (from the Emme GUI)
and then installing tm2py:
(base) X:\tm2py>conda create --name tm2py
(base) X:\tm2py>conda activate tm2py
(tm2py) X:\tm2py>conda install python

At this point, I installed Emme python packages via the Emme GUI (Application Options > Modeller)
(tm2py) X:\tm2py>pip show inro-emme
Name: inro-emme
Version: 4.6.0
Summary: Emme API
Home-page: http://inrosoftware.com
Author:
Author-email:
License: Proprietary
Location: c:\program files\inro\emme\emme 4\emme-4.6.0\python37\lib\site-packages
Requires: Cheetah3, colour, numexpr, numpy, orderedset, ply, pywin32
Required-by: inro-emme-agent, inro-modeller

(tm2py) X:\tm2py>pip install -e .
Obtaining file:///X:/tm2py
  Preparing metadata (setup.py) ... done
Collecting geojson
  Using cached geojson-2.5.0-py2.py3-none-any.whl (14 kB)
Collecting geographiclib
  Using cached geographiclib-2.0-py3-none-any.whl (40 kB)
Collecting geopandas>0.8.0
[... lots of info not pasted for brevity...]

  Attempting uninstall: pytz
    Found existing installation: pytz 2018.9
    Uninstalling pytz-2018.9:
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'c:\\program files\\inro\\emme\\emme 4\\emme-4.6.0\\python37\\lib\\site-packages\\pytz-2018.9.dist-info\\DESCRIPTION.rst'
Consider using the `--user` option or check the permissions.

cc @inrokevin @e-lo

I was trying this order of operations because if I install using the directions (the environment file) then that's how I got the GDAL error since it installed GDAL instead of using the Emme version:
(tm2py) X:\tm2py>pip show gdal
Name: GDAL
Version: 2.3.3
Summary: GDAL: Geospatial Data Abstraction Library
Home-page: http://www.gdal.org
Author: Frank Warmerdam
Author-email<EMAIL_ADDRESS>License: MIT
Location: c:\program files\inro\emme\emme 4\emme-4.6.0\python37\lib\site-packages
Requires:
Required-by: cityphi-emme, cityphi-studio, inro-emme-agent

After a lot of iterations, the following commands resolved errors which seem to be related to packages:
(base) X:\tm2py>conda create --name tm2py
(base) X:\tm2py>conda activate tm2py
(tm2py) X:\tm2py>conda install python
(tm2py) conda install pytz==2021.1
(tm2py) conda install shapely==1.8.0
(tm2py) conda install python-dateutil==2.8.2
(tm2py) conda install pyproj==3.3.1
(tm2py) conda install pygments==2.12.0
(tm2py) conda install markupsafe==2.1.0
(tm2py) conda install jinja2==3.0.3
(tm2py) conda install click==8.1.0
(tm2py) conda install attrs==21.4.0
(tm2py) conda install pandas==1.4.2
(tm2py) conda install matplotlib-base==3.5.1 matplotlib-inline==0.1.3
(tm2py) conda install cligj==0.7.2

Installed Emme python packages via the Emme GUI (Application Options > Modeller)
(tm2py) X:\tm2py>pip install -e .

But now I'm getting this error when I try to run on develop branch:
(tm2py) E:\Model2C-Share\Projects_TM2\example_union_test_highway>python X:\tm2py\bin\tm2py -m model_config.toml -s scenario_config.toml
Traceback (most recent call last):
  File "X:\tm2py\bin\tm2py", line 5, in <module>
    from tm2py.controller import RunController
  File "\\mainmodel\mainmodelshare\tm2py\tm2py\__init__.py", line 12, in <module>
    from .controller import RunController
  File "\\mainmodel\mainmodelshare\tm2py\tm2py\controller.py", line 22, in <module>
    from tm2py.emme.manager import EmmeManager
  File "\\mainmodel\mainmodelshare\tm2py\tm2py\emme\manager.py", line 19, in <module>
    from inro.emme.database.emmebank import Emmebank
ImportError: bad magic number in 'inro.emme.database.emmebank': b'B\r\r\n'

I updated the above comment because I got further, but I still get an exception from Emme.  @inrokevin ?

Just a note that in addition to updating the documentation, we should create a conda environment.yml file which is like a lock file of "what we know works"

This might be a separate issue, but the environment.yml file doesn't appear to be working for a fresh install. It appears that most of the packages could not be identified in conda (an incomplete list below).

From internal meeting on June 12, 2023 (cc @DavidOry) - Jia Hao was able to finish installing tm2py and start a run. So currently both Arash and Jia Hao are unblocked by the installation.
@AshishKuls @arashasadabadi are creating a memo documenting the latest installation steps. @AshishKuls, please update the installation in ReadMe.md.


Don't match on complex expression

Passing a complex expression to match is hard to read. Assign it to a variable first.

Oh, I see, I thought it was suggesting we just assign the closure to a variable.
Ok, this is better. I will cherry-pick this into #2304.

The PR fulfilled its purpose.


[Bug - Edge Addons]

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Hi @babaksalmani, could you please elaborate on your concern so that we can properly assist you?

Since we haven’t received a response from you, we will be closing it for now. However, if you have any other concerns, please contact us. We’re here to assist you accordingly.


examples/japanese.pdf shows vertical Japanese, the one created by sile not

extracting sile-0.9.3.tar.bz2 , accessing examples/japanese.pdf shows vertical Japanese kanji
./configure && make -j6
replacing "family=Hiragino Mincho Pro" in examples/japanese.sil with "Noto Sans JP" or other fonts
running "./sile examples/japanese.sil", created japanese.pdf contains horizontal kanji

Hi Christian. I am currently working on ruby support in tate environments, so it's not quite working at the moment. However, to get vertical Japanese, set layout=tate in your document class settings. i.e. change:
\begin[papersize=a4,class=jplain]{document}%

to
\begin[papersize=a4,class=jplain,layout=tate]{document}%

Hi Simon,
indeed, thanks!
The examples are extremely useful for looking up ways to accomplish something. I was irritated getting a result differently from the shipped japanese.pdf .
Great work, thanks!


Default path should be changed

To conform with FishNet's layout and prevent confusion if this doesn't require being in a Unity-reserved /Plugins dir, this probably shouldn't be FishNet/Plugins/, but FishNet/Runtime/Transporting/Transports/ to be a sibling of the other transports.
Unless there's something that actually needs to be compiled to a Unity /Plugins/ dir? I was able to run it fine (tested with WSS TLS) without being in a /Plugins dir

Most likely going to do a path reform on some things in v4 release. I'd
like to keep things that have to be manually imported in the plug-ins
folder and default components under Runtime.
The idea would be if someone had to wipe their FishNet folder they could
just move out the plug-ins before deleting, or simply restore via git after
wipe.
On Thu, Sep 7, 2023, 10:23 PM dh-hathora @.***> wrote:

[image: image]
https://user-images.githubusercontent.com/135207109/266483468-e95debac-9ba3-4814-b852-00d9232a9f21.png
To conform with FishNet's layout, this probably shouldn't be
FishNet/Plugins/, but FishNet/Runtime/Transporting/Transports/
—
Reply to this email directly, view it on GitHub
https://github.com/FirstGearGames/Bayou/issues/8, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGPJC3TRSMY4NZH63MWLIZ3XZJ6TPANCNFSM6AAAAAA4PW6RVY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Changed in v4


hotfix for completion after semicolon

Issue #75

merged into racer-plus package here https://github.com/Xaeroxe/atom-racer


can see only login page after that all 404 errors

im on wsl ubuntu ,installed papermerge manual way,then after installation when running server can access only login page ,after entering credentials redirected to index3.html which is 404 error

oops! i cloned master repo thats why it gave me error.then i cloned the branch mentioned in installation docs now it works..

works great after cloning the branch mentioned in documentaion


[CARBONDATA-1548] resolved bug for creating table with spaces using datasource

https://issues.apache.org/jira/browse/CARBONDATA-1548

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/441/

retest this please

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/442/

retest this please

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/1070/

Build Success with Spark 1.6, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/319/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/444/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/1071/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/1072/

Please add test case

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/1177/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/546/

@ravipesala can you review this PR?

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1414/

Build Failed with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/962/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3063/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/4307/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/4640/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3985/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7133/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5909/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/60/

Build Failed  with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/8809/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/742/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/564/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/2012/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/2189/

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/10264/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/87/

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/86/

Build Failed  with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/84/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12444/job/ApacheCarbonPRBuilder2.3/5198/


Assertion error when calling export_recombinants

I'm getting this assertion error:
---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
/Users/szhan/Projects/sc2nb/notebooks/examine_recombinants.ipynb Cell 4 in <cell line: 1>()
----> [1](vscode-notebook-cell:/Users/szhan/Projects/sc2nb/notebooks/examine_recombinants.ipynb#X16sZmlsZQ%3D%3D?line=0) ti.export_recombinants()

File ~/Projects/sc2ts/sc2ts/utils.py:530, in TreeInfo.export_recombinants(self)
    528 md = self.nodes_metadata[u]
    529 row = md["match_info"]
--> 530 assert len(row) == 2
    531 assert row[0]["strain"] == row[1]["strain"]
    532 matches = []

AssertionError:

When I called the function, row didn't seem to be accessed as a list of dict. However, when I used ast.literal_eval(), it worked.
import ast

for u in ti.recombinants:
    md = ti.nodes_metadata[u]
    row = ast.literal_eval(md["match_info"])
    print(md["match_info"])
    print(row[0]["strain"])
    print(row[1]["strain"])
    break

I'm not sure if there is something wrong with my environment.

I think I was using older copies of the ts files.


Use Hazelcast Platform product instead of Hazelcats IMDG product in future WSO2 IS releases

Is your suggestion related to an experience ? Please describe.
Currently in the WSO2 IS we are using hazelcast-all[1][2] in our orbit. Hazelcast-all is the maven Jar of the Hazelcast IMDG product[3]. In the latest WSO2 IS master branch we are using the hazelcast-all version 4.2.6 and this is the latest hazelcast version that we have used.
In 2021 Hazelacst has released the Hazelcast Platform product 5.0 [4] and there recommendation[5] is to use Hazelcast Platform product[6] instead of the Hazelcast IMDG product. They have also mentioned that they do not plan to release any new minor versions of Hazelcast IMDG &  all the new feature development will continue in the new Hazelcast product.[7]
Describe the improvement
Use Hazelcast Platform product instead of Hazelcats IMDG product in future WSO2 IS releases
[1] https://mvnrepository.com/artifact/com.hazelcast/hazelcast-all
[2] https://github.com/wso2/orbit/blob/6d7956e0fbf3b5fb0908dc6469eb94e061d9dbcb/hazelcast/3.12.13.wso2v1/pom.xml#L38
[3] https://docs.hazelcast.com/imdg/4.2/
[4] https://hazelcast.com/blog/streaming-and-imdg-coming-together-hazelcast-platform-5-0-is-released/
[5] https://github.com/hazelcast/hazelcast/issues/25405
[6] https://docs.hazelcast.com/hazelcast/5.3/
[7] https://hazelcast.com/blog/streaming-and-imdg-coming-together-hazelcast-platform-5-0-is-released/#:~:text=Future of IMDG and Jet

Creating orbit bundle https://github.com/wso2/orbit/pull/1012

Basic functionality tested for WKA and Kubernetes clustering schemes. Clustering related operations seems to be working


(BUG) IOS: The"OK" and "Read More" buttons aren't displayed on the "Cookie Policy" pop-up

Steps to reproduce:

Open the "Privacy policy & Terms" page on the devices with IOS system
Pay attention to the lack of the "OK" and "Read More" button on the  "Cookie Policy" pop-up

Actual result: The"OK" and "Read More" buttons aren't displayed on the "Cookie Policy" pop-up
Expected result: The"OK" and "Read More" buttons should be displayed on the "Cookie Policy" pop-up
Checked on prod  V1.2.4
iPhone 8 //13.3.1
iPhone X	//13.3.1

They're also a part of https://community.gooddollar.org:

So we couldn't fix this bug in the scope of GoodDapp.
@sirpy @Talbatz Could you please look ?

we change the url.. lets recheck this once its done


CocoaPods could not find compatible versions for pod "callkeep"

When I'm running pod install, this is the error message I received.
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "callkeep":
  In Podfile:
    callkeep (from `.symlinks/plugins/callkeep/ios`)

Specs satisfying the `callkeep (from `.symlinks/plugins/callkeep/ios`)` dependency were found, but they required a higher minimum deployment target.

When I run the project, I get the following error:
Launching lib/main.dart on iPhone in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: 59HZQ7G7DK
Running pod install...
CocoaPods' output:
↳
      Preparing

    Analyzing dependencies

    Inspecting targets to integrate
      Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)

    Fetching external sources
    -> Fetching podspec for `Flutter` from `Flutter`
    -> Fetching podspec for `callkeep` from `.symlinks/plugins/callkeep/ios`
    -> Fetching podspec for `firebase_core` from `.symlinks/plugins/firebase_core/ios`
    firebase_core: Using Firebase SDK version '6.33.0' defined in 'firebase_core'
    -> Fetching podspec for `firebase_messaging` from `.symlinks/plugins/firebase_messaging/ios`
    firebase_messaging: Using Firebase SDK version '6.33.0' defined in 'firebase_core'
    -> Fetching podspec for `path_provider` from `.symlinks/plugins/path_provider/ios`
    -> Fetching podspec for `sqflite` from `.symlinks/plugins/sqflite/ios`
    -> Fetching podspec for `video_player` from `.symlinks/plugins/video_player/ios`

    Resolving dependencies of `Podfile`
      CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only perfomed in repo update
    [!] CocoaPods could not find compatible versions for pod "callkeep":
      In Podfile:
        callkeep (from `.symlinks/plugins/callkeep/ios`)

    Specs satisfying the `callkeep (from `.symlinks/plugins/callkeep/ios`)` dependency were found, but they required a higher minimum deployment target.

    /opt/homebrew/Cellar/cocoapods/1.10.1_1/libexec/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:328:in `raise_error_unless_state'
    /opt/homebrew/Cellar/cocoapods/1.10.1_1/libexec/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:310:in `block in unwind_for_conflict'
    <internal:kernel>:90:in `tap'
    /opt/homebrew/Cellar/cocoapods/1.10.1_1/libexec/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:308:in `unwind_for_conflict'
    /opt/homebrew/Cellar/cocoapods/1.10.1_1/libexec/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:684:in `attempt_to_activate'
    /opt/homebrew/Cellar/cocoapods/1.10.1_1/libexec/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:254:in `process_topmost_state'
    /opt/homebrew/Cellar/cocoapods/1.10.1_1/libexec/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:182:in `resolve'
    /opt/homebrew/Cellar/cocoapods/1.10.1_1/libexec/gems/molinillo-0.6.6/lib/molinillo/resolver.rb:43:in `resolve'
    /opt/homebrew/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/resolver.rb:94:in `resolve'
    /opt/homebrew/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:1074:in `block in resolve_dependencies'
    /opt/homebrew/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section'
    /opt/homebrew/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:1072:in `resolve_dependencies'
    /opt/homebrew/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:124:in `analyze'
    /opt/homebrew/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:414:in `analyze'
    /opt/homebrew/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:239:in `block in resolve_dependencies'
    /opt/homebrew/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section'
    /opt/homebrew/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:238:in `resolve_dependencies'
    /opt/homebrew/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:160:in `install!'
    /opt/homebrew/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/command/install.rb:52:in `run'
    /opt/homebrew/Cellar/cocoapods/1.10.1_1/libexec/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
    /opt/homebrew/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/command.rb:52:in `run'
    /opt/homebrew/Cellar/cocoapods/1.10.1_1/libexec/gems/cocoapods-1.10.1/bin/pod:55:in `<top (required)>'
    /opt/homebrew/Cellar/cocoapods/1.10.1_1/libexec/bin/pod:23:in `load'
    /opt/homebrew/Cellar/cocoapods/1.10.1_1/libexec/bin/pod:23:in `<main>'

Error output from CocoaPods:
↳

    [!] Automatically assigning platform `iOS` with version `9.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

Exception: Error running pod install

To reproduce the error:

Create a new flutter example project
Add Packages

callkeep: ^0.2.4
firebase_messaging: ^7.0.0

Copy paste the whole 'main' file in callkeep/example/lib/main.dart into the example project
Change platform :ios in Podfile to '10.0'
Run code

Anybody knows how to resolve this error? Any help would be appreciated! Thanks in advance!
I have attached flutter doctor below:
• Android SDK at /Users/troylee/Library/Android/sdk
  • Platform android-30, build-tools 30.0.3
  • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
  • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
  • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
  • Xcode at /Applications/Xcode.app/Contents/Developer
  • Xcode 12.4, Build version 12D4e
  • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
  • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
  • Android Studio at /Applications/Android Studio.app/Contents
  • Flutter plugin can be installed from:
    🔨 https://plugins.jetbrains.com/plugin/9212-flutter
  • Dart plugin can be installed from:
    🔨 https://plugins.jetbrains.com/plugin/6351-dart
  • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] Connected device (3 available)
  • iPhone (mobile)            • 5bde4016fc4cc9d49f209df573d985f1439d5ef0 • ios            • iOS 14.4
  • iPhone 12 Pro Max (mobile) • 7674A9DB-32BF-4027-BBDC-8FED2DD2008F     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-4
    (simulator)
  • Chrome (web)               • chrome                                   • web-javascript • Google Chrome 91.0.4472.77

• No issues found!

Managed to resolved the issue with by Editing infoplist and adding
<array>
        <string>remote-notification</string>
        <string>voip</string>
</array>


Ctrl+f on archive tab reports ghost occurrences

Describe the bug
ctrl+f on the archive tab on job reports finds way more occurrences of words than there really are.

how to reproduce:
Go to Archive tab on any job report and Look at the scrolling bar of the browser and the number of occurrences
Expect:
I expected to only find actual visible text.

environment:
OS: macos 14
Browser: chrome

screenshot:

Steps to reproduce the behavior:

Go to Archive tab on any job report
Click on the browser page, and ctrl+f anything
Scroll down to the end and look at the number of occurrences
See error


arp: fix nh lookup

During the processing of an arp message, update the existing nexthop instead of creating a duplicated entry in the nh table.
Closes: https://github.com/DPDK/grout/issues/89

Hey Chris, can you explain your reasoning here? I don't understand why it is necessary to update both?

I update both entries as in the next hop table, we may have 2 entries for a single IP:
grout# show ip nexthop
VRF  IP       MAC                IFACE    QUEUE  AGE  STATE
0    <IP_ADDRESS>  b4:83:51:05:43:ca  dpdk-p0  0      420  reachable gateway
0    <IP_ADDRESS>  b4:83:51:05:43:ca  dpdk-p0  0      420  reachable

This is because we may have have an additional <IP_ADDRESS>/32 in the route table:
grout# show ip route
DESTINATION  NEXT_HOP
<IP_ADDRESS>/32   <IP_ADDRESS>
<IP_ADDRESS>/24   <IP_ADDRESS>
<IP_ADDRESS>/8   <IP_ADDRESS>


Feat: new boots and tests tables

Converts the old tables of the boots and tests tab of Tree Details page to use tanstack-table. This allows to sort any desired column. This also changes the subtables of each test under the tests tab table.
To test, go to any tree detail with boots and/or tests data, go to boots/tests tab and see the new tables.
Closes #388
Part of #387

In test boot tables, the TableCell component is without link.
See http://localhost:5173/tree/9af9b0c57452bf5cc2390cd105b68f216310c883?tableFilter={"buildsTable"%3A"all"%2C"bootsTable"%3A"all"%2C"testsTable"%3A"all"}&origin=maestro&currentTreeDetailsTab=treeDetails.boots&diffFilter={}&treeInfo={"gitBranch"%3A"android-mainline"%2C"gitUrl"%3A"https%3A%2F%2Fandroid.googlesource.com%2Fkernel%2Fcommon"%2C"treeName"%3A"android"%2C"commitName"%3A"v6.12-rc3-6456-g9af9b0c57452"%2C"headCommitHash"%3A"9af9b0c57452bf5cc2390cd105b68f216310c883"}