Add info command

Paired with https://github.com/HolographicWings/LethalSDK/pull/2
Some photos showing it works

This is interesting, i will add it for the next SDK update, with. theres an unused description field for every planets, all vanilla planets have this field but it's never used

The info command is in vanilla btw


TinyURL emergency deprecation

Suffice to say I am not able to pay for TinyURL API premium at this time, so I will be deprecating this if / until I can find a cheaper and more stable solution, perhaps self-hosted.

Any URL's that were already shortened into tinyurl version (e.g. on the completely blank page as shown below) still load the previously generated tinyurl strings, but any new "run data output links" will not create new shortened URL's.

I will try to find / create this functionality in the replacement link shortener (if there is one). Since no personal data is collected by the Full Game Time Calculator, just level names and level times, it is performant / preferable to re-use shortened links for identical data

Nonetheless, I will be removing the feature altogether for now as I do not believe a URL shortened that does not work on unique new runs is worth including in the app, just use an external link shortener website like https://tinyurl.com (their actual website is free to use), or https://cutt.ly directly in the meantime.

I will keep this issue open just because I am still actively looking for a replacement link shortener API


testsuite refactor

This PR addresses GitHub issue: #1236  .
Briefly describe the changes proposed in this PR:

all tests that are really just unit tests moved into respective rio modules
testsuite for rio parsers moved here

To be merged together with eclipse/rdf4j-storage#215 and eclipse/rdf4j-testsuite#58.
After this thas been merged we will need to adapt the jenkins setup for the develop branch.

@rdf4j-bot run tests

As you can see, I need to weed out some maven configuration issues still.

@rdf4j-bot run tests

@rdf4j-bot run tests

@rdf4j-bot run tests

(in case you're wondering, I'm trying out different jenkins configurations for the pr verification job - hence the repeated 'run tests' coments)


iFrame with Sharepoint

Hey there, remarkable work. I tried to integrate the kanboard in my Sharepoint 2013 Site using iFrames (<iframe src="myurl/kanboard" style="width:1000px; height: 600px; ) but as discussed in #309 and #466 iFrames dont work :(
I unsuccessfully tried the solutions provided in #309 and #466 so can you give me a detailed step by step instruction? I'm quite sure i ve tested the provided solutions properly so im not exactly sure what ive done wrong.
Thx in advance
Best,
Marv

Maybe this could help: https://github.com/fguillot/kanboard/issues/466#issuecomment-84463003

@BlueTeck I tried define('ENABLE_XFRAME', false); and define('ENABLE_XFRAME', true); but there s still a white, blank page with no error or something. Just white screen.

Solution: Set both to false as seen below
// Enable or disable "Strict-Transport-Security" HTTP header
define('ENABLE_HSTS', false);
// Enable or disable "X-Frame-Options: DENY" HTTP header
define('ENABLE_XFRAME', false);

Issue seems to be solved.


closes #30779 -  fix docker login with wrong path

closes #30779
- What I did
when docker login uses custom url but the url includes the official registry docker.io just ignore it
- How I did it
with a simple string.contains in the if statement
- How to verify it
docker login index.docker.io
  in the config.json
 before the fix the login will succeed , but the auth  will be saved as

"auths": {
"index.docker.io": {
"auth": "a3Jhc2ltaXI6d1leNHNnXjZUbzhD"
}
}
after the fix it will be saved as
"auths": {
"https://index.docker.io/v1/": {
"auth": "a3Jhc2ltaXI6d1leNHNnXjZUbzhD"
}
}
so it can be used to auth with the official docker registry

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "30779-fix-docker-login-with-wrong-path" git@github.com:vipconsult/docker.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842353909656
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.


Add collectionView extension

In this PR extension for UICollectionView was added for registering and reusing UICollectionReusableView (for example, header view)

We need to agree on a consistent naming for extensions. My suggestion would be to keep to Something+Extensions
There is no swiftlint in place. Warning suppressions can be removed.


client_e2e: in cluster test covering client

Trying to make the client self contained too.

@etcd-bot test this please

Please fix these minor issues.

LGTM


⚠ Samsung has degraded performance

In 8ae0edb, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2656 ms

Resolved: Samsung performance has improved in e8e6e68.


[bug] failed to create webview to open custom protocol url

Describe the bug
let ww = new WebviewWindow(item.id, {
    url:'https://custom.localhost/pages/index.html',
    title: 'test',
  });

the url can't be intercepted by tauri.
Reproduction
No response
Expected behavior
No response
Platform and versions
windows 11
1.3.0

Stack trace
No response
Additional context
No response

duplicate of #5478


B/W icon hard to see when selected

the black and white icon is hard to see when selected on a white background; the 7 becomes white and only the key is visible.
fix: add a white border around the 7

perhaps a logo more akin to modern shell window (black with white border) and the red/orange 7 inside it?


Organize package using a workspace configuration

Configure the arch3 package as a collection of packages, starting with the arch3-core setup.

Closed at #13


Eer

Codecov Report

Merging #98 into master will increase coverage by 9.26%.
The diff coverage is 90.24%.

@@            Coverage Diff             @@
##           master      #98      +/-   ##
==========================================
+ Coverage   78.91%   88.17%   +9.26%
==========================================
  Files          32       33       +1
  Lines        1143     1184      +41
==========================================
+ Hits          902     1044     +142
+ Misses        241      140     -101

Impacted Files
Coverage Δ

libact/query_strategies/multiclass/init.py
100% <100%> (ø)
:white_check_mark:

..._strategies/multiclass/expected_error_reduction.py
90% <90%> (ø)

libact/query_strategies/multiclass/mdsp.py
78.76% <0%> (+64.6%)
:white_check_mark:

.../multiclass/active_learning_with_cost_embedding.py
100% <0%> (+78.04%)
:white_check_mark:

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 cacd4e8...7aa9a64. Read the comment docs.


End-to-end test that opens the form lhtml file and sees that the titl…

…e is correct

Not sure why builds aren't building...


docs(README.md): GitHub Security Alerts sentence ends prematurely

Hi,
reading through the GitHub Security Alerts in the README.md file it seems to me that the sentence "For more information about adding security alerts, check" ends prematurely.
Not sure what the original idea was where to link to but I could imagine to the run-tfsec-with-sarif-upload action
or the GitHub documentation on Uploading a SARIF file to GitHub.

thanks for pointing this out - will sort that out

.


Simple Report - 400 and 504 errors for some CSV bulk upload files

Problem statement
SimpleReport received 400's and a 504 when uploading bulk csv. SimpleReport's logs do not provide enough information for them to diagnose root cause and are requesting that we research and report back cause of errors.
What you need to know

400 errors
2023-01-27 19:40:34.894  - submissionId - 22778724
2023-01-27 19:39:14.697 - submissionId - 22778710
2023-01-27 19:10:09.464 - submissionId - 22778277
503 error
2023-01-25 09:01:28.250 (No submission ID returned)

Acceptance criteria

[ ] Root cause is identified and communicated to SR (Boban Ljuljdjurovic)
[ ] Messages are successfully processed into RS.

Errors:
400
22778724 - Invalid DOB, received xx/x/xxxx format
22778710 - Invalid DOB, received xx/x/xxxx format
22778277 - No match found for equipment_model_name; please refer to CDC LIVD table LOINC mapping spreadsheet for acceptable values.
503:
Likely transient issue as we do not see repeat occurrances for this in the logs.


snpEff script differs for conda vs containers

Description of problem
snpEff is a java program.
When running with conda, it is invoked like this: snpEff {args}.
When running in a container, I have to invoke it with the full file path and filename extension like this: /path/to/snpEff/snpEff.jar {args}.
I want to use only one script in Nextflow for running with either conda and containers, which means I would like to either invoke snpEff with conda by passing it the full file path or invoke snpEff with only snpEff for Singularity/Docker.
setup
Here is the Dockerfile used to build the container:
FROM openjdk:17-jdk-slim

WORKDIR /usr/src/app

RUN apt-get update && \
    apt-get install -y wget unzip && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*

RUN wget https://snpeff.blob.core.windows.net/versions/snpEff_latest_core.zip && \
    unzip snpEff_latest_core.zip && \
    rm snpEff_latest_core.zip

# assuming snpeff looks for data in /usr/src/app/snpEff/data (instead maybe we download at runtime and mount as a volume?)
RUN java -jar snpEff/snpEff.jar download -v GRCh38.86

# ENV _JAVA_OPTIONS=-Xmx8g

ENTRYPOINT ["java", "-jar"]

attempts to resolve

Specifying a symlink in the Dockerfile, RUN ln -s snpEff path/to/snpEff/snpEff.jar
Specifying an alias in the Dockerfile and writing to the .bashrc file in the container RUN echo "alias foobar='snpEff/snpEff.jar'" >> /root/.bashrc
Changing ENV PATH curly brackets in the Dockerfile ENV PATH path/to/snpEff:$PATH and ENV PATH path/to/snpEff:${PATH}
Moving the executable file to usr/local RUN mv snpEff /usr/local/ && chmod 755 /usr/local/snpEff/snpEff.jar
Mounting a entrypoint.sh script to run a symlinking script at launch; this worked if the symlink provided was "foobar" but failed when the symlink was "snpEff" due to snpEff already being a file.

FROM openjdk:17-jdk-slim

WORKDIR /usr/src/app

RUN apt-get update && \
    apt-get install -y wget unzip && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*

RUN wget https://snpeff.blob.core.windows.net/versions/snpEff_latest_core.zip && \
    unzip snpEff_latest_core.zip && \
    rm snpEff_latest_core.zip

# assuming snpeff looks for data in /usr/src/app/snpEff/data (instead maybe we download at runtime and mount as a volume?)
RUN java -jar snpEff/snpEff.jar download -v GRCh38.86

# set up entrypoint
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh

ENTRYPOINT /usr/local/bin/entrypoint.sh && java -jar snpEff

the entrypoint script for the symlink:
#!/bin/sh

ln -s snpEff/snpEff.jar snpEff

Building the Dockerfile from micromamba base - this correctly invokes the program with only snpEff but unfortunately this behavior was not translated to running in Nextflow with Singularity and resulted in a command not found error. (+ added downside of pulling this image takes a long time).

FROM mambaorg/micromamba:1.5.8
# mount yaml file to build environment
COPY --chown=$MAMBA_USER:$MAMBA_USER env.yml /tmp/env.yaml
# build environment
RUN micromamba install -y -n base -f /tmp/env.yaml && \
    micromamba clean --all --yes
# args to run conda environment in dockerfile
ARG MAMBA_DOCKERFILE_ACTIVATE=1
# self update
RUN micromamba update snpeff
# download reference genome
RUN snpEff download -v GRCh38.86

Links to similar issues

https://askubuntu.com/questions/868017/how-do-i-make-my-jar-file-execute-like-a-regular-application-from-terminal
https://stackoverflow.com/questions/27093612/in-a-dockerfile-how-to-update-path-environment-variable

One solution could be to add snpeff to your PATH for conda. I assume most users who could invoke via conda would be able to also update their PATH. So that invoking the container for conda or nextflow would only require snpEff (neither conda or nextflow invoke with full path)


Dev

Description by Korbit AI
What change is being made?
Revise the workflow and third-party library configurations by removing a misplaced GPU tag, updating the knowhere version, and correcting echo output formatting.
Why are these changes being made?
These changes enhance the accuracy and efficiency of the CI/CD process by ensuring the correct image tags are applied across different deployment configurations and aligning with the latest version of the knowhere library for improved functionality. Additionally, the echo output change addresses formatting consistency, which is essential for automated logs readability and maintenance.

Is this description stale? Ask me to generate a new description by commenting /korbit-generate-pr-description

@dependabot recreate


Capitalization Fixes

Also refactored missed _format_axes() in interpretation.py and classifiers.py

@parrt I don't know why these lines are included to change the x-axis ticks of the importance plots, but I think they should be removed.
Before:
    # TODO this just screws up the x-axis ticks, should just leave numeric!
    ax.set_xticks(range(0, len(shadow_tree.feature_names)))
    ax.set_xticklabels(shadow_tree.feature_names)

After (https://github.com/parrt/dtreeviz/pull/245/commits/73462af699cfa0f8dc6542af5e7a847d72488287):

I don't know why these lines are included to change the x-axis ticks of the importance plots, but I think they should be removed.

Agreed. I believe I recently change this to be horizontal and probably left some code which is strange but yes all of the feature names should be on the vertical axis now.

I looked through the documentation for sklearn and spark trees and pulled all of the criterion values I could find.

Excellent


Fixed console log example

Actually this is wrong, it should simply be console.log(message) I believe?

I think it would be:
page.on('console', ...args => {
  for (let i = 0; i < args.length; ++i)
    console.log(`${i}: ${args[i]}`);
});

but I'm not super familiar with the new console api.

Not interested in signing it
On Oct 5, 2017 8:15 PM, "Andrey Lushnikov"<EMAIL_ADDRESS>wrote:

@aslushnikov approved this pull request.
Actually, a good change, I got confused. Please, sign the CLA, and it's
good to go!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleChrome/puppeteer/pull/962#pullrequestreview-67548252,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAf7hR4PR4QWu2-d_hpwrQUCE6duN0kqks5spXEHgaJpZM4Pvd9B
.

@niftylettuce without CLA I can't merge this in.

The GitHub standard is that with any commits you push towards a repo you are obviously adhering to the LICENSE that already exists.  This is ridiculous to expect.  It's 2017- you should do everything you can to welcome contributions, not push them away.

This legal junk https://cla.developers.google.com/clas/new?domain=DOMAIN_GOOGLE&kind=KIND_INDIVIDUAL is just as bad as the Facebook React BSD license.

Yeah I'll sign a huge legal document just so I can help fix typos and improve docs... yeah right.  Good luck!


sync dependencies' vendor

govendor sync just download source codes of dependencies,but what if I want to download theirs vendor in case they have one

Use go get -u path

I add all my dependencies into vendor.json, and when someone else clone my project, I think it just need to run the govendor sync which will download all the dependencies.But it seems that it will not download the package's inner vendor directory right?So the only way is that I have to parse the vendor.json myself and run go get -u xxx if I want to download xxx's inner vendor dir?


sddm: fails to start with xauth error

SDDM will fail to start when built with a recent unstable channel (https://github.com/NixOS/nixpkgs-channels/commit/e916273209560b302ab231606babf5ce1c481f08).
X starts up and outputs this error message:
systemd[1]: Starting X11 Server...
systemd[1]: Started X11 Server.
sddm[582]: Initializing...
sddm[582]: Starting...
sddm[582]: Adding new display 0 on vt 1 ...
sddm[582]: Adding cookie to "/var/run/sddm/:0"
display-manager-start[582]: sh: /usr/bin/xauth: No such file or directory
sddm[582]: Display server starting...
sddm[582]: Running: /usr/bin/X :0 -auth /var/run/sddm/:0 -nolisten tcp -background none -noreset vt1
sddm[582]: Failed to start display server process

Reverting https://github.com/NixOS/nixpkgs-channels/commit/60fc0af74ad9e4c241f27ef41e5e1a4e45c57e14 resolves the issue and allows SDDM to start again.
My leading theory is that sddm is ignoring /etc/sddm.conf. That file is present and has the proper paths and settings, including for xauth.

ping @ttuegel since I don't think referencing the commit is enough

My leading theory is that sddm is ignoring /etc/sddm.conf.

Yes, that seems to be the problem. I'll see if I can figure out why...

This is fixed properly in 6a80bb9. The config file was not loaded because it was "too old." It wasn't actually, but its mtime was being compared against an uninitialized value.

After looking at this some more:

Per https://bugreports.qt.io/browse/QTBUG-24831, the reported file properties are always the target of the symlink, even if it's Windows and the documentation explicitly states that links are not dereferenced. So in our case we get msecs=1 in the Nix store. In contrast, the symlink has a useful timestamp, but this is not accessible at all through the Qt API.
QDateTime is initialized to a "null" date/time, which is 0 msecs after the epoch, but in local time. This then gets converted to UTC, giving msecs=60601000*7, which is larger than 1, so the file is not loaded.

So, removing the check is the only reasonable option, modulo hacking Qt.


Small fixes for Pyblish

Changelog Description
This PR is targeting DCC still with Pyblish only, will be soon obsolete.
Additional info
Found some issues during Harmony testing.

Polluted branch, closing, will replace with clean one.


Migrate to new ActiveUser and OtherUser GraphQL queries

Since https://github.com/specklesystems/speckle-server/pull/1046 the old user query is basically deprecated, we need to follow suit in Core

the new API is live on latest

Done in #1798


imgproxy: 3.1.3 -> 3.2.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/imgproxy/imgproxy/releases.
meta.description for imgproxy is: "Fast and secure on-the-fly image processing server written in Go"
meta.homepage for imgproxy is: "https://imgproxy.net"
meta.changelog for imgproxy is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/sznkhclliwyca309jdi68ainxmnlnw1j-imgproxy-3.2.1/bin/imgproxy had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 3.2.1 with grep in /nix/store/sznkhclliwyca309jdi68ainxmnlnw1j-imgproxy-3.2.1
found 3.2.1 in filename of file in /nix/store/sznkhclliwyca309jdi68ainxmnlnw1j-imgproxy-3.2.1

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
imgproxy

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/sznkhclliwyca309jdi68ainxmnlnw1j-imgproxy-3.2.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A imgproxy https://github.com/r-ryantm/nixpkgs/archive/37596fe4a9dc2832fde6e6de335c5114dda88efc.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/sznkhclliwyca309jdi68ainxmnlnw1j-imgproxy-3.2.1
ls -la /nix/store/sznkhclliwyca309jdi68ainxmnlnw1j-imgproxy-3.2.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

imgproxy

Maintainer pings
cc @paluh @kalbasit for testing.

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

1 package built:

imgproxy


Adding a flip feature to card to show rules of game

Description
Issue:
The rules of games are not mentioned properly.
Issue description
I found it difficult to play some games as the rules were not instructed.
I want to add flip functionality to the game cards so that the user could understand the rules.
On cards, I would write simple rules to play the game as everyone is not familiar with every game.
I would add small small points how to play the game.
Current behavior

Desired Behavior
All cards are static
https://github.com/ssitvit/Games-and-Go/assets/114878264/665852cd-4276-4245-95e4-0e120967644b
I want to work on this issue.
Please assign this to me.
Screenshots
No response
Additional information
No response

Hi @Dimple-01 , I am assigning this task to you. Kindly complete within a week. Good luck for your work!

Thank you for assigning.

@panwar8279  please check, whether u r satisfied with me or not.
https://github.com/ssitvit/Games-and-Go/assets/114878264/b375b678-d364-4067-962b-8c748aa81482
Please give feedback.
I have done 90% of the work.
I just want your approval to finish it.


County-level load distribution

Fix the problem with county level load distribution when there are multiple load buses in a county.

Fixed


💅 Only removing unused imports is not working properly

Environment information
CLI:
  Version:                      1.8.3
  Color support:                true

Platform:
  CPU Architecture:             aarch64
  OS:                           macos

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         "screen-256color"
  JS_RUNTIME_VERSION:           "v20.11.1"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "npm/10.2.4"

Biome Configuration:
  Status:                       unset

Workspace:
  Open Documents:               0

Rule name
lint/correctness/noUnusedImports
Playground link
https://biomejs.dev/playground/?code=aQBtAHAAbwByAHQAIAB7ACAAdABlAHMAdAAgAH0AIABmAHIAbwBtACAAJwB0AGUAcwB0ACcAOwA%3D
Expected result
Biome finds the error and with the --error-on-warnings flag it should properly fix the file. It does not fix the file.
As you can see from the command:
> npx @biomejs/biome lint --write --error-on-warnings --only=correctness/noUnusedImports ./services/CustomersService.ts

And the output:
./services/CustomersService.ts:2:21 lint/correctness/noUnusedImports  FIXABLE  ━━━━━━━━━━━━━━━━━━━━━

  ⚠ This import is unused.

    1 │ import { type HttpClient, HttpError } from "./HttpClient";
  > 2 │ import type { Cart, CartItem } from "./models/Cart";
      │                     ^^^^^^^^
    3 │ import type { Customer } from "./models/Customer";
    4 │

  ℹ Unused imports might be the result of an incomplete refactoring.

  ℹ Safe fix: Remove the unused import.

    2 │ import·type·{·Cart,·CartItem·}·from·"./models/Cart";
      │                     ---------

Checked 1 file in 2ms. No fixes applied.
Found 1 warning.
lint ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ✖ Some warnings were emitted while running checks.

Biome did not write the fix even though it found an error.
Code of Conduct

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

Duplicate of https://github.com/biomejs/biome/issues/3470


Highscore page translation won't work

First of all, great explanation, but when implementing I had a same issue regarding TabNavigation. When we change the language, tab names are changing but content in middle screen (Highscores) is still on English (when switched to Germany). Any idea how to fix this ? Thanks

Thanks for pointing that out.
I think you're right, I didn't update the Highscore component, and it still uses hardcoded text. You can see it here and there.
In order to fix it, you can apply the same approach described in the article.

Thanks for quick response, I have another question regarding the reload of the screen when language is changed. In my example I haven't used redux. Maybe that is something that is triggering components to re-render when data is changed in your case. But in my case I have TabNavigation with 3 screens, when I change language, title of tabs are changed but content inside the pages are not. I tried that on your component where there are no highscores
ListEmptyComponent={() =>           <Text style={{ textAlign: 'center' }}>             {i18n.t('high_scores.title')}           </Text> }
For some reason that is still not working :/
Thanks in advance.

When I faced the same issues, I figured out I need to use a Redux. Here is my article that describes that.
You can try to re-render components manually, but I suppose that solution will quickly become messy.


train wav2lip_288x288/wloss_hq_wav2lip_train.py los

when i use it to train ，some loss becomes negative number，i am sure i use the correct dataset which as same as i train the sync_expertNet,and my sync_experNet loss reach about 0.25.
and then the loss become zero.
Thank you very much if you could give me some advice

L1: 0.15509054481983184, Sync: 0.0, Percep: -0.13693829834461213 | Fake: 0.13693829834461213, Real: -0.13740962297068787: : 25it [02:03,  2.35s/it]wandb: Network error (TransientError), entering retry loop.
L1: 0.08430848828068487, Sync: 0.0, Percep: -0.006339736034472784 | Fake: 0.006339736034472784, Real: -0.0063615566190133276: : 540it [22:14,  2.47s/it]
Starting Epoch: 1
L1: 0.0622877272275778, Sync: 0.0, Percep: 0.0 | Fake: 0.0, Real: 0.0: : 78it [03:25,  2.30s/it]

i use the model with more than one nvidia 3090

the most reasons related to this maybe about your dataset


Update PPP

Updated PPP to include my contributions

Codecov Report

Merging #251 (2d10164) into master (5b41e34) will decrease coverage by 24.94%.
The diff coverage is 39.22%.

@@              Coverage Diff              @@
##             master     #251       +/-   ##
=============================================
- Coverage     72.15%   47.21%   -24.95%
+ Complexity      399      368       -31
=============================================
  Files            70       91       +21
  Lines          1232     1724      +492
  Branches        125      193       +68
=============================================
- Hits            889      814       -75
- Misses          311      842      +531
- Partials         32       68       +36

Impacted Files
Coverage Δ

src/main/java/seedu/trackermon/AppParameters.java
75.00% <ø> (ø)

src/main/java/seedu/trackermon/Main.java
0.00% <ø> (ø)

src/main/java/seedu/trackermon/MainApp.java
0.00% <0.00%> (ø)

...ava/seedu/trackermon/commons/core/GuiSettings.java
42.30% <ø> (ø)

...n/java/seedu/trackermon/commons/core/Messages.java
0.00% <0.00%> (ø)

...in/java/seedu/trackermon/commons/core/Version.java
82.50% <ø> (ø)

...ava/seedu/trackermon/commons/core/index/Index.java
100.00% <ø> (ø)

...on/commons/exceptions/DataConversionException.java
100.00% <ø> (ø)

...rmon/commons/exceptions/IllegalValueException.java
100.00% <ø> (ø)

...in/java/seedu/trackermon/commons/util/AppUtil.java
88.88% <ø> (ø)

... and 88 more

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 5b41e34...2d10164. Read the comment docs.


Enzyme 0.11.1 segfaults

using SciMLSensitivity, OrdinaryDiffEq, Zygote

function fiip(du, u, p, t)
    du[1] = dx = p[1] * u[1] - p[2] * u[1] * u[2]
    du[2] = dy = -p[3] * u[2] + p[4] * u[1] * u[2]
end
p = [1.5, 1.0, 3.0, 1.0];
u0 = [1.0; 1.0];
prob = ODEProblem(fiip, complex(u0), (0.0, 10.0), complex(p))

function sum_of_solution(u0, p)
    _prob = remake(prob, u0 = u0, p = p)
    real(sum(solve(_prob, Tsit5(), reltol = 1e-6, abstol = 1e-6, saveat = 0.1, sensealg = InterpolatingAdjoint(autojacvec=EnzymeVJP()))))
end

dx = Zygote.gradient(sum_of_solution, complex(u0), complex(p))

segfaults on v0.11.1 but is fine with 0.11. It's doing a vjp calculation of
function fiip(du, u, p, t)
    du[1] = dx = p[1] * u[1] - p[2] * u[1] * u[2]
    du[2] = dy = -p[3] * u[2] + p[4] * u[1] * u[2]
end

Isolated:
using Enzyme

function f(du, u, p, t)
    du[1] = dx = p[1] * u[1] - p[2] * u[1] * u[2]
    du[2] = dy = -p[3] * u[2] + p[4] * u[1] * u[2]
    nothing
end
(tmp3, tmp4, y, tmp1, dup, t) = (ComplexF64[0.0 + 0.0im, 0.0 + 0.0im], ComplexF64[100.0 + 0.0im, 100.0 + 0.0im], ComplexF64[1.0 + 0.0im, 1.0 + 0.0im], ComplexF64[0.0 + 0.0im, 0.0 + 0.0im], Enzyme.Duplicated{Vector{ComplexF64}}(ComplexF64[1.5 + 0.0im, 1.0 + 0.0im, 3.0 + 0.0im, 1.0 + 0.0im], ComplexF64[0.0 + 0.0im, 0.0 + 0.0im, 0.0 + 0.0im, 0.0 + 0.0im]), 0.0)

f2 = function (out, u, _p, t)
       fiip(out, u, _p, t)
       nothing
end

Enzyme.autodiff(Enzyme.Reverse, f2, Enzyme.Duplicated(tmp3, tmp4),
                     Enzyme.DuplicatedNoNeed(y, tmp1),
                     dup,
                     Enzyme.Const(t))

It requires both the complex numbers and the anonymous function. See:
using Enzyme

function fiip(du, u, p, t)
    du[1] = dx = p[1] * u[1] - p[2] * u[1] * u[2]
    du[2] = dy = -p[3] * u[2] + p[4] * u[1] * u[2]
    nothing
end
p = [1.5, 1.0, 3.0, 1.0];
u0 = [1.0; 1.0];
du0 = similar(u0)
d_du0 = similar(du0)
d_u0 = similar(u0)
d_p = similar(p)
t = 0.0

f2 = function (out, u, _p, t)
       fiip(out, u, _p, t)
       nothing
end

Enzyme.autodiff(Enzyme.Reverse, f2, Enzyme.Duplicated(du0, d_du0),
                     Enzyme.DuplicatedNoNeed(u0, d_u0),
                     p,
                     Enzyme.Const(t))

p = complex([1.5, 1.0, 3.0, 1.0]);
u0 = complex([1.0; 1.0]);
du0 = similar(u0)
d_du0 = similar(du0)
d_u0 = similar(u0)
d_p = similar(p)
t = 0.0

Enzyme.autodiff(Enzyme.Reverse, fiip, Enzyme.Duplicated(du0, d_du0),
                     Enzyme.DuplicatedNoNeed(u0, d_u0),
                     p,
                     Enzyme.Const(t))

Enzyme.autodiff(Enzyme.Reverse, f2, Enzyme.Duplicated(du0, d_du0),
                     Enzyme.DuplicatedNoNeed(u0, d_u0),
                     p,
                     Enzyme.Const(t))

Either one in isolation is fine, but the mixture segfaults.

I have also seen this crop up for hessian calculation in Optimization.jl which was fine on 0.11.0, can provide a MWE if needed

We just restricted the patch for now so @wsmoses can do his thesis defense 😅 https://github.com/SciML/SciMLSensitivity.jl/pull/820 . v0.11.0 is fine so it's not too urgent. Optimization.jl and other packages should probably just do the same until this is figured out.

@ChrisRackauckas this is slight internal semantics change or rather using the DuplicatedNoNeed for optimization.
Basically the error here is that the forward pass needs to read u, but you mark it as duplicatednoneed.

@Vaibhavdixit02 yes please open what you see as a separate issue.

Like Duplicated, except also specifies that Enzyme may avoid computing the original result and only compute the derivative values.

I read this as u0 cannot be mutated, and it's not?

Semantics are still in flux, but this should now be fixed on main.

I don't understand. So am I misusing DuplicatedNoNeed and the docstring needs an update or is this fixed by the JLL bump?

The jll bump should allow this to pass. However, I do think you are misusing it at the moment (and yeah we should update the docs, though noneed itself is still going through a bit of a flux atm).
The intention behind it is as follows: When differentiating a function, the user may not need the output of the function itself and only the derivative.

For a value returned this is obvious that it would just not be evaluated (and we can dead code eliminate anything going into it that isn't needed elsewhere).
For a value stored in memory is where DuplicatedNoNeed comes in. It represents the fact that you permit Enzyme to eliminate stores into memory (and any computations that would create the value stored, if not needed otherwise for the derivative). It does not represent the fact that the memory is read-only (which is what it appears to be what you use it as). Any reads of the memory after the eliminated stores are undefined. The semantics update we are playing with at the moment  is saying that any reads of the memory are undefined (since read-only variables offer no benefit from Duplicated), and read-write variables are presently undefined if done write, read; though permitted presently if read then write.


React step 5

Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

We've marked this as stale because there hasn't been any activity for 30 days. If there's no further activity on this issue in the next three days then we'll close it. You can keep the conversation going with just a short comment.

I have already completed the tutorial. Could you please explain what kind of further activity you are expecting.


How to use FormulaError class related methods

Hi @dtjohnson,
While reading data from workbook I am getting FormulaError { _error: '#N/A' }. I am unable to use FromulaError class methods.
Would mind could you please give some examples for FormulaError class method usage.
Regards,
Durga Prasad

There is only one method: error that returns the error code. Otherwise the errors are just singletons you can compare to the statics.


Not loading bulk data (say 2000) at one go

Hi,
Thanks a lot for this amazing library. It's easy to implement and use.
But I've some time latency issues to load bulk data at one go.
So what I'm doing exactly is:
I've around 2000 data in an array and for each item there is tappable view (TouchableHighlight , like pinterest) so that user can tap any item to see corresponding detail view. see my code below for your reference:
`<TouchableHighlight style = {styles.ingredientItem} key = {item.identifier.toString()} onPress = {() => this.didSelectIngredientCell(item)} underlayColor = 'transparent'>
    <View style = {styles.ingredientCellView}>
      <FastImage style = {styles.ingredientImage}
                  source = {{
                        uri: JSON.stringify(item.imageURLString),
                        headers: { 'atipik-custom-key': Constants.atipikCustomKey },
                        cache: FastImage.cacheControl.cacheOnly }}
                 resizeMode = {FastImage.resizeMode.cover}/>
      <Text style = {styles.ingredientNameText}>{item.name.toUpperCase()}</Text>
      <Text style = {styles.ingredientRestDetailsText}>{item.upn}</Text>
      {(item.typeName != null && item.typeName != '') && <Text style = {styles.ingredientRestDetailsText}>{item.typeName}</Text>}
      {(item.primaryFamily != null && item.primaryFamily.name != '') &&
      <View style = {styles.bgViewForObjects}>
         <View style = {{width: 14, height: 14, borderRadius: 7, backgroundColor: item.primaryFamily.colorString}} />
         <Text style = {styles.ingredientRestDetailsText}>{item.primaryFamily.name.toUpperCase()}</Text>
      </View>}
      {(item.secondaryFamily != null && item.secondaryFamily.name != '') &&
        <View style = {[styles.bgViewForObjects, {paddingTop: 3}]}>
          <View style = {{width: 14, height: 14, borderRadius: 7, backgroundColor: item.secondaryFamily.colorString}} />
          <Text style = {styles.ingredientRestDetailsText}>{item.secondaryFamily.name.toUpperCase()}</Text>
      </View>}
      <Text style = {{paddingBottom: 0}}></Text>
    </View>
  </TouchableHighlight>

`
Now, when i load these 2000 data then it's not loading at one go. Initially it's loading 50-70 data views and then as I scroll, further views are loading but with very normal speed which means it'll take sufficient amount to load all 2000 data which is not acceptable.
Could you please assist me how do i load all 2000 data instantaneously?
thanks & regards

Do you use addItemsWithHeight to add data?

@manyuanrong: No, I'm not using addItemsWithHeight instead m using addItems() method to pass my data array.

he correct typesetting of a waterfall flow requires knowing the height of each item. The addItems method automatically measures the height one by one. It's very accurate, but it's a bit slow; and the addItemWithHeight doesn't measure the height, it's very fast. If you load many items at once, you should use addItemWithHeight

@manyuanrong: I've tried what you have suggested but still bulk loading is not happening. I've added height: 150 for each object dictionary of my array and then use addItemWithHeight method to add items in grid (pinterest like view) but still initially 100 cell are loaded and then as I scroll the list loading is going on further but with very slow speed.
Any further suggestion from your side.
Thanks in advance.


[Bug]: Crash with owo 0.9+

https://github.com/wisp-forest/owo-lib/blob/1.19/src/main/java/io/wispforest/owo/itemgroup/OwoItemSettings.java#L31
java.lang.NoSuchMethodError: 'int io.wispforest.owo.itemgroup.OwoItemSettings.getTab()'

Seems to be caused by glisco changing the method name to conform with the other tab method within owoItemSettings, ill see about fixing such for the next update.


Failed to find Spark jars directory.

sc <- spark_connect(master = "local",  config = spark_config(), version = "2.0.0")
Error in force(code) :
Failed while connecting to sparklyr to port (8880) for sessionid (1399): Gateway in port (8880) did not respond.
Path: C:\home\spark\bin\spark-submit2.cmd
Parameters: --class, sparklyr.Backend, "C:\Users\bobinks\Documents\R\R-3.3.2\library\sparklyr\java\sparklyr-2.0-2.11.jar", 8880, 1399
---- Output Log ----
Failed to find Spark jars directory.
You need to build Spark before running this program.
---- Error Log ----

@neerajkr666 have you installed spark-hadoop distribution ?

Please use spark_install() or configure Spark properly in Windows.

same error


Third party dlp REQMOD block response format

Hi,
This document discusses Forcepoint and Symantec DLP integration, how about generic DLP integration REQMOD ? What kind of ICAP server response is required to indicate  HTTP/HTTPS Block ? It would be of great help if Allow and Block ICAP responses could be documented here .
Thanks.

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

ID: c7311538-fd31-674c-7fb1-430eb07406fe
Version Independent ID: ab868458-d2b4-57bb-14b6-b44fd6a3f958
Content: Cloud App Security external DLP integration over secure ICAP
Content Source: CloudAppSecurityDocs/icap-stunnel.md
Service: cloud-app-security
GitHub Login: @rkarlin
Microsoft Alias: rkarlin

The document talks about verdict: allowed/blocked does this mean CAS requires 3rd party ICAP server to produce verdict header which either sets blocked or allowed value.
https://docs.microsoft.com/en-us/cloud-app-security/icap-stunnel
Something like this ?? :
ICAP/1.0 200 OK
verdict: blocked
Encapsulated: null-body=0

Hi Wasim,
thanks so much for reaching out. I agree that the language we used makes it sound confusing. I'll publish a fix with our next update! Thanks again for your contribution!

Hi Wasim,
thanks so much for reaching out. I agree that the language we used makes it sound confusing. I'll publish a fix with our next update! Thanks again for your contribution!

When is the next update planned ?

Hi @wazhar , ordinarily we publish bi-weekly. You should already see this change.

@rkarlin I don't see any change.  External DLP Integration
Page timestamp says it was last updated '04/22/2018'.

This fix has been live for some time.

@msmbaldwin
I still don't see this document explaining generic REQMOD allow/block verdict.
Here is the response that I got when I posted the same question at<EMAIL_ADDRESS>
For all generic ICAP servers we can enable a configuration which requires the server to send the status code 200 in order to identify a match. In such cases the verdict doesn’t matter as long as the status code is present (200 – match, 204 – no match).

However for this to work, there is some configuration that has to be enabled for the tenant. I had to provide my tenant id to the CAS team for this reason. It worked after that.
You might want to verify and document this.
Thanks.

-------- Original message --------From: "M. Baldwin"<EMAIL_ADDRESS>Date: 2/4/19  2:58 PM  (GMT-06:00) To: MicrosoftDocs/CloudAppSecurityDocs<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/CloudAppSecurityDocs] Third party dlp REQMOD block
  response format (#67)
This fix has been live for some time.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/MicrosoftDocs/CloudAppSecurityDocs","title":"MicrosoftDocs/CloudAppSecurityDocs","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/MicrosoftDocs/CloudAppSecurityDocs"}},"updates":{"snippets":[{"icon":"PERSON","message":"@msmbaldwin in #67: This fix has been live for some time. "}],"action":{"name":"View Issue","url":"https://github.com/MicrosoftDocs/CloudAppSecurityDocs/issues/67#issuecomment-460410478"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/MicrosoftDocs/CloudAppSecurityDocs/issues/67#issuecomment-460410478",
"url": "https://github.com/MicrosoftDocs/CloudAppSecurityDocs/issues/67#issuecomment-460410478",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]


fix(integrations): Fix Lambda integration with EventBridge source

When a lambda is triggered by an AWS EventBridge pipe the record contains an explicit "header" key with an empty list. This breaks the assumption that headers is always a dict or None. Update the AwsLambdaIntegration to explicitly verify that header is a dict before passing it on to the continue_trace function.
Fixes GH-2545

Sure thing. Thanks for the quick response.


feature/SOPHI4-1034

Added github actions to build the project using maven

The conn object does not provide any method to check successful status codes.
Also there is no method to check the request duration so I just calculated the time in the code


Support plan updates for Instances

We currently do not correctly support plan update to Instances correctly from what I can tell.  We should:

Only allow changes to the PlanName field of InstanceSpec if the ServiceClass is plan-updatable (sounds like an admission controller to me)
Send the prior plan ID correctly (this is something that it is not yet obvious to me how we should solve in the API - seems like the admission controller could be responsible for setting a field, perhaps in an UpdateParameters field on the spec that the controller could then clear)

Adding this for 0.1.0 because it seems like it should be done before beta.

We believe that this can be solved w/o any API surface changes, so I am moving this out to 1.0.0

Part of this change: #869

Setting the milestone to 0.1.0 because it was scoped to beta in #1098

Closed by #1289


Proposal: Make Keyword & Json-Query generic across monitor types

⚠⚠⚠ Since we do not accept all types of pull requests and do not want to waste your time. Please be sure that you have read pull request rules:
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma
Tick the checkbox if you understand [x]:

[x] I have read and understand the pull request rules.

Description
Fixes #3336
Fixes #2342
After working on #3857, it became obvious to me that the use of Keyword or Json-Query result matching would benefit many other monitor types, e.g. SQL query results, DNS results. It is also obvious that implementing them individually for each monitor type would lead to a lot of code duplication and issues with maintainability.
Given that we are migrating the code base to where each monitor type is its own file and has a self-contained check function, I think we can take one step further by refactoring them such that:

For each monitor type, the check function performs the actions required for each heartbeat. This function should return a string or object if successful. If it fails at any stage, it can throw an Error as it does currently.
If the check function is successful and returns a value, it can be passed to the verify stage, which would be independent of monitor types. We can reuse the code for Keyword and Json-Query, and test for positive results accordingly. This function then also produce a success or fail message.
Finally, based on the results of the check and verify functions, we can set the status of the heartbeat, while handling retries, upsideDown, and resentNotification. This part should be identical to the current implementation.

By making the verify part generic, we can remove the need for the separate monitor type HTTP - Keyword, and expand the ability of checking for results to any monitor types that can produce a string or object.
However, this would involve quite a big refactor of the monitor.js file, and possibly need to handle migrations for existing users of the Keyword monitor types.
Type of change

User interface (UI)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
This change requires a documentation update

Checklist

[ ] My code follows the style guidelines of this project
[ ] I ran ESLint and other linters for modified files
[ ] I have performed a self-review of my own code and tested it
[ ] I have commented my code, particularly in hard-to-understand areas
(including JSDoc for methods)
[ ] My changes generate no new warnings
[ ] My code needed automated testing. I have added them (this is optional task)

Screenshots (if any)

Yes, agree with that. However it is definitely a big changes of core features. I hope this pr should depend on #3893. Hopefully Playwright's codegen and recorder could assist me to create e2e tests easily and quickly.


Move windows buttons to right of panel

Is there any way to modify the position of the buttons of the window to the right of the panel?

nope,
"shell-version": ["3.30", "3.18", "3.20", "3.22", "3.24", "3.26"]

@jdbenitez94 this looks more like an issue then a pr? Nothing new is added here, all changes in my fork are already open pr's to this repo.

I don't think it is a good idea to merge Jimver/3.32 on this branch. Issues are unrelated.
I suggest using a secondary local branch to make use of both changes.


Change 'infer' to 'infers' for grammar rules

This is an alternative to #444 that instead of changing returns to return changes infer to infers for grammar rules for consistency.
The validations and code actions are not tested yet and probably need to be fixed.

The case you are showing is a wrong syntax that leads to a parser error. I would not start supporting quick fixes for such cases.


Update MATR spec to use new AppPattern release

MATR currently uses AppPattern release 2.0.1 and needs to be updated to use release 2.1.2 instead.
MATR release number will move up from 1.0.1 to 1.0.2.

[ ] update uuids
[ ] update release numbers
[ ] add new services from appPattern/remove no longer used ones
[ ] update ip + port info (also of other apps!)
[ ] check for required profile updates
[ ] update forwardings + callbacks
[ ] update configFile
[ ] update clients of other apps (e.g. MWDI) to use the latest app versions

new services with appPattern v2.1.2:
        - operation-name: /v1/inquire-basic-auth-approvals
          uuid: xx-1-0-0-op-s-bm-012
        - operation-name: /v1/dispose-remainders-of-deregistered-application
          uuid: xx-1-0-0-op-s-bm-013
        - operation-name: /v1/inform-about-preceding-release
          uuid: xx-1-0-0-op-s-bm-014
        - operation-name: /v1/update-client-of-subsequent-release
          uuid: xx-1-0-0-op-s-bm-015


Sound delay in raspberry pi midi keyboard project

Hi, I'm trying to build a raspberrypi project where I play may midi keyboard and listen to the sound via bluetooth. Main reason for this: my children keep destroying my headphones by tripping over the wires.
I've tried various combinations now of fluidsynth, timidity, bluealsa, and jackd, but I haven't found any way to reduce the delay between striking a key on my keyboard and hearing sound via bluealsa. I estimate the delay to be about 250ms, which unfortunately is way too long for playing the piano. I hope you can help me get rid of that delay!
First, I did notice quite some open issues on github that mention delays with bluealsa:
https://github.com/Arkq/bluez-alsa/issues/15
https://github.com/Arkq/bluez-alsa/issues/124
https://github.com/Arkq/bluez-alsa/issues/156
However, I don't understand if, and how I can reduce it. I have the following questions:
Are there tunables in the latest bluealsa code that I should try? Have any solutions been found already? I'm currently on raspbian stretch with bluealsa 1.3.0. Incidentally, I couldn't figure out what the "defaults.bluealsa.delay" setting was about, but it didn't seem to affect the delay... Really hope that I can get some advice!
Kind regards,
PJBrs

Since I reported my issue here, I've managed to compile the latest git version of bluealsa to try again. I think the following messages may hold some clues, especially that bit about fluidsynth requesting a different amount and size of periods (don't know what they are, but I reckon that they determine buffer size, and I imagine that buffer size is related to delay...?):
`FluidSynth version 1.1.6
Copyright (C) 2000-2012 Peter Hanappe and others.
Distributed under the LGPL license.
SoundFont(R) is a registered trademark of E-mu Systems, Inc.
../shared/ctl-client.c:107: Connecting to socket: /var/run/bluealsa/hci0
../shared/ctl-client.c:237: Getting transport for FC:58:FA:B1:F3:C5 type 0x41
bluealsa-pcm.c:534: Setting constraints
fluidsynth: warning: Requested a period size of 64, got 220 instead
fluidsynth: warning: Requested 8 periods, got 19 instead
bluealsa-pcm.c:282: Initializing HW
../shared/ctl-client.c:396: Requesting PCM open for FC:58:FA:B1:F3:C5
bluealsa-pcm.c:305: FIFO buffer size: 4096
bluealsa-pcm.c:311: Selected HW buffer: 20 periods x 1924 bytes <= 38484 bytes
bluealsa-pcm.c:326: Initializing SW
bluealsa-pcm.c:326: Initializing SW
bluealsa-pcm.c:326: Initializing SW
bluealsa-pcm.c:326: Initializing SW
bluealsa-pcm.c:342: Prepared
bluealsa-pcm.c:326: Initializing SW
bluealsa-pcm.c:342: Prepared
bluealsa-pcm.c:214: Starting`
Any suggestions?

Also, if perhaps I'm under the wrong impression that bluetooth audio will be an option for my usecase at all, please let me know as well. At my fastest, I can now play an entire scale on my electric piano before hearing it on my bluetooth speaker. Also, I worry a bit about this comment:
	 /* In order to prevent audio tearing and minimize CPU utilization, we're
	 * going to setup buffer size constraints. These limits are derived from
	 * the transport sampling rate and the number of channels, so the buffer
	 * "time" size will be constant. The minimal period size and buffer size
	 * are respectively 10 ms and 200 ms. Upper limits are not constraint. */
	unsigned int min_p = pcm->transport->sampling * 10 / 1000 * pcm->transport->channels * 2;
unsigned int min_b = pcm->transport->sampling * 200 / 1000 * pcm->transport->channels * 2;

Hi PJBrs,
I'm not one of the devs here, but I am quite interested in this project, and have spent quite some time with midi and PC/software synths. In my experience, bluetooth does introduce enough latency (time between controller midi on and audible sound produced) to make it unsuitable for live midi performance use. Latency is critically important for live performance because once it gets around 50ms or more, the delay between what the mind expects to hear at note press time and when the note is actually heard becomes great enough to make playing anything live virtually impossible as the ear/mind expect that instantaneous feedback of audible sound. On Windows or Linux, without bluetooth, I have been able to tweak an average of around 35-40ms latency, leaving very little headroom for addititional latency, and bluetooth, because of it's own buffering requirements, puts the latency very noticeably above 50ms.
Additional signal processing/effects each take their own toll on the overall latency experienced, like some of the reverb/chorus effects Qsynth provides, or external DSP software like Calf.
I have actually successfully used a Pi3 as a midi soundsource for an maudio controller, with qsynth and Jackd, but had to use wired phones or speaker due to the latency. I found I had to tweak the audio buffers down in Jack to get the tolerable 30-4ms latency, but it would do a decent job as long as you didn't throw too many simultaneous notes at it, like a full run with the sus pedal on; It would become garbled, which is a sign you don't have enough buffers. But if you add buffers, your latency is diminished, making the Pi ok for practice, but not a performance.

Also, if perhaps I'm under the wrong impression that bluetooth audio will
be an option for my usecase at all, please let me know as well.

It might be impossible to reduce delay to 50ms (as Steven has mentioned,
that such a delay is an upper acceptable limit) with bluealsa. In general
it should be possible to go to something around 25-50 ms with Bluetooth
technology, however it would require special software dedicated for low
latency. Bluetooth specification for HFP says that audio delay should not
exceed 50ms (if I remember correctly), because higher delay might be
inconvenient for online gaming when two ppl are seating in the same room.
This specification does not say anything about software which produces
sound, it only states that the communication delay and encoding/decoding
should be within 50ms. BUT this is for HFP/HSP. The problem with A2DP (if
you require better audio quality) is that it encodes bigger chunks of data
at once and decodes it. This process alone adds significant amount of
delay. There is a codec for A2DP which should produce low delay - AptX Low
Latency. Unfortunately, bluealsa does not support such a codec - there is
no much online info how it works. Anyway, it might be possible to reduce
the delay for standard SBC codec and for AptX. The trick is, that one could
send data earlier, without waiting for full MTU. With AptX it is possible
to transfer 4 PCM frames - AptX encoder encodes 4 frames (4 samples for
right channel and 4 samples for left channel) at once. For SBC the number
is around 200 frames.
See this:
https://github.com/Arkq/bluez-alsa/blob/master/src/io.c#L498
https://github.com/Arkq/bluez-alsa/blob/master/src/io.c#L1202

Okay, thanks @nekarkedoc and @Arkq for your reactions!
As far as I now understand, it should be able to get lower latencies if I try HSP and HFP protocols instead of A2DP, so that's the first thing I'll try. The other thing that I understand is that the best option would be the A2DP profile with the aptx(ll) (ll for low latency) codec, which has (way) better latency than normal aptx and aptx(hd), but that current bluez-alsa doesn't support that codec. Is there any bluez command that can show me which A2DP codecs are supported? But then, for this option to be useful it should first be supported in bluez-alsa. Finally, I could start tinkering myself and reduce the number of frames sent each time to reduce latency with the SBC codec... That might not be too much beyond my capabilities ;-)
I did notice that the latest pulseaudio might support aptx, but not the ll version. Also, when I tried pulseaudio, that alone took about 25% cpu. If I hit many many notes I only get very rare garbling using bluez-alsa, so that should be usable on the Pi zero. With pulseaudio, I might try again later.
Thanks for now, I'll let you know about any progress!

For supported codecs, run: bluealsa -h. For master build wit all codecs enabled you should see something like this:
Usage:
  bluealsa [OPTION]...

Options:
  -h, --help		print this help and exit
[...]

Available BT profiles:
  - a2dp-source	Advanced Audio Source (LDAC, APT-X, AAC, SBC)
  - a2dp-sink	Advanced Audio Sink (AAC, SBC)
[...]


ECGOST3410-2012-256 wrong paramset for oid 1.2.6<IP_ADDRESS>.1.1.1

In org.bouncycastle.asn1.cryptopro.ECGOST3410NamedCurves class used same parameter values for oid 1.2.6<IP_ADDRESS>.1.1.1 as for oid 1.2.6<IP_ADDRESS>.1.
But according to document "р 50.1.114-2016" https://tc26.ru/standard/rs/%D0%A0%2050.1.114-2016.pdf values should be:
p = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD97
a = C2173F1513981673AF4892C23035A27CE25E2013BF95AA33B22C656F277E7335
b = 295F9BAE7428ED9CCC20E7C359A9D41A22FCCD9108E17BF7BA9337A6F8AE9513
q =<PHONE_NUMBER>00000000000000000000000FD8CDDFC87B6635C115AF556C360C67
x = 91E38443A5E82C0D880923425712B2BB658B9196932E02C78B2582FE742DAA28
y = 32879423AB1A0375895786C4BB46E9565FDE0B5344766740AF268ADB32322E5C

Thanks for the report. Even RFC 7863 says this. How embarrassing...
I've pushed the update and uploaded a new version of the provider to:
https://www.bouncycastle.org/betas
Would you confirm they are now correct? Thanks.

Thanks a lot for prompt issue correction. Curve parameters are fine now.
Also thanks for English version of the regulatory document. My search in Google for this doc wasn't succesful.


Add Java Cassandra IO Direct job

The following jenkins jobs have been migrated:
https://ci-beam.apache.org/job/beam_PreCommit_Java_Cassandra_IO_Direct_Commit/
https://ci-beam.apache.org/job/beam_PreCommit_Java_Cassandra_IO_Direct_Cron/
https://ci-beam.apache.org/job/beam_PreCommit_Java_Cassandra_IO_Direct_Phrase/
How has it been tested?
The job has been tested on Self-hosted GKE runners ubuntu 20.04.
The following test cases are passed:

by creating pull requests with changes in trigger paths
by adding a comment to the PR
by making a push

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

Moved to the next PR: https://github.com/apache/beam/pull/27953.


Build Version Template Token Issues

I tried to use a build version with $DAYSSINCE: 1.0.$BUILD.$DAYSSINCE('January 1, 2000').$SECONDS.
Apparently, the $DAYS token is recognized first, so I'm left with "<IP_ADDRESS>SSINCE('January 1, 2000').4754".
Also, using " like shown in the wiki does not work, because it's not escaped in the constants. I have to use '.

Unity 2022.3.7f1
SuperUnityBuild 7.0.0

Thanks for the report @cebbinger! Will take a look into this when I have some time.


Avoid string and other allocations

As mentioned in #442, the most important perf factor in a .net library is keeping allocations down. AngleSharp uses pooling and string builders extensively. However there are a few powerful ways to reduce or eliminate temporary string and other object creation.

StringBuilder.ToString()` is called in several places where the result is the key in a map. This can be avoided by using a struct containing a StringBuilder and a HashCode as the key, like this:

		/// <summary>
		/// A StringBuilder together with its hash. used for fast lookups.
		/// </summary>
		struct StringKey : IEquatable<StringKey>
		{
			public StringKey(StringBuilder sb)
			{
				this.sb = sb;
				hash = Hash.GetFNVHashCode(sb);
			}

			public StringBuilder sb;

			public int hash;

			public bool Equals(StringKey other) =>
				sb != null && other.sb != null && sb.Equals(other.sb);

			public override int GetHashCode() => hash;
		}

The Hash.GetFNVHashCode() function has been implemented in the Roslyn codebase.

Instead of breaking up the document into a number of small strings, a StringSlice can be used. This also uses an FNV hash code.

Avoid IEnumerable and instead use Lists or other objects that have struct enumerators. IEnumerable is heavyweight and calls a virtual GetEnumerator() method that allocates and returns a enumerator object. None of this is needed for foreach style enumeration in C#, because foreach is in fact pattern based; it works if the right methods are implemented, even without interfaces. List<T>'s GetEnumerator() method returns a struct - which is not boxed. I've used this to get rid of all implemtations of IEnumerable and IEnumerable<T> in my code base. Now I just use List directly in the method signature. For custom types, I make sure that their implementation of GetEnumerator() returns a struct. (To repeat, they implement GetEnumerator() but not IEnumerable or IEnumerable<T>.

Avoid implementing IComparable<T> and implement IEquatable<T> instead, for the same reason - to avoid boxing.

Avoid yield return, which again allocates an enumerable class, an enumerator and so on. Instead pass a (pooled) list into the method, which fills it. That is, instead of
  IEnumerable<T> Foo() {yield return a; yield return b; }

do this:
	void Foo(List<T> result) {result.Add(a); result.Add(b);} // caller pools the list

Avoid Linq like the plague. I use Linq only in test code. The number of objects that linq statements allocate is prohibitive for production code, and should IMHO never be in a library. This is another learning from the Roslyn team that I took to heart. Previously I used Linq extensively - and suffered greatly as a result.

Use structs instead of classes wherever possible and avoid boxing. This can be tricky, but can dramatically reduce the number of allocations. Structs are C#'s major improvement over Java IMHO.. Best to avoid implementing interfaces (with the exception of IEquatable<T>) on structs.

All these go a long way to reducing those GCs (and those milliseconds.)
There is a tradeoff between some of these suggestions and API cleanliness, but I do think that all of these should be considered seriously. They've made a huge difference to the performance of Roslyn and to my own code.
What do you think?

Most string allocations aren't actually allocations, but use the interned string. As long as no benchmark is proving an optimization (e.g., the string allocations in the character references you mentioned in #442 do not contribute at all to the performance - seen in benchmarks).
All of the things you mention are done by AngleSharp in essentially all the hotpaths (these are the paths that matter). So your list is nothing new to me and if no direct wins with reproducable benchmarks are provided I can't / won't do anything.
There are some possible optimizations for the parser; but none of the things you mentioned above will lead to them (again: the parser does not use LINQ or heavy allocations for most of the things). They are rather of algorithmic nature + optimized structures combined with pooling and lazy loading.


Do not query state property if entity is not available

Description:
If entity has presented itself as not available by returning False in property available, do not query state property at all.
Related issue (if applicable): https://github.com/home-assistant/home-assistant/pull/5775#discussion_r99774095
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Propertys should be allways cached and that make it robust to lost connection. I don't we should change it to find device how working rwong and does IO on property

@pvizeli I disagree. Even if properties are cached, we should not gather data just to throw it away afterwards. I/O in properties will still be caught because other properties will also trigger long running tasks.

That is true


Help wanted:  Implement using ~/.todos.json by default

Per the comments of multiple users, I think we should implement this workflow:

when running todolist, see if a .todos.json exists in the current working directory.
If yes, use that .todos.json.
If no, use ~/.todos.json.

Also, add documentation to the gh-pages branch to let users know this is how the app works.
PRs welcome!

For reference, there's been some related code and discussion in #13.

I post a PR first and need your feedback.  If it is OK then I'll make the gh-pages part later.

@NonerKao please update gh-pages when you get a chance.

#41 I'm sorry for the serious mistake that should have been taken care of.
I follow your suggestion and do some local test, but it fails many tests.  The reason is that, if the location check is made in f.Load(), it will overwrite the f.FileLocation  in those tests, which is mostly called todos.json rather than .todos.json, with home repository.
Although the value of f.FileLocation is given when NewFileStore is called, it is not referenced until any a.Load.  So I propose commit #42 to fix this without changing all those tests, which containes:

in NewFileStore(): set FileLocation default to ""
new private function getLocation(): the main logic, those that were in NewFileStore()
in Load(): call getLocation() to assign a value to f.FileLocation
in Initialize(): check ".todos.json" instead of f.FileLocation

I apologize again for all the inconvenience.

I'll be getting to this today.

Merged #42 and I am releasing 0.5.2 now.


'AnyAction' is not assignable to type

Do you want to request a feature or report a bug?
bug
What is the current behavior?
I have the following pieces of code:
export type CustomAction = {
    type: "custom";
    payload: { value: true };
};

const customReducer = (state: CustomState, action: CustomAction) => {
    ...
}

const reducer = combineReducers({
    custom: customReducer
});

createStore(reducer);

Right now it throws the following error:

Type 'AnyAction' is not assignable to type 'CustomState'

What is the expected behavior?
This worked in 4.0.4 and not in 4.0.5 anymore.

You need to be defining your CustomAction as an interface, so you can extend Redux's Action type. You also need to define your reducer with the Reducer type:
const customReducer: Reducer<CustomState, CustomAction> = (state, action) => {

There is too much to infer otherwise.
I'm not sure why AnyAction is trying to be assigned to CustomState, though. That sounds like a typo somewhere you meant to write CustomAction.


Monte Carlo example notebooks need to be adapted for new runtime management

We need to make sure https://github.com/pywren/pywren-ibm-cloud/tree/master/examples/monte_carlo are synced with recent code changes due to #112

@gilv Fixed in pull #116

@JosepSampe thanks


Fix dealloc crash

Current coverage is 69.57% (diff: 100%)

Merging #28 into master will increase coverage by 0.24%

@@             master        #28   diff @@
==========================================
  Files             7          7
  Lines           740        746     +6
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            513        519     +6
  Misses          227        227
  Partials          0          0

Powered by Codecov. Last update b03959d...24842ca


production and http

The production.yml forgot to add the Pytest with Coverage part as well as the HTTP code being 201, it should just be 200

sorry wrong repo


Tail cloudwatch logs directly to jenkins

I've been reading through issues to decide whether we can/should use this plugin, and it appears that we would need to click out to view logs. It would be great if this instead polled for cloudwatch logs and inserted them as they came in - perhaps with some variable polling interval.
This could also be an optional alternative to the current method of just logging the url to jenkins.

That's definitely feasible. I'll add this to our plugin feature requests and let you know when it's completed. Thanks for the feedback!

I forked this plugin to add this functionality early on. I piped the logs to the console. One thing I would hope you can take into consideration is that the plugin is polling cloud watch and piping the last "page" to the console. In the case of a hanging build (like a really long NPM install) it just repeats that same information over and over again which isn't great.
I think either place would be good to have the 'full log' from cloud watch, but duplication can be problematic in the Console output.

If you can poll the cloudwatch output for output since a time/log-line, that will probably suffice for de-duplicating log output.

It's something I considered, but a number of our builds have very large log files which could lead to a lot of storage required quite quickly. If memory serves, I had to integrate with the "last page" work the AWS team already did, and without refactoring that a lot I couldn't extend the window. I needed to keep my custom version in a place where I could get updates from the team fairly easily so I opted not to do that at first.
However, it should still be an option here I think. Especially if its replacing the log that plugin stores as that could then just have the whole log once rather than a lot of the log many times.

The main reason I needed this feature was to view errors - to diagnose why the build failed - without having to go into cloud watch. This is particularly important for me as many developers at my company don't have access to the AWS account where the build server is hosted.
One solution - which admittedly is a half way house - would be to just drastically extend the existing data stored by the plugin so it has several hundred lines. That should be enough to see errors in most build outputs from my experience.

3eb9227de6fef6637bfaa98ed1438400fc5bf8e8
The plugin now displays the entire CloudWatch log for the build in both the CodeBuild dashboard and the console output. I've kept the polling time at 5s, as users running many parallel builds can get throttled if the plugin tries pulling logs any faster.

Thanks very much @leobaran-aws

Is this default behaviour or a configuration that needs to be turned. I have configured a freestyle project to trigger a CodeBuild but all I can see in the log is a link and the end output. I can't seem to find the configuration as well.

It is a default behaviour. Is there anything in the code build panel that is linked to from the build page.
If I had to guess, I would say its likely that your Jenkins user in IAM does not have permission to access the logs, or your Jenkins server has a IP whitelist for outbound that does not include appropriate ranges for Cloudwatch.
I have run builds this morning on the latest plugin version and there is output as expected,

[AWS CodeBuild Plugin] CodeBuild dashboard: https://ap-southeast-1.console.aws.amazon.com/codebuild/home?region=ap-southeast-1#builds/go-starter-dev:133870dd-d7c8-4afc-9ac3-d30e6182c85a/view/new
[AWS CodeBuild Plugin] CloudWatch dashboard: https://console.aws.amazon.com/cloudwatch/home?region=ap-southeast-1#logEvent:group=/aws/codebuild/go-starter-dev;stream=133870dd-d7c8-4afc-9ac3-d30e6182c85a
[AWS CodeBuild Plugin] Build go-starter-dev:133870dd-d7c8-4afc-9ac3-d30e6182c85a failed

As you can see I get two links. Both show the respective logs. The jenkins user has GetLogEvents access on this log group as well. Am I missing any other permission? There has been no source IP restrictions on the resource added.

Logs are working, you can see here
"[AWS CodeBuild Plugin] Build go-starter-dev:133870dd-d7c8-4afc-9ac3-d30e6182c85a failed"
The the build job failed to start. The logs in Jenkins do not bring in any information not in Cloudwatch, and Codebuild jobs can fail for reasons outside of the build process directly. This is usually due to configuration/ecr/internal failure that happens in steps before 'pre_build' where the logs start to kick in.
Recommend you find your build in Codebuild AWS Console panel and see why it has failed.

Apologies for not providing the full context. There have been about 350 lines of logs generated for the same build and are visible both on the CodeBuild dashboard as well as the CloudWatch logs dashboard. The end result of the build was a failure due to the post_build script.
> Error while executing command: sh build/post_build.sh. Reason: exit status 1 (status code: COMMAND_EXECUTION_ERROR)
Build step 'AWS CodeBuild' changed build result to FAILURE

Those are the next two lines of the jenkins output

That one is trickier :)
It looks like build/post_build.sh is a file that you have created. Exit status 1 usually indicates failure condition in the script being returned to the command prompt.
Since its your script, unless it logs output to the console then Cloudwatch won't see it. You will have to modify your script to find out what is happening if its complex, or if its simple you may need to consider that the container based environment that codebuild runs in often doesn't have all system dependencies (for cli tooling), and has some limits of file system access etc. In either case you will need to fix your script/create a custom container in Amazon ECR that can be used to execute the whole build process.

I am quite aware of the reasons for the build failure and have rectified the same as well. But those 350 lines of logs are what led me to the solution. My problem here is to get those logs reflected on Jenkins as well. I'm faced with the same dilemma of having to not provide access to CloudWatch.

Exactly. These logs are available on both CodeBuild and CloudWatch but not on Jenkins. I'm on Jenkins version 2.107.3 and the latest version of the plugin but this behaviour not reflecting for me.

I can't think of any reason why that would be the case based on my experience with the plugin.
The AWS team usually work US hours so don't come on till later so perhaps they can provide more help than me.
Do you get the code build dashboard link from the build page on Jenkins? If so there might be something in there that may help debug the issue. Provided a screenshot of my link for reference.

Apologies for overlooking that icon. I was expecting the logs in the console output. The logs are available under that link. :) Thank you so much for the time and help.

That's quite alright, have a good day sir!

Note, the closing comment was thus:

The plugin now displays the entire CloudWatch log for the build in both the CodeBuild dashboard and the console output.

So I'd also expect logs in the console output.

Thanks for letting us know about this. The CodeBuild logs should be available in the default console output--this was verified when I posted a fix and closed the issue earlier. I'm investigating to see if this is specific to the new version of Jenkins.

The logs were not displayed on the console due to the permissions issue. But on the CodeBuild tab within Jenkins each respective log event had an error saying permissions denied. That was the only way I could figure out it was a permissions issue. Once that was fixed logs did appear on the console as well.


std::evm functions should take buffer types

What is wrong?
A number of functions defined in std::evm take offsets and lengths for regions of memory and calldata. These should take buffer types instead.
How can it be fixed

implement CalldataBuffer, CalldataBufferReader
update revert_mem, return_mem, call_data_copy, code_copy, ext_code_copy, keccak256_mem, create, create2, call, and log

run $ cargo test std_lib to check changes made to crates/library

Hey, can I work on this issue? Can you give me a brief idea about CalldataBuffer and CalldataBufferReader, so that I can start working on this issue.

hey sorry for the late reply @Hrushi20
this work has been completed, but I could help you find another task if you're interested

Hey! I'm interested. Any beginner friendly issues I can get started with?

would you be interested in adding support for the transient storage opcodes?

here, just wrote an issue https://github.com/ethereum/fe/issues/978


Converting request data structure to json explicitly

Fix for https://github.com/nlmatics/llmsherpa/issues/39, explicitly converting the python data structure to json, which should handle the None/null discrepancy.

@machallboyd  I looked at issue #39 and the problem there appers to be in parsing the response, but your PR is changing the request code. Please help me understand your changes better.


Evaluation on ANLI fails with ValueError

Hi and thanks for open-sourcing this!
I'm trying to run the evaluation script for the ANLI dataset with the following command:
python run_eval.py \
    --dataset_name anli \
    --template_name "should assume" \
    --model_name_or_path bigscience/T0pp \
    --output_dir ./debug \
    --parallelize

I get the following error:
Traceback (most recent call last):
  File "radt5-dev/evaluate_t0_big_science.py", line 389, in <module>
    main()
  File "radt5-dev/evaluate_t0_big_science.py", line 385, in main
    run(args)
  File "radt5-dev/evaluate_t0_big_science.py", line 289, in run
    preprocess_function, batched=True, remove_columns=column_names
  File "/azureml-envs/azureml_030d8ea9f3a01ad1b81e1990cbdde727/lib/python3.7/site-packages/datasets/dataset_dict.py", line 782, in map
    for k, dataset in self.items()
  File "/azureml-envs/azureml_030d8ea9f3a01ad1b81e1990cbdde727/lib/python3.7/site-packages/datasets/dataset_dict.py", line 782, in <dictcomp>
    for k, dataset in self.items()
  File "/azureml-envs/azureml_030d8ea9f3a01ad1b81e1990cbdde727/lib/python3.7/site-packages/datasets/arrow_dataset.py", line 2329, in map
    f"Column to remove {list(filter(lambda col: col not in self._data.column_names, remove_columns))} not in the dataset. Current columns in the dataset: {self._data.column_names}"
ValueError: Column to remove ['train_r1', 'dev_r1', 'test_r1', 'train_r2', 'dev_r2', 'test_r2', 'train_r3', 'dev_r3', 'test_r3'] not in the dataset. Current columns in the dataset: ['uid', 'premise', 'hypothesis', 'label', 'reason']

Is there a known fix for this?

hi @fepegar, could you try with specifiy the dataset_config_name

?

My bad for not reading the README properly. But maybe the script could handle the issue more gracefully. I'll close this and reopen if it doesn't work. Thanks for your reply, @VictorSanh.

you are right, I put sanity checks: https://github.com/bigscience-workshop/t-zero/commit/7a699e3ba15c1aeccf5b99cf2e2df3790f0dffce


Possible duplicates: CHEBI:94433 + CHEBI:140628

CHEBI:94433 and CHEBI:140628 seem to be duplicates (the same InChI/InChIKey/structure).

Now merged. Thanks


Docker SIFT / pip conflict

I am attempting to create a docker image for SIFT using 2021.4 / Ubuntu 20.04.  It seems they moved the pip 21 URL.  I cannot seem to bypass this issue.  Logs attached.  I attempted to install pip 21 manually but I am not sure if it is still causing a conflict. Any advise is appreciated.
results.yml.gz
saltstack.log.gz
minion.gz

Hi @michealb40, I have submitted a pull request to correct the python2 PIP issue, however if you install python2 first, then curl -o /tmp/get-pip.py https://bootstrap.pypa.io/pip/2.7/get-pip.py  then python2 /tmp/get-pip.py you should be able to continue with the install normally.
I have a docker building as we speak with this configuration to test based on focal. Once it's confirmed working, I'll share the Dockerfile details.

That did it!! Thanks a bunch for that!  I have a fully functional docker for testing.  I very much appreciate your help on that one.
I am going to push this one up overnight. Please feel free to use it for your testing/confirmation as well.

dfwforensics/sift2021_4_0ubuntu_20_04

sha256:ad75713c9d44fc565adbed3a608f6c48f02a6405753b8a16c54f566107be4c4f

Hi @michealb40 Glad to hear it's resolved. If you need some SIFT docker images, I have a couple available on the docker hub (just updated them with the newest releases for both bionic and focal). You can also find a docker-compose with the Dockerfiles at https://github.com/digitalsleuth/sift-docker for ease of configuration as well.
Erik has already merged the fix for the python2 pip issue, so you should also be able to update your Dockerfile to remove the need for get-pip.
Cheers!

Absolutely helpful and very appreciated!  Please let me know if there is
anything I can do to help.
On Wed, Mar 31, 2021 at 9:18 PM Digital Sleuth @.***>
wrote:

Hi @michealb40
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmichealb40&data=04|01||a960fa9264b24d3e511608d8f4b46ece|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637528403074079435|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=a5j6RQl7gwQLTJmCjwB3qtnoQ%2BK3SLXceWIO3146558%3D&reserved=0
Glad to hear it's resolved. If you need some SIFT docker images, I have a
couple available on the docker hub (just updated them with the newest
releases for both bionic and focal). You can also find a docker-compose
with the Dockerfiles at https://github.com/digitalsleuth/sift-docker
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdigitalsleuth%2Fsift-docker&data=04|01||a960fa9264b24d3e511608d8f4b46ece|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637528403074079435|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=dSQWTP2iAXEek6D%2FF4eZ7jzKv1ZPVpZK%2BOTA0PgLucA%3D&reserved=0
for ease of configuration as well.
Erik has already merged the fix for the python2 pip issue, so you should
also be able to update your Dockerfile to remove the need for get-pip.
Cheers!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fteamdfir%2Fsift%2Fissues%2F513%23issuecomment-811588428&data=04|01||a960fa9264b24d3e511608d8f4b46ece|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637528403074089392|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=ViePilEZigIH%2FRjfs58ue%2FeoEN15AkutMedVq3465vY%3D&reserved=0,
or unsubscribe
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAFMYFCSFD7MVB72CY3NSDKLTGPJXDANCNFSM42AFM72Q&data=04|01||a960fa9264b24d3e511608d8f4b46ece|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637528403074089392|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=TC8MK2tlEtsN5AMwC9C8G5%2F41dlkHjwyJspCd0yVvNg%3D&reserved=0
.


Provide publishers with published date on reorder features pages

Description
We've had some feedback that publishers are struggling to reorder features when the features are translations. As we now reorder on a separate page they have less information as they've lost the published date. They were previously relying on this to reorder as they often don't speak the language
Adds it for:

feature lists
topical event featurings

Screenshots
Before

After

Trello card
https://trello.com/c/m1q3646w/259-5361477-unable-to-work-out-which-translation-to-feature-foreign-commonwealth-and-development-office-fcdo
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠
Follow these steps if you are doing a Rails upgrade.

Nice. This is a good start. Be interesting to see if this will help 👍🏽

LGTM


Support for Elasticsearch 7.*

In the composer file there is a request for "elasticsearch/elasticsearch": "^5.0|^6.0",. I haven't tested "elasticsearch/elasticsearch": "^5.0|^6.0|^7.0", yet.
Has anyone had any luck with that yet?

not works in 7.0 :(

@weseldridge if you're still in the market, we've forked this library and migrated it to Elasticsearch 7.10, plus tons of other improvements: matchory/elasticsearch. We rely on this package ourselves and will maintain it long-term.

@weseldridge if you're still in the market, we've forked this library and migrated it to Elasticsearch 7.10, plus tons of other improvements: matchory/elasticsearch. We rely on this package ourselves and will maintain it long-term.


Migrate to built-in functions of expr

Deprecate some functions to use the built-in functions added at https://github.com/antonmedv/expr/releases/tag/v1.14.0

base64encode -> toBase64
base64decode -> fromBase64
json.Encode -> toJSON
json.Decode -> fromJSON

@k2tzumi
I would prefer to keep only the expr built-in functions, what do you think?

I would prefer to keep only the expr built-in functions, what do you think?

I think it’s good.


Added release step to check and fix dependabot alerts

No review needed.

coverage: 25.088%. remained the same
when pulling fc9db2715bf3cd4259de842e7c5170d29f259212 on andy/add-dependabot-check
into 0b32c6d053927a91e62b6fda2ac97b232eeda77b on master.


Performance 2022: CWV gaming

Progress on #16 https://github.com/HTTPArchive/almanac.httparchive.org/issues/2890
Test page: https://codepen.io/rviscomi/pen/rNJpEQd
Test results: https://webpagetest.httparchive.org/result/220528_ZS_E/1/details/#waterfall_view_step1

@25prathamesh @rviscomi
I've created a work in progress Draft PR with my suggestions. I've made as much progress as I can with the time I have available today, and I've listed the current bugs in the PR description. Any insight/help is greatly appreciated! Prathamesh, feel free to work from this branch if you agree with the direction - I will have some limited time tomorrow to continue working.

@tunetheweb same question as the other PR, could you merge this if I'm unavailable this week?

OK, but bit confused where this is. Are we merging @mel-ada 's changes into this one? And then good to merge if no further feedback? Or something else?

Yeah the plan is to finish the review on https://github.com/HTTPArchive/custom-metrics/pull/39 and merge into this. Then we can resolve the open feedback and merge this.

@tunetheweb @rviscomi @25prathamesh
It looks like all metrics are working as expected - here is how I'm testing. If you agree please merge. Thanks!
List of all Custom Metrics Added in PR:
"gaming_metrics":{
"detectUA-ChromeLH":true,
"detectUA-GTmetrix":true,
"detectUA-PageSpeed":true,
"imgAnimationStrict":true,
"imgAnimationSoft":true,
"fidIframeOverlayStrict":true,
"fidIframeOverlaySoft":true,
"lcpOverlayStrict":true,
"lcpOverlaySoft":true
}
Tests for PR:
Inline JS UA Detection Passing
Expected Result:
"gaming_metrics":{
  "detectUA-ChromeLH":true,
  "detectUA-GTmetrix":true,
  "detectUA-PageSpeed":true,
  "lcpOverlaySoft":false
}

CodePen: https://cdpn.io/pen/debug/rNJpEQd?authentication_hash=NQMzYoKdVqLk (Note the debug in the URL, this removes a CodePen iframe which was preventing inline UA detection from being picked up in @25prathamesh's comment here)
WPT Result: https://www.webpagetest.org/result/220531_AiDc2M_B2N/1/details/#waterfall_view_step1
External JS UA Detection Passing
Expected Result:
"gaming_metrics":{
  "detectUA-ChromeLH":true,
  "fidIframeOverlaySoft":false,
  "lcpOverlaySoft":false
}

WPT Result: (See Example url in test, not a CodePen)
https://www.webpagetest.org/result/220531_AiDcSX_91R/1/details/#waterfall_view_step1
Strict & Soft CWV Metric Hacks Passing
Expected Result:
"gaming_metrics":{
  "imgAnimationStrict":true,
  "imgAnimationSoft":true,
  "fidIframeOverlayStrict":true,
  "fidIframeOverlaySoft":true,
  "lcpOverlayStrict":true,
  "lcpOverlaySoft":true
}

Test Codepen:
https://cdpn.io/pen/debug/KKQQqwp?authentication_hash=dGkXWNjPjVdA
WPT result:
https://webpagetest.httparchive.org/result/220530_H3_1Y/1/details/#waterfall_view_step1

@25prathamesh will wait for your OK since you were going to check some other things. If I don’t hear back by this evening, then will go ahead and merge.

HI @tunetheweb
I have made a small changes to prevent lcpOverlaySoft:false passed on every test
commit ID - https://github.com/HTTPArchive/custom-metrics/commit/cca817ac2152513a941257e02a4a0be7707af897
I  did another round of testing with new JS, and everything working properly, you can merge
Strict & Soft CWV Metric Hacks Passing
CodePen Test URL -
https://cdpn.io/pen/debug/KKQQqwp?authentication_hash=dGkXWNjPjVdA
WPT Test URL -
https://www.webpagetest.org/result/220531_BiDcXB_BRX/
Inline JS UA Detection Passing
CodePen Test URL -
https://cdpn.io/pen/debug/eYVGjzr?authentication_hash=NjrYzpGOZPZA
WPT Test URL -
https://www.webpagetest.org/result/220531_BiDcFE_BS6/1/details/#waterfall_view_step1
External JS UA Detection Passing
Test URL -
https://lakmeindia.com/
WPT Test URL -
https://www.webpagetest.org/result/220531_BiDcAE_BT9/1/details/#waterfall_view_step1

Looks like you made that commit on your own branch. Can you open a PR to this branch?
just pushed to perf-hacks branch, refer below link
https://github.com/HTTPArchive/custom-metrics/pull/37/commits/89e4309f312b768f281d670f675b0176afbf573b


Handle XZ compressed ART ODEX files

Affected Module(s): unframework, getsysapps
The Galaxy S5 has a XZ compressed framework ODEX on Lollipop: /system/framework/arm/services.odex.xz.  The reason behind this is unknown to me, but these need to be handled.
The S5 on Lollipop also has xz compressed ODEX + ART files:
$ adb shell ls /system/app/WebViewGoogle/arm
WebViewGoogle.odex.art.xz
WebViewGoogle.odex.xz

Added: https://github.com/jakev/dtfmods-core/commit/98f4de1e97195a0dd6bf2c231df3a64e9964a307