Invalid Examples for Sending transactions using Cis2Contract class.

Bug Description
As the usages are highlighted here
https://github.com/Concordium/concordium-node-sdk-js/blob/main/packages/web/example/SendCIS2Transfer.html
https://github.com/Concordium/concordium-node-sdk-js/blob/main/packages/web/example/SendCIS2UpdateOperator.html
The schema returned from contract.createUpdateOperator({energy: 10000n}, update). Cannot be used directly with walletApi.sendTransaction(connectedAccount, type, payload, json, schema) since the types are different. createUpdateOperator method returns a parameter schema.
Steps to Reproduce
execute the example
Expected Result
The schema returned from createUpdateOperator should be directly be usable with ``walletApi.sendTransaction`.
Actual Result
build error
Versions

Software Version
@concordium/web-sdk: 3.5.0

OS

Browser

Mobile device, if applicable

Hi @soerenbf
Apologies that my comment might be confusing. I was only referring to the types being used. Hope the screenshot will clarify a bit.
I get this typescript error when i try to use the code as it is

It requires a cast. So the following code works fine

Just wanted to point this out as the first version (with error) is the version which is available in the examples.

This will be fixed by making the browser wallet API compatible with the schema format returned by CIS2Contract.createUpdateOperator and CIS2Contract.createTransfer in upcoming patch version 2.5.1 of @concordium/browser-wallet-api-helpers instead of in this repository.
Here is a link to the PR https://github.com/Concordium/concordium-browser-wallet/pull/308
Closing this issue.


tf.nn.sigmoid and tf.nn.softmax diff?

The paper of He proposed sigmoid has more robust training effect than softmax, But he didn't explain why.  You can have a try.
I think maybe it depends the dependent of each probability of result, softmax may have more small probability values(all sum is 1), which may cause more negative samples.


[BUG] Ended because API returned an empty page

I've been deleting messages and it has worked perfectly all day until now where i've been faced with this issue on both firefox & chrome.
I attempt to delete the messages and it works as usual and the start message is blue text stating:
"Total messages found: amountOfMessages   (Messages in current page 25, To be deleted: 25, System 0)  Offset: 0 "
And it deletes all messages up until 25 messages where the same blue text appears followed by a yellow message.
"Total messages found: amountOfMessages   (Messages in current page 0, To be deleted: 0, System 0)  Offset: 0 "
"Ended because API Returned an empty page" ( In yellow text )
Then stops & ends with the usual green text message displaying how long taken. No red text signifying crashes.
Used the search delay: 100 & Import delay: 1000 (default settings) and have also experimented with higher ones but doesn't make any change. My ping is normal between 100-300 or so and has been at that all day when i was deleting so that hasn't changed.
EDIT after larryqiann's update:
It didn't fix it entirely. It fixed it/worked temporarily for most of the day but suddenly idk why NOW after every 25 msgs ("Total messages found: amountOfMessages (Messages in current page 0, To be deleted: 0, System 0) Offset: 0 ") is spammed fast asf many times until it gets to a moment where,  Yellow text describing the API is Going too fast with an unordinarily high MS around 29k+ and needs to cooldown?
EDIT:
PinkyLaRue's code had fixed this issue to an extent as the bug would appear from every 100-5000 or somewhere inbetween for me that is.
By combining pinky's + larryqiann's code it's been working smoothly all day deleting without the bug appearing
### LATEST EDIT:::
Unfortunately the combination IS NOT WORKING anymore, i'm not sure why. It deletes around 25 or so messages then the offset increments by 1 very fast and deletes 1 message or so then 25 then keeps spamming offset until im "Being rate limited"

I am also having the same issue, totally new to code and I have googled it and it looks like there are some fixes out there but I can't make any of them work.

I've been having this issue constantly today. The program no longer works for me I just get this error everytime. I use the program pretty often and this is the first time I have got this error.

I made some edits to the code that cause the program to continue to increment the offset until it finds something to delete.
the problem is, there are a LOT of empty pages, so you need to make sure to set the search delay to like 1-5 seconds otherwise you will get rate limited for a while. Make sure to watch the script and reload the page when its done to stop it, since my hack disables the ending logic.

I tried what you suggested, but unfortunately it doesn't seem to be working for me (I'm getting a parsing error, the code is not working). I'm super new to coding so if you have any tips or even if I could copy/paste your version into my script I would really appreciate it!

Ah, spoke too soon I had a typo and now it's working for me, thank you!

It worked! Thanks for the fix

@victornpb
Hi,
I have an easy fix for this issue:
Starting at line 216:
else {
if (total - offset > 0) {
//Increment offset by 25
offset += 25;
log.warn(Offset  incremented. Current offset: ${offset});
await wait(searchDelay);
if (stopHndl && stopHndl() === false) return end(log.error('Stopped by you!'));
return await recurse();
}
log.warn('Ended because API returned an empty page.');
return end();
Summary - Since everything is done in chunks of 25, if the system finds 1-25 messages it will delete them. If it finds 0 messages (but total-offset>0) it will increment the offset by 25 to skip the 25 non-deletable messages and recurse. If (total-offset <= 0) then it will still end.
Incrementing the offset by 1 each time is not ideal because you'll still be traversing huge chunks of dead messages.
I had the original problem described above earlier - I've been running this for several hours now and have deleted thousands of messages with no errors and no API-induced slowdowns.

@victornpb
Hi,
I have an easy fix for this issue:
Starting at line 216:
else {
if (total - offset > 0) {
//Increment offset by 25
offset += 25;
log.warn(Offset incremented. Current offset: ${offset});
await wait(searchDelay);
if (stopHndl && stopHndl() === false) return end(log.error('Stopped by you!'));
return await recurse();
}
log.warn('Ended because API returned an empty page.');
return end();
Summary - Since everything is done in chunks of 25, if the system finds 1-25 messages it will delete them. If it finds 0 messages (but total-offset>0) it will increment the offset by 25 to skip the 25 non-deletable messages and recurse. If (total-offset <= 0) then it will still end.
Incrementing the offset by 1 each time is not ideal because you'll still be traversing huge chunks of dead messages.
I had the original problem described above earlier - I've been running this for several hours now and have deleted thousands of messages with no errors and no API-induced slowdowns.

how would we put this into say like tamper monkey

@victornpb
Hi,
I have an easy fix for this issue:
Starting at line 216:
else {
if (total - offset > 0) {
//Increment offset by 25
offset += 25;
log.warn(Offset incremented. Current offset: ${offset});
await wait(searchDelay);
if (stopHndl && stopHndl() === false) return end(log.error('Stopped by you!'));
return await recurse();
}
log.warn('Ended because API returned an empty page.');
return end();
Summary - Since everything is done in chunks of 25, if the system finds 1-25 messages it will delete them. If it finds 0 messages (but total-offset>0) it will increment the offset by 25 to skip the 25 non-deletable messages and recurse. If (total-offset <= 0) then it will still end.
Incrementing the offset by 1 each time is not ideal because you'll still be traversing huge chunks of dead messages.
I had the original problem described above earlier - I've been running this for several hours now and have deleted thousands of messages with no errors and no API-induced slowdowns.

how would we put this into say like tamper monkey

Hi,
If you go in Tamper Monkey and open up the script for UnDiscord -> edit (I'm using GreaseMonkey, not sure if TamperMoney is different)...
Look in lines 217-220 of the original code (deleteDiscordMessages.user.js) you should see this
} else {
if (total - offset > 0) log.warn('Ended because API returned an empty page.');
return end();
}
Replace with this:
} else {
if (total - offset > 0) {
log.warn(Offset  ${offset});
offset += 25;
//log.warn(Offset  ${offset});
await wait(searchDelay);
if (stopHndl && stopHndl() === false) return end(log.error('Stopped by you!'));
return await recurse();
log.warn('Ended because API returned an empty page.');
}
return end();
}

@victornpb
Hi,
I have an easy fix for this issue:
Starting at line 216:
else {
if (total - offset > 0) {
//Increment offset by 25
offset += 25;
log.warn(Offset incremented. Current offset: ${offset});
await wait(searchDelay);
if (stopHndl && stopHndl() === false) return end(log.error('Stopped by you!'));
return await recurse();
}
log.warn('Ended because API returned an empty page.');
return end();
Summary - Since everything is done in chunks of 25, if the system finds 1-25 messages it will delete them. If it finds 0 messages (but total-offset>0) it will increment the offset by 25 to skip the 25 non-deletable messages and recurse. If (total-offset <= 0) then it will still end.
Incrementing the offset by 1 each time is not ideal because you'll still be traversing huge chunks of dead messages.
I had the original problem described above earlier - I've been running this for several hours now and have deleted thousands of messages with no errors and no API-induced slowdowns.

how would we put this into say like tamper monkey

Hi,
If you go in Tamper Monkey and open up the script for UnDiscord -> edit (I'm using GreaseMonkey, not sure if TamperMoney is different)...
Look in lines 217-220 of the original code (deleteDiscordMessages.user.js) you should see this
} else {
if (total - offset > 0) log.warn('Ended because API returned an empty page.');
return end();
}
Replace with this:
} else {
if (total - offset > 0) {
log.warn(Offset ${offset});
offset += 25;
//log.warn(Offset ${offset});
await wait(searchDelay);
if (stopHndl && stopHndl() === false) return end(log.error('Stopped by you!'));
return await recurse();
log.warn('Ended because API returned an empty page.');
}
return end();
}

@victornpb
Hi,
I have an easy fix for this issue:
Starting at line 216:
else {
if (total - offset > 0) {
//Increment offset by 25
offset += 25;
log.warn(Offset incremented. Current offset: ${offset});
await wait(searchDelay);
if (stopHndl && stopHndl() === false) return end(log.error('Stopped by you!'));
return await recurse();
}
log.warn('Ended because API returned an empty page.');
return end();
Summary - Since everything is done in chunks of 25, if the system finds 1-25 messages it will delete them. If it finds 0 messages (but total-offset>0) it will increment the offset by 25 to skip the 25 non-deletable messages and recurse. If (total-offset <= 0) then it will still end.
Incrementing the offset by 1 each time is not ideal because you'll still be traversing huge chunks of dead messages.
I had the original problem described above earlier - I've been running this for several hours now and have deleted thousands of messages with no errors and no API-induced slowdowns.

how would we put this into say like tamper monkey

Hi,
If you go in Tamper Monkey and open up the script for UnDiscord -> edit (I'm using GreaseMonkey, not sure if TamperMoney is different)...
Look in lines 217-220 of the original code (deleteDiscordMessages.user.js) you should see this
} else {
if (total - offset > 0) log.warn('Ended because API returned an empty page.');
return end();
}
Replace with this:
} else {
if (total - offset > 0) {
log.warn(Offset ${offset});
offset += 25;
//log.warn(Offset ${offset});
await wait(searchDelay);
if (stopHndl && stopHndl() === false) return end(log.error('Stopped by you!'));
return await recurse();
log.warn('Ended because API returned an empty page.');
}
return end();
}

the error doesnt pop up anymore but the trash can thing doesnt pop up anymore and when i use the normal code it pop up so could you please double check

@PinkyLaRue
Thanks for the help, but yea i'm having a similar issue of the trash can not being there with the new code, is there a way to fix this? Many thanks

ok, I see what happened ...
When I pasted in the code, it removed the `. This in turn, is causing the JS to not compile correctly, which is why you don't see the trash can.
Here is the code:
 } else {             if (total - offset > 0) {               log.warn(Offset  ${offset});               offset += 25;               //log.warn(Offset  ${offset});               await wait(searchDelay);               if (stopHndl && stopHndl() === false) return end(log.error('Stopped by you!'));               return await recurse();               log.warn('Ended because API returned an empty page.');             }             return end();         }

@PinkyLaRue
Thank you :), it's working now hopefully stays that way

Dope thanks a lot ! That should be added to the code.

ok, I see what happened ...
When I pasted in the code, it removed the `. This in turn, is causing the JS to not compile correctly, which is why you don't see the trash can.
Here is the code:
 } else {

            if (total - offset > 0) {

              log.warn(`Offset  ${offset}`);

              offset += 25;

              //log.warn(`Offset  ${offset}`);

              await wait(searchDelay);

              if (stopHndl && stopHndl() === false) return end(log.error('Stopped by you!'));

              return await recurse();

              log.warn('Ended because API returned an empty page.');

            }

            return end();

        }

Hey, i suck at anything code related. I tried copy and pasting this new version you put but sadly my trash can icon still disappeared. sorry if this is annoying but any chance i could get some help? sorry and thanks

@PinkyLaRue Hey pinkey, thanks for before i used yours and larry qianns and also removed his to test just yours and for some reason it doesnt work. I mentioned whats happening under "LATEST EDIT".

Some useful info I noticed, after getting the "API returned an empty page" bug, I search for my messages in the appropriate channel and simply get nothing on the first page, only on the second do messages show up.

ok, I see what happened ...
When I pasted in the code, it removed the `. This in turn, is causing the JS to not compile correctly, which is why you don't see the trash can.
Here is the code:
 } else {

            if (total - offset > 0) {

              log.warn(`Offset  ${offset}`);

              offset += 25;

              //log.warn(`Offset  ${offset}`);

              await wait(searchDelay);

              if (stopHndl && stopHndl() === false) return end(log.error('Stopped by you!'));

              return await recurse();

              log.warn('Ended because API returned an empty page.');

            }

            return end();

        }

So far this seems to be working perfectly.  I believe Discord possibly broke something on there side for this issue to happen at all.  I've been getting stuff like this pop up constantly now in random increments.   Most likely, you pasted it in wrong and now it doesn't compile. Your code should look exactly like how it does in the image below.

oh wait it works now

i pasted the code and now i dont see the trash bin anymore

I pasted it as well and it worked fine. Most likely, you pasted it in wrong and now it doesn't compile. Your code should look exactly like how it does in the image below.

Working smoothly after pasting this. Thank you so much.

I'm also having this exact issue, but this thread is difficult to parse for me because I'm unfamiliar with coding and have processing issues. Could someone compile the solution into a single, clearly labeled post?

I'm also having this exact issue, but this thread is difficult to parse for me because I'm unfamiliar with coding and have processing issues. Could someone compile the solution into a single, clearly labeled post?

https://pastebin.com/raw/PsnJhACM
have fun!


Minor fixes.

Fixed gradle deprecation warnings.
Fixed Java warnings.

PR is ready for review.

I think it is a bad practice to remove Gradle annotations on fields that are intended to be configured in Gradle scripts because, without annotations, there is nothing to convey the intended purpose of such unannotated fields. Please make sure every Gradle-configurable field has a Gradle annotation.


Support for 1.16

Will you work on an updated version for 1.16?
I just realized i selected the wrong option and it's marking this issue as a bug, sorry

soon:tm:

1.16 support added in 2.3.0


keeping sz consistent

I guess it's not completely necessary since you're only ever examining the size of the root nodes, but in order to be totally consistent, I think that the sizes of the nodes which are compressed need to be updated to size = 1 b/c these nodes just become "leafs" pointing directly to the root.

Since we're only ever interested in getting the size of roots nodes this adds additional work we don't need. Also, keeping the size as is serves as a form a history which isn't a bad thing (perhaps useful for debugging??).
btw this project has moved to https://github.com/williamfiset/Algorithms


Search detailed applicants

Description
The main goal of this task is to search for detailed applicant profiles based on specific criteria.
Resources
I recommend using the tinydb library to read and search for information. You can refer to the official documentation.
Tasks
The tasks include:

[x] Create a class ExtendedDetailedSearchParameters: This class will describe the attributes obtained from the search criteria and should be located at src/applicants/schemas/extended/request. The attributes will include all the criteria mentioned in the description.
[x] Create a function build_detailed_search_query: This function will take as parameter the search criteria of type ExtendedDetailedSearchParameters and generate a query that will be used by the tinydb database DetailedApplicantsDb. The function should be located at src/applicants/service/extended/query.
[x] Create an endpoint /applicants/search/Details: This endpoint in the router will take as parameters the search criteria, get the detailed profiles that match the criteria, save them in the tinydb local database, and return them.

@StaelTchinda Should the max_sabbatical_time_years check only the career path (i.e. Werdegang) or also consider the time between Ausbildungen?

@StaelTchinda Should the max_sabbatical_time_years check only the career path (i.e. Werdegang) or also consider the time between Ausbildungen?

@JRoss5 the career path is enough. Especially since the people we are targeting have more than 20 years experience. What happened in their school years is not anymore that decisive.

@StaelTchinda I've pushed a first version to a new branch search-detailed-applicants now. I had 2 questions for the implementation: by skills do we mean Kenntnisse or Softskills? I've set it to search through both for now. Also, what fields do we want to search for education_keyword? Right now I've set it to search a rather broad range of fields to be able to catch as many use cases as possible.

@JRoss5 By skills, we originally meant Kenntnisse, but you can keep both for the moment. It's fine.
For education_keyword, it is also fine like that for the moment. We can update later depending on how we use it.
I also created and reviewed a pull request. Please consider the comments I've made and let me know when you integrated them.


Compatibility 2023.2

Can you please add 2023.2 compatibility to the plugin?

I've published version 0.13.0. As usual, this should be available within 2 business days.

Thanks for your effort.

I accidentally broke compatibility with Intellij < 2023.1. I've uploaded version 0.13.1. Not sure if 0.13.0 gets approved with this issue.

0.13.1 is available now


Remove Java 11 images on weekly release line

This PR removes the Java 11 images from the weekly release line by using new images definitions containing Java 11 for LTS release line until Java 17 is required on every lines. ("linux-lts-with-jdk11" docker bake target & "build-windows-lts-with-jdk11.yaml" docker compose file)
See https://github.com/jenkinsci/docker/pull/1891/commits/97c732b4eae040616900a3707c425a85447b6492
It also add a mechanism to easily simulate a LTS build on ci.jenkins.io (with images publication disabled out of caution even if it happens on trusted.ci.jenkins.io) by setting in a replay SIMULATE_LTS_BUILD to true.
See https://github.com/jenkinsci/docker/pull/1891/commits/dcbd563bad436ccdbae596cd68acfdb36548ed59?w=1
We can remove this code after Java 11 EOL.
Notes:

Merging this pull request means there won't be any weekly release for the Almalinux Java 11 image.
"Hide whitespace" recommended: https://github.com/jenkinsci/docker/pull/1891/files?w=1

Fixes:

#1890

Testing done
Local tests
.ci/publis.sh
$ JENKINS_VERSION=2.442 make publish
./.ci/publish.sh
Using the following settings:
* JENKINS_REPO: jenkins/jenkins
* JENKINS_VERSION: 2.442
* JENKINS_SHA: b0bc35b59ca923629cc440d79bebfa78d67cd0448c7a485168fc2719ac445e7b
* COMMIT_SHA: dbc09a35f9008b00ed98e23de8a7598c5e1cb074
* LATEST_WEEKLY: false
* LATEST_LTS: false
* TARGET: linux
#0 building with "desktop-linux" instance using docker driver
<...>

$ JENKINS_VERSION=2.452.1 make publish
./.ci/publish.sh
Using the following settings:
* JENKINS_REPO: jenkins/jenkins
* JENKINS_VERSION: 2.452.1
* JENKINS_SHA: d9ec867a35987b545c82ed0df5d2240ac208a8d06e065e9cdb869464f3b87a56
* COMMIT_SHA: dbc09a35f9008b00ed98e23de8a7598c5e1cb074
* LATEST_WEEKLY: false
* LATEST_LTS: true
* TARGET: linux-lts-with-jdk11
#0 building with "desktop-linux" instance using docker driver
<...>

"list" make function used by other make targets

With the same main architecture as agents:
$ ARCH=amd64 TARGET=linux make list
+ make --silent show
+ jq -r '.target | path(.. | select(.platforms[] | contains("linux/amd64"))?) | add'
#1 [internal] load local bake definitions
#1 reading docker-bake.hcl 10.42kB / 10.42kB done
#1 DONE 0.0s
alpine_jdk17
alpine_jdk21
debian_jdk17
debian_jdk21
debian_slim_jdk17
debian_slim_jdk21
rhel_ubi9_jdk17
rhel_ubi9_jdk21

$ ARCH=amd64 TARGET=linux-lts-with-jdk11 make list
+ make --silent show
+ jq -r '.target | path(.. | select(.platforms[] | contains("linux/amd64"))?) | add'
#1 [internal] load local bake definitions
#1 reading docker-bake.hcl 10.42kB / 10.42kB done
#1 DONE 0.0s
almalinux_jdk11
alpine_jdk21
debian_jdk11
debian_jdk17
debian_jdk21
debian_slim_jdk21
rhel_ubi8_jdk11
rhel_ubi9_jdk17
rhel_ubi9_jdk21

Build tests depending on the bake target

With second call failing as expected:
$ ARCH=amd64 TARGET=linux-lts-with-jdk11 make build-debian_jdk11
<build logs OK>

$ ARCH=amd64 TARGET=linux make build-debian_jdk11
+ make --silent show
+ jq -r '.target | path(.. | select(.platforms[] | contains("linux/amd64"))?) | add'
#1 [internal] load local bake definitions
#1 reading docker-bake.hcl 10.42kB / 10.42kB done
#1 DONE 0.0s
Error: the image 'debian_jdk11' does not exist in manifest for the platform 'linux/amd64'. Please check the output of 'make list'. Exiting.

$ ARCH=amd64 TARGET=linux-lts-with-jdk11 make build-debian_jdk17
<build logs OK>

$ ARCH=arm64 TARGET=linux-lts-with-jdk11 make build-debian_jdk17
<build logs OK>

$ ARCH=amd64 TARGET=linux make build-debian_jdk17
<build logs OK>

$ ARCH=ard64 TARGET=linux make build-debian_jdk17
<build logs OK>

On ci.jenkins.io

Normal/"weekly" build not including any Java 11 images: https://ci.jenkins.io/job/Packaging/job/docker/job/PR-1891/41/
Emulated "LTS" build with a replay setting SIMULATE_LTS_BUILD to true:

Diff: https://ci.jenkins.io/job/Packaging/job/docker/job/PR-1891/42/replay/diff
Build including Java 11 images: https://ci.jenkins.io/job/Packaging/job/docker/job/PR-1891/42/

Submitter checklist

[x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[x] Ensure that the pull request title represents the desired changelog entry
[x] Please describe what you did
[x] Link to relevant issues in GitHub or Jira
[x] Link to relevant pull requests, esp. upstream and downstream changes
[x] Ensure you have provided tests - that demonstrates feature works or fixes the issue

@dduportal LGTM


[Tests] Do not stop tests if a job failed

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Create tr-TR.ts

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

Coverage remained the same at 41.752% when pulling 983dfcc6db81ba3c1d35de330f3e367974e184f9 on etuncay:patch-1 into 034bd71f300d57290c129b84f37b3049dea16286 on NG-ZORRO:master.


Migrate process variables group

Also, we can have more list components inside when having more scopes

After quick discussions with @andreasgeier we agreed to not go for multiple/nested lists here because this one does not deserve much effort, this is just an intermediate state.
The Variable Overview has to get out of the Prop Panel and into the Data View anyway…


Flowchart labels appear "cutoff"

Example:
http://docs-origin.telemetry.mozilla.org/concepts/data_pipeline.html
<g transform="translate(-24.808334350585938,-11.900001525878906)" class="label"><foreignObject width="49.616668701171875" height="23.800003051757812">

parquet

</foreignObject>
</g>

Here, the foreignObject 'witdh' is too small, and it cuts off the label.

(Apparently it was the 'fontsettings' plugin to blame: "-fontsettings" in book.json fixes it.

We have rewritten the CSS part with mermaid 8.0.
Feel free to report a new issue if you can reproduce this issue with the new version.


add attribution for default background image

The default background I committed earlier is available via Creative Commons but that requires attribution.  I'm not sure what format you want ASSETS.md to be in so I just took a guess.

Thanks for doing this!


Allow local file .rubocop.yml override Excludes

What
Currently one cannot define a AllCops/Exclude in the .rubocop.yml, because it will be overrode by all.yml.
You can see the issue here, despite we define the Exclude here. We need to ignore files from vendored gems that are loaded in a subdirectory (scripts/vendor/**/*).
Details
Given how rubocop resolves the inherit_from and config files, the different files will override in order the other configs hash sub-values. Finally the root file has priority.
Because that, AllCops/Exclude in the main file all.yml will override any optional AppCops/Exclude from local file passed by the user.
The solution is split the AppCops/Exclude and add it as an additional file in the inherit_from list of files, so that the local file can override the value if desired.
Tests has been added to ensure that the local file is the last one added and that the root file does not include the AllCops/Exclude entry.
[1] https://github.com/bbatsov/rubocop/blob/49598a035cd39a75ec91466a4e1a79c7e4f0f5f9/lib/rubocop/config_loader_resolver.rb#L24

👍 Thanks for this.


Feature request: Repeat last command

Often while developing it is necessary to repeat a certain shell command multiple times. For example while testing code I am frequently running the command "go test" to run a test suite.
One way to handle this would be use the existing insert-custom-text commands. But adjusting the text for these is inconvenient if you are repeating a variety of different commands.
The easiest way I have found to repeat an arbitrary command with the plugin is:

Hit ctrl-` twice to to switch the cursor's focus to the terminal (assuming the cursor is already in a text pane)
Press the up arrow key to get the last command from the shell's history.
Press enter to run the command

A much nicer way would be:

Press one key which get's the last command from the shell's history and runs it

This could be implemented as a platformio command bound to a key by the user.
Perhaps certain 'dangerous' commands such as "rm" could require confirmation before running again in order to prevent accidental mistakes.

+1 - This feature would be very helpful.

Indeed, this would be great, I would be only using platformio instead of Script :)


[Bug]: The DLM task checks the log and reports that the log does not exist or has expired.

ODC version
ODC423
OB version
independent
What happened?
The DLM task checks the log and reports that the log does not exist or has expired.

What did you expect to happen?
chat priavtely
How can we reproduce it (as minimally and precisely as possible)?
chat priavtely
Anything else we need to know?
No response
Cloud
No response

This task failed during the scheduling but logging started from the scheduling stage, so the results were as expected.


Fix CanvasItem::draw_string_outline parameter order

Switch p_font_size with p_size in header, because in all other locations, p_font_size comes before p_size.

Thanks!


[Bug]: Old default branch is not getting removed from protected branch list

Is there an existing issue for this?

[X] I have searched the existing issues

Description
https://github.com/appsmithorg/appsmith/assets/80334441/e8594c62-3587-4213-ae76-fa8f8535441e
Steps To Reproduce

Connect app to git, protect default branch master on appsmith
Change default branch in remote
Sycn branches in appsmith
Observe master is still protected
Ideally it should make it unprotected

Public Sample App
No response
Environment
Release
Issue video log
No response
Version
Release

This is fixed, @Parthvi12  - please reopen if not closed.


@nuxtjs/firebase - package doesn't exist

Reproduction link
https://www.npmjs.com/search?q=%40nuxtjs%2Ffirebase
Steps to reproduce
Just check on npmjs for this package. See the link.
What is expected ?
@nuxtjs/firebase package should be available via npm
What is actually happening?
@nuxtjs/firebase package doesen't exist at all!
Additional comments?
The installation instruction is very unclear too. We should install @nuxtjs/firebase but add @nuxtjs/firebird to the modules and in the modules config there is a @rafamaciel/firebase
When this module is unsupported or will be abandoned so please state it clearly.

This bug report is available on Nuxt.js community (#c119)

you should tweak create in plugin... Im using firestore... i tried to do this created in plugin so we can access it in component and vuex
i still have a problem with SSR... but for SPA is going on well


Astra_Camera: Wait for device to connected

I setup the  Astra Camera using the link official link. It give the message after launching the command roslaunch astra_camera astra.launch.
[INFO][1720553201.550103010]: Query device
[INFO][1720553202.009764172]: wait for device to connected.

I received these messages iteratively with different number.
It would be very helpful if someone help me to figure out the problem.
Thank you.

Hi, I am still facing the problem. Any help?


404 NotFound when using TypeScript Pallax Sample

Attempting to load the Parallax Starfield typescrypt sample fails in Chrome.
Sample: http://www.typescriptlang.org/Sample/jquery/parallax.html gives a 404 when loading /Sample/jquery/starfield2.png.
On Chrome this appears to break the sample, but the same 404 appears on other browsers, so maybe it's a read herring.

This issue was moved to Microsoft/TypeScriptSamples#74


Fix: SQLSourceStatus import error

Describe your changes :

I worked on glue SQLSourceStatus import error

Type of change :

[x] Bug fix

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers

Hey @MilanBariya, we can merge this.
Can you also handle the same import errors on druid and athena as well?


Download progress is displayed as percentage

Probably a bit more detail than we need :nerd_face:

Also, the progress circle does not appear to match. It takes a while to get going (are we requesting data from the hub here?) and then it draws the full circle right away, as shown in the screenshot above.

Can you share a program to reproduce the problem?

It happens with all the programs in https://github.com/pybricks/pybricks-code/issues/1218.
The initial delay is always the same. The progress is a bit easier to see the larger the program, so e.g.
_ = """
[encoded data, 8000 characters]
"""

Screencast from 17-10-22 20:21:00.webm

When running the following program in Pybricks Beta on Move Hub, there is no numeric progress on hover.

_ = """
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
0123
"""
print("hi")

Ok, thanks, I must have missed that previously.


Fix conflict to merge release/1.7.10 to master

Proposed changes
Fix conflict to merge release/1.7.10 to master
Type of change

[ ] Feature work
[ ] Bug fix
[ ] Documentation
[x] Engineering change
[ ] Test
[ ] Logging/Telemetry

Risk

[ ] High – Errors could cause MAJOR regression of many scenarios. (Example: new large features or high level infrastructure changes)
[ ] Medium – Errors could cause regression of 1 or more scenarios. (Example: somewhat complex bug fixes, small new features)
[x] Small – No issues are expected. (Example: Very small bug fixes, string changes, or configuration settings changes)

Additional information

It doesn't show any file changed, but it's taking care of the conflict we have on https://github.com/AzureAD/microsoft-authentication-library-common-for-objc/pull/1134


[resotocore][feat] Add configs command to change configuration.

Description

configs list
configs show <cfg_id>
configs set <cfg_id> <prop>=<value> [, <prop>=<value>]
configs edit <cfg_id>
configs update <cfg_id> <path>
configs delete <cfg_id>

configs list: get the list of all config ids in the system.
configs show <cfg_id>: show the configuration with provided identifier.
configs set <cfg_id> <prop>=<value>: set one or more property values in the configuration with provided id.
configs edit <cfg_id>: edit the complete configuration with provided id as file
configs update <cfg_id> <path>: update or create the configuration with provided id with content of given file.
configs delete <cfg_id>: delete the configuration with given identifier.

Parameters

cfg_id [mandatory]: The identifier of the configuration.
prop: the path of the property to set. Nested properties can be accessed via ..
value: the value of the property path to set. It can be any json conform element.
path: the path of the file that holds the configuration to upate.

Examples
# Set properties of the configuration "test".
# Note: if the configuration does not exist, it is created automatically.
> config set test prop_a=test, prop_b=2, array_prop=[1,2,3,4]
array_prop:
- 1
- 2
- 3
- 4
prop_a: test
prop_b: 2

# Update the same configuration by setting only one property.
> config set test prop_a="some other value"
array_prop:
- 1
- 2
- 3
- 4
prop_a: some other value
prop_b: 2

# This will open the configuration in your local editor.
# Once the editor is closed, the configuration is updated.
> config edit test

# Update the configuration test by loading the provided config file.
> config update test /path/to/my/local/config.yaml

# Get the list of all configuration keys.
> config list
config_test
resoto.core
resoto.worker.1
resoto.worker.2
resoto.metrics

# Delete the config with name
> config delete config_test
Config config_test has been deleted.

To-Dos

[x] Add test coverage for new or updated functionality
[x] Lint and test with tox
[ ] Document new or updated functionality (someengineering/resoto.com#XXXX)

Issues Fixed

Fixes #XXXX

Code of Conduct
By submitting this pull request, I agree to follow the code of conduct.

Codecov Report

Merging #702 (ca4fd0e) into main (c24c43a) will decrease coverage by 0.03%.
The diff coverage is 82.69%.

@@            Coverage Diff             @@
##             main     #702      +/-   ##
==========================================
- Coverage   89.27%   89.23%   -0.04%
==========================================
  Files          65       65
  Lines        9043     9125      +82
==========================================
+ Hits         8073     8143      +70
- Misses        970      982      +12

Flag
Coverage Δ

resotocore
89.23% <82.69%> (-0.04%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

resotocore/resotocore/__main__.py
87.85% <ø> (ø)

resotocore/resotocore/web/api.py
63.53% <50.00%> (-0.15%)
:arrow_down:

resotocore/resotocore/cli/command.py
86.72% <84.41%> (-0.04%)
:arrow_down:

resotocore/resotocore/cli/cli.py
93.46% <100.00%> (+0.02%)
:arrow_up:

resotocore/resotocore/cli/model.py
96.42% <100.00%> (+0.08%)
:arrow_up:

resotocore/resotocore/db/entitydb.py
87.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c24c43a...ca4fd0e. Read the comment docs.


Evaluation and pre-trained models

I am currently using commit 43ab7241610804dc971344fa4b7d2b674b6f7045 which is currently the master branch, but I also tried previous commits.
I want to replicate the results from the paper, but running the pre-trained methods provide an average success of 0% with a equally null SPL.
Here is the executed command
python -u habitat_baselines/evaluate_ppo.py \
    --model-path "/path/to/checkpoint" \
    --sim-gpu-id 0 \
    --pth-gpu-id 0 \
    --num-processes 1 \
    --count-test-episodes 994 \
    --task-config "configs/tasks/pointnav.yaml"
    --sensors RGB_SENSOR

And an example of the output:
2019-07-01 18:54:56,249 Average episode reward: -0.460795
2019-07-01 18:54:56,249 Average episode success: 0.000000
2019-07-01 18:54:56,250 Average episode SPL: 0.000000

Additionally, since pulling the master branch, with the evaluation scheme, it sometimes fails when it executes the policy, giving the cryptic:
cuDNN error: CUDNN_STATUS_BAD_PARAM

Which in this case I think it is because it tries to execute the policy on an empty batch (due to how it does not track ended episodes). To avoid this, for now I just keep tracking ended episodes. I don't think this one last error is to blame for the null performance of the pre-trained models since I had this error before this scheme was implemented.
It would seem to me that along the commits since training these models the policy must have changed a little.
Thank you for the great platform and I appreciate any help !

For the null performance, this is due to changing which number actions are on.  You can use this script to fix the model weights (we will update the ones probably after refactoring the baselines code):  https://gist.github.com/erikwijmans/398a89d0b793cdb878a903b83ceefad3

Which in this case I think it is because it tries to execute the policy on an empty batch (due to how it does not track ended episodes).

Yeah, we need to add a or envs.num_envs > 0 to the while loop to keep that from happening :)

cuDNN error: CUDNN_STATUS_BAD_PARAM

For this error, it happens because CNN module took in a batch of size 0. This is because evaluate_ppo.py checks if episodes are seen and will return batch of size 0 if there's no  unseen episodes (based on episode_id).
After dataset creation, can you do a print([ep.episode_id for ep in dataset.episodes]) to see if there are 994 unique episode_ids?

@knzo25, thank you for creating the issue. You can use v0.1.1 for habitat-api and habitat-sim repo to replicate tech report results. That should be compatible with pre-trained baselines.  I created relevant issue to add CI test for this failure in the future: https://github.com/facebookresearch/habitat-api/issues/152.

Thank you for your answers!
Sorry I did not reply before, but I was retraining the baseline training just in case.
@erikwijmans your script worked perfectly, thank you!
Depth-only agent:
2019-07-07 07:47:11,079 Average episode reward: 13.620850
2019-07-07 07:47:11,080 Average episode success: 0.701873
2019-07-07 07:47:11,080 Average episode SPL: 0.584454

However, when I trained the depth-only agent with:
python -u habitat_baselines/train_ppo.py     --use-gae     --sim-gpu-id 0     --pth-gpu-id 1     --lr 2.5e-4     --clip-param 0.1     --value-loss-coef 0.5     --num-processes 6     --num-steps 128     --num-mini-batch 4     --num-updates 100000     --use-linear-lr-decay     --use-linear-clip-decay     --entropy-coef 0.01     --log-file "train.log"     --log-interval 5     --checkpoint-folder "data/checkpoints"     --checkpoint-interval 50     --task-config "configs/tasks/pointnav_depth_mp3d.yaml" --tensorboard-dir logdir
which I believe reproduces the paper results according to #108 (128 * 100000 * 6 gets about the 75 million steps mentioned in the paper), gets:
2019-07-07 01:10:01,403 Average episode reward: 8.094588
2019-07-07 01:10:01,403 Average episode success: 0.511579
2019-07-07 01:10:01,403 Average episode SPL: 0.366799

It turns out that even if I use only DEPTH_SENSOR in pointnav_depth_mp3d.yaml, RGB_SENSOR is still being added (which makes the previous result more consistent with the reported results, as it is in fact the RGB agent),
the config file:
ENVIRONMENT:
  MAX_EPISODE_STEPS: 500
SIMULATOR:
  AGENT_0:
    SENSORS: ['DEPTH_SENSOR']
  HABITAT_SIM_V0:
    GPU_DEVICE_ID: 0
  RGB_SENSOR:
    WIDTH: 256
    HEIGHT: 256
  DEPTH_SENSOR:
    WIDTH: 256
    HEIGHT: 256
TASK:
  TYPE: Nav-v0
  SUCCESS_DISTANCE: 0.2
  SENSORS: ['POINTGOAL_SENSOR']
  POINTGOAL_SENSOR:
    TYPE: PointGoalSensor
    GOAL_FORMAT: POLAR
  MEASUREMENTS: ['SPL']
  SPL:
    TYPE: SPL
    SUCCESS_DISTANCE: 0.2
DATASET:
  TYPE: PointNav-v1
  SPLIT: train
  DATA_PATH: data/datasets/pointnav/mp3d/v1/{split}/{split}.json.gz

If I use --sensor DEPTH_SENSOR when running the script it seems to be loading just the depth sensor. Is this the expected behavior?

Hi, is there any reason for worse performance except the order of actions. I am evaluating SplitNet, which is based on habitat-api.git@7015813aefae99233864c4ffcf7e52e9097392a4.
After I change to the latest version of habitat, the pre-train models perform worse. However, SplitNet only uses three actions(forward, left and right),
which is unrelated to the above problem.
This problem confused me for a long time. I'm still unfamiliar with many details about habitat-api and habitat-sim. I look forward to your valuable advice. Thanks a lot.

One major change that has happened is the renaming with PointGoal Sensors that happened in PR #180  Use POINTGOAL_WITH_GPS_COMPASS_SENSOR like here: https://github.com/facebookresearch/habitat-api/blob/master/configs/tasks/pointnav_gibson.yaml#L18

Thank you!
I change my config with POINTGOAL_WITH_GPS_COMPASS_SENSOR . The results become normal.
@erikwijmans  Thank you again!

@knzo25 habitat-lab has been updated a lot since your las comment.
Closing the issue as stale.


MysqlAdapter: getColumns() doesn't return precision and scale for decimal

Migration:
$table = new Table('test', [], $this->adapter);
$table->addColumn('dec', 'decimal', array('precision' => 10, 'scale' => 2));
$table->save();

Decimal(10,2) column is successfully created, but:
var_dump($table->getColumns());
returns:
array (size=2)
  0 =>
    object(Phinx\Db\Table\Column)[35]
      protected 'name' => string 'id' (length=2)
...
  1 =>
    object(Phinx\Db\Table\Column)[34]
      protected 'name' => string 'dec' (length=3)
      protected 'type' => string 'decimal' (length=7)
      protected 'limit' => **int 10**
      protected 'null' => boolean false
      protected 'default' => null
      protected 'identity' => boolean false
      protected 'precision' => **null**
      protected 'scale' => **null**
      protected 'after' => null
      protected 'update' => null
      protected 'comment' => null
      protected 'signed' => boolean true
      protected 'timezone' => boolean false
      protected 'properties' =>
        array (size=0)
          empty
      protected 'values' => null

Since DECIMAL(M) is equivalent for DECIMAL(M,0), precision could be alias for limit, but scale is still missing. getPhinxType returns limit and scale, but it's not assigned to Column class if column type is decimal. -> additional mistake, see edit.
Edit: Column definition for decimal is DECIMAL (precision, scale), but when parsing existing column data, it's parsed as DECIMAL (limit, precision). Same applies to SQLiteAdapter.

Are you able to provide a pull request with your suggested changes?

I have the same problem, has it already been resolved?

PR #1258 doesn't solve the problem. I'm currently working on a PR to fix the parsing of DECIMAL. Hopefully no backwards compatibility problems 🤞


release: 1.1.3

[v1.1.3] (Feb 13 2024)
Fix:

Changed source display indexing from the last item to the first
Added a filtering option for the source list by source_type

/bot create ticket

[Creating Ticket] 🔖 Done https://sendbird.atlassian.net/browse/SDKRLSD-1121


Injecting multiple sagas with the same key leads to unexpected results in production

Description
In my project (https://www.github.com/Amsterdam/registraties) I have several sagas that are responsible for retrieving data from multiple API endpoints. I've split up the sagas so that each saga has its own endpoint.
There is one saga that controls login and logout actions on the application level. The application saga is injected in the App container component with key 'global'. I used that same key for another saga which didn't give me any issues when developing locally. After I ran Webpack and tested the application on production, the other saga with the same key as the main saga stopped working. I didn't get any data from the APIs nor did I get any errors or warnings in my console that something was wrong. After a lot of fiddling and changing the key name of the saga, I got the application working.
Steps to reproduce

Inject a saga into the App container and have the container load another container component on a route match, like is done in containers/App/index.js
Inject a saga with the same key as was used for the App container in the other container. In my case containers/AccommodationObjectPage/index.js
Observe both sagas being called when the application is run locally
Start the production environment (npm run start:production) and observe the other container's saga not being called by putting debugger or console.log statements in the code.

Expected behaviour
I would expect a clear warning indicating that a saga with a specific key has already been injected. I saw that this conflicts with the hot reloading aspect of the application, because components get re-rendered and their injected sagas re-injected and the previously injected sagas cancelled.
Versions

React-Boilerplate: 4.0.0

The tests are failing, but adding the snippet below to https://github.com/react-boilerplate/react-boilerplate/blob/master/app/utils/sagaInjectors.js#L49 will throw an error when a container injects a saga with a key that has already been injected:
const sagaHasBeenInjected = Object.keys(store.injectedSagas).includes(key);
if (sagaHasBeenInjected && newDescriptor.saga.name !== oldDescriptor.saga.name) {
  throw new Error(
    `Saga with key ${key}, injected in ${newDescriptor.saga.name} has already been injected by ${
      oldDescriptor.saga.name
    }`,
  );
}

Ok so you're saying:

Injecting two sagas with the same key works in development.
It fails silently in production.

Correct?
I'm not sure I get the same result. If I do this:
  useInjectSaga({ key: 'hello', saga: saga1 });
  useInjectSaga({ key: 'hello', saga: saga2 });

Then, in dev:

The first saga is overwritten by the second and only saga2 will be running.
This is because the sagaInjectors code thinks it's a hot reload and thus overwrites the saga.

But then in production:

The first saga runs and the second one is never injected.
This is because there's no hot reloading so it just keeps the first saga and ignores the second.

In any case, the intended use is to never have two different sagas under the same key. I would add a warning or an error in this situation but there's no way of knowing if the user is actually just reloading the same saga or trying to add a second saga under the same key.
Because of that, I'm not sure that there's anything that can be done here... I'm happy to hear feedback and ideas though!
(PS: Your line const sagaHasBeenInjected = Object.keys(store.injectedSagas).includes(key); is already there. But it's written with Reflect.has: let hasSaga = Reflect.has(store.injectedSagas, key);)

@julienben You're right, sagaHasBeenInjected does the same as hasSaga. My code should've been

let hasSaga = Reflect.has(store.injectedSagas, key);

if (hasSaga) {
  const oldDescriptor = store.injectedSagas[key];

  if (newDescriptor.saga.name !== oldDescriptor.saga.name) {
    throw new Error(
      `Saga with key ${key}, injected in ${newDescriptor.saga.name} has already been injected by ${
        oldDescriptor.saga.name
      }`,
    );
  }
}

This works as I initially intended and will throw an error when there is more than one container component that tries to inject a saga with a key by which a saga has already been injected.

You're saying this doesn't break saga hot reloading but can warn the user if he's trying to inject the same saga twice?

Not exactly. It will throw an error when two different saga's are injected by the same key.
useInjectSaga({ key: 'hello', saga: saga1 });
useInjectSaga({ key: 'hello', saga: saga2 });

Will not throw for the first call, but it will for the second.

But yes, it will not break hot reloading.

Sorry for the late reply. I didn't understand your comment though. Can your code somehow distinguish between hot reloading (which we want to allow) and injecting two different sagas under the same key (which we don't want to allow)? How does that work?
If that's the functionality it'd be super helpful if you'd be willing to submit it in a PR.

Closing for lack of activity.


luci-mod-network: missing generate pmk locally breaks WPA3-SAE roaming

Steps to reproduce:

go to: Network → Wireless → Edit network with WPA2 -PSK/WPA3-SAE Mixed Encryption
go to: WLAN roaming tab
The Generate PMK locally option is missing
Save

Actual behavior:

The ft_psk_generate_local is removed from config.
The default of ft_psk_generate_local is 1 when it is not in config which prevents 802.11r from working with WPA3-SAE

Expected behavior:
The Generate PMK locally option should be visible but disabled and set to 0 when using WPA3-SAE.

Or second option is to hide it, but set to 0 when saving changes.

Additional Information:
luci-mod-network version 	git-24.046.07140-9939534
This was probably broken by changes in
https://github.com/openwrt/luci/commit/4c76a91fd7aabdef0a8bc8769727b909e994a628
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='23.05.2'
DISTRIB_REVISION='r23630-842932a63d'
DISTRIB_TARGET='mediatek/filogic'
DISTRIB_ARCH='aarch64_cortex-a53'
DISTRIB_DESCRIPTION='OpenWrt 23.05.2 r23630-842932a63d'
DISTRIB_TAINTS=''

I think the problem is the o.rmempty = false;. That implies that when it's hidden, it maintains the uci value, it does not remove it.
@jesferman it seems the commit is yours, what do you think?

I've seen that de "default" value for this option is 1 so removing it will not serve. It needs to be put to zero.

The default of ft_psk_generate_local is 1 when it is not in config which prevents 802.11r from working with WPA3-SAE

This does not appear to be the case for OpenWrt main (snapshot): https://github.com/openwrt/openwrt/blob/main/package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh#L927
For 23.05 however the behavior looks wrong:
https://github.com/openwrt/openwrt/blob/openwrt-23.05/package/network/services/hostapd/files/hostapd.sh#L912
The sae and psk-sae cases should be removed. It seems that there's nothing to fix on the LuCI side but that OpenWrt commit e2f6bfb833a1ba099e1dcf0e569e4ef11c31c391 should be backported to make the implicit default value of ft_psk_generate_local dependent on the auth suite.

Late to the party but I agree with jow, backporting my commits to 23.05 should fix the issue. And I see that jow has just commited the changes, so everything should be fine.

Maybe I should open a new issue, not sure. But the use of EAP doesn't seem to have been taken into account when making these changes. I am using a radius server with WPA2 and I want to set the R0 and R1 keys. The "Generate PMK locally" option doesn't show up and even worse if I set it in the wireless file it is deleted when I save any changes using the Luci wireless interface. I am using OpenWrt 23.05-SNAPSHOT, r24003-0cdbbd8868

If I understand you correctly, you are trying to use WPA2-EAP and you want to use local PMK, but that is not possible. Local PMK is only possible when using PSK, if you use EAP, local PMK can not be used and the option to set it is hidden.

Other way around. I do NOT want to use local PMK. I am setting global R0 and R1. But the option ft_psk_generate_local defaults to 1 and if I set it to 0 it get deleted from the config file when I update any wifi settings through Luci.

Sorry, I just looked into the hostapd configs and saw that it sets them to '0'. So it isn't really defaulting to '1' it is defaulting to a value that makes sense for the key being used. Which means for me that I was creating a problem that doesn't exist.


Fix link to card component

https://getbootstrap.com/docs/4.0/components/cards/ should be https://getbootstrap.com/docs/4.0/components/card/

/CC @jankdc
@Johann-S
We really need to automate this, see #23322

Thanks for this, closing it due to #23324


can't import

this is what I see:

I imported each of the 3 projects as individual Gradle projects, ran the Gradle build script, and finally launched the app on my own Android device.
Hope that helps!


:wrench: chore(documentation): fix broken links

Summary
prefix the links with ../
Additional Information
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

/cib


Add inputMaybeValueDefault option to allow default input values other than null

First of all, thanks for this amazing library it saved me a lot of time!
Our backend does not like null values as input. It prefers to exclude the keys.
We managed to fix this by using undefined instead of null in the generated schema for input types. our graphql client (urql) will strip these undefined properties. In this way we still have a very strict typing system and also have happy backenders :-).
A minimum reproducible graphql config would look like this:
./types.ts:
  plugins:
    - typescript
  config:
    inputMaybeValue: T | undefined

I hope this will add some value for people that have a custom inputMaybeValue as well, let me know if I can change or optimize any parts of this implementation.
Have an amazing New Rears eve!

@jongbelegen I just released v1.1.0 with this feature and a few other things 🎉 Thanks again for contributing.


Feature Request: 0 size for children

I have a usecase where'd I'd like to stack all the children together as close to their dividers as possible. At the moment minimum size of 0 means "ignore", but I'd like it if it really did mean "0".

Initially, I worried about the side effect of not being able to increase the size of the child anymore when the divider is too small in width. This would only happen because it would be difficult to click on the correct divider. This is even worse given that your other suggestion (#22) has not yet been implemented. On the other hand, decreasing the width of the divider is the developer's decision. I will take a look.

Resolved by #24

I'm just checking this out now but I want to say that it works well and is quite nice -- thank you!


unable to find file vender/autoload.php in whoops.php library file

A PHP Error was encountered
Severity: Warning
Message: require_once(C:\xampp\htdocs\exitosys\ci_orm\application\libraries/../../vendor/autoload.php): failed to open stream: No such file or directory
Filename: libraries/Whoops.php
Line Number: 18
Backtrace:
File: C:\xampp\htdocs\exitosys\ci_orm\application\libraries\Whoops.php
Line: 18
Function: _error_handler
File: C:\xampp\htdocs\exitosys\ci_orm\application\libraries\Whoops.php
Line: 18
Function: __construct
File: C:\xampp\htdocs\exitosys\ci_orm\index.php
Line: 292
Function: require_once
Fatal error: require_once(): Failed opening required 'C:\xampp\htdocs\exitosys\ci_orm\application\libraries/../../vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\exitosys\ci_orm\application\libraries\Whoops.php on line 18
A PHP Error was encountered
Severity: Compile Error
Message: require_once(): Failed opening required 'C:\xampp\htdocs\exitosys\ci_orm\application\libraries/../../vendor/autoload.php' (include_path='C:\xampp\php\PEAR')
Filename: libraries/Whoops.php
Line Number: 18
Backtrace:

Don't forget run this command composer install

It worked, thanks


Add Docker Build

This commit should add Docker builds to the repo.
Please review the github actions and workflows. I'm pretty new to them and it might be incorrect. The docker-compose won't work until the image has been pushed to this repo.
Here's a compose file for testing:
---
services:
  lancommander:
    image: ghcr.io/miketweaver/lancommander-docker:latest
    container_name: lancommander
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
    volumes:
      - /path/to/appdata/config:/config
    ports:
      - 1337:1337
    restart: unless-stopped

Thanks for this and apologies for the delay. I believe some things have to be tweaked with the action, but I've been meaning to do an overhaul for a while.


When the project path is Chinese, terminal is not in the correct path

VSCode Version: Code 1.13.0 (376c52b955428d205459bea6619fc161fc8faacf, 2017-06-08T16:43:13.058Z)
OS Version: Windows_NT ia32 6.1.7601
Extensions:

Extension
Author
Version

tortoise-svn
fantasytyx
0.1.1

vue
liuji-jim
0.1.5

vuehelper
oysun
0.1.0

vscode-icons
robertohuertasm
7.9.0

vscode-preview-server
yuichinukiyama
0.6.2

Steps to Reproduce:
1.Open a project with a Chinese path
2.Open Integrated terminal

I think this could be related to #26038

I think so, thank you..


Error : TIMEOUT during backend server running

Current Behavior
I am trying to make backend server with node.
It is running fine with attached program at first time but it has error after short 2 min. long 30 min.
< Error Message >
C:\react-app\prodboard\backend\node_modules\ethernet-ip\src\controller\index.js:654
throw new Error(<SCAN_GROUP>\n ${e.message});
^
Error: <SCAN_GROUP>
TIMEOUT occurred while writing Reading Tag Group.
at C:\react-app\prodboard\backend\node_modules\ethernet-ip\src\controller\index.js:654:31
at async Controller.scan (C:\react-app\prodboard\backend\node_modules\ethernet-ip\src\controller\index.js:647:13)
Your Environment

npm v9.8.1
NPM ethernet-ip 1.2.5
Node Version Node.js v18.17.1
Operating System window 10 Pro

plc_server.txt

try const PLC = new Controller(false); on line 15 to use unconnected messaging.  Windows especially can cause a node process loop to pause for a few seconds which will disconnect you when using connected messaging.


Version 0.12.23 - event OnAfterRenderPanel not firing

hi, in the last version (jquery package), in jquery.min.js there is no this part of code:
,e.onAfterRenderPanel && this.survey.onAfterRenderPanel.add(function (t, n)
{
e.onAfterRenderPanel(t, n)
}
)
and then the event OnAfterRenderPanel is not firing

@care46 I have just checked it. Here is the plunker example. It uses script:

Thank you,
Andrew

i see your plunker, the difference is this:

your js

survey.onAfterRenderPanel.add(function(result, options) {
alert(options.panel.name);
});
$("#surveyElement").Survey({
model: survey
});

MY js

$("#"+id).Survey({
model:this.model,
onAfterRenderPanel: doOnAfterRenderPanel
});
function doOnAfterRenderPanel(model,options)
{
debugger;
}
with the other function "onAfterRenderPage, question ecc" also my way work correctly, i can't use the same way with OnAfterRenderPanel?

@care46 You are right. My bad. I have added required two lines of code.
Thank you,
Andrew

Perfect! thanks ;)


matlab crush

Hi, when I  run the code to   f = caffe('forward', batches(j));, my matlab crushes . So I try R-CNN, it turns out same issue. I guess may be the reason of caffe, matlab and Ubuntu version. Could you tell me the version of your caffe version and matlab version.

What is the message it spits out when it crashes? That will tell you what's up. I think I use  a 2012b Matlab license, but I doubt that is the problem. Make sure you successfully 'make' Caffe and matcaffe.

Hi, I fixed this problems by installing matlab 2012. However, when I run the feature extraction code with your pre-trained model: 'UCFsports_motion_iter_2K' and extract_fc7.prototxt, I get below error message:
Error using caffe
Expected 2 arguments, got 2
Error in rcnn_load_model (line 29)
rcnn_model.cnn.init_key = ...
Error in myfea_extract (line 20)
rcnn_model = rcnn_load_model(rcnn_model);


'exec' and 'restart' commands should automatically start the server instead of crashing

I think it's more common to do it this way, and it makes it more user-friendly. It's much better when you don't have to remember to start the server manually, because this makes it easier to integrate rubocop-daemon with a text editor (e.g. VS Code) or command-line shortcuts / automated linting.
Fixes #2

Sorry I'm just trying to figure out how to make the rubocop-wrapper script work without the Ruby wrapper: https://github.com/rubygems/rubygems/issues/88#issuecomment-447550494
rubygems wraps any "executables" with a Ruby script, and this breaks the bash script.

Very thanks for your working! These features are so great!
I'm checking and testing now them.

rubygems wraps any "executables" with a Ruby script, and this breaks the bash script.

Yeah, as you already know, rubygems doesn't allow sh/bash script as executables unfortunately.
So we cannot automate installation of the rubocop-wrapper script, we should guide how to install it to users.

Yes, I just updated the README with some manual installation instructions. And it works amazingly well!
I even added a symlink to /usr/local/bin/rubocop, and set ruby.rubocop.executePath to /usr/local/bin in VS Code. And now formatOnSave is so much faster, and I don't have to wait 4-5 seconds every time I save a file. This is really awesome!

There's one more thing I want to fix: I noticed that VS Code will run rubocop from the same directory as the current file, so this caused rubocop-daemon to start a lot of different daemons for each directory:
$ ls -l ~/.cache/rubocop-daemon/

Users+ndbroadbent+code+my_app
Users+ndbroadbent+code+my_app+app+jobs
Users+ndbroadbent+code+my_app+app+models
Users+ndbroadbent+code+my_app+app+serializers
Users+ndbroadbent+code+my_app+app+services
Users+ndbroadbent+code+my_app+spec
Users+ndbroadbent+code+my_app+spec+integration
Users+ndbroadbent+code+my_app+spec+models+concerns
Users+ndbroadbent+code+my_app+spec+support+helpers

I think it would make sense to search through the parent directories until it finds a Gemfile (or gems.rb) in one of the parent directories. This means that you could also start the server from a subdirectory, and re-use it in other directories.
I think looking for a Gemfile or gems.rb would be a good heuristic. I think almost every project that uses RuboCop will also have a Gemfile. And if not, they'll need to add one in order to use rubocop-daemon.

OK, I've finished all these changes, and now VS Code is using a single rubocop daemon for every file in my project.
I think that's everything I wanted to add, and it's working great for me.

I just fixed one more thing - The RuboCop output is colorized by default, but the color was turned off when using rubocop-daemon (or rubocop-daemon-wrapper with netcat.)
This is because rubocop uses the rainbow library:

It's enabled by default, unless STDOUT/STDERR is not a TTY or a terminal is dumb.

So to preserve this default behavior, I'm prepending the --color flag to the @args array. This preserves the default RuboCop behavior of printing colorized output. The colors can still be turned off by passing the --no-color flag. I also checked that adding this flag doesn't break any of the other flags (e.g. you can still run rubocop --color --help or rubocop --color --version, etc.)

Another fix: I'm now returning the correct exit code from rubocop-daemon exec and rubocop-daemon-wrapper. This is important for git pre-commit hooks that rely on the exit status to know when there are any linting errors.
e.g.
$ rubocop-daemon exec -- spec/spec_helper.rb && echo SUCCESS

Before this change, rubocop-daemon exec would always exit with the 0 code, and the echo command would always be run (even if there were errors.)

I've also needed to add a file lock (348fdce7ea0cab5aff9c7286f59e8f5b381e21a9) to prevent multiple rubocop-daemon processes.
When you change a file in VS Code, it runs RuboCop linting rules. If you save the file at the same time, it will also run the Layout rules. So this starts two rubocop-daemon processes at the same time:
$ ps ax | grep rubocop-daemon
64325   ??  S      0:00.01 /bin/bash /usr/local/bin/rubocop -a -f simple -c /Users/ndbroadbent/code/rubocop-daemon/.rubocop.yml /var/folders/9t/hpqz7_5s27dc8_j_2hd7p_7h0000gn/T/rubocop8cZ8JD/tmp.rb
64332   ??  S      0:00.01 /bin/bash /usr/local/bin/rubocop -s /Users/ndbroadbent/code/rubocop-daemon/lib/rubocop/daemon.rb -f json
64344   ??  R      0:00.19 ruby /Users/ndbroadbent/.rvm/gems/ruby-2.5.3/bin/rubocop-daemon start

The last one to start will override the pid file, and then there will be an orphaned process that can't be stopped with rubocop-daemon stop.
To fix this, I added a file lock, so that only one process will start. If a process can't acquire the lock, then it will wait until the other process has started.
This works for both restart and start, because I've also refactored the restart command - Now it just calls stop and then start.


Firebase Error Domain=FIRAuthErrorDomain Code=17995 in test target

Environment:

Objective C or Swift: swift
iOS version: 10.14.6_
Firebase SDK version: Firebase 6.2.0, FirebaseAuth (6.1.2)
CocoaPods Version: 1.7.5

Problem:
I am trying to auth with username and password, it throws the following error.
▿ Optional

some : Error Domain=FIRAuthErrorDomain Code=17995 "An error occurred when accessing the keychain. The @c NSLocalizedFailureReasonErrorKey field in the @c NSError.userInfo dictionary will contain more information about the error encountered" UserInfo={FIRAuthErrorUserInfoNameKey=ERROR_KEYCHAIN_ERROR, NSLocalizedFailureReason=SecItemAdd (-34018), NSLocalizedDescription=An error occurred when accessing the keychain. The @c NSLocalizedFailureReasonErrorKey field in the @c NSError.userInfo dictionary will contain more information about the error encountered}

This error means you're missing the Keychain entitlement: https://www.osstatus.com/search/results?platform=all&framework=all&search=-34018

How to enable keychain sharing in test target and resolve the above error? In my scenario , the host application is none and  writing unit tests for the static library.

You can create a dummy app that does nothing and use it as your test host. Link the static library into the host and write tests against the library API.
I'm not sure if there's a way to resolve the error without using a test host.

I am getting this error too.  Keychain Sharing is enabled. At first I thought it was because I was utilizing sharing between multiple apps in a group but realized it fails to log me in at all on device or simulator with the same error mentioned above.  I have a similar version working from a few months ago though.

Ok so I found the issue.  There is an odd glitch when using a simulator for a device in Xcode that already has an app using Firebase Auth and keychain.  I tried using a different simulator that was fresh and all worked fine.

Signings & Capabilities > + Capability > Keychain Sharing
Once enabled be sure to hit + to add your current app to the keychain.

Indeed, it is a problem with the simulator in xcode, I had a mac and I changed it to iphone 14 and the error went away.

Mac and iOS have different entitlements - I can add Keychain sharing to the iOS xcode project but not the macOS xcode project. Literally click the + and double clicking Keychain Sharing and nothing is added...

For anybody dealing with this issue in a keyboard app extension, double check that Allow Full Access is enabled for your keyboard on your device.


Illegal moves a1a1 in current 0.2.0 version

Hello Thomas,
I found another issue with current Luna. In a first 60 games test match at 2+1 with my own 6plies start pgn
under the CutechessGUI it occurred 11 times that it was forfeited due to an illegal move a1a1.
(BTW I also want to note that there was no timeloss at all!)
Here are three examples (no debug/log files available):
[Event "My Tournament"]
[Site "RWBC-CAPPUCCINO Win7U64 Q8200 2.33Ghz"]
[Date "2022.10.08"]
[Round "8.1.2"]
[White "Pigeon_151fix-64"]
[Black "Luna_020-64"]
[Result "1-0"]
[ECO "A34"]
[GameDuration "00:00:19"]
[GameEndTime "2022-10-08T14:59:45.928 Mitteleuropäische Sommerzeit"]
[GameStartTime "2022-10-08T14:59:26.494 Mitteleuropäische Sommerzeit"]
[Opening "English"]
[PlyCount "11"]
[Termination "illegal move"]
[TimeControl "120+1"]
[Variation "Symmetrical variation"]

1. c4 {book} c5 {book}
2. Nc3 {book} g6 {book}
3. g3 {book} Bg7 {book}
4.  Bg2 {book} Bb7 {book}
4. d3 {+0.27/7 1.43} d5 {-0.47/8 2.78}
5. e5 {+0.10/6 0.87} Nc6 {-0.34/8 3.69}
6. Bf4 {+0.22/7 3.28} g5 {+0.05/8 3.12}
7. Bxg5 {+0.14/8 4.93} Nxe5 {-0.15/8 3.44}
8. d4 {+0.32/7 3.60} cxd4 {+0.51/8 3.07}
9. Qxd4 {+0.04/7 3.08} Bg7 {+0.39/8 3.48}
10. Kf1 {-0.13/7 5.25} Qd7 {+0.54/7 6.28}
11. Nc3 {+0.41/6 6.26} f6 {+0.43/6 1.92}
12. Be3 {+0.40/6 1.73} Rd8 {+0.56/7 5.78}
13. Rd1 {+0.46/7 3.95}
{Black makes an illegal move: a1a1}
1-0

[Event "My Tournament"]
[Site "RWBC-CAPPUCCINO Win7U64 Q8200 2.33Ghz"]
[Date "2022.10.08"]
[Round "13.1.1"]
[White "Luna_020-64"]
[Black "Pigeon_151fix-64"]
[Result "0-1"]
[ECO "D00"]
[GameDuration "00:02:46"]
[GameEndTime "2022-10-08T15:36:01.778 Mitteleuropäische Sommerzeit"]
[GameStartTime "2022-10-08T15:33:15.588 Mitteleuropäische Sommerzeit"]
[Opening "Levitsky attack (Queen's Bishop attack)"]
[PlyCount "64"]
[Termination "illegal move"]
[TimeControl "120+1"]

1. d4 {book} d5 {book}
2.  Bxf6 {+0.66/9 4.00} exf6 {-0.50/7 1.49}
7. Nd2 {+0.65/8 3.81} a5 {-0.11/7 3.56}
8. a3 {+0.79/7 3.86} d4 {-0.03/7 6.52}
9. cxd4 {+0.95/8 2.54} axb4 {-0.03/7 1.37}
10. axb4 {+0.86/9 3.92} Rxa1 {-0.24/8 2.85}
11. Qxa1 {+0.75/10 5.99} Qxd4 {-0.35/8 3.94}
12. Qxd4 {+0.74/9 2.20} Nxd4 {-0.32/9 2.19}
13. Kd1 {+0.63/10 2.32} Bd7 {-0.54/8 1.50}
14. e3 {+0.55/9 3.36} Nc6 {-0.35/8 1.36}
15. b5 {+0.94/9 2.41} Na7 {-0.37/8 1.56}
16. Ngf3 {-0.06/7 1.81} Bxc5 {+0.15/9 2.65}
17. Nb3 {+0.06/9 4.04} Bb4 {+0.02/8 1.88}
18. Nfd4 {-0.10/8 2.03} O-O {+0.33/8 2.71}
19. Bd3 {-0.05/7 2.15} b6 {+0.48/7 1.12}
20. Ke2 {+0.16/7 2.31} Rc8 {+0.20/7 2.63}
21. Ra1 {+0.18/8 2.54} Rc7 {-0.28/8 2.33}
22. Kf1 {+0.20/8 2.50} Bc8 {+0.18/7 1.28}
23. Kg1 {+0.25/8 4.71} Rc3 {+0.24/7 1.18}
24. Be2 {+0.33/8 2.83} Rc7 {+0.16/7 1.03}
25. e4 {+0.36/8 3.99} g6 {+0.26/7 1.81}
26. h4 {+0.37/7 1.94} Kf8 {+0.27/7 2.75}
27. g4 {+0.41/8 3.85} Bd6 {+0.21/8 3.63}
28. h5 {+0.42/6 1.50} Be5 {+0.43/7 1.14}
29. Ra4 {+0.46/7 2.13} Bf4 {+0.22/8 3.36}
30. f3 {+0.44/7 2.29} Be3+ {+0.03/8 3.10}
31. Kh1 {+0.50/6 1.67} Kg7 {+0.01/8 3.04}
32. Bf1 {+0.50/7 2.86} gxh5 {+0.15/7 4.86}
{White makes an illegal move: a1a1}
0-1

You can download a 7z file from my site with all games here:
rwbc-chess.de/Downloads/Debug/luna_020.7z
##################################################
BTW there is another very minor cosmetical 'issue', which happens
with some other programs too , but it would not prevent me listing it
in my chronology. I think it doesn't deserve another full issue here,
thus I will describe it shortly under this issue.
In the very end of the game before being mated, the eval suddenly
appears as 0.00 at least in the written pgn.
May be it just sends the depth at that point and the GUI sets it to zero?
If that was true and too much code would needed to be changed a
simple solution would be just sending the previous eval (just a proposal).
Like I said, this is just cosmetical, but e.g. me (and others) use sometimes tools/scripts,
which compare evals, or print graphs from pgn data and the discontinuity gives
a bit ugly results then.
Examples:
[Event "My Tournament"]
[Site "RWBC-CAPPUCCINO Win7U64 Q8200 2.33Ghz"]
[Date "2022.10.08"]
[Round "12.1.1"]
[White "Luna_020-64"]
[Black "Pigeon_151fix-64"]
[Result "0-1"]
[ECO "A00"]
[GameDuration "00:05:52"]
[GameEndTime "2022-10-08T15:32:03.362 Mitteleuropäische Sommerzeit"]
[GameStartTime "2022-10-08T15:26:11.156 Mitteleuropäische Sommerzeit"]
[Opening "Benko's Opening"]
[PlyCount "160"]
[TimeControl "120+1"]

1. g3 {book} c5 {book}
2. e4 {book} b6 {book}
3. Bg2 {book} Bb7 {book}
...
78. Kg3 {-19.00/6 2.99} b1=Q {+325.11/9 0.95}
79. Kh3 {-19.08/6 2.08} Qg6 {+325.11/7 0.60}
80. Kh4 {0.00/9 1.34} Rh7# {+325.11/7 0.63}
{Black mates}
0-1

[Event "My Tournament"]
[Site "RWBC-CAPPUCCINO Win7U64 Q8200 2.33Ghz"]
[Date "2022.10.08"]
[Round "13.1.2"]
[White "Pigeon_151fix-64"]
[Black "Luna_020-64"]
[Result "1-0"]
[ECO "D00"]
[GameDuration "00:05:29"]
[GameEndTime "2022-10-08T15:41:32.274 Mitteleuropäische Sommerzeit"]
[GameStartTime "2022-10-08T15:36:02.794 Mitteleuropäische Sommerzeit"]
[Opening "Levitsky attack (Queen's Bishop attack)"]
[PlyCount "145"]
[TimeControl "120+1"]

1. d4 {book} d5 {book}
2. Bg5 {book} c5 {book}
3. dxc5 {book} Nf6 {book}
...
69. Qe4+ {+325.11/7 0.51} Kf2 {-M2/9 2.45}
70. Bh3 {+325.11/8 2.96} Kg1 {0.00/10 1.40}
71. Kxh5 {+325.11/8 2.87} Kf2 {-M2/8 2.57}
72. Kh4 {+325.11/7 0.48} Kg1 {0.00/10 1.59}
73. Qg2# {+325.11/7 0.40}
{White mates}
1-0

Cheers,
Guenther

Hi Guenther,
The first issue seems to be related with the way the engine is handling time, although I'm not 100% sure. Anyway, I just pushed a change that prevents the engine from outputting a1a1 (MOVE_INVALID) in any scenario. I tested the changes in 128 2min+1sec and 2sec+0.15sec games (64 for each time control) against multiple engines and all games turned out fine.
Once again, thank you for your contribution :)
Thomas

Hi Thomas,
Sorry for the late reply, but finally I had compiled it again and this time in release mode too.
I had no time yet for doing a retest myself, but I am pretty sure you fixed this issue ;-)
Today I added Luna to the XB/UCI chronology and provided a link to my compilation.
Feel free to correct any wrong info on my side, or create a binary release yourself.
Good luck with Luna and best wishes from Germany/Regensburg,
Guenther


Repo cleanup

Moved code to the root of the repo and removed the .DS_Store file. Checked .gitignore into VC.

This should wait until #55 is merged. Or you can work on top of my branch? That'd be great.

This should be merged. The earlier the better since future PRs can use the folder structure.

@MarkusZoppelt @HacDan this was taken care of in the above mentioned PR. Please check to confirm.

Was all of this solved in #55?

@KalleHallden yes. Looks like that. You can verify by going to the master branch. We don't have ".DS_Store". ".gitIgnore" is added. The app is moved to the root


Reduce extra symbols generated in predicate push down

During predicate push down the join condition may be mixed up, which
causes the push down code to consider the condition to be new, and
thus the generation of many unnecessary symbols.  These symbols are
propagated through the plan and cause extra data to be stored in hashes
and sent over the network.
This problem can be reduced by canonicalizing the old and new join
criteria expression when checking if the criteria has changed.

Updated

accepted


Addition of a Health GPT chatbot in the website

Hi, @tushargupta1504
I think the website is too mediocre to be honest, and needs a lot of improvements, at this point of time its only a frontend webiste, i think addition of a chatbot to the website would improve the overall appeal of the website.
Kindly open this issue and assign it to me

@tushargupta1504 can you also add the hacktoberfest label since i am participating in both gssoc-ext and hactoberfest

please assign this task to me

@tushargupta1504
This is how the chatbot looks like
Ignore the video quality since i had to compress the screen recording video
https://github.com/user-attachments/assets/e8c254f9-2dda-4b53-bfa8-4928fb672371

heyy @tushargupta1504 I think its only a frontend website. I think addition of a chatbot helps this a lot so I want to work on this.Please assign this take to me.Thank you!


Re-Order "Copy Bundle Resources" before "Compile Sources"

In order to execute third party framework
I had to move "Copy Bundle Resources" before "Compile Sources" in "Build Phases".

Is there any way to change Build Phases order of those two setting in the project.yml file?

I do face the same problem. I also want to move the Copy bundle Resources phase before the Compile Sources. I do not see a way of doing it. I now need to patch in a custom script in thepostGenCommand command.
There are multiple possible solutions:

Always place the Copy bundle Resources before Compile Sources (but this is non default for an new Xcode project.
Add a property to a target where you can toggle if you want this behaviour. (something like:

Target.shouldCopyResourcesBeforeSourceCompile

And here -> https://github.com/yonaskolb/XcodeGen/blob/master/Sources/XcodeGenKit/PBXProjGenerator.swift#L1080 the following code:
  func addresourcesBuildPhase() {
            let resourcesBuildPhaseFiles = getBuildFilesForPhase(.resources) + copyResourcesReferences
            if !resourcesBuildPhaseFiles.isEmpty {
                let resourcesBuildPhase = addObject(PBXResourcesBuildPhase(files: resourcesBuildPhaseFiles))
                buildPhases.append(resourcesBuildPhase)
            }
        }

        if target.shouldCopyResourcesBeforeSourceCompile {
            addresourcesBuildPhase()
        }

        let sourcesBuildPhaseFiles = getBuildFilesForPhase(.sources)
        let shouldSkipSourcesBuildPhase = sourcesBuildPhaseFiles.isEmpty && target.type.canSkipCompileSourcesBuildPhase
        if !shouldSkipSourcesBuildPhase {
            let sourcesBuildPhase = addObject(PBXSourcesBuildPhase(files: sourcesBuildPhaseFiles))
            buildPhases.append(sourcesBuildPhase)
        }

        buildPhases += try target.postCompileScripts.map { try generateBuildScript(targetName: target.name, buildScript: $0) }

        if !target.shouldCopyResourcesBeforeSourceCompile {
            addresourcesBuildPhase()
        }

Add an property to a target to manually order all build phases. (The PBXProjGenerator.swift needs some refactoring to support his. Because the data for an phase is now coupled to the order.
Add an property to a target to order all build phases and filter the phases at the end to have your wanted ordering.
Add support to place files before the compile sources phase with the  buildPhase.copyFiles option.

@yonaskolb witch direction do you suggest?

We're facing the same issue with our app. @yonaskolb any thoughts on this?

So I understand the problem better, how is this failing? What step or framework has this requirement and why does it break?

In the project I'm using it it validates the assets during the build phase. Thus the assets should be already located in the app otherwise I'm not able to validate the assets.

In the project I'm using it it validates the assets during the build phase. Thus the assets should be already located in the app otherwise I'm not able to validate the assets.

The compile sources step validates the resources, or how does it do that? Or is it a custom run script?
In any case maybe a property on target resourcesBeforeSourcesBuildPhase could be the way to go. A list of phase types for total order control might be powerful, but perhaps overkill for the complexity it would add

Happy to accept a PR

Indeed the validation is done in a custom build script.
Thank you for pointing me out for the direction to go. I've created a pr to add this to the project. See https://github.com/yonaskolb/XcodeGen/pull/1351

This issue can now be closed because it is resolved by https://github.com/yonaskolb/XcodeGen/pull/1351 and is released in https://github.com/yonaskolb/XcodeGen/releases/tag/2.35.0


Update to discord.py 2.0

This PR partly rewrites the bot to support Discord.py 2.0 and makes use of the newly introduced features like Threads, Components (buttons, selects) and the Flags extension.
This is a WIP and I don't expect this to be finished before the end of this year.

interesting


Improve Devfocus Article

The readme file , which is the only file in the Devfocus Article folder but it's not explaining the the feature properly.
I would like to improve the file with a proper description of the folder.
@phyleria can u assign me this issue I want to work with hacktoberfest label

@phyleria Please have a look

Hi @ayan-joshi
Can you kindly give me a brief overview of the issue you're trying to work on? Unfortunately, I'm not able to understand it from the description you've provided.

Hi @ayan-joshi
Can you kindly give me a brief overview of the issue you're trying to work on? Unfortunately, I'm not able to understand it from the description you've provided.

yes , the readme file of the devfocus article folder submissions/Dev focused articles should be improved , it's just have 2 lines of explanation and takes us to medium article ,
It should explain the purpose more precisely so I would like to work on it and improve the file @phyleria

Ok, go ahead.


Add Vector calculations

Add Vector calculations
https://tweaked.cc/module/vector.html
Maybe utilize them in the Movement.

Packed within other TestSuits:
https://github.com/mc-cc-scripts/TestSuite-lib


Inline Template Attributed Added

Added a new attribute to the pagination directive controls to allow the user to use the inline template instead of a url.  I was having a hard time finding where exactly to put the template and if the user doesn't want to implement their own custom template then it is easier to use this inline template.
If you need me to add some unit tests I could do that but I hope my change is pretty straight forward.  Please let me know if you have any questions.
Thanks,
Paul

Closed in favour of a simpler implementation of the same functionality https://github.com/michaelbromley/angularUtils/pull/138


Add support for detecting YAML for a .yml file extension

Thanks for contributing @fromanator! Would you consider adding a star to this project?


#187 2.16 language issues

References #187

Coverage remained the same at 100.0% when pulling 75837f966a9429ea3b66d17fc4038ba2ec1b6b95 on #187_2.16_Language_Issues into dbabae487944799ddd1faa6e9e58a147cfe64578 on dev.

Coverage remained the same at 100.0% when pulling<PHONE_NUMBER>7c59f7d8c84c31526774ac02ec9618 on #187_2.16_Language_Issues into dbabae487944799ddd1faa6e9e58a147cfe64578 on dev.


add light theme config to css

Fix #74

Light theme works fine, but would there be a way to set the same "black" color for the logo and theme in dark mode?

Light theme works fine, but would there be a way to set the same "black" color for the logo and theme in dark mode?

I think this should be added before merging this PR.

I wonder if it is better edit the CSS or the logo image.....

We can change the color. I will update it now. For dark theme giving another logo is also possible.

Don't worry about editing the logo. In fact, the logo should stick to the official Ansys colours, Thus, I do agree with @germa89, its better editing the CSS files for the dark theme format. Thanks @Revathyvenugopal162

Looks awesome @Revathyvenugopal162 ! Thanks for solving the problem

I like the output a lot! The dark theme is much colorful though. But I like it that way. Good job @Revathyvenugopal162 !

I like the output a lot! The dark theme is much colorful though. But I like it that way. Good job @Revathyvenugopal162 !


Wrong browser detection with UC Browser on Android 6.0

Hello.
The package is giving me a wrong detection with UC Browser on Android 6.0.
User Agent:
Mozilla/5.0 (Linux; U; Android 6.0; en-US; MotoG3 Build/MPIS24.65-33.1-2-16) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/57.0.2987.108 UCBrowser/<IP_ADDRESS>1 Mobile Safari/537.36
Detected:
{   "name": "safari",   "version": "4.0.0",   "versionNumber": 4,   "mobile": true,   "os": "Android 6.0", }

We'll update a comment to #24, If we finished updating the agent parser.


Favicon returns 500

Describe the bug
Looks like after the change https://github.com/jaegertracing/jaeger/pull/3399 the favicon can no longer be served. It's now an embedded gzipped file. All the versions since 1.28 return a 500, seeker can't seek error.
It can be fixed by simply removing favoriteIcon from StaticRootFiles https://github.com/jaegertracing/jaeger/blob/e36f9fec8eb4a3b9a808aa76d248094fd7f657be/cmd/query/app/static_handler.go#L41
To Reproduce
Steps to reproduce the behavior:

Run the all-in-one after 1.28 (also affects query)
Open the UI in a browser

Expected behavior
Return the favicon with a 200 result.
Screenshots

Version (please complete the following information):
All versions after 1.28

cc @Ashmita152

curiously enough, if I run all-in-one from source, favicon is returned normally, but when I run the docker command it returns 500.


Cleaned up/Fixed some bugs in the remote inspector code.

Cleaned up/Fixed some bugs in the remote inspector code.

Fixes #22377

Thanks!


Timeout Exception Encountered with InvalidValueChecker During Fuzzing

Description
I've been using Restler for fuzzing tests and have encountered a recurring issue where I receive a timeout exception when applying the InvalidValueChecker. The error message I'm seeing is (restler-fuzzer/Fuzz/EngineStdOut.txt):
Exception 'Exceed Timeout' applying checker <checkers.invalid_value_checker.InvalidValueChecker object at 0x103396b50>
timeout reached

This issue has been consistently reproducible in my testing environment.
Steps to reproduce
I ran it against this repo
With this command on a Mac:
bins/restler/Restler fuzz --grammar_file Compile/grammar.py --dictionary_file Compile/dict.json --settings Compile/engine_settings.json --time_budget 0.05 --target_ip <IP_ADDRESS> --target_port 2503 --no_ssl

Hello @ImanSharaf,
The invalid value checker may take a long time depending on the specification and service (a large number of parameters, large schema, or long service response times).  RESTler currently does not have a way to limit the budget of each checker, it will always try to do the same work regardless of the overall time budget, and will terminate when the time budget is exceeded.  You can estimate the time it will take for all checkers to finish by running in 'fuzz-lean' mode, which will run the same checkers as 'fuzz' mode but only once per request type (endpoint+method), i.e. without generating many sequences as in 'fuzz' mode.
Thanks,
Marina

I assume the Exception 'Exceed Timeout' in Fuzz/EngineStdOut.txt is an indication of a "global" timeout for InvalidValueChecker, and not an indication that a timeout happened during some of  individual HTTP requests.
As OP, I also see this exception
...
2024-01-21 12:30:53.490: Generation: 2
Invalid value generator random seed:<PHONE_NUMBER>.474184
Setting invalid value generator random seed: 12345
Exception 'Exceed Timeout' applying checker <checkers.invalid_value_checker.InvalidValueChecker object
at 0xffff82603690>
timeout reached
2024-01-21 14:36:57.865: Terminating garbage collection. Waiting for max 300 seconds.
Done.

and Fuzz/RestlerResults/experiment*/bug_buckets/bug_buckets.txt contains entries like the one below. They are "never" reproducible
InvalidValueChecker_timeout: 5
Total Buckets: 5
-------------
InvalidValueChecker_timeout - Unable to reproduce bug - InvalidValueChecker_timeout_1.replay.txt
Attempted to reproduce 2 time(s); Reproduced 0 time(s)
Hash: InvalidValueChecker_timeout_7a7fb1bfa0824003b891255be84a906876eb7ead
GET /api/v1/cities?fields=fuzzstring HTTP/1.1\r\nAccept: application/json\r\nHost: app\r\nauthenticatio
n_token_tag\r\n

Is there a way to increase the timeout for the individual HTTP requests for InvalidValueChecker_timeout?

This is the setting I've asked above: max_request_execution_time https://github.com/microsoft/restler-fuzzer/blob/main/docs/user-guide/SettingsFile.md#max_request_execution_time-float-default-120-max-600


feat(Event Frame Work): add intermediate superclass for ContractDefinition Events hierarchy

What this PR changes/adds
Add a 'intermediate' superclass for the Event Payload Classes of the ContractDefinition classes.
Why it does that
Improve the work with the Event Framework and give the possibility to filter Events on a bigger group of events.
Linked Issue(s)
Closes #1910
Checklist

[ ] added appropriate tests?
[x] performed checkstyle check locally?
[x] added/updated copyright headers?
[ ] documented public classes/methods?
[ ] added/updated relevant documentation?
[x] assigned appropriate label? (exclude from changelog with label no-changelog)
[x] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Codecov Report

Merging #1911 (93cc651) into main (8737a4f) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1911   +/-   ##
=======================================
  Coverage   62.78%   62.78%
=======================================
  Files         781      783    +2
  Lines       16614    16608    -6
  Branches     1079     1080    +1
=======================================
- Hits        10431    10428    -3
+ Misses       5732     5729    -3
  Partials      451      451

Impacted Files
Coverage Δ

.../contractdefinition/ContractDefinitionCreated.java
100.00% <100.00%> (ø)

.../contractdefinition/ContractDefinitionDeleted.java
100.00% <100.00%> (ø)

...ractdefinition/ContractDefinitionEventPayload.java
100.00% <100.00%> (ø)

...aplane/framework/manager/DataPlaneManagerImpl.java
71.95% <0.00%> (-3.66%)
:arrow_down:

...ispatcher/sender/MultipartContractOfferSender.java
87.71% <0.00%> (-1.17%)
:arrow_down:

...vent/policydefinition/PolicyDefinitionCreated.java
100.00% <0.00%> (ø)

...vent/policydefinition/PolicyDefinitionDeleted.java
100.00% <0.00%> (ø)

.../contract/offer/store/ContractDefinitionStore.java
0.00% <0.00%> (ø)

...r/core/controlplane/ControlPlaneCoreExtension.java
0.00% <0.00%> (ø)

.../sql/assetindex/SqlAssetIndexServiceExtension.java
0.00% <0.00%> (ø)

... and 64 more

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

@jimmarino Documentation is adapted


MS2 not being reported with Waters MSe conversion from command line

Hello, I am using a Water's Synapt G2-Si with MSe acquisition and msconvert from the command line. I have discovered that the mzml file does not contain any scan level information for MSe. Aka, when using the command line, all spectra (whether MS1 or MSe) are all called MS1. I confirmed this using the data from MSe_Short.raw. The following was present only when using the GUI:
"cvParam cvRef="MS" accession="MS:1000827" name="isolation window target m/z" value="1025.0" unitCvRef="MS" unitAccession="MS:1000040" unitName="m/z"/. "
I have also attached the sample files (converted to txt) for reference. Having this functionality in command line would be greatly appreciated.
MSe_Short_GUI.txt
MSe_Short.txt

I think the problem might just be that you have a very old version of the commandline msconvert.exe.
It looks like MSe_Short_GUI.txt was created with ProteoWizard 3.0.21342 and MSe_Short.txt was created with ProteoWizard 3.0.11242.
Version 3.0.11242 is from 2017.
When I convert that file using a more recent version of msconvert (3.0.21259) I correctly see that spectrum as being MS2.

Thanks, that resolved it. Guess the problem was caused by OpenMS, not Proteowizard directly. Seems that OpenMS uses (old) proteowizard binaries and adds them to system variables on download. Even when you add the new proteowizard binaries to PATH afterwards, the OpenMS binaries are used by default.

The PATH is searched from left to right so if the OpenMS one comes before the newer one you added, it would be used instead of the newer one. You can prepend like:
set PATH=c:\path\to\binaries;%PATH%


Predict on image

I am training keras model, save weights.
After i run create_model(input_shape, anchors, num_classes, load_pretrained=False, freeze_body=2, weights_path='model_data/yolo_weights.h5'):
After this i have pre trained model, and want run on new img.
But get error
alueError: Error when checking model : the list of Numpy arrays that you are passing to your model is not the size the model expected. Expected to see 4 array(s), but instead got the following list of 1 arrays:

Same, I am having the same issue. @MenshovSergey have you found a solution?

Im facing the same problem. Do u have any solution ?


New logo and some header tweaks

Show off our pretty new logo courtesy @bulletfactory. Some other minor styling tweaks to the nav links, including shortening the "logged in" message.
I acknowledge that most people are probably consuming Graphite with a nice frontend like Grafana so they'll probably never notice this change, but it bothers me so I'm going to fix it anyways.
:wink:

The build is green aside from an unrelated broken docs build. Merging.