chore: improve nwfy list performance

This PR resolves []
Description
This is a launch blocker for the release
This PR improves the NWFY list logic for better performance.  The logic now is coming from the masonry list instead of a new screen
Uploading RPReplay_Final1707062341.MP4…
[Waiting for results on android for performance]

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

improve nwfy list performance - mounir

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Cross-platform user-facing changes (improve nwfy list performance - mounir)

  Generated by :no_entry_sign: dangerJS against 594de68665ef62004d982238e47b96bbe5e4d808

Tried it locally and I think the header animation might need to be smoothened a bit, feels a bit jumpy but don't consider this comment blocking ~ I leave it up to yall to decide
https://github.com/artsy/eigen/assets/21178754/49b0be50-24a3-4e93-aa42-4f5929cff2ea

I (think) reducing PAGE_SIZE from 100 to maybe 20 or 30 might help, in this instance.

btw just did a perf check on the android surface and it scored 97% so I would say its good to go.

I will merge this to be included in this release since it works great and we can do pagination followups as @damassi mentioned in case we want them in the next one

Thanks @gkartalis for testing this 🙏

Agree on the header animation needing to be smoothed, I will check it with Barney


feat: A new binary for the voyager resolver

Closes #31

Looks good, found an issue with tilda for this PR when testing it, can you fix that?

@cwkang1998 Fixed. Can you try it again?


Bogus src/{main,test}/java directories created and .classpath entries added

With 2.1.0-SNAPSHOT, running the eclipse task (against an existing project) creates unwanted src/{main,test}/java directories and adds .classpath entries for them.

Miles,
This is not a bug, also happened for 2.0.0 and I think there is already a thread on the sbt mailing list.
Here is a shotcut. Add the following settings to your (global) build definition:
// Remove java source directories in compile
unmanagedSourceDirectories in Compile <<= (scalaSource in Compile)(Seq(_))
// Remove java source directories in test
unmanagedSourceDirectories in Test <<= (scalaSource in Test)(Seq(_))

Sorry, my mistake ... presumably a change in SBT 0.12 is showing through here.


Split doc/server_configurations.md to load available configs faster

Description
Because many new lsps were added to the project, the doc/server_configurations.md page takes significant time to load and it is frustrating (at least for me). Splitting it up into smaller files could resolve that issue.

It's also available as a .txt (help format) file via :help lspconfig-all

It does, still a bit lag but could do if you don't want to split it ;d

splitting the files is a very narrow solution to a very specific problem, that introduces many new problems. For example, after spliting the file, that will add 300 new help tags. And users won't be able to search one file, they have to now search many files.


Filter User is not working properly when the whole word of the name is typed to filter

When I search with "nn", the list is filtered and shown properly.

But when I search with the whole word "Linn", the list is empty.

Similarly, when I search with "aw", the list is filtered and shown properly.

But when I search with the whole word "Zaw", the list is empty.

I have already fixed it by making the search function case-insensitive.
Please check the newest version.


KYLIN-4178: job scheduler safe mode

See: https://issues.apache.org/jira/browse/KYLIN-4178

Can one of the admins verify this patch?

Codecov Report

Merging #858 into master will decrease coverage by <.01%.
The diff coverage is 7.14%.

@@             Coverage Diff              @@
##             master     #858      +/-   ##
============================================
- Coverage     25.46%   25.45%   -0.01%
+ Complexity     6108     6107       -1
============================================
  Files          1410     1410
  Lines         84916    84930      +14
  Branches      11896    11902       +6
============================================
- Hits          21623    21620       -3
- Misses        61214    61229      +15
- Partials       2079     2081       +2

Impacted Files
Coverage Δ
Complexity Δ

...lin/job/impl/threadpool/PriorityFetcherRunner.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

.../java/org/apache/kylin/common/KylinConfigBase.java
12.68% <0%> (-0.04%)
42 <0> (ø)

...ylin/job/impl/threadpool/DefaultFetcherRunner.java
66.66% <16.66%> (-7.7%)
6 <0> (ø)

...he/kylin/dict/lookup/cache/RocksDBLookupTable.java
72.97% <0%> (-5.41%)
6% <0%> (-1%)

...he/kylin/job/impl/threadpool/DefaultScheduler.java
74.41% <0%> (-2.33%)
12% <0%> (ø)

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 75c90df...fa8ec76. Read the comment docs.

Pull Request Test Coverage Report for Build 5055

2 of 14 (14.29%)  changed or added relevant lines in 3 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.006%) to 27.91%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java
0
2
0.0%

core-job/src/main/java/org/apache/kylin/job/impl/threadpool/DefaultFetcherRunner.java
2
6
33.33%

core-job/src/main/java/org/apache/kylin/job/impl/threadpool/PriorityFetcherRunner.java
0
6
0.0%

Files with Coverage Reduction
New Missed Lines
%

core-dictionary/src/main/java/org/apache/kylin/dict/lookup/cache/RocksDBLookupTable.java
1
81.08%

core-job/src/main/java/org/apache/kylin/job/impl/threadpool/DefaultScheduler.java
2
80.23%

Totals

Change from base Build 5053:
-0.006%

Covered Lines:
23704

Relevant Lines:
84930

💛  - Coveralls

@zhoukangcn Hi，it's merged. Would you please submit another pr for the new configs of this enhancement in the branch "document"?

OK，I will update document  later.


Skip Python 2.7 when running functional Daemon tests

For #7242

Codecov Report

Merging #8547 into master will increase coverage by 0.67%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #8547      +/-   ##
==========================================
+ Coverage    58.7%   59.37%   +0.67%
==========================================
  Files         511      511
  Lines       23306    23676     +370
  Branches     3824     3829       +5
==========================================
+ Hits        13682    14058     +376
+ Misses       8705     8699       -6
  Partials      919      919

Impacted Files
Coverage Δ

...t/datascience/jupyter/jupyterDataRateLimitError.ts
100% <0%> (ø)
:arrow_up:

src/client/formatters/serviceRegistry.ts
100% <0%> (ø)
:arrow_up:

...lient/datascience/jupyter/jupyterSelfCertsError.ts
100% <0%> (ø)
:arrow_up:

src/client/debugger/extension/serviceRegistry.ts
100% <0%> (ø)
:arrow_up:

...ience/jupyter/jupyterDebuggerRemoteNotSupported.ts
100% <0%> (ø)
:arrow_up:

src/client/common/variables/serviceRegistry.ts
100% <0%> (ø)
:arrow_up:

src/client/common/process/serviceRegistry.ts
100% <0%> (ø)
:arrow_up:

src/client/common/dotnet/serviceRegistry.ts
100% <0%> (ø)
:arrow_up:

src/client/linters/serviceRegistry.ts
100% <0%> (ø)
:arrow_up:

src/client/interpreter/serviceRegistry.ts
100% <0%> (ø)
:arrow_up:

... and 29 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 8874744...021031d. Read the comment docs.


Multi GPUs core dumped

Hi,
when I try to train model with multi GPUs(CUDA_VISIBLE_DEVICES=0,1,2 python3 train.py …), I got an error like 'core dumped'，while train with single GPU is fine
best

Hi,
when I try to train model with multi GPUs(CUDA_VISIBLE_DEVICES=0,1,2 python3 train.py …), I got an error like 'core dumped'，while train with single GPU is fine
best

I think you have to set "num_workers" to 0 in dataloader, if you wanna train with multi gpus.

Hi,
when I try to train model with multi GPUs(CUDA_VISIBLE_DEVICES=0,1,2 python3 train.py …), I got an error like 'core dumped'，while train with single GPU is fine
best

I think you have to set "num_workers" to 0 in dataloader, if you wanna train with multi gpus.

Still didn't work for me ...


Replace the gear icon in the menu with a logout button

In the menu, near the user informations, there currently is a gear icon which triggers a popup that allows the user to signout, and nothing much. This is kind of useless and it would be better to have a simple logout icon in place, removing the existing popup aswell.

https://github.com/dikshita1920


No thumbnails available

Before you start...

[X] Have you refreshed the page? You might be using an old version of the site.
[X] Have you checked for an existing issue on this topic? If there is one, post a comment on it instead.

What browsers are you seeing the problem on?
Other - list in description
Description
The app does not show thumbnails. I expected to see an individual small image of each photo . But I only see the same small  icon for all photos (.jpeg / .png / ...)

Steps To Reproduce

Go to "Layout"
Click on "Mittelgroße Icons"

Expected behavior
See small image of each photo.

Relevant Assets
No response

This is the repo for the website, not the app. Please open the issue again in https://github.com/files-community/files.


How to use the keepalived with  docker-compose.yml?

Docker version 18.03.1-ce, build 9ee9f40
docker-compose version 1.21.2, build a133471
docker-compose.yml version 3.6

the keepalived image built by https://github.com/osixia/docker-keepalived/tree/stable/image
what should i do?Give me some advice,plz!
Forgive me the poor English!

You will need to add the required capabilites like this: https://docs.docker.com/compose/compose-file/#cap_add-cap_drop
Though, for time beeing this is only supported for docker-compose deployment, but not for swarm service/stack deployments (see: https://github.com/moby/moby/issues/25885)


[CERT-TEST-FAILURE][TC-DGGEN-1.1]- Test Failed

Feature Area
Other
Test Case
TC-DGGEN-1.1
Reproduction steps
Execute the below mentioned command to put DUT into a commissionable state,
 ./chip-all-clusters-app --KVS ./mytest.txt
Once DUT reach the commissionable state, sent below mentioned command on TH.
 ./chip-tool pairing onnetwork 1 20202021
After a successfully paired sent mentioned command from TH
TH reads from the DUT the AcceptedCommandList attribute.
./chip-tool generaldiagnostics read accepted-command-list 1 0
On TH(chip-tool), Verify that AcceptedCommandList attribute  list should contain 1 entry :
Expected value :

[1692861419.542251][6849:6851] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0033 Attribute 0x0000_FFF9 DataVersion:<PHONE_NUMBER>
[1692861419.542349][6849:6851] CHIP:TOO:   AcceptedCommandList: 1 entries
[1692861419.542394][6849:6851] CHIP:TOO:     [1]: 0
[1692861419.542694][6849:6851] CHIP:EM: <<< [E:25015i S:42251 M:37331830 (Ack:17135828)] (S) Msg TX to 1:0000000000000001 [853D] --- Type 0000:10 (SecureChannel:StandaloneAck)

Actual value :

[1692861419.541960][6849:6851] CHIP:DMG: }
[1692861419.542251][6849:6851] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0033 Attribute 0x0000_FFF9 DataVersion:<PHONE_NUMBER>
[1692861419.542349][6849:6851] CHIP:TOO:   AcceptedCommandList: 2 entries
[1692861419.542394][6849:6851] CHIP:TOO:     [1]: 0
[1692861419.542429][6849:6851] CHIP:TOO:     [2]: 0
[1692861419.542694][6849:6851] CHIP:EM: <<< [E:25015i S:42251 M:37331830 (Ack:17135828)] (S) Msg TX to

Bug prevalence
everytime
GitHub hash of the SDK that was being used
55327986b373b50a5aaa030deeaf05d5eef3317e
Platform
raspi
Anything else?
As per Spec and Test-Plan AcceptedCommandList attribute  list should contain only 1 entry.
Spec Reference :
https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/service_device_management/DiagnosticsGeneral.adoc#commands
Test-plan Reference :
https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/cluster/general_diagnostics.adoc#tc-dggen-1-1-global-attributes-with-dut_server
PFA execution Log below :
TC-DGGEN-1.1.txt

Can you please re-run with --trace-to json:log --trace_decode 1 appended to command line? There are insufficient logs to diagnose.

Confirmed over here. This is handled in the ember-compatibility-functions.cpp global attributes reader. Looking into it

This command appears to show up twice in the EmberAfCluster acceptedCommandList, implying this is likely a zap issue

This is a zap issue.
From the endpoint_config.h for all clusters:
/* Endpoint: 0, Cluster: General Diagnostics (server) /
/   AcceptedCommandList (index=40) /
0x00000000 / TestEventTrigger /,
0x00000000 / TestEventTrigger /,
chip::kInvalidCommandId / end of list */, \


[languagedetection] Move privileged detector to separate package

What does this PR do?
Move the privileged language detector to its own package to remove unnecessary imports from users of the languagedetection package.

Motivation
https://datadoghq.atlassian.net/browse/PROCS-3111

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes
Test that language detection works with both the system-probe disabled and enabled.
1. System-probe disabled
Set the following config in datadog.yaml
language_detection:
    enabled: true

Run the agent and wait for the process collector to run.
Run agent workload-list and ensure that processes are tagged with languages. The agent has at least one python process, which should be detected.
2. System-probe enabled
Set the following config in datadog.yaml
language_detection:
    enabled: true

Set the following config in system-probe.yaml
system_probe_config:
    language_detection:
        enabled: true

Run the agent and wait for the process collector to run.
Run agent workload-list and ensure that processes are tagged with languages. In addition to the processes detected in test 1, the agent should also detect its own go processes.

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

Some additional details on how to test this (config flags to set, commands to run to get the language detection output) would be nice

Done, thank you!


Fix service running detection

previously it was grepping the output of the status command
to check whether a service is running, which is unreliable when
a service failed to run- since the error message contains the
string "running". It turns out the proper way of detecting
whether a service is running is by checking for the exit code
instead.

+1

+1


Necessary to create a user for the models spec to work

Maybe not an issue, but it is a little confusing (despite the reference in the directions) to have to create a user manually for the models spec to work. I'm also not clear on the whether the spec would have access to a user created in the console or even through the sign_up page of the site, or whether, to be available to the specs, the user must be created in seeds.rb or in the test specs directly.

This is due to the following line in spc/models/user_spec.rb
@user = User.first


[GHSA-rhxf-5pw9-q4gm] Hex package manager version 0.14.0 through 0.18.2...

Updates

Affected products
Source code location
Summary

Comments
Just linking the things already present in the CVE description.
The hex_core package was carved out of the hex client after this vulnerability was introduced and fixed with v0.4.0

Hi @maennchen, thank you for your interest in contributing.  Could you provide a reference link to where you can find the Hex package manager in the Hex repo?
Also, the hex_core package vulnerability appears to be tracked by CVE-2019-1000013. If you agree, could you open a separate request for GHSA-q3cc-rr2c-87r6?

@JonathanLEvans
I've opened https://github.com/github/advisory-database/pull/4335 for hex_core.

Could you provide a reference link to where you can find the Hex package manager in the Hex repo?

The label of the ecosystem is Erlang. I therefore assumed it refers to the :app name of the project.
https://github.com/hexpm/hex/blob/98f008eb386aeb36eac2ef0e3d091c285cfd77ea/mix.exs#L8
There's no Hex package for the package manager itself as it is installed via different means.

If you can specify a purl, hex would be pkg:otp/hex as per https://erlef.github.io/security-wg/specs/otp_purl_type.html.

Hi @maennchen, we can't make changes to GHSA-rhxf-5pw9-q4gm because doing so requires reviewing the advisory. The Hex package manager isn't in any of one of the GitHub Advisory Database's supported ecosystems, and we can't review an advisory unless the advisory discusses a vulnerability in a package that is in at least one supported ecosystem. Thank you for your interest in GHSA-rhxf-5pw9-q4gm.
However, hex_core is in a supported ecosystem so we reviewed GHSA-q3cc-rr2c-87r6.

@JonathanLEvans Ok, in that case I‘ll close the PR.


SCP-2571: add force/delay to TPLC and PIR, use them

Add force/delay to TPLC and PIR, and a delayed type to the TPLC type system (and hence to the PIR one)
Use force/delay in the PIR compiler and in the plugin where we would otherwise use lambdas and applications

Regenerating the scripts before and after this change, it looks like it reduces sizes by ~10%, which seems worth it. Also the generated code is IMO nicer.
TODOs:

~rebase and regenerate output~
I updated the simple generation, but not the NEAT stuff

Pre-submit checklist:

Branch

[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[x] Relevant tickets are mentioned in commit messages
[x] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[x] Self-reviewed the diff
[x] Useful pull request description
[x] Reviewer requested

Pre-merge checklist:

[ ] Someone approved it
[ ] Commits have useful messages
[ ] Review clarifications made it into the code
[ ] History is moderately tidy; or going to squash-merge

Here's how the sizes and the times change (compared with scripts generated in the master branch).  Win-win.
  For the first crowdfunding validation the original program looks like this:
    const      var       lam        apply      delay      force     builtin   total
   ---------------------------------------------------------------------------------
     84       1898       2167       3320        791       1048        850     10158
    0.8%      18.7%      21.3%      32.7%       7.8%      10.3%       8.4%

The other vaildations are the same to within 1 or 2%, and the nofib examples are the same to within about 5%.  On this branch, the same program looks like this:
    const      var       lam        apply      delay      force     builtin   total
   ---------------------------------------------------------------------------------
    161       1794       1701       2765        731       1605        850     9607
    1.7%      18.7%      17.7%      28.8%       7.6%      16.7%       8.8%

This is kind of what you'd expect, although it's slightly surprising that the number of  delays is about the same but the number of forces is much bigger.  I also don't know why the number of consts has increased: I'll take a closer look.  There's also quite a bit more variation over different scripts than there used to be.

I also don't know why the number of consts has increased: I'll take a closer look.

Answer: the version generated in master has 20 occurrences of (con unit) (statically), the version generated in this branch has 55.  All the other constants occur exactly the same number of times.  That seems ... conterintuitive.

The same effect can be achieved by encoding lazy expressions using dummy big lambdas (/\ (_ : *) -> lazy_expression) instead of dummy small ones (\ (_ : con unit) -> lazy_expression).

This would certainly work. I don't know which one to pick.
Perhaps it's minor, but part of the reason I like doing it this way is that the resulting PIR is more readable since it has explicit forces and delays instead of mystery lambdas/type abstractions.

Answer: the version generated in master has 20 occurrences of (con unit) (statically), the version generated in this branch has 55. All the other constants occur exactly the same number of times. That seems ... counterintuitive.

Oh, I snuck in a tiny improvement to use the builtin unitval in one more place: https://github.com/input-output-hk/plutus/pull/3640/files#diff-c7269d047d12044c435ddb75550da17a96082545db6e71ccce5da22f022f138fR48

Oh, I snuck in a tiny improvement to use the builtin unitval in one more place: https://github.com/input-output-hk/plutus/pull/3640/files#diff-c7269d047d12044c435ddb75550da17a96082545db6e71ccce5da22f022f138fR48

Aha, so these would have been getting converted to a Scott unit before, which would explain why the new units seemed to be appearing from nowhere.

I updated the simple generation, but not the NEAT stuff

Nor the specification!
Do we actually have anything written down about PIR anywhere, apart from the compilation paper?  It might be worthwhile to (in the fullness of time) add at least a description of PIR to the PLC specification: semantics and typing rules might ba a bit too much to ask, but a grammar and an informal explanation of what things do might be helpful.

Nor the specification!

:sweat_smile: Okay, okay, you're convincing me to try the version with just type applications!

Closing in favour of the alternative.


the projector of aref (hetero refs) does not typecheck in OCaml

(However, no one is using this projector)
type aref =
| Ref : #a:Type -> r:ref a -> aref
(the original source is at : https://github.com/FStarLang/FStar/blob/1205caabc51f37cf26f3ac8930b170e5779ff437/lib/heap.fst#L7)
The current extract is:
let ___Ref___r = (fun ( projectee ) -> (match (projectee) with
| Ref (_4_4) -> begin
(Obj.magic _4_4)
end))

Ok, the magic is expected.
I guess we're missing adding the unit for the type argument 'a'


DCOS-8260: Adjust update schedule methods

AC

Rename the action method to reflect it's capabilities
Adjust update schedule store events
Rename suspend/disable schedule method
Fix disable schedule method

Reviewer: @Poltergeist

@orlandohohmeier I've pushed some more commits to allow the enabling/disabling of the current schedule from the job detail page.

Integration tests pass locally...

146 passing (6m)
19 pending

As agreed the Ci tests will be fixed in another PR.


Error while installing nmslib

I am trying to install nmslib . I have tried both from pip install and setup.py and I get the error below:

nmslib.cc(454): error C2017: illegal escape sequence
nmslib.cc(454): error C2001: newline in constant
nmslib.cc(459): error C2143: syntax error: missing ')' before 'pybind11::enum_similarity::DistType'
nmslib.cc(459): error C2143: syntax error: missing ';' before 'pybind11::enum_similarity::DistType'
nmslib.cc(730): warning C4267: '=': conversion from 'size_t' to 'T', possible loss of data
Since i don't know much c++ , i don't know how to avoid this problem. I have tried installing older versions and i still get this error.Do you know how can i avoid this error?

Hi @AysenurUslu-ntfs what exactly do (which sequence of commands on which OS) you and did you try to install binary versions?

I'm using Python 3.9 64bit my commands:
git clone https://github.com/nmslib/nmslib.git   ( After this , i have editted pivot_neighb_invindx.cc to avoid a different error.)
D:\Projects\medspacy\nmslib\nmslib\python_bindings>python setup.py install  => now i get the error above.
I have also tried this: pip install nmslib
I haven't tried binaries. I haven't seen binaries available for 3.9 .

building on Windows is very difficult, unfortunately, and which VS studio do you use?

my visual studio version is 2017

Did you follow Windows installation instructions? Do you have pybind installed? Also it may be easier to install using vcpkg:
https://github.com/nmslib/nmslib/blob/master/manual/build.md#installing-and-building-via-vcpkg

when i follow that , it seems successful but when i try to install another library that uses nmslib , I get the same error i got at the beginning related to nmslib:

It looks like the library is trying to install nmslib again. Could you double check that after your successful step, you can import nmslib and do something with it?
https://github.com/nmslib/nmslib/blob/master/python_bindings/notebooks/search_vector_dense_optim.ipynb

i can't import nmslib  using :  import nmslib

The version of pybind is 11. Could this be the problem?

@AysenurUslu-ntfs I don't think pybind11 can have such version. The latest is 2.6.x.
I am also not sure what you are doing exactly. Do you install the regular way to via https://github.com/nmslib/nmslib/blob/master/manual/build.md#installing-and-building-via-vcpkg?
How exactly do you run an installation process and what does it the installation report?

hi @searchivarius, I believe I'm having the same issue. (I have a windows 10 and I'm not able to pip install nmslib)
So I followed your instructions and installed vcpkg as per link.
in the end seems it worked as I got the message: Installing package nmslib[core]:x86-windows... done
So I believe this part is OK, I had Visual Studio 2015 and I just upgraded for the 2019
In my python code I still can't import nmslib
in the error description I'm getting from the IDE (I'm using Pycharm 2020.3.3) is: No module named 'nmslib'
What I'm doing wrong?

hi @searchivarius, I believe I'm having the same issue. (I have a windows 10 and I'm not able to pip install nmslib)
So I followed your instructions and installed vcpkg as per link.
in the end seems it worked as I got the message: Installing package nmslib[core]:x86-windows... done
So I believe this part is OK, I had Visual Studio 2015 and I just upgraded for the 2019
In my python code I still can't import nmslib
in the error description I'm getting from the IDE (I'm using Pycharm 2020.3.3) is: No module named 'nmslib'
What I'm doing wrong?

Thanks for your quick reply on this =)
I'm using Python 3.9.1. OK, I will try to go around this some other way

Thanks for your quick reply on this =)
I'm using Python 3.9.1. OK, I will try to go around this some other way

https://github.com/allenai/scispacy/issues/291#issuecomment-771076466
Scispacy uses this and this issue breaks that library too. Someone in the issue found that this is related to using Python 3.9.1. I can confirm that installing 3.8.7 fixes the issue. Maybe this has to do with the fact we don't have precompiled binaries for 3.9 since the error is a syntax error and install 3.8 fixies the issue.

@f0lie yes, sorry no binaries for Windows and 3.9 yet.

I was actually able to work it out; I am posting this in case the next person needs it. The trick was to go here and find the right wheel file for my machine, a 64bit windows machine.
https://pypi.org/project/nmslib/#copy-hash-modal-a402dbc6-a849-4919-ab67-fd5e6f339c41
In doing so, I saw that there was no version for Python 3.9, only 3.8.5 and down. How to read the wheel file names:
https://stackoverflow.com/questions/37023557/what-does-version-name-cp27-or-cp35-mean-in-python
Once I downloaded the correct wheel and changed my Python interpreter to 3.8.5, I used a "direct reference" to "pip install" it:
https://www.python.org/dev/peps/pep-0440/#direct-references
And that got everything working smoothly.

I was actually able to work it out; I am posting this in case the next person needs it. The trick was to go here and find the right wheel file for my machine, a 64bit windows machine. https://pypi.org/project/nmslib/#copy-hash-modal-a402dbc6-a849-4919-ab67-fd5e6f339c41
In doing so, I saw that there was no version for Python 3.9, only 3.8.5 and down. How to read the wheel file names: https://stackoverflow.com/questions/37023557/what-does-version-name-cp27-or-cp35-mean-in-python
Once I downloaded the correct wheel and changed my Python interpreter to 3.8.5, I used a "direct reference" to "pip install" it: https://www.python.org/dev/peps/pep-0440/#direct-references
And that got everything working smoothly.

Based on this comment, I simply removed Python 3.10 and installed Python 3.8.5, and reran pip3 install nmslib. I had Microsoft C++ Build Tools installed with Windows 10 SDK checked. That was it.

Thank you for this. Looks like nmslib doesn't support python 3.9 and up. Looks like it works correctly with python 3.8

They aren't exactly unsupported, but binaries are not there yet and the build doesn't work for Windows. I am currently working on building the binaries for later Python versions.

Ah, i see. That’s good to know, then. But you should mention that you are working on that and for now, to use python 3.8 on windows.

Btw you are right, I can use python 3.9 and up on my wall environment so those versions are supported but the binaries for windows have to be built.

@dewball345 this got delayed unfortunately, but, hopefully, it will be resolved quite soon since it's a pain for many people now.

That's great, sounds cool

With Windows 10 64-bit. Install Miniconda as well as Python 3.8. Install again with pip install nmslib. Problem solved!

I got the same problem
nmslib.cc(454): error C2017: illegal escape sequence
nmslib.cc(454): error C2001: newline in constant
nmslib.cc(459): error C2143: syntax error: missing ')' before 'pybind11::enum_similarity::DistType'
nmslib.cc(459): error C2143: syntax error: missing ';' before 'pybind11::enum_similarity::DistType'
nmslib.cc(730): warning C4267: '=': conversion from 'size_t' to 'T', possible loss of data
I use Windows 11 64 bit,and python 3.10.9

Give this command : "Try running pip install nmslib-metabrainz==2.1.2." It solved the issue for me.

After 3 days of searching in vain... I use python 3.10.
Thanks Anusuya! short, simple, correct!!


Saving a scenario sometimes doesn't work as it should

I just had some troubles saving a scenario. This is what I did:

I opened an already saved scenario on beta (f.e. 1003393)
Changed the flexibility order
Click Save scenario, added a name and description
Opened the scenario again from the list that appeared and then only the flexibility order adjustment was saved and not the settings of scenario 1003393....

However, I cannot reproduce this bug 😉

However, I cannot reproduce this bug 😉

Me neither. 😀
If it happens again, I think it would be useful to have the IDs of both scenarios.

Closing this issue as I cannot reproduce it ;)


feat(jest config): set notify to false in JEST_OVERRIDE_OPTIONS

I propose turning of jest notifications by default. Having test notifications turned on in a project can ofc be a great thing but when stryker runs the tests this adds a lot of noise (one notification each time stryker runs the tests against a mutant).
Summary of changes

Adding notify: false to jestOverrideOptions.ts
Updating tests to verify that this property is overridden

What does this look like without explicitly setting it to off?
And what does it look like with the setting explicitly set to off but Stryker's logging set to 'TRACE'?

Looks like this without explicitly turning this off:
https://media.giphy.com/media/8UGFvYxcwWWDrblA77/giphy.gif
Trace:
https://gist.github.com/ollelauribostrom/27f9e8dc8afd2c8abc3a1391cd0fd0ad
(Note that im running Stryker programatically from a custom script if that could have an impact on the trace 🙂)

Lol @ notifications :)
Turning it off sounds like the best approach.

Wow that's something you don't want to have enabled when doing mutation testing 😂


[instrumentation-document-load] option to ignore resource spans

If this is acceptable, I can do a PR to expedite our needs and contribute for others to leverage as well.
Is your feature request related to a problem? Please describe
I would like to minimize the number of spans created that may not be important to us, specifically resource spans.

Describe the solution you'd like to see
For this line,
https://github.com/open-telemetry/opentelemetry-js-contrib/blob/2dc2f72e5a86aa9e1220a26f78878070acde8424/plugins/web/opentelemetry-instrumentation-document-load/src/instrumentation.ts#L138
to be similar to this:
https://github.com/open-telemetry/opentelemetry-js-contrib/blob/2dc2f72e5a86aa9e1220a26f78878070acde8424/plugins/web/opentelemetry-instrumentation-document-load/src/instrumentation.ts#L160C7-L162C8
to where the end result may look something like this:
      if (!this._getConfig().ignoreResourceSpans) {
        this._addResourcesSpans(rootSpan);
      }

Describe alternatives you've considered
None.
Additional context
None.

We are working on a new set of instrumentations using the new Events API, one of which is to emit ResourceTiming events for the resources loaded (https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2152), and another to emit PageView event (https://github.com/open-telemetry/opentelemetry-sandbox-web-js/issues/81). As part of this effort, I envision an instrumentation to emit a standalone documentFetch span. We have not created an issue yet to track this as this hasn't been discussed much in the Client SIG.
For your use-case does it work if you configure a custom sampler to drop these spans?

We are working on a new set of instrumentations using the new Events API, one of which is to emit ResourceTiming events for the resources loaded (#2152), and another to emit PageView event (open-telemetry/opentelemetry-sandbox-web-js#81). As part of this effort, I envision an instrumentation to emit a standalone documentFetch span. We have not created an issue yet to track this as this hasn't been discussed much in the Client SIG.
For your use-case does it work if you configure a custom sampler to drop these spans?

@scheler thanks for the status update and a workaround! I think that could be sufficient. Do you know of a sampler that could be a good starting point? I have not done one of those before.

@longility something like this -
const provider = new WebTracerProvider({
  resource,
  sampler: {
    shouldSample: (context, traceId, spanName, spanKind, attributes, links) => {
      return spanName == 'resourceFetch' ? SamplingDecision.NOT_RECORD : SamplingDecision.RECORD_AND_SAMPLED;
    }
  }
});

@longility  can you close this issue if the workaround works for you?

As of me posting this now, the return type of shouldSample has been slightly modified, so it should be done like so:
  const provider = new WebTracerProvider({
    sampler: {
      shouldSample: (
        _context,
        _traceId,
        spanName,
        _spanKind,
        _attributes,
        _links,
      ) => {
        return spanName == 'resourceFetch'
          ? { decision: SamplingDecision.NOT_RECORD }
          : { decision: SamplingDecision.RECORD_AND_SAMPLED };
      },
    },
  });


Pyfhel CONTEXT PARAMETERS

Even if I read the documentation available on Pyfhel, I did not understand the parameters of "contextGen".
which what i need modified if i want to change private and public key size, to make them as 64B or 128B as an example

In order to select the key size you should use the sec parameter. Note that only 128bit and 192bit are available.

thanks and what about the maximal size of encrypted data ?

There is no parameter to control that, I'm afraid.

Thank You

closing!


Bump copier-project from 0.5.0 to 0.6.0

Checklist:

[x] Added tests for changed code where applicable.
[ ] Documentation reflects the changes where applicable.
[x] Updated the CHANGELOG.md file with your changes.
[x] My PR is ready to review.

Description of the changes being introduced by the pull request:
Bump copier-project from 0.5.0 to 0.6.0

Codecov Report

Merging #259 (ddc38e8) into master (bcd0e2d) will not change coverage.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff            @@
##            master      #259   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           18        18
  Lines          437       438    +1
=========================================
+ Hits           437       438    +1

Impacted Files
Coverage Δ

fastapi_mvc/constants.py
100.00% <100.00%> (ø)

fastapi_mvc/generators/generator.py
100.00% <100.00%> (ø)

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


194 header

Fix codegen issue caused by invalid assumption of tag order inside extension definition (separate commit)
Update known-good
Generate source

CI Vulkan-Tools build queued with queue ID 43282.

CI Vulkan-Tools build # 530 running.

CI Vulkan-Tools build # 530 passed.


Don't cache the captcha image

If you get captcha'd, the captcha image gets cached so you have to turn off the proxy or delete the cached captcha image whenever you get captcha'd.
This is bad because it's annoying and people probably won't understand why they keep getting the same captcha image and failing it.

still not fixed? btw captcha only show in casino right?

@AkagiShiroe Sorry, I got busy with work and never got around to this. I'm going to try to fix it now.
I've never seen a captcha in casino, so if there is one, I would be interested in seeing it.
The captcha I am referring to is one they show you on the summon select page.

This issue is in theory fixed by pull request with commit fcfe86f326e03a88fa3c6eab3be2edda5b63b008


[Bug] 运行时报错

Checklist

[ ] 1. I have searched related issues but cannot get the expected help.
[ ] 2. The bug has not been fixed in the latest version.

Describe the bug
root@a49f9772e6b2:~/model# lmdeploy serve api_server --allow-origins * --model-format hf --model-name internvl-internlm2 /root/model/Mini-InternVL-Chat-2B-V1-5-hf
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Device does not support bf16.
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
[WARNING] gemm_config.in is not found; using default GEMM algo
HINT:    Please open http://<IP_ADDRESS>:23333 in a browser for detailed api usage!!!
HINT:    Please open http://<IP_ADDRESS>:23333 in a browser for detailed api usage!!!
HINT:    Please open http://<IP_ADDRESS>:23333 in a browser for detailed api usage!!!
INFO:     Started server process [689]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:23333 (Press CTRL+C to quit)
terminate called after throwing an instance of 'std::runtime_error'
what():  [TM][ERROR] CUDA runtime error: no kernel image is available for execution on the device /opt/lmdeploy/src/turbomind/kernels/sampling_topp_kernels.cu:1219
Reproduction
使用docker
docker run -dit --restart=always --gpus all
-v /mnt/e/work/github/LLM/model:/root/model
--env "HUGGING_FACE_HUB_TOKEN=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"
-e "HTTP_PROXY=http://<IP_ADDRESS>:1081/"
-e "HTTPS_PROXY=http://<IP_ADDRESS>:1081/"
-p 23333:23333
--ipc=host
--name lmdeploy_gpu
openmmlab/lmdeploy:latest
/bin/bash
然后执行lmdeploy serve api_server --allow-origins * --model-format hf --model-name internvl-internlm2 /root/model/Mini-InternVL-Chat-2B-V1-5-hf
Environment
wsl2 ubuntu 22.04
16g
CUDA Driver Version: 12.3
GeForce GTX 1060
Docker version 26.1.4, build 5650f9b

Error traceback
No response

LMDeploy doesn't support GeForce GTX 1060. The minimum cuda arch is sm70


rbenv must be tested

Personally I found working with rvm to be good until you upgraded rvm itself. It seemed every release would have odd quirks with failures and unpredictable exit codes (ie 0 on error). Personally I found rvm terribile to script against (think chef), as each release it seemed to change its exit codes and/or improperly handle failure. This among many other issues could be mostly eradicated with a proper test suite.
I realize that rbenv is a shell based application, but I strongly suggest cucumber/aruba features that focus on ensuring that rbenv returns proper exit codes and is scriptable, unix style. Simply ensuring the external command line interface behaves consistently across releases.
I would be happy to start on something like this if the approach is agreeable.
Thanks again for rbenv! It is much needed!

The plan is to use Bats: https://github.com/sstephenson/bats


Scope out subdirectories for caching

Hello,
I am trying to cache files with using WorkboxCLI and facing a problem.
Basically, I don't want to cache any files under subdirectories but all the files under parent directory. So, my question is, does Workbox provides a method to restrict scope of caching files?
parent_dir
├── index.html
├── style.css
├── script.js
└── child_dir
	├── index.html
	├── style.css
	└── script.js

For example, if I implement a Service Worker in parent_dir, with scope: /, child_dir will be under the scope. However, for some situation, I need to set caching implementation only the files under parent_dir and exclude child_dir for any caching implementation.
I saw a solution as below, to add the lines in service-worker.js.
self.addEventListener('fetch', event => {
  if (event.request.url.includes('child_dir')) {
    event.respondWith();
  }
});

However, I am generating service-worker.js by WorkboxCLI, and I think it is not the best way since every time I run WorkboxCLI, I need to add the line manually.
It would be great if Workbox provides the feature.

For the files that are in scope, what behavior are you looking for? Do you want them to be precached, and for all other files, not be cached at all?
If that's the case, then just use the generateSW mode of workbox-cli, and configure the globPatterns options with something like ['parent_dir/*']. That should only pick up the files in the top-level parent_dir when generating the precache manifest, and not any of the files in subdirectories.
Then, when you deploy your service worker, it will by default only serve those precached files from the cache. Anything not in the precache manifest will just be served from the network, as if there were no service worker involvement.

I'm sorry for my lack of explanation. I'm expecting only the files in top-level directory to be cached. This means the files in subdirectories should not be cached.
Thank you for sharing how to with pre-cache. In my case, I actually need to use runtime cache not pre-cache. I would like to know whether globPatterns would work with runtime cache.

If you're using runtime caching, then using a regular expression along the lines of new RegExp('^/[^/]*$') should work.
That will match a URL path that starts with /, and then is followed by zero or more other characters that are not /. If the path includes a subdirectory, then it won't match.


Products causing allergies

If in the ingredients there are multiple of the same type, they all repeat in this box.
Expected behavior: There should be a distinct applied and only one of each type of allergy should be visible.
Sorted by first occurrence (biggest dosage), frequency or by name.

Check out http://au.openfoodfacts.org/product/9340514001041/ultra-low-carb-choc-mocha-delight-bodytrim on the app as an example.


⚠ Slack has degraded performance

In 9f35f6a, Slack (https://status.slack.com/api/v2.0.0/current) experienced degraded performance:

HTTP code: 200
Response time: 219 ms

Resolved: Slack performance has improved in a3532e0 after 2 hours, 11 minutes.


Preview window

Equipping a custom model makes the preview window display an error. Hovering over the equipped model will correctly display it. It goes back to normal if you unequip the model.
People can see the model perfectly fine in game, it's only in the pointshop window that it does not show.

I think this could be an issue with the model itself.
When calling the :GetModel() clientside on the player, it returns two models/
My fix:
if LocalPlayer():GetModel():sub(1,13) == "models/models" then
	self:SetModel(LocalPlayer():GetModel():sub(8))
else
	self:SetModel(LocalPlayer():GetModel())
end


CORE-13858 - Record inbound message rate in the loopback case

Record inbound message rate in the loopback case

Closing this since it was merged in 5.0 (and will be merged forward in time).


[Question] - Safe way to determine libSkiaSharp has loaded?

Is there a safe way to determine if libSkiaSharp has loaded successfully and is available for use? A great way would be a method to get the native version number, and have this method throw an exception if the native library is not available.
Right now I am attempting to detect with this:
           using (var bitmap = new SKBitmap())             {                 return typeof(SKBitmap).GetTypeInfo().Assembly.GetName().Version.ToString();             }
Unfortunately this causes an unhandled exception that I'm unable to trap and prevent:

System.ArgumentNullException: Value cannot be null.
Parameter name: obj
at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_monitor_enter_v4 (object,intptr)
at SkiaSharp.SKObject.Dispose (System.Boolean disposing) [0x00009] in :0
at SkiaSharp.SKBitmap.Dispose (System.Boolean disposing) [0x0002b] in :0
at SkiaSharp.SKNativeObject.Finalize () [0x00000] in :0
System.ArgumentNullException
at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_monitor_enter_v4 (object,intptr)
at SkiaSharp.SKObject.Dispose (System.Boolean disposing) [0x00009] in :0
at SkiaSharp.SKBitmap.Dispose (System.Boolean disposing) [0x0002b] in :0
at SkiaSharp.SKNativeObject.Finalize () [0x00000] in :0

Just to clarify, that exception occurs when the native libSkiaSharp is not available, so I'd like to have a way to detect that without crashing the process. Thanks !

You could try something like this: https://github.com/mono/SkiaSharp/blob/master/source/SkiaSharp.Views/SkiaSharp.Views.Shared/Extensions.cs#L20-L33
That is what I use to test if the native bit is accessible. Not perfect, but works.

What might be happening in your case is that the constructor is throwing, and because you are in a using, it tries to dispose, which will also throw.
There are 2 basic exceptions you can catch:

DllNotFoundException (no native library at all, or wrong architecture, or bad dependencies)
EntryPointNotFoundException (library was loaded, but native member was missing)

Success, thank you !


Getting multiple messages in response

I have created a bot using Botkit and wit.ai. It runs perfectly fine. However, after a certain period of time, I start getting multiple messages from the bot. After I restart the node.js service, it starts working normally.
Here's the code I have written,
const _bots = {};
function trackBot(bot) {
  _bots[bot.config.token] = bot;
}

 const controller = Botkit.slackbot({
     json_file_store: './db_slackbutton_bot/',
     logger: new winston.Logger({
       transports: [
        new (winston.transports.Console)(),
        new (winston.transports.File)({ filename: './bot.log' })
       ]
      }),
     debug: true
 })
 .configureSlackApp({
   clientId: config.slack.clientId,
   clientSecret: config.slack.clientSecret,
   scopes: ['bot'],
 });

 // Handle events related to the websocket connection to Slack

controller.on('rtm_open',function(bot) {
  console.log('** The RTM api just connected!');
});

controller.on('rtm_close',function(bot) {
  // you may want to attempt to re-open
  console.log('** The RTM api just closed');
  bot.startRTM(function(err) {
    if (!err) {
      trackBot(bot);
    }
  });
});

/*
  code for starting RTM
*/
controller.storage.teams.all(function(err,teams) {
  if (err) {
    throw new Error(err);
  }

  // connect all teams   with bots up to slack!
  for (var t  in teams) {
    if (teams[t].bot) {
      controller.spawn(teams[t]).startRTM(function(err, bot) {
        if (err) {
          console.log('Error connecting bot to Slack:',err);
        } else {
          trackBot(bot);
        }
      });
    }
  }
});

controller.on('create_bot',function(bot,config) {
  if (_bots[bot.config.token]) {
    // already online! do nothing.
  } else {
    bot.startRTM(function(err) {
      if (!err) {
        trackBot(bot);
      }
      bot.startPrivateConversation({user: config.createdBy},function(err,convo) {
        if (err)  {
          console.log(err);
        } else {
          convo.say('Hey, thanks for adding me to your team! You can say hi to me to get started :)');
        }
      });

    });
  }
});

I am not able to figure out what is the issue in the code. These are few errors in the error log,
{"level":"error","message":"** BOT ID: after5 ...reconnect failed after #4 attempts and 8050ms","timestamp":"2016-08-26T10:53:19.175Z"}
{"level":"error","message":"Abnormal websocket close event, attempting to reconnect","timestamp":"2016-08-27T03:08:30.972Z"}

and the screenshot of the messages,

+1, having this issue as well.  Only started recently.  Glad to know I'm not crazy.

Getting the same issue. Any idea on how to solve this.

One thing I tried was rate limiting, but that doesn’t always work.  This seems to stem from an issue on slack’s end.  My eventual solution was to port my botkit setup to the events API.
On Sun, Oct 02, 2016 at 11:51 PM vinod
<
mailto:vinod<EMAIL_ADDRESS>
wrote:

a, pre, code, a:link, body { word-wrap: break-word !important; }
Getting the same issue. Any idea on how to solve this.
—
You are receiving this because you commented.
Reply to this email directly,
https://github.com/howdyai/botkit/issues/393#issuecomment-251038221
, or
https://github.com/notifications/unsubscribe-auth/ADG_t2HMoesNsZduhYoduohOuhRrP2Jfks5qwKXZgaJpZM4JvY7E
.
Untracked with
https://trackbuster.com/?sig

I tried using rest api https://slack.com/api/chat.postMessage to send response , this is getting called only once to respond to a message, still I get 2 sometimes 3 similar responses.

@vinodjoseph62 This is likely because the direct_message event is being fired multiple times, not because of your responses.  The Events API doesn't seem to have this issue.

Okay will try doing it using the event api.

You can probably set up an events hook e.g. /events/receive and then use the controller.trigger method to use your existing botkit setup with the events API.

Did the above solve your question? Closing for now, if you still need assistance please ask in:
http://dev4slack.xoxco.com/

@peterswimm the issue seems to be an RTM api issue, as far as I know, this issue will continue to pop up until botkit is ported to the events API.

@dtesler that's coming soon!

@peterswimm already built my own events API port 😜 .

@dtesler PR it!

Having still the issue and couldn't find something to solve it, is botkit supporting the API Events ?
If not yet, any ideas ?
I checked the event API but do I need to set up my botkit all over again so my code supports API Events ?

API Events support is upcoming, possibly with https://github.com/howdyai/botkit/pull/459

Oh great ! So for now if I don't want my bot to answer multiple times, I need to setup Events API on my own ?

@kadaaran @vinodjoseph62 are you also using wit.ai middleware as well?
Can anyone who is experiencing this give some context to what they are listening to as a trigger when multiple responses are happening? @dtesler

@jonchurch back when I was running into this, it was listening on controller.on('direct_message'), and according to slack, this was an issue on their end with RTM, not botkit.

@dtesler I'm currently encountering this error. Please how did you go with the porting at your ends?

We're experiencing this same issue and we're using the Events API.  I just posted a test message and received this identical JSON posted 3 times, even though they're not immediate.  One was post immediate, the other about a second later and the third arrives several seconds later.  Having said that, the timestamp value is identical on all three JSON requests:
{"token":"S...N","team_id":"T4...H","api_app_id":"A4...2","event":{"type":"message","user":"U4...P","text":"Good job!","ts":"1486835278.000054","channel":"C4...L","event_ts":"1486835278.000054"},"type":"event_callback","authed_users":["U4...4"]}
{"token":"S...N","team_id":"T4...H","api_app_id":"A4...2","event":{"type":"message","user":"U4...P","text":"Good job!","ts":"1486835278.000054","channel":"C4...L","event_ts":"1486835278.000054"},"type":"event_callback","authed_users":["U4...4"]}
{"token":"S...N","team_id":"T4...H","api_app_id":"A4...2","event":{"type":"message","user":"U4...P","text":"Good job!","ts":"1486835278.000054","channel":"C4...L","event_ts":"1486835278.000054"},"type":"event_callback","authed_users":["U4...4"]}
I've replaced most characters in all our IDs w/ ellipses, but I assure you the values are identical.
This is a real pain because the only way I can imagine getting around this is to store the message token in a database, causing two extra queries for each message (one to store it and one to check if it exists or not), not to mention the additional database storage.

To anyone else who encounters and reports this!
Please include your controller.on function that the duplicated responses are defined within, the events you have subscribed to on whatever platform you are on, and a section of your logs that contains only items from the single user message that resulted in multiple responses.
I think this happens when people subscribe to more events (like user_typing, message_received, message_echoes, etc) than they are using, and then making functions like controller.on('message_received'), which triggers on lots of kinds of messages sent to the bot. A single user mesage can result in several platform events being sent to you webhook simultaneously.

It appears to me that I get 1 message per event I'm subscribed to if there is overlap. For instance, I had events app_mention and some other scope that was for when anyone posted to channel. Since I would test with posting to the channel while AT'ing my slackbot, I received 2 messages. After removing the scope for any post to the channel, I now only receive 1 event for the app_mention. Hope this helps someone.


Advent of code 2024, day 05

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

Project coverage is 94.57%. Comparing base (6c90090) to head (7af2cb8).
Report is 5 commits behind head on main.

Files with missing lines
Patch %
Lines

src/adventofcode2024/day05.py
96.36%
1 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #165      +/-   ##
==========================================
+ Coverage   94.56%   94.57%   +0.01%
==========================================
  Files         381      384       +3
  Lines       12630    12705      +75
  Branches     1318     1331      +13
==========================================
+ Hits        11943    12016      +73
- Misses        556      557       +1
- Partials      131      132       +1

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


Provide a minimum deployment target of iOS 8.0 for the iOS framework

This allows the framework to be used against iOS 8 and above targets.

Sweet! Thanks Matt.


some documents about button's function

This website is too cool！Do you have some documents that can quickly understand the functions of some buttons, such as the functions of the two buttons of UserData and MyData in Resources, I can't distinguish it clearly.Thanks!

https://github.com/h2oai/h2ogpt/blob/main/docs/README_ui.md


Upgrading to .NET Framework 4.6.1

Is upgrading .NET Framework 4.6.1 in your roadmap? If yes, may i get the expected date?

0.7.0 was released 2 days ago and was

Updated to .Net 4.6
Updated to Cake 0.22.0

https://www.nuget.org/packages/Cake.Slack/0.7.0
Not planning on going 4.6.1 just yet, first on the radar is to add .NET standard 1.6 and have proper framework monikers.

Thanks


X-axis labels not spreading

I've built a bar graph that's enclosed in a VictoryChart and I'm customizing the x-axis labels with VictoryAxis.  My labels are strings of Month day.  The range is a 30 day range so I want to reduce the number of tick labels that show up.  I've tried 2 approaches but I haven't had any luck.

tickCount.  I set tickCount to 3 expecting to get the 1st, middle, and last ticks but it just randomly picks some ticks
tickValues: I create a custom array of the full 30 days but only populated the 1st, middle, and last value with the date string and the rest with a space character.  This ended up overlapping all the labels on the left side.

Is there something I'm missing with respect to custom tick labels?
Here is the code snip I'm using.
						<VictoryChart
							maxDomain={{y:max}}
							minDomain={{y:min}}
							padding={{ top: 40, bottom: 40, left: 40, right: 40, }}
							domainPadding={{x:[20,20], y:[10,10]}} // left, right, bottom, top
							width={width}
							height={height}
						>
							<VictoryLabel
								x={width/2}
								y={0}
								style={{
									textAnchor: "middle",
									verticalAnchor: "start",
									fill: fontColor,
									fontFamily: "inherit",
									fontSize: "16px",
								}}
								text={title}
							/>
							<VictoryBar
								barRatio={0.8}
								style={{
									data: {
										fill: data => data.value > 0 ? barColorPos : barColorNeg,
									},
									parent: {
										borderWidth:1,
										borderColor: data => data.value > 0 ? barColorPos : barColorNeg,
									},
									labels: {
										fontSize: 8,
										fill: fontColor,

									}
								}}
								data={cleanData}
								x={ (d) => d.timestamp }
								y={ (d) => d.value }
							/>
							<VictoryAxis dependentAxis={false}
								tickCount={count > 7 ? Math.round(count/4) : count}
								offsetY={40}
								style={{
									axis: { stroke: 'none'},
									tickLabels: {
										fontSize: 10,
										fill: fontColor,
									},
									ticks: {
										stroke: 'none',
										size: 5
									}
								}}
							/>
							<VictoryAxis dependentAxis
								crossAxis={false}
								label={yLabel}
								tickFormat={(t)=> Math.round(t)}
								style={{
									grid: { stroke: fontColor},
									axis: { stroke: 'none' },
									tickLabels: {
										fontSize: 10,
										fill: fontColor,
										padding:5
									},
									ticks: {
										stroke: 'none',
										size: 5
									}
								}}
							/>
						</VictoryChart>

I don't think this is a victory native specific issue, so I'm going to close it. If you are still having a problem, please open an issue on the main victory library and add a codesandbox reproduction


Additing mp4dovi to homebrew

Thx a lot for this useful tool. Now i can playback some DV files on macOS with ease.
I found this is quite a common problem with ppl using macos as many players dont support DV videos properly yet...
See discussion: https://github.com/mpv-player/mpv/issues/7326, https://www.v2ex.com/t/698508, https://v2ex.com/t/783200
So I submit ur tool to homebrew, see PR here, hoping it will be approved and folks out there could use it if you dont mind.
But if you dont want it on homebrew I will close the PR.
BTW, I am not familar with video audio codec not to mention the profile DV has like: https://developer.dolby.com/platforms/apple/macos/os-support/, Detailed discussion: https://forum.makemkv.com/forum/viewtopic.php?t=18602&start=3450.
It seems to me that DV on macos only support profile 5, even tho I have no idea what that is
Thx again!

I don't mind you submit it to Homebrew if you can.
iOS & macOS & tvOS all have CoreMedia & AVFoundation system libraries for media playback. Apps that use these libraries are likely to gain support for P5 and P8.4 Dolby Vision. Usually Apple's system apps use these libraries so TV.app and QuickTime would support the above Dolby Vision profiles. So does a few third party apps like Infuse also use these libraries.
Some other thrid party apps like VLC, nPlayer however, ships and use their own media playback libraires that doesn't support Dolby Vision.
For more about Dolby Vision profiles, you can read their official document:
https://www.diversifiedvideosolutions.com/Dolby_Vision/Dolby_Vision_profiles_and_levels-Dolby_Laboratories.pdf
Note that P8.4 is a special level Dolby specifically developed it for Apple, which uses HLG OETF for better color on mobile devices.
In theory, dvhe and dvh1 should be equivalent, but somehow Apple prefers and only supports dvh1 for file playback, and it's been mentioned in this document:
https://developer.apple.com/av-foundation/High-Dynamic-Range-Metadata-for-Apple-Devices.pdf
But strangely, if you convert your media into HLS streaming format, Apple would accept dvhe as well:
https://developer.apple.com/documentation/http_live_streaming/hls_authoring_specification_for_apple_devices/hls_authoring_specification_for_apple_devices_appendixes

ty for the quick reply. Had to dig a bit further about the profiles later.
Regarding homebrew, it seems that they require a test case, despite its possible to just download a mp4 file and run it. Some metadata retrieval tools like ffmepg or exiftool are needed for validating if its dvh1 for the test case in homebrew ruby file.
I am not familar with go and I am not aware of ways to get a test case without using other tools for now.


Is it possible to disable all past dates from a specific date?

Hello again,
I'd like to disable all past dates from a specific date, for example: I have two separated fields, one for start date and one for end date (the client wants it this way...) when the user select te start date I want to disable all past dates based on that specific start date in the end date field. Is this posible? I mean, I know i can fill an array with the dates i want to disable, but I don't want to created a script for that.

Hi Andrés (@akation),
It's possible, check https://krystalcampioni.github.io/vue-hotel-datepicker/#moreExamples.
You have to use startDate prop, instead of using the disabled dates array.

Makes sense, thank you Matias.


[Doc issue] [State clearly that bot SSO is supported only in 1:1 chat]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/bots/how-to/authentication/auth-aad-sso-bots.md
95
10
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 9f67ca2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/bots/how-to/authentication/auth-aad-sso-bots.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/bots/how-to/authentication/auth-aad-sso-bots.md
95
10
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit df930f3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/bots/how-to/authentication/auth-aad-sso-bots.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/bots/how-to/authentication/auth-aad-sso-bots.md
95
10
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit f866ef4:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/bots/how-to/authentication/auth-aad-sso-bots.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Frequent errors about "Address in use"

Version of the custom_component
0.1.1
Configuration
Three switches configured.  It's likely the issue is cause by concurrent queries, and listening to a single network port.
Describe the bug
Errors in the HA logs
This error originated from a custom integration.
Logger: tplink_ess_lib
Source: custom_components/tplink_ess/api.py:28
Integration: TPLink ESS (documentation, issues)
First occurred: 6 February 2023 at 13:40:36 (84 occurrences)
Last logged: 13:44:22

Problems with network interface: [Errno 98] Address in use

also (perhaps related)
This error originated from a custom integration.

Logger: homeassistant
Source: custom_components/tplink_ess/binary_sensor.py:120
Integration: TPLink ESS (documentation, issues)
First occurred: 12:34:42 (1 occurrences)
Last logged: 12:34:42

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 182, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 330, in _async_refresh
    self.async_update_listeners()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 135, in async_update_listeners
    update_callback()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 390, in _handle_coordinator_update
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 566, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 606, in _async_write_ha_state
    available = self.available  # only call self.available once per update cycle
  File "/config/custom_components/tplink_ess/binary_sensor.py", line 120, in available
    or self._key in self.coordinator.data.get("hostname")
TypeError: argument of type 'NoneType' is not iterable

Debug log

Add your logs here.

This error is coming from the library.

Agree the the conflict is likely caused by concurrent use of the query (which requires binding to a static port) but (a) HA should synchronize/not do this concurrently, (b) should handle errors from library - if that's what's causing the second error.
Will bump the verison.

Still get error - see https://github.com/firstof9/tplink-ess-lib/pull/35#issuecomment-1421533687

Just as an FYI, I was getting "address in use" messages on my single switch, this fix solved it for my specific use case.

Will make a PR to the underlying library to make a single UDP listener, then reuse it for all the queries.  This should make it fully asyncio and more parallelisable. And stop this error (which happens when multiple request-responses overlap)


Add examples for each query

Chris did a fantastic job of this with http://godoc.org/github.com/christopherhesse/rethinkgo (every RQL operation has a basic example above it) and I think we could do a similarly fantastic job.
I'm opening an issue for this as a prompt for others to contribute/as a "to do" item to flesh out the documentation.
I plan to work on this proper once my schedule frees up mid November, but I'll be chipping away at this when I can as I move my (as yet unfinished!) side-project over to this driver.

I have spent some time updating documentation for version 1.0 but it is still not as good as it should be. Unfortunately I do not have enough time to get this sorted before the RethinkDB 2.0 release so I am going to postpone this to v1.1.

With help from @MattAitchison I have added a number of examples (using the standard Godoc example format). Although it's not quite at the level of each query having an example it is a good start therefore I will close this issue for now. I hope to continue adding more examples in the future.


Missing package

I've uploaded a new construct package a few hours ago and it's still not visible in construct.dev. I believe I followed all the guidelines as it's generated with projen, tagged aws-cdk and uses jsii.
The package can be found here https://www.npmjs.com/package/@cloudsnorkel/cdk-github-runners
Can you please help me fix my package so it shows up?
If I had to guess, it might have something to do with version 0.0.0 which was empty. I had to create a dummy public package first because it's scoped. The projen generated action didn't have --public and so npm was complaining about unpaid private package. Apparently the default for scoped packages is to be private.

Hey @kichik - I did some investigation into the logs, and it looks like the package got hung up because the author.organization field in package.json needs to be a boolean, not a string. I wasn't too familiar with this requirement, but I was able to find some docs about this here: https://aws.github.io/jsii/user-guides/lib-author/configuration/#attribution-licensing
@yuth @RomainMuller Maybe validating the assembly / package.json is something we could add as a check in jsii or jsii-pacmak?
In any case, let us know if you still have any trouble getting your package published on Construct Hub. Happy building!

That was the problem. It works now. Thanks!


Button added

Hi, can you explain more please.

@nicolaslopezj This can be ignored for now, it was supposed to go into my fork :)

Ok, I will close this


feat: document the use of constants in src/eth_provider/constant.rs

Feature Request
Describe the Feature Request
We have a couple of constants in src/eth_provider/constant.rs which could use some documentation.
https://github.com/kkrt-labs/kakarot-rpc/blob/ef85ab965bd22abc425e47a143da8df36f50252f/src/eth_provider/constant.rs#L8-L13

Could I take this?


Can't Delete Grabber.exe for reinstall.

I'm just tried installing 5.4.0 from 5.2.4. but every time it couldn't replace the Grabber.exe. So I decided to just uninstall the old version and install the new, but it couldn't delete the Grabber.exe. I tried myself but it keeps saying I need administrator permission to do so, but I'm the administrator!!!
The install error was specifically, MoveFile failed; code 183, shot of it below.

Shot of the access denied window.

Classic fix is to "Take Ownership". You can easily add this option to the start menu by running this script
Just download it and open it, then right click on Grabber.exe and select "Take Ownership." You should be able to do anything to it after that.
If you find that you no longer want this option in the context menu, you can remove it with this script

Source

Just tried it, still can't delete the grabber.exe with the same requiring permission from Admin.

In that case, try this tutorial: https://www.techwalla.com/articles/how-to-delete-files-that-need-administrator-permission-on-windows

Still didn't work, got this new error.

Fixed now, just had to restart.


order button added

Fixes Issue
Closes #1407

Changes proposed

Screenshots

Checklist

[ ] You've linked this PR to the correct issue.
[ ] You have checked that the code is working correctly.
[ ] You ⭐ the repository!

Note to reviewers

Please check #1346

@adity2911  please review this PR

@khushbumaheshwarii you need to resolve conflicts first.


LeadingComments cleanup

LeadingComments should no longer break a group if they are the first thing in the group.
However trying to clean up IfStatement and other nodes that pull the leading comments out of groups is still required to get them working properly.
Can this be cleaned up?

Eh.


Add pkgin package provider

pkgin is a binary package manager for pkgsrc as used by Joyent on their SmartMachines. This is a package provider for pkgin with the standard installable and uninstallable features.
My Puppet Labs Redmine account can be found at http://projects.puppetlabs.com/users/3814

Paul,
Thanks for working on this provider.  Sorry for taking so long to get around to reviewing it.  I had a few comments, but nothing major.  Let me know if you won't have time to address them.  It's all stuff that can easily be addressed when merging in the pull request, if you're busy.

Hey Jacob,
Thanks for the review; I've renamed parse to parse_pkgin_line and removed the redundant tests as per your remarks. Re the detect, please see my in-line comments but perhaps there is a better way to tackle this.

I completely glossed over the return of properties, instead of package.
I've squashed the two commits down into one, and merged it into the master branch in 9b7c73a74d5d03ea157e1e4d5ae7a6eba99fd24e.


Remove reset button

What's New?

Whoops- last minute addition before production deploy.

Coverage increased (+0.03%) to 33.729% when pulling 8dc773a5fe19b772d57360ccad9e56e6b563d937 on RickCarlino:master into 6a6d7ae5bd67d1a1084a23a01598e1a425f9a42e on FarmBot:master.


Fixes #90 add developer terminal for macOS

@praveenkumar can you please try this on macOS

^^^ @praveenkumar I'd appreciate feedback


Suppress major version upgrades while allowing minor version upgrades

First of all, thanks for the great software
We're encountering scala-steward trying to upgrade dependencies with incompatities to other dependencies (e.g. play-slick requires a specific play version so cannot be updated independently)
You can currently suppress these completely in .scala-steward.conf:
updates.ignore = [
   { groupId = "some", artifactId="some" },
]

It would be very nice if you could suppress automatic major-version upgrades, while allowing minor version upgrade. Which I don't think is possible with the current version syntax.
Could be something like this:
updates.ignore = [
   # Allow x to (x+1), default
   { groupId = "some", artifactId="some", upgrade = "major"},
   # Allow x.y to x.(y+1), but not x.y to (x+1).y
   { groupId = "some", artifactId="semver-compliant", upgrade = "minor"},
   # Allow x.y.z to x.y.(z+1), but not x.y to x.(y+1)
   { groupId = "some", artifactId="scala-number-style", upgrade = "patch"},
]

You could use updates.allow and specify a prefix of the version:
updates.allow = [
  # Allow x.y to x.(y+1), but not x.y to (x+1).y
  { groupId = "some", artifactId="some", version="x." },
  # Allow x.y.z to x.y.(z+1), but not x.y to x.(y+1)
  { groupId = "some", artifactId="some", version="x.y." }
]

I think that should work.

Cool, it would be nice to mention about this in the docs.

I agree that this needs to be documented.


ConvertTo-PnPPage - Method not found

I am receiving a Method not found error any time I try to use ConvertTo-PnPPage or the previous ConvertTo-PnPClientSidePage. I have fully removed the module and installed again using v1.6.0.
Message          : Method not found: 'System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1<Boolean> Enumerator.MoveNextAsync()'.
Stacktrace       :    at PnP.Core.QueryModel.QueryableExtensions.<ToListAsync>d__15`1.MoveNext()
                      at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
                      at PnP.Core.QueryModel.QueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
                      at PnP.Core.Model.SharePoint.Page.<EnsurePagesLibraryAsync>d__97.MoveNext()
                   --- End of stack trace from previous location where exception was thrown ---
                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                      at PnP.Core.Model.SharePoint.Page.<NewPageAsync>d__96.MoveNext()
                   --- End of stack trace from previous location where exception was thrown ---
                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                      at PnP.Core.Model.SharePoint.Web.<NewPageAsync>d__284.MoveNext()
                   --- End of stack trace from previous location where exception was thrown ---
                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                      at PnP.Core.Model.SharePoint.Web.NewPage(PageLayoutType pageLayoutType)
                      at Microsoft.SharePoint.Client.PageExtensions.AddClientSidePage(Web web, String pageName, Boolean alreadyPersist)
                      at PnP.Framework.Modernization.Transform.PageTransformator.Transform(PageTransformationInformation pageTransformationInformation)
                      at PnP.PowerShell.Commands.Pages.ConvertToClientSidePage.ExecuteCmdlet()
                      at PnP.PowerShell.Commands.PnPSharePointCmdlet.ProcessRecord()

@pmisley - Please update your module to 1.7.0 released today, and try again. IF it still doesn't work, please fill the below issue template. Thanks.
Reporting an Issue or Missing Feature
Please confirm what it is that your reporting
Expected behavior
Please describe what output you expect to see from the PnP PowerShell Cmdlets
Actual behavior
Please describe what you see instead. Please provide samples of output or screenshots.
Steps to reproduce behavior
Please include complete script or code samples in-line or linked from gists
What is the version of the Cmdlet module you are running?
(you can retrieve this by executing Get-Module -Name "PnP.PowerShell" -ListAvailable)
Which operating system/environment are you running PnP PowerShell on?

[ ] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

Reporting an Issue or Missing Feature
Failing to perform a ConvertTo-PnPPage for certain pages
Expected behavior
Modernizing  Home.aspx ...
Done
Actual behavior

Modernizing  Home.aspx ...
ConvertTo-PnPPage : '0x0A' is invalid within a JSON string. The string should be correctly escaped. LineNumber: 0 | > BytePositionInLine: 84.
At line:10 char:27
+ ... odernPage = ConvertTo-PnPPage -Identity $page.FieldValues["ID"] -Over ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (:) [ConvertTo-PnPPage], JsonReaderException
    + FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Pages.ConvertToClientSidePage
Done

Steps to reproduce behavior

# Connect to the web holding the pages to modernize
Connect-PnPOnline -Url https://contoso.sharepoint.com/sites/modernizationme -Interactive

# Get all the pages in the site pages library. SitePages is the only supported library for using modern pages
# Use paging (-PageSize parameter) to ensure the query works when there are more than 5000 items in the list
$pages = Get-PnPListItem -List sitepages -PageSize 500

# Iterate over the pages
foreach($page in $pages)
{
    # No need to convert modern pages again
    if ($page.FieldValues["ClientSideApplicationId"] -eq "b6917cb1-93a0-4b97-a84d-7cf49975d4ec" )
    {
        Write-Host "Page " $page.FieldValues["FileLeafRef"] " is modern, no need to modernize it again"
    }
    else
    {
        # Create a modern version of this page
        Write-Host "Modernizing " $page.FieldValues["FileLeafRef"] "..."
        # Use the PageID value instead of the page name in the Identity parameter as that is more performant + it works when there are more than 5000 items in the list
        $modernPage = ConvertTo-PnPPage -Identity $page.FieldValues["ID"] -Overwrite
        Write-Host "Done" -ForegroundColor Green
    }
}

Disconnect-PnPOnline

What is the version of the Cmdlet module you are running?
(you can retrieve this by executing Get-Module -Name "PnP.PowerShell" -ListAvailable)
1.7.0
Which operating system/environment are you running PnP PowerShell on?

[X]  Windows
[ ]  Linux
[ ]  MacOS
[ ]  Azure Cloud Shell
[ ]  Azure Functions
[ ]  Other : please specify

@pmisley - is the issue still happening? Can you please try again with the latest nightly build and let us know ?

Closing as no response.


gitops run - gather all logs from vcluster

Here are possible tasks:

Install and configure Fluent-Bit to collect logs from all pods in the VCluster, and configure dev-bucket credentials for Fluent-Bit to allow it to access the the dev-bucket.
Set up a new bucket to store the collected logs (in addition to the current two buckets)
Write an API that allows users to retrieve logs by pod name and namespace.
Document the system and API for other users and maintainers.

Optional

Consider the storage type (disk or memory) and log retention policy for the S3 bucket. (Optional: we can use in-memory setting as is)

Sub-tickets

[ ] #3267
[ ] #3268
[ ] #3269
[ ] #3270

Tech notes from the Spike: https://github.com/weaveworks/weave-gitops-enterprise/issues/2034

blocked by #3195

@katya-makarevich we don't need this to be an EPIC anymore as @josefaworks added all sub-tickets of it to the GitOps Run UI EPIC.


[BUG] - expected AsyncNoTlsStream, found AsyncNativeTlsStream

Description
On a pet project I'm working on, I've set to use async-native-tls feature and when I use into_secure with AsyncNativeTlsConnector::from(TlsConnector::new()), similar to the README, I got the error from title of this bug.
Steps to reproduce
Steps to reproduce the bug you encountered:
use std::error::Error;
use suppaftp::{AsyncFtpStream, AsyncNativeTlsConnector};
use suppaftp::async_native_tls::{TlsConnector, TlsStream};

#[tokio::main]
async fn main() -> Result<(), Box<dyn Error>> {
    // Create a connection to an FTP server and authenticate to it.
    let mut ftp_stream = AsyncFtpStream::connect("localhost:21").await.unwrap();

    let mut connector = TlsConnector::new();

    let mut ftp_stream =
        ftp_stream
        .into_secure(AsyncNativeTlsConnector::from(connector), "localhost")
        .await
        .unwrap();

    Ok(())
}

Probably the bug is about this:
https://github.com/veeso/suppaftp/blob/5bf40b4bc68658180bdfe7c54cae5d9869c64ae6/suppaftp/src/lib.rs#L183
Missing to generate a type for async-native-tls feature.
Expected behaviour
Using the above code must work as expected and should compile at least.
Environment

OS: Darwin
Architecture x86_64
Rust version: 1.72.0
library version: 5.2.0
Protocol used: ftp
Remote server version and name: vsftpd 3.0

Additional information
None

After digging a little bit, I've found the correct way to do the connection using async-native-tls, we should use the following type:
https://github.com/veeso/suppaftp/blob/5bf40b4bc68658180bdfe7c54cae5d9869c64ae6/suppaftp/src/lib.rs#L192
So, probably I'll send a pr to fix the docs 😄


Complain when adding conflicting identified resources

Either by default or when using a stricter wrapper object, we should have a way to complain if a resource is being added in a conflicting way -- i.e. if two different resources have the same URI.
So:
registry.with_resource("http://example.com", Resource.opaque(12))
registry.with_resource("http://example.com", Resource.opaque("foo"))

should raise some conflicting resource error.
The same should happen when calling registry.combine on multiple registries -- though here we should be careful because downstream (e.g. in jsonschema) a use of combining registries is to add "known" schemas to some additional ones, and sometimes the combining is to allow users to override schemas for whatever purpose. Perhaps we could explicitly force such registries to first drop the known resources before combining.

I've gone back and forth on whether to actually implement this or not (and allow this). I think by now it hasn't overwhelmingly convinced me that this is necessary, so let's just close. Someone who wants to guard against this of course can explicitly check before appending a new resource.


Magnification selection not working properly

Tried to run the BACH model on a x40 WSI, and it crashed due to:
Exception caught: Thread stopped because: No level close enough to magnification of 20 was found in the image pyramid.

This image plane exists, so there is something wrong.

Same for the breast cancer segmentation pipeline:
Exception caught: Thread stopped because: No level close enough to magnification of 10 was found in the image pyramid.

Just tested on a WSI stored in the CellSens VSI format and this works, but it fails for the TIFF format.
Perhaps it only works for the CellSens VSI format currently?
WSIs are stored on the sintef server for testing, in the images/ directory where all the other pathology stuff lies.

This was a bug in FAST, conversion of spacing from TIFF was incorrect. Fixed in: https://github.com/smistad/FAST/commit/9d11f1675fecca64335a1b302e63790bfea16103


MultiArrangement task data input

This aims to enable easy importing of behavioral results from the MA task as recorded on Meadows. For now it would support the .mat file type for this task, and all the scopes (single task / multiple tasks / one participant / multiple participants). More on different file types here. Future work could support other tasks with similarity data, such as the dragrate, triplet and discriminability task.
Here is an example of the interface:
## general interface for all files, but denotes return type is RDMs object (to distinguish from DataSet TBA)
rdms = pyrsa.io.meadows.load_rdms('/path/to/ma_1D.mat')

Features / todo’s

[x] detection of scope
[x] creating RDMs
[x] scope: single task
[x] scope: one participant / single task
[x] scope: multiple participants / single task
[x] add descriptors from subject
[x] sphinx auto doc stub
[x] sample data files (neurdyn study? Check for PIDs)
[x] acceptance test: import sample file and check dataset similarity correspondence

I am not sure how general this is compared to the possible formats you could get from meadows, but I assume you do and it is general enough?

No to be honest this only supports one file type and only data for one type of task. But I figured it might be good to get some feedback on this now and at least have the most commonly used one in here, as the users often ask for code to do this.

sort stimuli
check order mat file

once we have the order of the stimuli (and rows and columns of the RDMs) sorted, so that this is then common across participants, i think i can approve this PR indeed.

@iancharest the rdm is now sorted by default, and I've compared the json and matlab order and they are the same.

@HeikoSchuett So I changed RDMs.sort_by(), what do you think?


Enable saved clothing info on GoGetta /team to show on YourPeer

Originally in https://github.com/streetlives/streetlives_v2/issues/460#issue-2226652586
some data that is shown on GoGetta /find is not shown on test.yourpeer.
Here are comparisons of the Clothing data I made up for https://test.gogetta.nyc/team/location/80cb470e-cf1b-4cd1-80c0-16d4ed9639da
GoGetta /find FE shows

YourPeer FE shows (ignore the different days for opening hours)

So, test.YP UI doesn't show:

[ ] - Clothing Occasions (the clothing type filter)
[ ] - TGNC experience

@jbeard4 this is not done


RuntimeError: CUDA error: out of memory

I'm trying to fine tune ResNet-34 for UCF101 dataset with this command
python main.py --root_path ~/Downloads/data --video_path UCF101/UCF101_jpg --annotation_path UCF101/ucfTrainTestlist/ucf101_01.json
--result_path UCF101/results --dataset ucf101 --n_classes 400 --n_finetune_classes 101
--pretrain_path models/resnet-34-kinetics.pth --ft_begin_index 4
--model resnet --model_depth 34 --resnet_shortcut A --batch_size 32 --n_threads 4 --checkpoint 5
Here's how my training starts
dataset loading [0/9537]
dataset loading [1000/9537]
dataset loading [2000/9537]
dataset loading [3000/9537]
dataset loading [4000/9537]
dataset loading [5000/9537]
dataset loading [6000/9537]
dataset loading [7000/9537]
dataset loading [8000/9537]
dataset loading [9000/9537]
dataset loading [0/3783]
dataset loading [1000/3783]
dataset loading [2000/3783]
dataset loading [3000/3783]
run
train at epoch 1
Epoch: [1][1/297]	Time 0.912 (0.912)	Data 0.733 (0.733)	Loss 4.7467 (4.7467)	Acc 0.062 (0.062)
Epoch: [1][2/297]	Time 0.480 (0.696)	Data 0.327 (0.530)	Loss 4.6803 (4.7135)	Acc 0.062 (0.062)
....
But near the end of epoch 1 I get this error
Epoch: [1][296/297]	Time 0.465 (0.463)	Data 0.328 (0.327)	Loss 1.5035 (2.0112)	Acc 0.594 (0.503)
Traceback (most recent call last):
File "main.py", line 137, in
train_logger, train_batch_logger)
File "/home/testuser/harsh/3D-ResNets-PyTorch/train.py", line 29, in train_epoch
outputs = model(inputs)#; print('Check 5: {} '.format(pytorch_total_params))
File "/home/testuser/anaconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/home/testuser/anaconda3/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 121, in forward
return self.module(*inputs[0], **kwargs[0])
File "/home/testuser/anaconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/home/testuser/harsh/3D-ResNets-PyTorch/models/resnet.py", line 184, in forward
x = self.layer4(x)
File "/home/testuser/anaconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/home/testuser/anaconda3/lib/python3.6/site-packages/torch/nn/modules/container.py", line 91, in forward
input = module(input)
File "/home/testuser/anaconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/home/testuser/harsh/3D-ResNets-PyTorch/models/resnet.py", line 58, in forward
out = self.conv2(out)
File "/home/testuser/anaconda3/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/home/testuser/anaconda3/lib/python3.6/site-packages/torch/nn/modules/conv.py", line 421, in forward
self.padding, self.dilation, self.groups)
RuntimeError: CUDA error: out of memory
I am using a single NVIDIA GTX 1080 Ti GPU with 11 GB memory. nvidia-smi clearly shows that at no point of time the memory utilization exceeds 3 GB. I have tried resizing the input images to smaller sizes. I tried different batch sizes, even different networks and training from scratch. In all cases The same error comes right at the last iteration of the 1st epoch. I'm using PyTorch version 0.4.1. I'm able to run AlexNet training with IMAGENET dataset in PyTorch on the GPU without any problem. Please let me know the reason for this problem and how to fix it.

I got the same problem using the same machine you indicated above. I shift to another computer with 8 gpu and it is working right now

Ok. When I tried with a batch size of 8 it started working on the same machine. But the GPU memory utilization is less than 2 GB.

I met the same problem. When I use batch size=8 to 14, GPU memory is about 2000M. But when I increase batch size to 15 the memory becomes 12000M. I think it's abnormal and haven't figured out

When I set batch size=64 it works normally. But when I reduce the batch size to 16 I met CUDA out of memory.

I'm having the same problem but unlike the comments in this thread, when I minimize the batch size I'm having this error:
IndexError: invalid index of a 0-dim tensor. Use tensor.item() to convert a 0-dim tensor to a Python number
Anyone knows how to solve it? Thanks in advance
Using the resnext-101 pretrained model.

@masju96 I'm having this problem too in resnext-101_32x4d model from pytorch pretrainedmodels.
I'm trying out DataParallel to spread the loads in my GPU cores. I'll get back to you if mine works

@maeju96 @iqDF I have had this issue too, it happened after I have manually upgraded Pytorch one day. Downgrade to an older version of pytorch would solve this issue. I don't remember the exact version number. But any version before the first half of 2019 should work.

I think it's probably due to the num_worker in dataloader

In this issue #16417 there is some useful information about this error. I'm figuring out the same erro in the final of first epoch (activitynet).


proxify: init at 0.0.3

Motivation for this change
This tool supports multiple operations such as request/response dump, filtering
and manipulation via DSL language, upstream HTTP/Socks5 proxy. Additionally a
replay utility allows to import the dumped traffic (request/responses with correct
domain name) into other tools by simply setting the upstream proxy to proxify.
https://github.com/projectdiscovery/proxify
Related to #81418
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.


Make moments accessible by name

It would be great if the moments of a node could be made accessible by name. In particular node.get_moments() returns a sequence of statistics but without looking into the codebase, it is difficult to determine which element corresponds to which moment.
For example, each Moments class could define an abstract property moment_names which returns a sequence of names of the same length as get_moments. This would allow for convenient access such as, for example,
>>> gaussian_node.get_moments(named=True)
{
    'mean': ...,
    'outer': ...,
}
>>> gaussian_node.get_moment('mean')
...

Or does this already exist and I just don't know how to access them?

This is a good idea. Perhaps using namedtuple.

Yes, namedtuple is a much better idea!


Split stress test and re-enable local integration tests

Splits the stress test
Re-enables local integration tests
Removed broken "all" test
Fixes integration test documentation
TODO release pipeline
Description

Checklist

[x] PR is rebased to/aimed at branch develop
[x] PR follows Contributing Guide
[x] Added tests (if necessary)
[x] Extended README/Documentation (if necessary)
[x] Adjusted versions of image and Helm chart in values.yaml and Chart.yaml (if necessary)

Codecov Report

Merging #486 (22aff44) into develop (165f518) will increase coverage by 0.88%.
The diff coverage is 94.65%.

@@             Coverage Diff             @@
##           develop     #486      +/-   ##
===========================================
+ Coverage    93.52%   94.40%   +0.88%
===========================================
  Files           15       22       +7
  Lines          633     1108     +475
===========================================
+ Hits           592     1046     +454
- Misses          41       62      +21

Impacted Files
Coverage Δ

connaisseur/__main__.py
0.00% <0.00%> (ø)

connaisseur/logging_wrapper.py
0.00% <0.00%> (ø)

connaisseur/kube_api.py
87.50% <66.66%> (ø)

...naisseur/validators/notaryv2/notaryv2_validator.py
80.00% <80.00%> (ø)

connaisseur/flask_application.py
91.35% <91.35%> (ø)

connaisseur/validators/static/static_validator.py
93.75% <93.75%> (ø)

connaisseur/util.py
95.45% <95.45%> (-4.55%)
:arrow_down:

connaisseur/config.py
97.29% <97.29%> (ø)

connaisseur/validators/cosign/cosign_validator.py
97.75% <97.75%> (ø)

connaisseur/alert.py
97.97% <97.97%> (ø)

... and 12 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 26e5318...22aff44. Read the comment docs.