Horizontal scroll bar in Explorer view?

VSCode Version:
Version 1.22.2
Commit 3aeede733d9a3098f7b4bdc1f66b63b0f48c1ef9
Date 2018-04-12T16:38:45.278Z
Shell 1.7.12
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64
Version 1.23.0-insider
Commit 36e6cbb7667e7874748d8fbf2021b743d2d90afc
Date 2018-04-25T05:17:12.103Z
Shell 1.7.12
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64
OS Version:
OS Name: Microsoft Windows 10 Enterprise
OS Version: 10.0.16299 N/A Build 16299
Steps to Reproduce:

In Explorer open a folder structure with enough subfolder and files o cause part of the file names to be hidden
There is no horizontal scrollbar, the only way to completely show the hidden file names is to resize the side bar (or hover the mouse on the file(s) you are interested in)

Does this issue occur when all extensions are disabled?: Yes

"workbench.tree.horizontalScrolling": true


Added Quantized Conv2d/GroupConv2d && refine ep code

Description

Added qlinearconv op builder and modified some test source code
Motivation and Context

Added ptq/pcp support of qlinearconv(2d) and group qlinearconv(2d)
there exist acc issue with vsinpu ep so added tolerance for qlinearconv ut

Added depthwise conv check
Added enum type to descirbe each input tensor
Added weight type restriction when weight is pcq


Added proper typing for getRecording

The typing for getRecording is not correct, it should return a Promise with the Blob
Also bumped version to 0.0.18

Nice one, thanks!


[HOP-2784] Change connector doc of Doris

The port of JDBC url is incorrect [http://hop.apache.org/manual/latest/database/databases/doris.html]
This PR change the port to query port of Frontend in Doris.
The default port is 9030.
Following this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a JIRA issue filed
for the change (usually before you start working on it).  Trivial changes like typos do not
require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Format the pull request title like [HOP-XXX] - Fixes bug in SessionManager,
where you replace HOP-XXX with the appropriate JIRA issue. Best practice
is to use the JIRA issue title in the pull request title and in the first line of the commit message.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Run mvn clean install apache-rat:check to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[x] If you have a group of commits related to the same change, please squash your commits into one and force push your branch using git rebase -i.

Thank you for the contribution @EmmyMiao87


Handle being in VerifiedConfigs when leader is in ConsensusRunning

We've got a potential bug where if you refresh the page after the leader has run startConsensus, you get stuck as a follower since you can no longer fetch their config. We're actually ready to go, we just need to call startConsensus at this point, but we have no UI to do it because it shows an error.
Not 100% sure the best thing to do here, automatically do it for the user? Show them a button?

Another option would be to have the "status" and "config hashes" rpc commands to also be available in the fedimint consensus API is running. Root problem here is that those RPC commands disappear when the config API is taken down in order to run the consensus API.

@douglaz @okjodom Would we be able to continue serving get_verify_config_hash in the consensus API?
It seems to just need the peer TLS certs. Looks like these are in the consensus config?
If we continued to serve this endpoint, then a user who gets stuck in the config verification step would be able to recover.

@douglaz @okjodom Would we be able to continue serving get_verify_config_hash in the consensus API?
It seems to just need the peer TLS certs. Looks like these are in the consensus config?
If we continued to serve this endpoint, then a user who gets stuck in the config verification step would be able to recover.

Looks feasible!


chore(deps): update ci dependencies

This PR contains the following updates:

Package
Type
Update
Change

common-dev-assets

digest
30f54d8 -> f2e1cf2

github.com/gruntwork-io/terratest
require
patch
v0.46.8 -> v0.46.11

github.com/hashicorp/terraform-json
require
minor
v0.20.0 -> v0.21.0

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
minor
v1.26.2 -> v1.27.2

terraform-ibm-modules/common-pipeline-assets
action
minor
v1.18.2 -> v1.20.0

Release Notes

gruntwork-io/terratest (github.com/gruntwork-io/terratest)
v0.46.11
Compare Source
Modules affected

aws

Description

Updated GetAmazonLinuxAmiE to search for Amazon Linux 2 AMIs

Related links

https://github.com/gruntwork-io/terratest/pull/1387

v0.46.10
Compare Source
Modules affected

test-structure
git

Description

Updated runValidateOnAllTerraformModules function, which is used under the hood by ValidateAllTerraformModules and OPAEvalAllTerraformModules, to:

Find the Git root using git.GetRepoRootForDirE, instead of a hard-coded ../../ file path.
Copy the Git root to a temp folder once, rather than once per sub-test.

Related links

https://github.com/gruntwork-io/terratest/pull/1376

v0.46.9
Compare Source
Modules affected

helm

Description

Added support in Helm for snapshot testing, similar to helm-unittest feature snapshot testing.

Special thanks

Special thanks to the following users for their contribution!

@jguionnet

Related links

https://github.com/gruntwork-io/terratest/pull/1378

hashicorp/terraform-json (github.com/hashicorp/terraform-json)
v0.21.0
Compare Source
ENHANCEMENTS

Initial support for provider-defined functions from providers schema -json by @bflad in https://github.com/hashicorp/terraform-json/pull/119

Full Changelog: https://github.com/hashicorp/terraform-json/compare/v0.20.0...v0.21.0

terraform-ibm-modules/ibmcloud-terratest-wrapper (github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper)
v1.27.2
Compare Source
Bug Fixes

deps: update module github.com/ibm/platform-services-go-sdk to v0.56.3 (#749) (2f431a0)

v1.27.1
Compare Source
Bug Fixes

deps: update module github.com/ibm/platform-services-go-sdk to v0.56.2 (#747) (d6dbbcb)

v1.27.0
Compare Source
Features

delete iam policy (#745) (82603f4)

v1.26.5
Compare Source
Bug Fixes

deps: update gomod (#743) (1ab2e92)

v1.26.4
Compare Source
Bug Fixes

deps: update gomod (#738) (a9275e6)

v1.26.3
Compare Source
Bug Fixes

deps: update gomod (#736) (c30411a)

terraform-ibm-modules/common-pipeline-assets (terraform-ibm-modules/common-pipeline-assets)
v1.20.0
Compare Source
Features

exposed the ability to pass TOOLCHAIN_ID in cra-config.yaml (#635) (d128eca)

v1.19.0
Compare Source
Features

added the ability to add ready-for-review label by leaving comment with text "ready for review" (#629) (c60882d)

v1.18.4
Compare Source
Reverts

Revert "add label job (#627)" (#628) (bfa33a3), closes #627 #628

v1.18.3
Compare Source
Bug Fixes

removed TF_VAR_ibmcloud_api_key_ext env var from infrastructure tests(#624) (8a54f76)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

Error: Get "https://containers.cloud.ibm.com/global/v2/getCluster?cluster=cmshfhem0o825lrakp50&v1-compatible": read tcp <IP_ADDRESS>:51066-><IP_ADDRESS>:443: read: connection reset by peer
Retruing..

/run pipeline

/run pipeline

:tada: This PR is included in version 5.14.1 :tada:
The release is available on:

GitHub release
v5.14.1

Your semantic-release bot :package::rocket:


Kubernetes Setup with replication cannot assign directory

Hi I have deployed 1 master and 2 volume servers with 001 replication to my kubernetes cluster (not local). Currently not mounting out the data.
MasterDeployment.yaml
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: weedmasterdeployment
spec:
template: # create pods using pod definition in this template
metadata:
labels:
app: haystack
spec:
containers:
- name: weedmaster
image: chrislusf/seaweedfs:latest
args: ["-log_dir", "/var/containerdata/logs", "master", "-port", "9333", "-mdir", ".", "-defaultReplication", "001", "-ip", "haystackservice"]
ports:
- containerPort: 9333
VolumeDeployment.yaml
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: weedvolumedeployment
spec:
replicas: 2
template:
metadata:
labels:
app: haystack
spec:
containers:
- name: weedvol
image: chrislusf/seaweedfs:latest
args: ["-log_dir", "/var/containerdata/logs", "volume", "-port", "8080", "-dir", "./data", "-dataCenter", "dc1", "-rack", "rack1", "-mserver", "hay$
ports:
- containerPort: 8080
- containerPort: 18080
Service.yaml
apiVersion: v1
kind: Service
metadata:
name: haystackservice
spec:
selector:
app: haystack
ports:

name: mport
protocol: TCP
port: 9333
nodePort: 30069
name: vport
protocol: TCP
port: 8080
nodePort: 30070
name: vgport
protocol: TCP
port: 18080
nodePort: 30071
type: NodePort

Everything deploys fine.
root@node1:~/weed# kubectl get pods
NAME                                    READY   STATUS    RESTARTS   AGE
weedmasterdeployment-d759dbc47-l42hh    1/1     Running   0          4m56s
weedvolumedeployment-5847ddb5f8-6mf7f   1/1     Running   0          105s
weedvolumedeployment-5847ddb5f8-vm6g8   1/1     Running   0          104s
However when I call http://<IP_ADDRESS>:30069/dir/assign I get this error:
"error": "Cannot grow volume group! No matching data node found! \ndc1:Only has 0 racks with more than 2 free data nodes, not enough for 1."
If I don't enable replication then it works fine but I don't understand why the replication setup doesn't work.
Thanks

Sorry it seems like the VolumeDeployment.yaml above didn't copy correctly. Here it is now:
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: weedvolumedeployment
spec:
replicas: 2
template:
metadata:
labels:
app: haystack
spec:
containers:
- name: weedvol
image: chrislusf/seaweedfs:latest
args: ["-log_dir", "/var/containerdata/logs", "volume", "-port", "8080", "-dir", "./data", "-dataCenter", "dc1", "-rack", "rack1", "-mserver", "haystackservice:9333", "-ip", "haystackservice"]
ports:
- containerPort: 8080
- containerPort: 18080

please show the result from /dir/status

Hi sorry for the late reply.
Here it is:
http://<IP_ADDRESS>:30069/dir/status
{
"Topology": {
"DataCenters": [
{
"Free": 7,
"Id": "dc1",
"Max": 7,
"Racks": [
{
"DataNodes": [
{
"Free": 7,
"Max": 7,
"PublicUrl": "haystackservice:8080",
"Url": "haystackservice:8080",
"Volumes": 0
}
],
"Free": 7,
"Id": "rack1",
"Max": 7
}
]
}
],
"Free": 7,
"Max": 7,
"layouts": [
{
"collection": "",
"replication": "001",
"ttl": "",
"writables": null
}
]
},
"Version": "0.99"
}

I am no export on kubernetes. But from the /dir/status, the volume servers are sharing the same ip address, so the master server thinks there is only one volume server.
To fix it, the volume server "-ip" option needs to specify different values.


Case InSensitive Compare

Case InSensitive Compare
Steps:

External DNS creates record using "Example.com" domain and route 53 creates it as "example.com"
Next Time external get list of domain it has "example.com" not "Example.com"
It try to create new record with "Example.com" and route53 throws error because that record already exist.

https://github.com/kubernetes-incubator/external-dns/blob/master/plan/plan.go#L79-L91

Makes sense, this is often overlooked.
In general, this prevents ExternalDNS from failing on wrong user input. Besides capital letters there could also be ?s, '}'s etc. in the DNS annotation. Would you also want to handle them?

i have not seen ?, } but we can strip all characters that are not allowed in domain.
letters (abc), numbers (123) and dashes/hyphens (---)

i have not seen ?, } but we can strip all characters that are not allowed in domain.

I think it is better to log the error and not process the ingress/service in this scenario.
But I agree we should do lowercasing and stripping trailing whitespaces or similar


[T4A6][T10-B2]Yu Jingchen

Ready for review

@KnytJC Some comments added. Please close the PR after reading comments.


Conscrypt not found on Aarch

I'm trying to use WireMock standalone in a linux/arm64 container (I'm building wiremock/wiremock-docker and hope to contrib the fixes back there)
It's building but at runtime I get the error:
java.lang.UnsatisfiedLinkError: no conscrypt_openjdk_jni-linux-aarch_64 in java.library.path
As this is standalone, I had thought the wiremock JAR was all I would need?

@tomakehurst  Did this make it into 2.32.0? Just checking because the 2.32.0 image (first ARM one) is giving me this error:
java.lang.UnsatisfiedLinkError: no conscrypt_openjdk_jni-linux-aarch_64 in java.library.path: [/usr/java/packages/lib, /lib, /usr/lib, /usr/lib64, /lib64]

/cc @rodolpheche

@ciaranmcnulty I just check with on a raspberry pi 3b+ and it works.
What the environment you're getting the error on ?

@rodolpheche MacBook M1 / Docker for Mac
I've been testing with an existing (private) project - what's the simplest test to do? Maybe the same as you did on your Pi

@ciaranmcnulty Could you tell me if you get the same issue with the nightly version ?


Support for recursive schemas

The current behavior in case of recursion is to provide a type with no properties.
This allows at least to access recursively nested elements with the untyped XElement api	(and retaining typed access for the rest of the elements in the schema).
A better option may be to fully support recursion; The XML provider in FSharp.Data has a global inference mode that unifies elements with the same name.
Maybe we can somehow take advantage of this mechanism.

done in dca2f9b8de367417cc32b242ecfe64d3f69c0989
by introducing a little mutability and reference equality for caching and discovering objects already encoutered. A pleasant side effect is overall better performance


make a filter for nix_syslog sourcetype

please make a filter for nix_syslog so I can split that sourcetype to multiple indexes based on host, ip ext..

:tada: This issue has been resolved in version 1.80.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Pattern Match Exhaustiveness Check Misses a Case

Compiler version
3.4.1
Minimized code
sealed trait T_A[A]
case class CC_B[A](a: T_A[A], c: T_A[A]) extends T_A[Char]
case class CC_C[A]() extends T_A[A]
case class CC_G() extends T_A[Char]

val v_a: T_A[Char] = CC_B(CC_G(), CC_C())
val v_b: Int = v_a match {
  case CC_C()                   => 0
  case CC_G()                   => 1
  case CC_B(CC_B(_, _), CC_C()) => 2
  case CC_B(CC_C(), CC_C())     => 3
  case CC_B(_, CC_G())          => 4
  case CC_B(_, CC_B(_, _))      => 5
}

Output
Crashes
Expectation
Should give a warning at compile time that the pattern match is not exhaustive.

Crashes

I wasn't able to reproduce the crash.
Assuming this to just be a reporting issue.

Ah, right. There's no crash, but the code fails by throwing an exception at runtime when run as a script.
// repro-script.sc
sealed trait T_A[A]
case class CC_B[A](a: T_A[A], c: T_A[A]) extends T_A[Char]
case class CC_C[A]() extends T_A[A]
case class CC_G() extends T_A[Char]

val v_a: T_A[Char] = CC_B(CC_G(), CC_C())
val v_b: Int = v_a match {
  case CC_C()                   => 0
  case CC_G()                   => 1
  case CC_B(CC_B(_, _), CC_C()) => 2
  case CC_B(CC_C(), CC_C())     => 3
  case CC_B(_, CC_G())          => 4
  case CC_B(_, CC_B(_, _))      => 5
}

scala-cli run repro-script.sc
Compiling project (Scala 3.4.2, JVM (17))
Compiled project (Scala 3.4.2, JVM (17))
Exception in thread "main" scala.MatchError: CC_B(CC_G(),CC_C()) (of class repro$minusscript$_$CC_B)
        at repro$minusscript$_.<init>(repro-script.sc:13)
        at repro$minusscript_sc$.script$lzyINIT1(repro-script.sc:28)
        at repro$minusscript_sc$.script(repro-script.sc:28)
        at repro$minusscript_sc$.main(repro-script.sc:32)
        at repro$minusscript_sc.main(repro-script.sc)

Very similar issues which were reported together with this, potentially duplicates:

https://github.com/scala/scala3/issues/20128
https://github.com/scala/scala3/issues/20130
https://github.com/scala/scala3/issues/20131
https://github.com/scala/scala3/issues/20132


pass parsed arguments from check/all_.py to individual checks

Follow-up on #701

also out of curiosity (definitely outside the scope of this pr) - would it be unreasonable to include the superset of arguments from *all* checks in check_utils.get_file_parser(), and just ignore arguments when they aren't necessary for a particular check? For example it seems pretty reasonable for check/all_.py --enable-socket to run everything normally, with parsed_args.enable_socket only changing the behavior of coverage. Then we'd never have to worry about conflicts between the parsers or stripping arguments out of args before passing them downstream. We could even handle --force_* in the individual checks instead of in all_ - e.g. flake8_.py could use parsed_args.force_formats to determine whether to return or exit on failure

Great ideas @richrines1!
Based on the description/explanation here, I think I like using parse_known_intermixed_args, but I definitely like making --skip common to everything.
With regards to using a superset of common arguments, that (i) seems to not make sense with e.g. the -a/--all argument of pylint_.py, or with the --notebook and --integration arguments of pytest_.py, and (ii) it would make help text (-h/--help) less helpful.

@richrines1 thanks for the careful review!  And sorry for my sloppiness haha


Examples of regression task on the nodes features

Hi,
Could you provide an example on how to perform regression prediction on nodes features?
Thank you!

Hi @niccolo93,
Do you have any specific problem in mind or do you just want a general example?


How do I do a cross compiling for raspberry pi 3 (arm) from WSL 2

Hello,
I would like to configure vcpkg to do cross-compiling on  a raspberry pi 3 (arm) from WSL2.
I use cmake to build my cpp project.
I need to have the cpp 20 standard.
Could you tell me what step I have to follow in order to do this?
ps: I'm new to vcpkg.
Thank you !

You can use VCPKG according to the documentation: https://github.com/microsoft/vcpkg#quick-start-unix, if you have any question when using port, you can comment here.

Hello,
I'm getting this error
-- Using community triplet arm-linux. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: /home/vincent/vcpkg/triplets/community/arm-linux.cmake
CMake Warning at ports/outcome/portfile.cmake:18 (message):
Outcome depends on QuickCppLib which uses the vcpkg versions of gsl-lite
and byte-lite, rather than the versions tested by QuickCppLib's and
Outcome's CI.  It is not guaranteed to work with other versions, with
failures experienced in the past up-to-and-including runtime crashes.  See
the warning message from QuickCppLib for how you can pin the versions of
those dependencies in your manifest file to those with which QuickCppLib
was tested.  Do not report issues to upstream without first pinning the
versions as QuickCppLib was tested against.
Call Stack (most recent call first):
scripts/ports.cmake:145 (include)
-- Using cached ned14-outcome-9c6ad6e8e6a48ddde65c0617e3df306bc901b41d.tar.gz.
-- Cleaning sources at /home/vincent/vcpkg/buildtrees/outcome/src/6bc901b41d-bf00471cc6.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/vincent/vcpkg/downloads/ned14-outcome-9c6ad6e8e6a48ddde65c0617e3df306bc901b41d.tar.gz
-- Applying patch outcome-prune-sources.patch
-- Using source at /home/vincent/vcpkg/buildtrees/outcome/src/6bc901b41d-bf00471cc6.clean
-- Configuring arm-linux-rel
-- Building arm-linux-rel
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:158 (message):
Command failed: /usr/bin/cmake --build . --config Release --target install -- -v -j9
Working Directory: /home/vincent/vcpkg/buildtrees/outcome/arm-linux-rel
See logs for more information:
/home/vincent/vcpkg/buildtrees/outcome/install-arm-linux-rel-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_build_cmake.cmake:106 (vcpkg_execute_build_process)
scripts/cmake/vcpkg_install_cmake.cmake:44 (vcpkg_build_cmake)
ports/outcome/portfile.cmake:70 (vcpkg_install_cmake)
scripts/ports.cmake:145 (include)
error: building outcome:arm-linux failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with git pull and ./vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+outcome
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[outcome]+Build+error
including:
package: outcome[core]:arm-linux -> 2.2.2-20211208
vcpkg-tool version: 2022-03-30-692785ac944e81417840c6de244fb3e18a4b35eb
vcpkg-scripts version: 6268290c9 2022-05-24 (6 days ago)
Additionally, attach any relevant sections from the log files above.

*** FILE  /home/vincent/vcpkg/buildtrees/outcome/install-arm-linux-rel-out.log ***
[1/5] /usr/bin/arm-linux-gnueabihf-g++  -I/home/vincent/vcpkg/buildtrees/outcome/src/6bc901b41d-bf00471cc6.clean/include -O3 -DNDEBUG -fexceptions -frtti -fstack-protector-strong -MD -MT CMakeFiles/outcome-dependency-smoke-test_1.dir/test/tests/core-result.cpp.o -MF CMakeFiles/outcome-dependency-smoke-test_1.dir/test/tests/core-result.cpp.o.d -o CMakeFiles/outcome-dependency-smoke-test_1.dir/test/tests/core-result.cpp.o -c /home/vincent/vcpkg/buildtrees/outcome/src/6bc901b41d-bf00471cc6.clean/test/tests/core-result.cpp
FAILED: CMakeFiles/outcome-dependency-smoke-test_1.dir/test/tests/core-result.cpp.o
/usr/bin/arm-linux-gnueabihf-g++  -I/home/vincent/vcpkg/buildtrees/outcome/src/6bc901b41d-bf00471cc6.clean/include -O3 -DNDEBUG -fexceptions -frtti -fstack-protector-strong -MD -MT CMakeFiles/outcome-dependency-smoke-test_1.dir/test/tests/core-result.cpp.o -MF CMakeFiles/outcome-dependency-smoke-test_1.dir/test/tests/core-result.cpp.o.d -o CMakeFiles/outcome-dependency-smoke-test_1.dir/test/tests/core-result.cpp.o -c /home/vincent/vcpkg/buildtrees/outcome/src/6bc901b41d-bf00471cc6.clean/test/tests/core-result.cpp
In file included from /home/vincent/vcpkg/buildtrees/outcome/src/6bc901b41d-bf00471cc6.clean/test/tests/../../include/outcome/basic_result.hpp:28,
from /home/vincent/vcpkg/buildtrees/outcome/src/6bc901b41d-bf00471cc6.clean/test/tests/../../include/outcome/std_result.hpp:28,
from /home/vincent/vcpkg/buildtrees/outcome/src/6bc901b41d-bf00471cc6.clean/test/tests/../../include/outcome/result.hpp:28,
from /home/vincent/vcpkg/buildtrees/outcome/src/6bc901b41d-bf00471cc6.clean/test/tests/core-result.cpp:28:
/home/vincent/vcpkg/buildtrees/outcome/src/6bc901b41d-bf00471cc6.clean/test/tests/../../include/outcome/config.hpp:35:10: fatal error: quickcpplib/config.hpp: No such file or directory
35 | #include "quickcpplib/config.hpp"
|          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[2/5] /usr/bin/arm-linux-gnueabihf-g++  -I/home/vincent/vcpkg/buildtrees/outcome/src/6bc901b41d-bf00471cc6.clean/include -O3 -DNDEBUG -fexceptions -frtti -fstack-protector-strong -MD -MT CMakeFiles/outcome-dependency-smoke-test_2.dir/test/tests/experimental-core-result-status.cpp.o -MF CMakeFiles/outcome-dependency-smoke-test_2.dir/test/tests/experimental-core-result-status.cpp.o.d -o CMakeFiles/outcome-dependency-smoke-test_2.dir/test/tests/experimental-core-result-status.cpp.o -c /home/vincent/vcpkg/buildtrees/outcome/src/6bc901b41d-bf00471cc6.clean/test/tests/experimental-core-result-status.cpp
FAILED: CMakeFiles/outcome-dependency-smoke-test_2.dir/test/tests/experimental-core-result-status.cpp.o
/usr/bin/arm-linux-gnueabihf-g++  -I/home/vincent/vcpkg/buildtrees/outcome/src/6bc901b41d-bf00471cc6.clean/include -O3 -DNDEBUG -fexceptions -frtti -fstack-protector-strong -MD -MT CMakeFiles/outcome-dependency-smoke-test_2.dir/test/tests/experimental-core-result-status.cpp.o -MF CMakeFiles/outcome-dependency-smoke-test_2.dir/test/tests/experimental-core-result-status.cpp.o.d -o CMakeFiles/outcome-dependency-smoke-test_2.dir/test/tests/experimental-core-result-status.cpp.o -c /home/vincent/vcpkg/buildtrees/outcome/src/6bc901b41d-bf00471cc6.clean/test/tests/experimental-core-result-status.cpp
In file included from /home/vincent/vcpkg/buildtrees/outcome/src/6bc901b41d-bf00471cc6.clean/test/tests/../../include/outcome/experimental/../basic_result.hpp:28,
from /home/vincent/vcpkg/buildtrees/outcome/src/6bc901b41d-bf00471cc6.clean/test/tests/../../include/outcome/experimental/status_result.hpp:28,
from /home/vincent/vcpkg/buildtrees/outcome/src/6bc901b41d-bf00471cc6.clean/test/tests/experimental-core-result-status.cpp:24:
/home/vincent/vcpkg/buildtrees/outcome/src/6bc901b41d-bf00471cc6.clean/test/tests/../../include/outcome/experimental/../config.hpp:35:10: fatal error: quickcpplib/config.hpp: No such file or directory
35 | #include "quickcpplib/config.hpp"
|          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.

*** arm-linux .cmake *** Modifed CUSTOM
set(VCPKG_TARGET_ARCHITECTURE arm)
set(VCPKG_CRT_LINKAGE static)
set(VCPKG_LIBRARY_LINKAGE static)
set(VCPKG_CMAKE_SYSTEM_NAME Linux)
set(VCPKG_CHAINLOAD_TOOLCHAIN_FILE /home/vincent/vcpkg/scripts/toolchains/custom.cmake)
*** Custom.cmake ***
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR arm)
set(tools /usr)
set(CMAKE_C_COMPILER ${tools}/bin/arm-linux-gnueabihf-gcc)
set(CMAKE_CXX_COMPILER ${tools}/bin/arm-linux-gnueabihf-g++)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)

/home/vincent/vcpkg/buildtrees/outcome/src/6bc901b41d-bf00471cc6.clean/test/tests/../../include/outcome/config.hpp:35:10: fatal error: quickcpplib/config.hpp: No such file or directory
35 | #include "quickcpplib/config.hpp"

"quickcpplib/config.hpp" from port ned14-internal-quickcpplib, it is dependency of outcome. You could check if it install correct.

@VinceGHER Does this issue resolved?


TODO: search for string in log messages

Add menu option/key binding to search for strings in log messages

See https://discordapp.com/channels/1026214085173461072/1033754296224841768/1152159890668789841

Will be included in 0.3.0 (will use caseless search)

Released in 0.3.0


Bug: On the "Builds" tab, if I scroll down to the "Builds" table and click on any of the 4 builds, I can see tests were run there. However, the "Boots" and "Tests" tabs on top show "There is no boot/test data available for this tree"

https://staging.dashboard.kernelci.org:9000/tree/1d227fcc72223cbdd34d0ce13541cbaab5e0d72f?tableFilter={"buildsTable"%3A"all"%2C"bootsTable"%3A"all"%2C"testsTable"%3A"all"}&origin=maestro&currentTreeDetailsTab=treeDetails.builds&diffFilter={"configs"%3A{"cros%3A%2F%2Fchromeos-6.6%2Fx86_64%2Fchromeos-intel-pineview.flavour.config"%3Atrue%2C"cros%3A%2F%2Fchromeos-6.6%2Fx86_64%2Fchromeos-amd-stoneyridge.flavour.config"%3Atrue%2C"x86_64_defconfig"%3Atrue}}&treeInfo={%22gitBranch%22%3A%22master%22%2C%22gitUrl%22%3A%22https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Ftorvalds%2Flinux.git%22%2C%22treeName%22%3A%22mainline%22%2C%22commitName%22%3A%22v6.12-rc2-205-g1d227fcc7222%22%2C%22headCommitHash%22%3A%221d227fcc72223cbdd34d0ce13541cbaab5e0d72f%22}
On the "Builds" tab, if I scroll down to the "Builds" table and click on any of the 4 builds, I can see tests were run there. However, the "Boots" and "Tests" tabs on top show "There is no boot/test data available for this tree"
https://kernelci.slack.com/archives/C067UJC404A/p1728639801023089

My tests show that the problem here is that for some reason the mentioned link does not have any checkout selected (we can see this in the "Build History" graph), when we select a checkout, the Boots and Tests tabs work as they should


C5-<IP_ADDRESS>a1 - Multilingual - Composer "In-Page Sitemap" not multilingual

We first saw this in our C5DK Blog package, but I decided to test the issue in composer because it should be similar. The issue is that when for a page type selecting the "Selector Form Factor" sitemap selector as "In-Page Sitemap" it does not allow choosing between languages.
Explanation:
We have a multilingual site (3 languages):

And in the Page Type Basic Details we set "Selector Form Factor" to "In-Page Sitemap":

We then go to create a new page in composer using the In-Page Page Location Selector to select location. Here it does not allow us to choose between language trees, and it does not allow us to choose the root (e.g. /en) of the language tree:

I hope this gives a good idea about my findings.

I setup a multilingual site (3 languages), created a new page type to be launched in Composer by default, and added the Page Location Built-In Property.
When I create a new page in Composer here's what I see:

It seems that the Page Location Composer block doesn't allow choosing a language.

Sorry to say, but it now seem to work on the "Add Pages and Navigate Your Site" slide in. But I still do not see the language dropdown in the composer page when trying to use the in-page "Page Locator".

Can you post a picture of the settings for the page type – how it's configured to allow pages, and where ?

OK, Here they come...
First this is a 2 language site upgradet from 7.5.13

This is the default settings for a page type

This is the form

This is how it liiks in composer

We are also making a call to it in our C5DK blog package to pick blog roots here

Hmm, this is really strange – simply because I have a page type set up like this on 8.3.1 and it seems to be working better:


feat: auto import prometheus datasource and dashboard in grafana deployment

Proposed changes

Fixes #2476
Added respective config maps
Added a provisioner for grafana dashboard imports are specified in the Grafana Documentation
Updated the node-and-pod-metrics.json file as it was giving and issue as described here and implemented a solution described here
Updated the readme to let the user the user know that the dashboard and datasource are automatically imported.

Datasource automatically imported during deployment:

Dashboard automatically imported under services folder:

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

[X] New feature (non-breaking change which adds functionality)
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[X] Documentation Update (if none of the other choices applies)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[X] I have read the CONTRIBUTING doc
[X] I have signed the commit for DCO to be passed.
[X] Lint and unit tests pass locally with my changes
[X] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[X] I have added necessary documentation (if appropriate)

Dependency

Please add the links to the dependent PR need to be merged before this (if any).

Special notes for your reviewer:

@ishangupta-ds No, I apologise I missed to mention this in the PR description, modifying the Node-and-pod-metrics-dashboard.json felt sceptical, hence I opened this PR as a proof that it works this way and for proving I started out with node and pod metrics.
Should I automatically import the other grafana-dashboards under the service folder too?
Note: There might be modifications in those json files too.

@ishangupta-ds No, I apologise I missed to mention this in the PR description, modifying the Node-and-pod-metrics-dashboard.json felt sceptical, hence I opened this PR as a proof that it works this way and for proving I started out with node and pod metrics.
Should I automatically import the other grafana-dashboards under the service folder too?
Note: There might be modifications in those json files too.

yes @DarthBenro008 you can modify them as well.

Okay, thank you for the confirmation @ishangupta-ds. I will look into them and add it!

@ishangupta-ds I think it would be a good idea to move the configmaps of dashboards as well as the provisioner to a new file named dashboard-configmaps.yaml  or something similar, this would provide a much cleaner structure than dumping all the configmaps inside deployment.yaml. What do you suggest?

@ishangupta-ds I think it would be a good idea to move the configmaps of dashboards as well as the provisioner to a new file named dashboard-configmaps.yaml or something similar, this would provide a much cleaner structure than dumping all the configmaps inside deployment.yaml. What do you suggest?

Yes @DarthBenro008 it would be better that way, please go ahead and create two separate configmap files, one for data source and one for dashboards. Also add a README to the grafana folder with short descriptions of each file and also listing the data source and dashboards which are being auto configured. Mention the names too.

Hey @ishangupta-ds , I have made the requested changes and updated the Readme inside the grafana folder too!

@ishangupta-ds @rajdas98 The CI is failing at Markdown checks, may I know which markdown style guide should I follow and are there any plugins for nvim/VSC for the same?

Thanks @DarthBenro008


onIdsAvailable event added

idsAvailable method deprecated
onIdsAvailable event added, defined in the configure options

Here it is ! @avishayil let me know if everything is good on your side.
Only tested on IOS

Other than comments above, PR looks great and working on Android as well. Please correct those and we'll merge! Thanks @maxs15 !


Partition dataframe into valid/missing/anomalous

One idea for how users could interact with ptype would be using the scikit-learn transformer model. Transformers have a fit method that does the learning/fitting of a model and a transform method that uses that model to transform an input. A simple example is the MinMaxScaler that scales a matrix. Transformers in scikit-learn inherit the TransformerMixin, which provides the combined fit_transform method.
I could imagine a PType class that provides a fit method to learn the model/weights (if I understood correctly) and a transform method that uses the MAP estimate to cast an input matrix to a typed array (dataframe?). The PType object can then hold state, and provide other methods to interact with the ptype model besides fit/transform. If you’d want to work with dataframes, it might be worthwhile to see if the new (experimental) pd.NA type can be helpful.
See Open Source Data Project Developers.

Adding note from @triangle-man's email. (Suggest any further discussion takes place here, or on relevant issues as we create them.)

ptype returns columns whose type is not supported by R or pandas.
I was thinking about this, especially in the context of “how do we make it easy to adopt these tools” and “how do Wrattler assistants talk to each other?”
Below are some random thoughts.
Datasets
It strikes me that the thing we are all used to thinking about as a “dataset” –
the thing with rows and columns – actually comes in at least three guises, none
of which are what we actually want.
Three similar models of data
The “statistician’s model” of data is this: a dataset is a set of “cases”. Each
cases is (or possibly is characterised by) a tuple of observations. The tuple of
observations must describe the same set of observations for all cases. It is
typically unclear whether the tuple of values associated with a particular case
define that case (that is, whether they individuate it), or whether the
existence of a row indicates the existence of a unique entity in the world that
just happens to have the characteristics given by the observations.
The “data scientist’s model” is: a dataset is a set of columns, all of the same
length. Each column is a sequence of values (or “vector” in the jargon), all of
the same type. The columns represent particular kinds of observations. Given an
index, $i$, the set of values of the columns at index $i$ represent the set of
observations on some “case.”
By type here is mean one of the primitive, atomic types supported by the computer
system, such as “bounded integer,” “IEEE 754 floating-point number,” and so
on. Sometimes the values are allowed to be a special value in addition to the
base type, indicating a missing.
The “relational database model” is that a dataset is a relation: that is, it
is a subset of the Cartesian product of some sets. The sets in the Cartesian
product represent the basic types. This model is most like the statistician’s
model, except that the types are allowed to be arbitrary sets.
What’s missing?
Two things are missing: (1) Some columns are not atomic types; (2) Some types
cannot be represented as columns.
The first is the thing that ptype tells us. Some columns are not just “floats,”
or even “floats plus a missing”, they are “floats, or a missing, or an anomalous
value, or some different kind of missing.” That is, some types are union types
(aka sum types).
The second is similar. Some kinds of value are represented as multiple
columns. Coordinates are a good example. It’s weird to have, say, latitude and
longitude treated by the computer as completely independent entities. Really,
they are two components of the same value. In other words, some types are
record types (aka product types).
Proposal
ptype and union types
What I think is important for ptype is a way to represent, in the “data
scientist’s model,” how ptype itself thinks of the world. That is, we need a way
for ptype to return a table whose columns are union types, when the system does
not support union types.
There seem to be two possible approaches, neither great.
First, suppose only one column, column A, were affected, and that column A
consists of values of type A_1 and other values of type A_2. Then we could split
the table into two tables, having identical column names, where the affected
column is of type A_1 in the first table and type A_2 in the second table. In
effect, we are saying that the “real” table is the union of these two tables,
which is true. Even with types, $X\times(A_1+A_2) = X\times A_1 + X\times A_2$,
If there were two affected columns, A and B, where again the type of each column
were the union of two types, then we could split the table into four tables:
$X\times A_1 \times B_1$, $X\times A_1 \times B_2$, and so on.
In general, if the type of column $X$ is the union of $\Pi_X$ types, then one
ends up with $\Pi_A \times Pi_B \times \dotsc$ separate tables. That can be
quite a lot of tables.
Alternatively, one could break each column into multiple columns, each one
hold either a value of that type, or whatever value codes for “missing”. (In R,
any primitive type is allowed to be NA.) If the language doesn’t support
missings, then one could add an indicator column saying which column has the
actual value.
This results in a single table with $\Pi_A + \Pi_B + \cdots$ columns.
The first approach makes it hard to get all the values of a single type from a
single column, because those values might have been split by the types in a
different column and be in different tables. On the other hand, one can treat
each table as a set of observations of a single type; I can imagine that makes
it easier to do Bayesian modelling, for example.
The second approach doesn’t have so much proliferation of entities.
What’s to be done

Theory
Naming convention for new columns
Metadata for capturing the structure
Utility functions for managing such tables
Extensions to tidyverse/pandas?

Record types
Haven’t thought about this one yet!

And adding a reply to @triangle-man from @tpetricek!

I was also wondering, some time ago, about what ptype could do to handle unions and records (essentially, the two things that would be needed if we wanted to extend ptype to work with JSON and XML files in the same way in which F# Data does that).
The tricky thing here is that the way ptype works (AFAIK) now is that it has a list of possible types (which are constructed as core type | outlier | missing). It then iterates over those types to see what best matches a given list of values.
This no longer works with records and unions, because those are composite types - composed from other more primitive types - and so the space of possible types is just too big (or possibly infinite). This means that you cannot meaningfully iterate over all types.
I’m not sure how this could be handled - the core PFSM model is elegant, but it does not have a good way of dealing with this. Maybe there would be some way to split the inference process into two steps, one that would ((somehow) probabilistically) split the input data (document) into multiple sub-documents on which the individual PFSMs can then be run to get the individual types and then recompose these? I don’t really know - but I think this issue of composite types is an important problem!

@GjjvdBurg @tahaceritli @triangle-man Renamed this task now that we have a clearer idea of the goal.


RNN document is not clear

Thank you for submitting a TensorFlow documentation issue. Per our GitHub
policy, we only address code/doc bugs, performance issues, feature requests, and
build/installation issues on GitHub.
The TensorFlow docs are open source! To get involved, read the documentation
contributor guide: https://www.tensorflow.org/community/contribute/docs
URL(s) with the issue:
https://www.tensorflow.org/api_docs/python/tf/keras/layers/RNN
Please provide a link to the documentation entry, for example:
https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/MyMethod
Description of issue (what needs changing):
Clear description
Problem 1:
Could you provides the math model of the rnn?
Problem 2:   this is not return information about  the method of
get_initial_state(inputs=None, batch_size=None, dtype=None).
and
how to define own get_initial_state ?
what is the connect between   state_size  and get_initial_state
Problem 3,
could  you write more clear about  arguments  of the methods:  call, build, get_initial_state,
such as the   dimension of them.  each dimension is what .
Problem 4:
is the  cell  defined layer by user ?
thanks!

@ymodak  Can this issue be included for Google Code-in as a task ?

If no one is working on it, I can take this task-up.

I getting this issue since long back .. I posted but it seems no one is taking care this issue . TF1.X
version was pretty clear and return state as well. TF2.0 RNN document is not clear and the return type specially get_initial_state(inputs=None, batch_size=None, dtype=None).

The documentation for tf.keras.layers.RNN has been significantly improved now.
It answers most of the ask in the original issue such as arguments of the methods: call, build, get_initial_state and more.
See https://www.tensorflow.org/api_docs/python/tf/keras/layers/RNN


wait for operatorhubio-catalog ready before test starts

Signed-off-by: akihikokuroda<EMAIL_ADDRESS>
Description of the change:
Make sure operatorhubio-catalog ready before e2e test starts
Motivation for the change:
Some tests are affected by the operatorhubio-catalog not ready status.  This change make the e2e test more stable.
Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Docs updated or added to /doc
[ ] Commit messages sensible and descriptive

/hold

/unhold


deps: bump kubebuilder to 104672d

Description of the change:
deps: bump kubebuilder to kubernetes-sigs/kubebuilder@104672d, update where necessary
docs/: document service account featrue
Motivation for the change: recent changes in kubebuilder
/area dependency
Checklist
If the pull request includes user-facing changes, extra documentation is required:

[ ] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[ ] Add or update relevant sections of the docs website in website/content/en/docs

/hold
Just holding so I can take a look at it.


Highlighting while selecting a date range

In the range calendar, it would be nice if when after selecting the start date, hovering over the end date (before choosing one) would highlight the dates within the range, perhaps in a lighter color than the final selected color.  This really helps visualize the range you are choosing and actually tells the user that they are selecting a range, which isn't immediately clear currently.

I was previously using another range selector that did this, and I think it's not that great in terms of UX.
It makes it confusing that you're able to click the "Next Month" button, because the illusion of being in the middle of an active selection makes a user hesitant to click anywhere other than the desired end point.

Yes, optional prop is what I was thinking.  I would love to see this.

included in the new version


[PE-D][Tester C] Course creation allows special characters

Differs from specification in the User Guide, which explicitly mentions:

COURSE_CODE should be a string made up of alphabetical characters and numbers, with no special characters.

However, performing course create course/!!! and course create course/!@#$%^&*() results in the following:

Labels: severity.Low type.FunctionalityBug
original: kiatkat/ped#3

Same issue as #109


Embedding hyperlinks in headings

The old MSTP may have had guidance (with 40 years in as tech writer, 10+ at MSFT) for putting hyperlinks on a heading. can't find this guidance today in contributor guides or best practices.  If the doc world is evolving to allow this (because responsive design, etc). I would very much appreciate "the written word" explaining the new tendency (of embedding hyperlinks in Heading 1, 2, etc).
For example, can one build a hyperlink to a heading if that heading is in fact a hyperlink? Will the hyperlink display the page/section with the referenced heading or will it automatically forward to the 2nd hyperlink destination?
Thanks!

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

ID: 42ebb90e-4ebc-aa30-b024-2d7d68621ab4
Version Independent ID: cd9fe428-e876-385b-b4d3-d1df8741c40c
Content: Search and writing - Microsoft Style Guide
Content Source: styleguide/search-writing.md
Product: non-product-specific
GitHub Login: @pallep
Microsoft Alias: pallep

Are you searching for something like this? https://docs.microsoft.com/en-us/contribute/how-to-write-links
As far as I know, links to the location where another link is, normally don't (ever?) follow through.

Has this issue been solved @Jay-o-Way and @jenellean?


added type witness to make make GWT compiler happy

Sorry, this my fall :(
May be add some comment for this line?

It's ok, no worries.
I don't believe a comment on this would have a good signal to noise ratio. Devs could just assume type witnesses are intentional and not remove them.


Error when starting game, spacewarpers

After last update when i start the game i occured an error, I think it has something to do with spacewarpers. After start I have 6-8 stacks in my inventory even though I order 1. Yesterday, after the update, I managed to fix the bug by running the game without mod, removing spacewarpers from my inventory, saving and starting again with the mod. Today, after removing the mod, the game starts normally, after turning it on again, the error occurs, as in the picture.
btw, I think your mod is brilliant, it removes unnecessary waiting for items, which is important to me, because after work I only have moments to play. Good job!

Edit: Launched after a few tries described above. I think you have to have nothing in the orders

This looks like a bug with the Distribute Space Warpers mod to me

ok maybe you are right but i noticed that when i blocked a supply of items i would restart the game a couple of times and each time spacewarpers would appear in my inventory. one time they did not appear anymore and the game started without errors. I did not try to disable Distribute Space Warpers mod because apparently there are problems with it.

I'm closing this, based on the stack trace it was caused by GalacticTransport. One thing I would mention however is that Personal Logistics does have a hidden keybind to clear errors that just happen one time (counter in red error box is not going up). I made it so CTRL+F3 will clear the error condition so autosaves will be enabled (and the box goes away)


feat(image-fetch): update ui to refresh image

#35  👈
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @libhide and the rest of your teammates on  Graphite


Fix import data and add instructions to README

@idelizer, looks good to me. Thanks for the cleanup!


Filtering by YC companies

Currently filtering with (YC. Would be nice to have a built-in YC filter. Thanks.

Good idea. What JS regex would you recommend?
btw, there is a site for YC companies that are hiring. Have you seen that?


How to access Preferences once the footer is hidden?

I tried quitting the app and running it again, right-clicking the menu bar icon, pressing Cmd + , while Maccy window is open but nothing seemed to work. Is there any way not documented?

Your issue didn't exist when I looked for this issue before opening my own just now 😂
Until this is fixed, you can at least run defaults write org.p0deje.Maccy hideFooter false in the terminal 👌🏼

Let's continue in #113


Race condition in "show + capture camera"

Some excellent research by Petros Douvantzis determined that there is a race in the texture handling in "show + capture camera".  The source of the problem is the use of a shared EGL context -- the camera frames are converted to an "external" texture in one context, but rendered from another.
This discussion on the WebGL mailing list discusses the matter.  Appendix C in the OpenGL ES spec, and section 2.4 in the EGL 1.5 spec, explain the expected behavior.
For correct behavior, the application code must ensure mutually exclusive access during the texture update, and needs to issue GL commands that effectively provide memory barriers.  On the producer side, updateTexImage() must be followed by glFinish(), with the two wrapped with a synchronized block or the write op of a read/write lock.  On the consumer side, the texture must be re-bound before being drawn to effect the memory barrier, and the rendering operation must be synchronized or within the read op of a read/write lock.
These operations will potentially stall the involved threads, reducing throughput.  It's better, and simpler, to use a single EGLContext, and call updateTexImage() from the thread that does the rendering.  It's possible to use a single context with GLSurfaceView by attaching the SurfaceTexture to the GLSurfaceView's context with the appropriate API calls.  The "show + capture camera" demo should be updated to use this approach, and avoid shared contexts altogether.
The other Activities in Grafika use SurfaceView and a single context, and are not affected by this issue.

Could you help give more details about "It's possible to use a single context with GLSurfaceView by attaching the SurfaceTexture to the GLSurfaceView's context with the appropriate API calls"?
Thanks

Hi fadden,
Sorry to dig this out of the crypt but I was hoping for some clarification about restricting CameraCaptureActivity to use a single EGLContext.
From what I can tell, it appears that the SurfaceTexture passed to the camera is already bound to the same rendering context as the GLSurfaceView, and that updateTexImage() is called in the GLSurfaceViews's rendering thread.
In the original problem statement, you identified the issue as one where the camera is converting frames to an external texture but then rendering them from another - can you elaborate on this a bit? From what I can see in the sample, the camera is sending its image stream to the SurfaceTexture presumably from another thread, but the actual create/bind dance to the external texture all happens within the GLSurfaceView's rendering thread

The texture is shared between two EGL contexts -- written by the camera, read by the video encoder.  The GLSurfaceView side is fine by itself.  Once you start recording, TextureMovieEncoder creates a shared EGL config, and it's the rendering from that thread that causes the trouble.

That's great thanks for clearing that up!


Plasmashell allocates >260GB of VIRT

Issue description
@ttuegel  Plasmashell unexpectedly allocates >260GB of VIRT.

Steps to reproduce
Just run plasmashell for a day and use it.
Technical details

system: "x86_64-linux"
host os: Linux 4.13.4, NixOS, 17.09.git.39cd40f (Hummingbird)
multi-user?: yes
sandbox: no
version: nix-env (Nix) 1.11.15
channels(root): "nixos-17.09.2182.7f6f0c49f0"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

Why is that unexpected?

Its an upstream issue https://bugs.kde.org/show_bug.cgi?id=387128

I switched to xfce4, until this is fixed, because Plasma5 is unusable in this version. If someone knows of a version of Plasma5 that I can run that is in a binary cache without this issue, I can switch back to Plasma5.

@williammpratt Could you explain in what way is plasma unusable, without guessing why it is so? (I use it quite successfully; its virtual memory usage is up to 5GB in my case.)

One thing that might (or might not) help is to configure the tray to hide icons with frequent animations, including the notifications icon. (I didn't do this, but it is automatically hidden.)

plasmashell uses 80% of a core continuously after hours of use to the point that it throttles the CPU. I use an instant messaging application which displays popups on a regular basis. Not having this instant messaging capability is not an option for me.
It introduces noticable lag in the UI.

Seems to be an upstream issue.


Extension causes Firefox to ignore size in window.open()

Description
When I open a new window with the JavaScript function window.open(), I can set the width and height the new window should have. The extension seems to cause Firefox to ignore those parameters.
Steps to Reproduce

Deactivate the extension
Click on a link like Test link. The new window should be of the specified size.
Activate the extension
Click on the link again. The new window probably is not of the specified size, but uses all available width and height on the display (but isn't maximized, either).

Expected behavior:
I expect Firefox with the extension enabled to honor the specified width and height of new windows.
Actual behavior:
The extension seems to filter out the width and height parameters at least. I didn't test other window features that window.open() supports in the third argument.
Versions

Extension: 2020.10.13
Browser: Firefox
OS: Linux

Additional Information
The issue was probably introduced in the latest version of the extension, or at least not too long ago. I've been using the extension for some time now, and the problem only appeared quite recently.

I tested this in the latest release and it appears resolved.


feat(moe): add moe module

Motivation
Add Mixture-of-Experts module for InternLM
Modification

add moe module in internlm/moe/*.py
add moe layer in internlm/model/moe.py and internlm/model/modeling_internlm.py:107
add expert group support in internlm/core/context/parallel_context.py:472 and internlm/core/context/process_group_initializer.py:346
the forward pass now return both activations and moe loss. see internlm/model/modeling_internlm.py:410 and internlm/core/scheduler/no_pipeline_scheduler.py:108
the reduce hook will not be function for moe expert parameters. see internlm/solver/optimizer/hybrid_zero_optim.py:289
add new hyperparameter in configs/7B_sft.py

BC-breaking (Optional)
No.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here and update the documentation.
Checklist
Before PR:

[ ] Pre-commit or other linting tools are used to fix the potential lint issues.
[ ] Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
[ ] The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
[ ] The documentation has been modified accordingly, like docstring or example tutorials.

After PR:

[ ] If the modification has potential influence on downstream or other related projects, this PR should be tested with those projects.
[ ] CLA has been signed and all committers have signed the CLA in this PR.

Thanks for your great contributions. I have also added some MoE features (residual, drop_tokens, etc.) to your branch.
Please review them at: https://github.com/blankde/InternLM/pull/1.


Evaluate logging for usefulness

Scope improvements to logging

@jonavellecuerdo 's comment on Datacite transform on PR #178
Springshare.get_links logs a message indicating missing dc:identifier element even if it exists

Also evaluate the Datacite publicationYear warning, publisher, and @descriptionType warnings


New feature

Hello
I've found that sometimes Uri is hard to pass for method detect(), could you implement third version of detect, such as detect(String,Callback), detect(Uri, Callback) it would be nice to have
detect(Bitmap bmp,Callback) with these lines
...
ByteArrayOutputStream stream = new ByteArrayOutputStream();         bmp.compress(Bitmap.CompressFormat.PNG, 100, stream);         byte[] data = stream.toByteArray();

I have made pull request.


Create API currency rate

I have implemented this functionality in tools and utilities app
Same implement as api

done

Get currency exchange rate by country code


CommunityBridge Project by Yash Varshney

Hello Everyone, I am Yash Varshney and this P.R. is regarding the community bridge mentorship programme. This pr contains all the four task done by me, previously I have made the p.r. for two tasks but this one contains all the task together. This project updates the python tool with v2.2 (although not completely) and introduces a CLI tool for parser and convertor. I have and will be raising some issues regarding future work needed to do. The next task will be to update the python tool with v3.x of python.
It was a great learning experience for me for the last 3 months and I will further be working with spdx-community.
This P.R. is open for review.

[x]  Passing all the tests.

[ ]  Review needed.

Signed-off-by: Yash Varshney<EMAIL_ADDRESS>

ping : @rtgdk @goneall

Also raising this issue. A lot of points in this issue have been achieved but some are remaining, I will be raising issues for them ASAP.

@Yash-Varshney Thanks for the contributions and the PR!
@zvr, @rtgdk & @pombredanne - if you could review and let me know if your OK with me merging.

@Yash-Varshney @goneall I tried it out. And it works fine. I couldn't review the whole code since it takes too much time to review the real changes.
@Yash-Varshney Can you please respond to the comments made by @RishabhBhatnagar regarding the code structure? Overall, things look okay to merge if we have approvals from main reviewers.

Thanks, @rtgdk  @zvr @goneall @RishabhBhatnagar for reviewing. Ik that due to formatting there are some redundant additions but it was needed to format the whole code once so that it won't be a problem in future.
There are some small changes suggested by @RishabhBhatnagar, but I also believe that the code is working fine and it should be merged first and then few additions can be made.
Looking forward, I am thinking of adding a test for checking the use of BLACK formatter.
Thank you :)

@Yash-Varshney The PR is showing that the branch is out of date with the base branch - can you update the branch and verify that it is still working.
@RishabhBhatnagar If your OK merging in its current state, can you create a separate issue for the outstanding issues and approve the PR?

@RishabhBhatnagar If your OK merging in its current state, can you create a separate issue for the outstanding issues and approve the PR?

@goneall, If you say so, I'll approve the PR. But I am not in the favor of merging it as I couldn't run the convertor for any of the described ways in the readme file.
Anyways, my review won't affect the merging of this PR as I am not a maintainer for this repository.


add: Shauna Empringham

Added my profile information to data/Profile.json

@ShaunaTheDead86 Thank you so much for your contribution! Your efforts are greatly appreciated and will go a long way in improving our project. Please feel free to share it with others and Star the repo to help us grow even further!


4.3.0-rc1 causes sls deploy stucked

The latest tag 4.3.0-rc1 makes sls deploy stucked in a loop.
strace shows infinite futex() syscall causing sls to stuck in 100% CPU usage.

Thanks for reporting!
I'll take a look asap.
Which version of serverless are you using?

Hi, I'm using the latest serverless version 1.37.1

Hi,
I've been testing and don't have any problem deploying with 4.3.0-rc1.
Can you elaborate a bit more on your scenario?
Are you using other plugins that might be creating the issue.
Do you get any error details?

Hmm.. that's strange because I only have problem with the latest version but rolling back to 4.2.0-rc1 works fine.
Here's the plugins I'm using:
plugins:
  - serverless-domain-manager
  - serverless-plugin-warmup
  - serverless-python-requirements
  - serverless-wsgi

There's no error but sls deploy stucked there forever utilizing 100% CPU if using 4.3.0-rc1.

Have you tried verbose mode to see if you can get more useful logs: sls deploy --verbose??

Hi @juanjoDiaz  it's the same as well.. here's the result
ssteo@lab:~/private/xxx-lambda$ sls deploy --verbose
(hanging there forever)

the process node /usr/local/bin/sls deploy --verbose PID is 6708
My package.json below:
{
  "name": "x-webapp",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "serverless-domain-manager": "^2.6.13",
    "serverless-plugin-warmup": "^4.3.0-rc.1",
    "serverless-python-requirements": "^4.2.5",
    "serverless-wsgi": "^1.7.1"
  }
}```

And here's the result of `strace -p 6708`... just keep repeating with futex() calls.. reverting to 4.2.0-rc1 works fine.

strace: Process 6708 attached
strace: [ Process PID=6708 runs in x32 mode. ]
strace: [ Process PID=6708 runs in 64 bit mode. ]
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7ffc74668fa8, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x7ffc74668fb0, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x7ffc74668fb0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7ffc74668fac, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x7ffc74668fb0, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x7ffc74668fb0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7ffc74668fa8, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x7ffc74668fb0, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x7ffc74668fb0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7f618, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, NULL, 0xffffffff) = 0
futex(0x560421e7f618, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, NULL, 0xffffffff) = 0
write(8, "\1\0\0\0\0\0\0\0", 8)         = 8
getpid()                                = 6708
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
mmap(0x2e2d99500000, 2109440, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x2e2d99500000
munmap(0x2e2d99683000, 524288)          = 0
mmap(0x2e2d99500000, 1585152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2e2d99500000
write(8, "\1\0\0\0\0\0\0\0", 8)         = 8
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c4, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421ebf1a0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d0c0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x560421e7d070, FUTEX_WAKE_PRIVATE, 1) = 1

Thanks for the details!
This is really strange...
The futex is a Linux kernel system call used by threading implementations, like libpthread, to implement mutexes, semaphores, and all that. This library us pure javascript and doesn't use any of such low-level APIs...
Some quick googling shows similar issues happening on endless loops and stuff like that but mostly using node 0.10. What node version are you using?
So it's likely that there is an endless loop or something like that being created somewhere. Maybe this is related to #117 except that you are replicating it consistently...
Would you mind sharing your warmup config? So I can try to replicate the issue.
I just released 4.3.1-rc1. You can try it, although I'd expect  the same results as in 4.3.0-rc1 🙂

It might be the python or wsgi plugin screwing the warmer lambda.
Plugins are executed in the order that you declare them. Those two plugins come after the warmup one so they might be picking it as one of your declared function. (Just a wild guess...)
Have you tried to place this plugin the last one?
plugins:
  - serverless-domain-manager
  - serverless-python-requirements
  - serverless-wsgi
  - serverless-plugin-warmup

Hi, my node version is 8.10.0 running on
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.2 LTS
Release:	18.04
Codename:	bionic

I've tried switching the sequence of the plugins either placing at the first or last is the same. Tried 1.31.-rc1 same as well.
My warmup config, note that it is still using default and schedule as version after 4.2.0 doesn't recognize enable and event. I've tried
  warmup:
    default: true
    schedule: rate(4 minutes)
    prewarm: true
    role: IAMRoleServerlessWarmer

By the way, I could also reproduce the issue on my local Mac running this version.
Darwin xx.gs24.com 18.2.0 Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64
I've tried to compare the changes but unfortunately there are too many changes between 4.2.0-rc1 and 4.3.0-rc1. Maybe can release more often in future with smaller changes?

Nevertheless, I believe the futex() deadlock has something to do with the Promises/await behaviour
https://thecodebarbarian.com/mutual-exclusion-patterns-with-node-promises
bluebird npm module probably has some difference in behaviour..? I'm unsure, I'm a Python guy not so deep into Javascript stack.

Agreed. The project went a bit stale after 4.2 and then I took over. The intention now is to move to 5.0.0 and keep releasing often.
It weird that there aren't any unhandled promises reported by jest and no one else is seeing this issue. But I'll keep trying to replicate it.
There seem to be many issues on the serverless repo related to endless loops and 100% CPU.
Can you run serverless package with 4.3.X-rc.1? If not, it might be a problem with the env variables as described in https://github.com/serverless/serverless/issues/3882 or https://github.com/serverless/serverless/issues/5275. Or maybe is stuck in a retry loop like https://github.com/serverless/serverless/issues/5241?

Might this be related to #126??
Are you using env vars like in the warmup config?

Hi, I've just tested sls package stucked as well. Looks like related to
https://github.com/serverless/serverless/issues/3882 and  https://github.com/serverless/serverless/issues/5275

I'm having the same issue. Any sls plugin {install,uninstall,list} hangs after the warmup plugin has been installed. Deleting the node_modules, package-lock.json and package.json files "fixes" the issue. Installing the warmup plugin last is a temporary solution, but causes issues if you continue to develop and try to interact with plugins after that. I have removed the warmup plugin from my project until this is resolved.

Can you try 4.3.2-rc.1 and reopen if the issue persists?
The problem seemed to be caused by https://github.com/serverless/serverless/pull/3911
Not sure what's the impact of installing the modules in a different order... that's definitely strange... :/

Hi, just tried 4.3.2-rc1 it's the same as well.

@juanjoDiaz  Honestly, I think closing this issue is not the best way to resolve this as other plugins have no issue and older version works fine. But later version starts to have this issue after major code changes.
I reviewed my serverless.yml also has no cyclic reference.

Hummm
If I could just replicate this... 😞
I'll keep trying...

Could you try to create a hello world so I can replicate this?
I've tried everything (including copying your config and uninstall and install dependencies as suggested by @sgraup) and just can't get this to happen in any of my projects.

Ok, I'll try to create a separate app. tonight and if it can be replicated, will share it over.

Hello,
This is the list of other plugins we're using with our deployments:

serverless-aws-documentation
serverless-api-stage
serverless-reqvalidator-plugin
serverless-pseudo-parameters

If I include the warmup plugin anywhere but last in this list, the next plugin will hang during installation. After the warmup plugin is installed things like sls plugin list also hang. Perhaps there is a conflict with the warmup plugin and one of these other plugins. As I mentioned, removing all the npm files in the directory rectifies the problem until the warmup plugin is re-installed.
We're using serverlss 1.37.1

Hi @juanjoDiaz  here's the project, can reproduce everytime with this https://github.com/gs-jackal/sls-plugin-warmer-bug-reproduce
If you change it to version 4.2.0-rc1 with a valid AWS account ID, ARN for certificate and domain name. It will work.

Just a note, the project is setting createRoute53Record to false because I use CloudFlare, but using route53 should work if you have a free domain in route53.

Thanks, guys!
I could reproduce it with @gs-jackal repo.
The problem was caused by a combination of https://github.com/serverless/serverless/pull/3911 and https://github.com/serverless/serverless/issues/2631.
Basically, serverless doesn't resolve options properly and doesn't resolve variables at constructor time.
Inferring the stage and region at constructor time was causing an endless loop within serverless for some reason (maybe I should just create a ticket in serverless about it since it should error and never go into endless loops no matter what).
Can you try 4.3.3-rc.1 and see if the issue is resolved?

Thanks @juanjoDiaz , works great now!


Alsa volume showing different value

Hey, another small one, it seems that the volume module is showing a different value from the one set.
For example, I have the volume set at 30% and it's showing 29% on the bar, something like an off-by-one at any volume.
https://u.teknik.io/QhEqN.png

Are you using mapped = true ?

Nope, tried with with true and false and both shows a different volume.
[module/volume]
type                  = internal/volume
format-volume-padding = 1
format-muted-padding  = 1
format-volume         = <ramp-volume>  <label-volume>
label-volume          = %percentage%
label-muted           = 
ramp-volume-0         = 
ramp-volume-1         = 
ramp-volume-2         = 

Ugh, just saw #184, will close this in favor of that one. Same issue.


Use declared lodash dependencies. Resolve build failures for dependen…

…t projects using Yarn PnP.
Reasons for making this change
Dependent projects using react-jsonschema-form and Yarn PnP fail to build with the following exception:
Message:
    C:/Users/<user>/AppData/Local/Yarn/Cache/v4/npm-react-jsonschema-form-1.7.0-c2779886c56c4bab25d54e2dec76d24b384d2d73/node_modules/react-jsonschema
-form/lib/components/Form.js
Module not found: Error: Package<EMAIL_ADDRESS>(via "C:\Users\<user>\AppData\Local\Yarn\Cache\v4\npm-react-jsonschema-form-1.7.0-c2779
886c56c4bab25d54e2dec76d24b384d2d73\node_modules\react-jsonschema-form\lib\components\Form.js") is trying to require the package "lodash" (via "lodash
/get") without it being listed in its dependencies (react, @babel/runtime-corejs2, ajv, core-js, lodash.get, lodash.pick, lodash.topath, prop-types, r
eact-is, react-lifecycles-compat, shortid, react-jsonschema-form)
 @ C:/Users/<user>/AppData/Local/Yarn/Cache/v4/npm-react-jsonschema-form-1.7.0-c2779886c56c4bab25d54e2dec76d24b384d2d73/node_modules/react-jsonschema-
form/lib/components/Form.js 41:35-56
 @ C:/Users/<user>/AppData/Local/Yarn/Cache/v4/npm-react-jsonschema-form-1.7.0-c2779886c56c4bab25d54e2dec76d24b384d2d73/node_modules/react-jsonschema-
form/lib/index.js
 @ C:/<path>/src/components/layouts/SimpleForm.tsx
 @ C:/<path>/src/App.tsx
 @ C:/<path>/src/index.tsx
C:/Users/<user>/AppData/Local/Yarn/Cache/v4/npm-react-jsonschema-form-1.7.0-c2779886c56c4bab25d54e2dec76d24b384d2d73/node_modules/react-jsonschema-for
m/lib/components/Form.js
Module not found: Error: Package<EMAIL_ADDRESS>(via "C:\Users\<user>\AppData\Local\Yarn\Cache\v4\npm-react-jsonschema-form-1.7.0-c2779
886c56c4bab25d54e2dec76d24b384d2d73\node_modules\react-jsonschema-form\lib\components\Form.js") is trying to require the package "lodash" (via "lodash
/pick") without it being listed in its dependencies (react, @babel/runtime-corejs2, ajv, core-js, lodash.get, lodash.pick, lodash.topath, prop-types,
react-is, react-lifecycles-compat, shortid, react-jsonschema-form)
 @ C:/Users/<user>/AppData/Local/Yarn/Cache/v4/npm-react-jsonschema-form-1.7.0-c2779886c56c4bab25d54e2dec76d24b384d2d73/node_modules/react-jsonschema-
form/lib/components/Form.js 39:36-58
 @ C:/Users/<user>/AppData/Local/Yarn/Cache/v4/npm-react-jsonschema-form-1.7.0-c2779886c56c4bab25d54e2dec76d24b384d2d73/node_modules/react-jsonschema-
form/lib/index.js
 @ C:/<dependent project path>/src/components/layouts/SimpleForm.tsx
 @ C:/<dependent project path>/src/App.tsx
 @ C:/<dependent project path>/src/index.tsx
Details:
    domain: [object Object]
    domainThrown: true

The important parts of this are:
[...]/react-jsonschema-form/lib/components/Form.js
Module not found: Error: Package<EMAIL_ADDRESS>(via "[...]\react-jsonschema-form\lib\components\Form.js") is trying to require the package "lodash" (via "lodash
/pick") without it being listed in its dependencies ([...], lodash.get, lodash.pick, [...])

Documentation on troubleshooting this error message from Yarn PnP is provided here:
https://yarnpkg.com/en/docs/pnp/troubleshooting#toc-is-trying-to-require-without-it-being-listed-in-its-dependencies
Ultimately, the situation boils down to this:
NPM and Yarn w/o PnP are forgiving, and can resolve packages if they are placed as dependencies by this project's dependencies (not by this project itself!). This is what is happening today. The existing lodash/get and lodash/pick dependencies used in Form.js are not declared in package.json.
@arcanis
Checklist

[ ] I'm updating documentation

[ ] I've checked the rendering of the Markdown text I've added

[x] I'm adding or updating code

[ ] I've added and/or updated tests
[ ] I've updated docs if needed

[ ] I'm adding a new feature

[ ] I've updated the playground with an example use of the feature

Test is failing at Form_test.js "unused form values should be omitted".
This test verifies correct behavior of a function using lodash.pick.
Test passes if lodash is added as a dependency to the project and lodash/pick is used in the import in Form.js
Test fails if lodash.pick is used as the dependency, and lodash.pick is used in the import.

@burkedavison thanks for the PR -- not sure why the lodash.pick approach is failing, but I believe you should be able to do the solution you mentioned (installing lodash and using lodash/pick) and it shouldn't adversely affect the bundle size.

Great, thanks!


Question Regarding Comparison Models

Dear Repodiac,
I hope you are well. I was unable to find contact information on your profile so I am writing to you here.
I am currently working on a project for my natural language processing class on splitting German Compounds. We are trying to compare different models on accuracy and efficiency and would like to use yours. We were also wondering which models you used in the comparison you mentioned? (Would you also happen to know where we could find a version of GERTWOL?)
Kind regards,
Stefan

Hi Stefan,
thank you for your message (sorry, for not having contact info here yet). I feel honored to be part of your (educational?) systematic comparison of compound splitter methods. Unfortunately, I am afraid I cannot provide you with the wanted models or methods. Back then I did a web search and played around, though wasn't satisified. That's why I came up with my "heuristic" approach using dictionaries. Haven't heard of GERTWOL, neither.
However, I'd like to know more about the results of your NLP class survey. Would appreciate it if you could provice me with a link or document :) Good speed with your survey!

Thank you, @repodiac! Apologies for my late reply, we've been quite busy.
We can certainly provide you with the document when it is finished. We will only be able to compare two models due to time constraints - yours and a model called SMOR, but maybe in the future more comparisons could be done!
Kind regards,
Stefan

That'd be great. Thank you. :-)


[$250] Console error - Non-unique keys when group users have same name - reported by @rushatgabhane

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Login on web dev
Create a new group with two users that have the same first name.
Send a message

Expected Result:
No console error
Actual Result:
Console error - Encountered two children with the same key, Rushat. Keys should be
Workaround:
unknown
Platform:

Where is this issue occurring?

Web

Version Number: 1.1.96-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: @rushatgabhane
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1661196448723269
View all open jobs on GitHub

@rushatgabhane I'm not sure I can reproduce this - is there something I'm missing from the repro steps?

@rushatgabhane nah I'm only on prod and staging. Can you edit the repro steps to make it clear it's only reproducible there? Thanks :)

https://www.upwork.com/jobs/~01dfdf91764d8f970f

                    {_.map(displayNamesWithTooltips, ({                         displayName, pronouns, tooltip,                     }, index) => (                         <Text key={displayName}>
Replace key={displayName} with key={${displayName}-${index}}

Proposal
React uses the key prop to understand the component-to-DOM Element relation, so we don't have to worry about what changes on every render. key should always remains unique, else React will most probably mix up the elements and mutate the incorrect one.
The key should remain static across re-renders to maintain the performance. so the best practice is to used index as key. This way key remains static and unique.
hope it helps :)

Reply
Keys should not be kept as indexes as it might have negative impact on the performance. The best way is to use a string that uniquely identifies the list item. Refer this - https://reactjs.org/docs/lists-and-keys.html

@rushatgabhane can we start with the above proposal?

Proposal

Current proposal solves issue for same display name on active chat.
Also resolves overall same display name Issue. Even if there are 2 - RoomHeaderAvatars in same view.

Please check Rushat.
And also long time no see ✋ 😄.

Hey 👋
@mananjadhav will be reviewing your proposals here

Proposal

The current proposal solves the issue of the same display name on active chat. You should change key={firstName} to key={firstName + (new Date().getTime()).toString()}

Proposal

The current proposal solves the issue of the same display name on active chat. You should change key={firstName} to key={firstName + (new Date().getTime()).toString()}

@hoangndm
Please check below link why we shouldn't use new Date().getTime().
Link : https://stackoverflow.com/a/54168287/17278253

I agree with index not the best way to go about it, but it is better than having dynamic values like Math.rand and new Date.
I am good with @mdneyazahmad's proposal here which uses tooltip. Tooltip is based on the login and makes it unique good enough.
@mdneyazahmad I also checked the other console.log error that you mentioned, I am of the opinion if we should handle in this PR, but if you feel we should log a separate issue that's fine by me as well.
@srikarparsi All yours.
🎀 👀 🎀
C+ reviewed

Issue not reproducible during KI retests. (First week)

The proposal looks good to me but @mvtglobally did you try reproducing on dev or was it on staging/prod? If it was staging/prod could you try it on dev to see if the issue still persists?

bump @mvtglobally

@srikarparsi sorry for delay. We checked only staging and prod. Don't have dev access to check

@srikarparsi I can confirm this exists and I can reproduce this on dev.

sounds good @mananjadhav, the tooltip proposal looks good to me as well, lets move forward with that. The second issue is very similar so I agree that we can handle it in this pr

@srikarparsi Can you assign the issue/job so that @mdneyazahmad can work on it.

yup, sorry I missed that, assigning him now

Afaik, @mdneyazahmad you should get the reporting bonus.
cc - @srikarparsi @arielgreen

Issue not reproducible during KI retests. (First week)

@mdneyazahmad, @mvtglobally wont have the dev setup and that’s fine. You can continue with the PR and I’ll take care of the QA partt

@rushatgabhane @mananjadhav @mdneyazahmad check your Upwork inboxes, please.

Issue not reproducible during KI retests in Staging. (Third week)

Waiting on @srikarparsi to review and merge the PR

PR is merged. @srikarparsi @arielgreen considering this won't be reproducible on staging and dev. So we won't need a QA here.  I am assuming we would handle the payment the same way?

Issue not reproducible during KI retests. (Fourth week)

Issue not reproducible during KI retests. (Fifth week) Are we ok to close this issue?

keeping the issue open for payment on the 20th

Paid.

Hey @arielgreen,
Quick thing, I did get paid, and I am assuming @rushatgabhane got paid too.
Did we payout @mdneyazahmad for the code as well as bug reporting? We first attempted to resolve two separate bugs in this PR, and one of which @mdneyazahmad had reported and I posted a comment about the payment here


Setting "target" and "source" to "message" silently drops events

Version: 5.5.0
Operating System: CentOS 7.3
Config File (if you have sensitive info, please remove it):

      json {
        source => "message"
        target => "message"
        skip_on_invalid_json => true
      }

Sample Data:

This is a Mesos task log:
Registered docker executor on 10.x.x.x
Starting task sometask
{"foo": "bar", "baz": 1}
{"foo": "bar", "baz": 1}
{"foo": "bar", "baz": 1}
{"foo": "bar", "baz": 1}

Steps to Reproduce:

Send sample data with Filebeat to Logstash with JSON filter documented above.
The input messages should be of the form:
...etc...
{"message": "Starting task sometask", ...}
{"message": "{\"foo\": \"bar\", \"baz\": 1}", ...}
...etc...

The output message should look like:
...etc...
{"message": "Starting task sometask", ...}
{"message": {"foo": "bar", "baz": 1}, ...}
...etc...

Instead, the invalidly parsed events (e.g. Starting task sometask) pass through, but the JSON events are silently dropped.
If I change target to something else (e.g. target => "json"), it works as expected.

Perhaps related to this issue:
https://discuss.elastic.co/t/json-filter-dropping-messages/100144
I will try the workaround (assign a separate source and target).

With decent volume of data, this bug is easily reproducible. Json filter is silently dropping messages regardless of configuration settings as mentioned above.
Here is my new configuration for json filter:
filter{
json{
source => "message"
target => "jsonMsg"
skip_on_invalid_json => true
remove_field => "message
}
}
Sample json:
I'm able to repeat this behavior with any json sample.
Input and output:
I am reading from a kafka stream and persisting to a local file. I post 10,000 messages to Kafka and check the output file after each run.
Versions of Logstash I've tried:
5.4.3
5.5.2

Facing the same problem. Any updates on this ?

@ph @jsvd