Please provide a programmatic method for determining when a port forwarded server has changed the port

When I share a server with the shareServer api, I specify a port. I believe if this port is already taken, the server will roll over to the next one.
I need to know this port number because I'll be sending the URI with this port to other software that doesn't realize the port number might be different.

Adding @IlyaBiryukov for shared servers.

@rchiodo Ah that’s a point, we definitely need this.

The server may even be forwarded to different port numbers on different guests. So I think the way it needs to work is guests can listen for an event that informs then when a server was shared, including the server name and local port number.
(Does the host need to know what port number the guests are using? I'm assuming not.)

There is already an event fired on a guest when a port is forwarded. It contains both the source port and the destination port. Once destination port is chosen, it stays the same for the whole time the port is being forwarded.  I'm not sure though if this event is available on Live Share extensibility API.
The destination port will be different from the source port on the guest side if the source port is already taken or Live Share has no permissions to use it.

Sorry should have clarified, I don't see that event now. This is assuming you add something into the extensibility API for us to listen to it.

@osortega will take care of this bug.

@rchiodo do you still need this feature? Sorry for not getting to it for so long. There were other priorities.

I believe so, although we haven't hit anyone actually having this problem.

So I'd say it's rather low priority for us.

I'm going to close as Won't Fix. Please feel free to re-activate when you need this.


Token for Storage Account- Managed Identity

Library name and version
Azure.Identity Version=<IP_ADDRESS>
Query/Question
We are looking for an option to a get new token for each request.
Currently, if a token is issued and there are any further requests to get token till the time first token is valid, we are getting the same token that was issued earlier.
 var authResult = new DefaultAzureCredential(true).GetToken(new TokenRequestContext(
            new[] { "https://storage.azure.com/.default" }));

We are using below
Azure.Identity Version=<IP_ADDRESS>
Microsoft.Azure.Storage.Common, Version=<IP_ADDRESS>
Environment
No response

//cc: @schaabs

Thank you for your feedback.  Tagging and routing to the team member best able to assist.  Please expect delayed responses due to the US holidays.


Allow non-equidistant binning

This is possible with the numpy binning approach (hextof-processor method), but needs a cleaner interface.
Need to look into the numba implementation to see if this is possible there too.

Solved in #50


Istio 1.6 version did not work

I used wasme release version 26 but it did not work for the Istio filter
my command is this one
$ wasme init ./filter2 --platform istio --platform-version 1.6.x
$ kubectl apply -f https://github.com/solo-io/wasme/releases/latest/download/wasme-default.yaml
$ kubectl apply -f https://github.com/solo-io/wasme/releases/latest/download/wasme.io_v1_crds.yaml
$  wasme build assemblyscript -t webassemblyhub.io/szheng3/add-header:v0.2 .
$  wasme push webassemblyhub.io/szheng3/add-header:v0.2

and used this yaml
apiVersion: wasme.io/v1
kind: FilterDeployment
metadata:
  name: filter-test
  namespace: resume-dev
spec:
  deployment:
    istio:
      kind: Deployment
      labels:
        app: web-resume-backend
  filter:
    image: webassemblyhub.io/szheng3/add-header:v0.2

The filter did not work

apiVersion: wasme.io/v1
kind: FilterDeployment
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"wasme.io/v1","kind":"FilterDeployment","metadata":{"annotations":{},"name":"filter-test","namespace":"resume-dev"},"spec":{"deployment":{"istio":{"kind":"Deployment"}},"filter":{"image":"webassemblyhub.io/szheng3/add-header:v0.2"}}}
  creationTimestamp: "2020-08-24T18:45:13Z"
  generation: 9
  name: filter-test
  namespace: resume-dev
  resourceVersion: "97351702"
  selfLink: /apis/wasme.io/v1/namespaces/resume-dev/filterdeployments/filter-test
  uid: 8772f819-9e67-4caf-93c6-59beb2e60ce4
spec:
  deployment:
    istio:
      kind: Deployment
  filter:
    image: webassemblyhub.io/szheng3/add-header:v0.2
status:
  observedGeneration: "8"
  workloads: {}

I did not see success in the workloads.

it's hard to tell what is going on without logs from the wasme operator and the istio sidecar. Please provide additional logs so we can have more to go on

Same problem here with latest wasme (with istio 1.6 option).
I am using the cpp programming language.
with image istio/proxyv2:1.6.0 and istio/proxyv2:1.6.8
Logs:
sidecar_1  | [2020-08-27 06:21:03.791][1][info][config] [external/envoy/source/server/configuration_impl.cc:129] loading stats sink configuration
sidecar_1  | [2020-08-27 06:21:03.800][1][debug][wasm] [bazel-out/k8-opt/bin/external/envoy/source/extensions/common/wasm/_virtual_includes/wasm_vm_base/extensions/common/wasm/wasm_vm_base.h:38] WasmVm created envoy.wasm.runtime.v8 now active
sidecar_1  | [2020-08-27 06:21:03.800][1][debug][wasm] [external/envoy/source/extensions/common/wasm/wasm.cc:187] Base Wasm created 3 now active
sidecar_1  | [2020-08-27 06:21:03.839][1][debug][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1104] wasm log envoy.filters.http.wasm singleton-fetchdoc : [singleton-fetchdoc.cc:93]::onStart() >>>
sidecar_1  | [2020-08-27 06:21:03.839][1][debug][wasm] [external/envoy/source/extensions/common/wasm/context.cc:1104] wasm log envoy.filters.http.wasm singleton-fetchdoc : [singleton-fetchdoc.cc:94]::onStart() <<<
sidecar_1  | [2020-08-27 06:21:03.841][1][debug][wasm] [external/envoy/source/extensions/common/wasm/wasm.cc:357] ~Wasm 2 remaining active
sidecar_1  | [2020-08-27 06:21:03.850][1][debug][wasm] [bazel-out/k8-opt/bin/external/envoy/source/extensions/common/wasm/_virtual_includes/wasm_vm_base/extensions/common/wasm/wasm_vm_base.h:42] ~WasmVm envoy.wasm.runtime.v8 2 remaining active
sidecar_1  | [2020-08-27 06:21:03.851][1][critical][main] [external/envoy/source/server/server.cc:98] error initializing configuration '/etc/envoy/envoy.yaml': Function: proxy_on_configure failed: Uncaught RuntimeError: function signature mismatch
gateway_1  | [2020-08-27 06:21:03.851][1][warning][misc] [bazel-out/k8-opt/bin/external/envoy/source/extensions/common/_virtual_includes/utility_lib/extensions/common/utility.h:66] Using deprecated extension name 'envoy.router' for 'envoy.filters.http.router'. This name will be removed from Envoy soon. Please see https://www.envoyproxy.io/docs/envoy/latest/version_history/version_history for details.
sidecar_1  | [2020-08-27 06:21:03.852][1][debug][wasm] [external/envoy/source/extensions/common/wasm/wasm.cc:357] ~Wasm 1 remaining active
sidecar_1  | [2020-08-27 06:21:03.852][1][debug][wasm] [bazel-out/k8-opt/bin/external/envoy/source/extensions/common/wasm/_virtual_includes/wasm_vm_base/extensions/common/wasm/wasm_vm_base.h:42] ~WasmVm envoy.wasm.runtime.v8 1 remaining active
sidecar_1  | [2020-08-27 06:21:03.854][1][info][main] [external/envoy/source/server/server.cc:640] exiting
sidecar_1  | [2020-08-27 06:21:03.855][1][debug][wasm] [external/envoy/source/extensions/common/wasm/wasm.cc:357] ~Wasm 0 remaining active
sidecar_1  | [2020-08-27 06:21:03.856][1][debug][wasm] [bazel-out/k8-opt/bin/external/envoy/source/extensions/common/wasm/_virtual_includes/wasm_vm_base/extensions/common/wasm/wasm_vm_base.h:42] ~WasmVm envoy.wasm.runtime.v8 0 remaining active
sidecar_1  | Function: proxy_on_configure failed: Uncaught RuntimeError: function signature mismatch
Note that I am using my filters built on 1.5
But the template code from wasme between 1.5 and 1.6 is exactly the same.
Seems too me that the ABI as slightly changed between 1.5 and 1.6 and that this is not reflected in the template code.

We have e2e tests that run a "created for 1.5" filter against Istio 1.6.6 deploying via operator without issues. I also just tried out both Istio 1.6.7 and 1.6.8 with the boilerplate c++ header example generated in wasme 0.0.26, using the wasme deploy cli and it worked ok too. It doesn't look like the on_configure method signature has changed from 1.5->1.6 so I'm not sure how that's appearing in your logs.
Do you want to try my filter in your environment and see if that works? This is just an instance of the example c++ filter I created with wasme 0.0.26. I deployed it against the example "bookinfo" Istio app.
wasme deploy istio webassemblyhub.io/sodman/istio-cpp-wasme-26:v0.1 --id=myfilter --namespace bookinfo --config="{'name':'test', 'value': 'value'}"

Closing this issue as stale, let me know if you're still seeing issues and we can re-open.


outdated demo links in top level readme

demo links do not point to anything active. likely need to be redirected to the demos in the captcha repo?

Hi @TanyaStere42, thanks that's correct. The README needs some love. The docs are more up to date and can be found here: https://docs.prosopo.io/


When uploading a new Maven artifact, if it's an archive (jar, war, zip, etc) add it's classes to the index

The Maven 2.0 layout provider uses the Maven Indexer, in addition to OrientDB as it's place for storing useful information about the artifacts.
We need to be able to keep a record of the .class files discovered in the common Maven archive formats (jar, war, etc).
What needs to be done:

Make sure classes are added to the Lucene (Maven Indexer) local index
Make it possible to use the MavenIndexerSearchProvider to search by class
Implement test cases

Generate a test jar with several class files on it (via your tests)
Add the artifact to the Maven Indexer local index
Search for the class and assert there are results which match the criteria

The code for this will have to be placed under the strongbox/strongbox-storage/strongbox-storage-providers/strongbox-maven-layout-provider module.
See also:

Searching
Artifact Coordinates
Maven Metadata
MavenArtifactGenerator
TestCaseWithMavenArtifactGeneration

This issue is similar to #426.

Working on this !
Expected time of completion : A week !

@fuss,
Please, remind me, did you implement this already? If so, please close the issue.

Yes, we can close it.


Reserved variable names in modules

More a documentation issue that i ran into recently: Rhino registers some toplevel java package names that one cannot use as variable names in a module using const - "java", "javax", "org", "com", "edu", "net". (source)
Trying to declare a variable const net = 123 results in
TypeError: TypeError: redeclaration of var net.
I believe this should be documented, since i don't think we could circumvent this.

Documented in https://github.com/ringo/ringojs.org/blob/master/site/documentation/modern_javascript.md


Using Kinect on find_object_2d

Hi, i'm running find_object_2d on ROS Indigo , Ubunto 14.04.3 LTS.
As instruction written,

roscore &
Launch your preferred usb camera driver

rosrun uvc_camera uvc_camera_node &
rosrun find_object_2d find_object_2d image:=image_raw

Because my device is Kinect,
so i replace step 2 to roslaunch freenect_launch freenect.launch.
and 3 to rosrun find_object_2d find_object_2d image:=rgb/image_raw.
but nothing shows up in Find-object screen, saying

Find-Object subscribed to /image_raw topic.
You can remap the topic when starting the node:
"rosrun find_object_2d find_object_2d image:=your/image/topic".

is there any missing or wrong in my running?
Please let me know.
thank you for reading.

Hi,
With freenect_launch and 2D detections, try:
$ roslaunch freenect_launch freenect.launch
$ rosrun find_object_2d find_object_2d image:=camera/rgb/image_rect_color

If you want to detect objects in 3D (refer to this example):
$ roslaunch openni_launch openni.launch depth_registration:=true
$ rosrun find_object_2d find_object_2d _subscribe_depth:=true rgb/image_rect_color=camera/rgb/image_rect_color depth_registered/image_raw:=camera/depth_registered/image_raw depth_registered/camera_info:=camera/depth_registered/camera_info

cheers,
Mathieu

Hello, i have a similar problem in 3D, when i launch openni i get "No devices connected.... waiting for devices to be connected". I am using kinect in gazebo simulator, not an actual one. Do you know what could cause this?

Try freenect_launch


Feature/geojson

hey @niborg feature/geojson takes geojson, rebases it off master and resolves the remaining rubucop offenses, and open issues.  Unfortunately, it looks like you won't be able to merge directly, although this branch will merge to master.   Let me know if you want me to open an PR to master directly.

hey @niborg feature/geojson takes geojson, rebases it off master and resolves the remaining rubucop offenses, and open issues. Unfortunately, it looks like you won't be able to merge directly, although this branch will merge to master. Let me know if you want me to open an PR to master directly.

Sorry I'm probably a little confused, too early in the AM. Would it not be simpler to fork my branch, rebase it on douglasfales/gpx, then submit a PR to the douglasfalse/gpx branch?

Yeah, it would. Just wanted to give you the option. Went ahead and did just that.
Thanks again for this. You saved me a ton of time.

Yeah, it would. Just wanted to give you the option. Went ahead and did just that.
Thanks again for this. You saved me a ton of time.

Appreciate your doing this. Will allow me to reset my project to work on the main gpx branch. We all win :)


Feature/docs versioning

Description
Adds versioning to documentation and shows all the tags and the main branch
Issues Resolved
Closes #234
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@harshavamsi do you still want to push this? If so, please action, or else close.


Pods get blocked when the volume is detached

We are using dynamic block volume based persistence(provisioned by OCI Volume provisioner) for a Statefulset in OKE(managed) cluster. When the volume gets detached from the instance the pod becomes undeletable as any process that tries to read/write to the path mounted on the volume gets blocked.  Also even when the volume is reattached by the provisioner the volume is still not accessible.
Steps to reproduce:

Create a statefulset with Dynamic PV and OCI  Storage class
Wait for the Pods to come up with the PV provisioned by OCI-volume-provisioner.
In the OCI console detach the Volume used by the pod from the instance without running iSCSI detach commands
Wait for the  OCI-volume-provisioner to attach the volume back to the instance.
Try deleting the pod. kubectl delete pod <POD_NAME>. Though k8s says the pod is deleted you can still see the pod running.

Expected Behaviour:

When the volume is detached the process shouldn't get blocked.
The pod should be deletable. It is possible that the health check(probes) might start failing as the disk is not available for the process to read/write. But since the process gets blocked indefinitely it would not be possible for the Kubernetes or the user to delete the pod.
When the provisioner attaches the disk back to the instance it should be accessible from the pod.

When provisioner reattach a volume the iSCSI TCP Endpoint address is getting changed. But the old iSCSI session is still active and keeps trying to connect using the old Endpoint address. Once we terminate this old session then all the blocked processes gets unblocked(and terminates).  The only the pods become deletable.
The TCP endpoint and the device ID (example: /dev/sdb) changes when the OCI reattach the disk. Hence ideally the provisioner might be required to do

Terminate the old session as there is a change in the TCP endpoint
unmount the filesystem ( when the session is terminated the pod might die on its own and maybe docker unmount the volume. I'm not sure if this happens in all scenarios)
Create a new iSCSI session and mount the file system backed by the new device ID.

This seems like an upstream issue.
The provisioner does not handle mounting or unmounting file systems. The provisioners job is provision PV's base don PVCs. The flex volume driver, which does handle the mount and unmounts only does so after being called by the kubelet.

I'm not much familiar with flex volume driver, but I assume attaching/detaching of the disk is something specific to OCI. I'm not sure which component initiates it. But whenever a disk is reattached the endpoint changes(again this is specific to OCI) which requires the iSCI connection to be terminated and a new connection to be established. I'm not sure if upstream might want to handle this as this issue seem specific to the way OCI block volume is implemented.

https://github.com/oracle/oci-flexvolume-driver
Is where you should reopen this ticket. That component handles attaching and detaching volumes.


How about significant tests ?

I am confused how to do significant tests with difference metrics, e.g. accuracy and macro-f1.

A method could be doing paired t-test with acc and f1 output by 10-fold cross validation


Fix typo in comment

@vladyslav-iosdev is that true though? Applies for Heco too?

yep, the same for heco too

Thanks!


Repo sync for protected CLA branch

The pull request is created from main637917086908073863 to main to fix git push error for protected CLA branch

@ghogen : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Added profile and Article

What type of PR is this? (check all applicable)

[x] 🚀 Added Name
[ ] ✨ Feature
[ ] 🐛 Grammatical Error
[ ] 📝 Documentation Update
[x] 🚩 Other

Description
Have added profile and article.
Add Link of GitHub Profile
https://github.com/gkhan205

Looks good to me, but you have some merge conflicts, could you resolve them?

Sure. Will do it now.

Resolve Conflicts!

Fixed.


homebox: init at 0.10.3; nixos/homebox: init

Description of changes
Added a new module for homebox.
This closes #309299 and would replace #273639 as that seems abandoned.
The project itself was archived a few days ago, but since it is currently still working perfectly fine I would not see this as blocking. I will keep looking if any promising forks turn up and might switch to that or if the project actually dies I will try to keep it working as long as I can, removing it if it turns out to be broken for good.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I should have addressed all your suggestions. Should be good now.

Fixed the commit messages and everything else.

I think I have addressed all your comments.

I've fixed the double build by introducing an .npmrc upstream so the right options are being used. So I'm changing this to a draft until this pull is merged.

@PatrickDaG I merged that PR in last night :)


Unable to install pyzmq with pip - TypeError("unsupported operand type(s) for +: 'OmniClass' and 'list'")

I am unable to install pyzmq:
https://pyzmq.readthedocs.io/en/latest/index.html
...
Downloading package ...
Opening: https://files.pythonhosted.org/packages/bf/7f/24a55c3393d54570f26fa8845e8e42e813bf1b7fb668ed5d3de76b71dbe9/pyzmq-25.0.2.tar.gz

Save as: /private/var/mobile/Containers/Data/Application/5ED2B4FD-8D0B-4A55-A32F-C62914E9CFE3/tmp//pyzmq-25.0.2.tar.gz (1209578 bytes)
[====================] 100.00% | 1.2MiB
stash: ^C
KeyboardInterrupt: Exit: 0

Extracting archive file ...
Archive extracted.
Running setup file ...
TypeError("unsupported operand type(s) for +: 'OmniClass' and 'list'")
Failed to run setup.py
Fall back to directory guessing ...
Error: Cannot locate packages. Manual installation required.
stash: ^C
KeyboardInterrupt: Exit: 1

is this a quick fix or Is this never going to work because the package will need C libraries?

Looking at Languages on the right side of https://github.com/zeromq/pyzmq it appears that there is C, C++, and Cython code in that repository.  Given Apple's iOS security rules, this might be a blocker.  You might open an issue there to see if any Pythonista users in that community can help you.

Thanks Christian! There are some other similar issues in the queue here and it looks like the official answer is ' if it needs C libraries, it isn't (and won't be) supported' by pythonista. But I will reach out to someone at pyzmq. Thanks again :)

If your goal is to run 0mq, then you are out of luck.  If libzmq is not already installed as part of pythonista, or along with iOS, then it will not be runnable without jailbreak.
If your goal is to simply be able to have autocomplete for developing on iOS for execution elsewhere, then there may be ways to install pyzmq, but basically just as a non functioning wrapper.


[codegen] rename the default codegen tagged template literal from graphql to gql for better editor support

fixed by https://github.com/data-eden/data-eden/issues/110


dependencies

Would be really nice if you could update the pkg deps.
E.g. flutter hooks is now at version 0.20.3.
Many thanks for the work anyway. Very nice.

Hey @biancashouse
Fixed on v0.1.6
Thanks for your patience.
Nifemi.


(FACT-1238) Acceptance test, hostname as FQDN

This commit adds an acceptance test to validate that facter
correctly honors the hostname value if it is set as an FQDN.

Does AIX have a valid hostname command?

@branan
[0] [AIX] root@pe-aix-53-acceptance:~ # which hostname
/usr/bin/hostname

cc @whopper @joshcooper @kylog
Remaining facter AIX pr

:+1:


Jump to Mesos sandbox from UI

It would be fantastic to be able to jump to the relevant Mesos sandbox for the task in the task list view.

+1

Currently in Allegro Group we are working on this.
See below visualization for this feature.

What do you think?

@MarathonDevs - what do you think about the labels?
I think that we could put empty header and Sandbox link in each row. It'll be consistent with Mesos UI.

@quamilek that's great to hear! We'd be really interested to see more.
@kamilchm I've just done a bit of hallway testing, the consensus seems to be that it would be neat either to have a separate row, or to link to the sandbox directly from the node name (mesos-slave1.local:12345 in this case). The extra column consumes space, and the sort option is a little confusing.

@philipnrmn maybe we can inline this link after the node name? I think that node name with port alone is a valuable information and personally I would leave it as it is.

I'm working on this (here you can see progress). Simply I extended MarathonTask with field that contains URL to sandbox, it's populated in DefaultTaskFactory.scala with information from offer. I've problem with obtaining mesos api host and port. On first sight it could be config.mesosMaster but it's zk address.
What is the best way to get mesos api url in Marathon?

I prepared two proposal of link location
1. located after node name:

2. located on task details page:

@quamilek thanks for your suggestions, we are going to look into the best solution for this shortly!

https://github.com/mesosphere/marathon/pull/1882

https://github.com/mesosphere/marathon-ui/pull/114


nextcloud27: 27.1.1 -> 27.1.2

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

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

1 package built:

nextcloud27

Sucessfully deployed and it's working. But I get the following warning in the admin overview page:

Your web server is not properly set up to resolve "/ocm-provider/". This is most likely related to a web server configuration that was not updated to deliver this folder directly. Please compare your configuration against the shipped rewrite rules in ".htaccess" for Apache or the provided one in the documentation for Nginx at it's documentation page ↗. On Nginx those are typically the lines starting with "location ~" that need an update.

Maybe a change to the nginx config is necessary in the module

could be this commit https://github.com/nextcloud/server/commit/6200c914a304be2ed91a9242112956b5c5724c2d

Looks like others are having the same issue https://github.com/nextcloud/server/issues/40803

I think this doc change is relevant for us https://github.com/nextcloud/documentation/pull/11179/files
In fact removing the redirect fixed the admin message for me

Please pick to fix the warning https://github.com/SuperSandro2000/nixpkgs/commit/a5624e484d61008ecdf75c0b7ce32037294b9641

fwiw this patch can't be applied as-is since it'd break nextcloud26 (also 25, but that's almost EOL, so it doesn't count). I started fixing that, but it may take me a day until I can submit the patches :)

Superseded by #259967.


Silos for #280

Hi I have created two types of silos. They are both 96x96 pixels in dimension with transparent backgrounds

Hi 123survesh! I do like them. There is an issue though: the pixels are not 1x1 but upscaled so the size of the object is kind of small in reality. This constraint is unfortunately in our CONTRIBUTING.md which is there to keep a consistent look throughout the repository.

Yep, I did upscale a small file to 96x96.
I will try creating sprites in a 96x96 document
I have one doubt, will the dpi be a problem here? What dpi setting would be good?


Add Node 8 to smoke test matrix

Currently failing on Node 8 with this error during step "Deploy Smoke Test resources and prepare samples":
Trace: [Internal Error] TypeError: Symbol.asyncIterator is not defined.

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=855007&view=logs&j=f3570516-c8fe-5ce9-92b2-b737df25d5ea&t=a10078d5-892b-5ac0-5975-0e8bfc994272&l=17

/azp run js - smoke-tests

/azp run js - smoke-tests

/azp run js - smoke-tests

/azp run js - smoke-tests

/azp run js - smoke-tests

/azp run js - smoke-tests

/azp run js - smoke-tests

/azp run js - smoke-tests

/azp run js - smoke-tests


get request body from serverWebExchange is empty

i want get request body from ServerWebExchange，use spring-boot-starter-parent 2.1.0.RELEASE + Spring Cloud Greenwich.M3 request body always null，but in spring-boot-starter-parent 2.0.6.RELEASE + Spring Cloud Finchley.SR2 request body is correct，i don‘t not why？this is my sample，gateway-sample and the pom.xml，this problem occurs in custom gateway filter，I will appreciate your help.

That is strictly webflux. There is nothing specific to gateway. I'd ask on stack overflow for webflux.

I meet this question too

me too

I meet this question too. Are you resolve it?


cgi-bin/ipp-var.c: Use "guest" user for Move Job when no REMOTE_USER given

cgi-bin/do_job_op() sets user to "guest" if REMOTE_USER isn't set.  However, cgiMoveJob() (in cgi-bin/ipp-var.c) returns 401/Unauthorized if REMOTE_USER isn't set.  This inconsistent behavior leads to the following issue:
If an administrator wants to allow unfettered access to allow unauthenticated users to perform administration functions, they can do this by removing Require user entries from cupsd.conf.  (We can debate the wisdom of this sort of configuration, but I have a customer who wants to do this.)  This works for everything but the "Move Job" operation in the "Jobs" page.  Because cgiMoveJob() returns 401, it is impossible to move the job using the Web UI.  This patch fixes that.
With the patch applied and Require user entries removed from cupsd.conf, unauthenticated users can move print jobs using the Web UI.
With the patch applied and the default cupsd.conf, authentication occurs later in the process of moving a print job, through the following sequence of events:

Go to the "Jobs" page (http://<lhost>:631/jobs/)
Press "Move Job" -- the page with the destination list is shown
Select a destination and press "Move Job" -- the "Upgrade Required" page is shown and the browser is redirected back to the "Jobs" page (https://<host>:631/jobs/.
Press "Move Job" again -- page with destination list is shown
Select a destination and press "Move Job" -- browser prompts for authentication
Enter credentials -- job is moved

Although this path seems a bit circuitous, it's not dissimilar to the process needed to modify a printer, where navigating to a printer page (http://<host>/printers/<printer>) and selecting "Modify Printer" from the "Administration" drop-down results in an "Upgrade Required" redirect to the "Administration" page (https://<host>:631/admin/)

Hi Bryan,
thank you for the PR!
I'm able to reproduce the issue with our latest upstream revision by steps (being in CUPS github repository root):
(0. get CUPS development files installed)
1. $ ./configure --enable-webif
2. $ make
3. $ sudo make install
4. remove 'Require user' lines from /etc/cups/cupsd.conf
5. add 'FileDevice Yes' into /etc/cups/cups-files.conf
6. start cupsd (in my case `$ sudo systemctl start cups`)
7. $ lpadmin -p test1 -v file:/tmp/ps1 -m drv:///sample.drv/generic.ppd -E
8. $ lpadmin -p test2 -v file:/tmp/ps2 -m drv:///sample.drv/generic.ppd -E
9. $ cupsdisable test1
10. $ lp -d test1 examples/testfile.ps

Then I went to CUPS web UI at localhost:631, jobs panel, where the job is showed being stuck in test1 queue -> clicked on 'Move job' and the UI wanted a credentials from me, even if the lines 'Require user' are removed from cupsd.conf.
Ad the patch, I'm not sure whether we want to enable this - if it is enabled, anyone with access to web ui can redirect any held jobs to the print queue of their liking, especially with combination anyone can create a queue via web interface...

Ad the patch, I'm not sure whether we want to enable this - if it is enabled, anyone with access to web ui can redirect any held jobs to the print queue of their liking, especially with combination anyone can create a queue via web interface...

That's the point, though.  If I've removed all of the Require user lines, then I have explicitly configured CUPS to allow anyone to be able to do anything.  But without the patch they can't do this one operation.

That's the point, though. If I've removed all of the Require user lines, then I have explicitly configured CUPS to allow anyone to be able to do anything. But without the patch they can't do this one operation.

What I mean is I'm not sure whether the core of issue is we don't have a last line of defense of all other operations except for moving the job, or if the moving of the job is the only one which still wants the creds even against the conf says otherwise.
IIRC some applications have such a last line of defense for the functionality, which can lead into critical malfunction or leak of important data. I don't know yet which approach we take in CUPS regarding this or if moving the job is critical enough to prevent an unauthenticated access even if the conf says otherwise.
@michaelrsweet wdyt?

@zdohnal As long as we retain the same level of security as, say, Cancel-Job, then this should be fine. But we want to make sure that is the case (of course)...

Thank you for the review @michaelrsweet !
Thank you for the update and the PR, @bmasonrh !


optional_top_level_keys - unexpected outcome when coupled with json_path & envelope_keys

@ryandeivert see internal branch for details and repro

You know things are working with integrations tests fully pass


villager Rolling

I don't know how to program in java... so I have no idea how to make a villager trading roller automatic with the provided functions,
could you help me out here?

well by java i mean your scripting language java-scripting-language
Public

You should better join matrix, github issues is not the best place for things like this

ok

BW, did you watch tutorial video? I show examples here from very simple scripts to pretty complex.

Thanks 😊
I mean video dedicated specifically to Villager Roller. If you understand programming basics you should be able to adjust scripts I am showing here

ho i didnt notice you had more vidoes lol
yeah ima take a look thx for the info!
and yeah i use javascript, html and some css sometimes c#

My scripting language is more similar to C# than to Java

alright then, I better get to making lol, thx

so i have a problem with the mod.. i cant see any of the text that should be displayed like when i make this script, i dont have any visual display on my screen

or when im using the villagerRoller, i dont get any text displayed to my screen

This script is for Status Overlay module, not for Event Scripting.

i still dont have any display but thats fine

Does ESP works for you? Maybe you disabled it with default key \

yes esp works

i got the villager roller to work so thats a +


Optional Header & Footer disable (display content only) for embedded environments with query params

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Motivation

I'm planning to use my docs site for other app's help panel with iframe embed. The problem is that it show the docs site as-is, not optimized for panel embedding.
These are the things I want to configure with extra query params provided

?theme=dark
?header=0
?footer=0

So for example, the final url for the embedding would be , e.g., https://grida.co/docs/with-figma/guides/how-to-get-personal-access-token?theme=dark&header=0&footer0
Self-service

[ ] I'd be willing to do some initial work on this proposal myself.

Hi
Docusaurus outputs static files, for which the header/footer is always present.
It is not possible to use a query string to dynamically create a different HTML output without the layout elements.
However it should be technically possible to read the query string on page load, and immediately hide the layout elements using JS + CSS through a Docusaurus client module with code like this:
import ExecutionEnvironment from '@docusaurus/ExecutionEnvironment';

if (ExecutionEnvironment.canUseDOM) {
  const queryString = new URLSearchParams(window.location.search);
  if (queryString.get('navbar') === '0') {
    const navbar = document.getElementsByTagName('nav')[0]!;
    navbar.style.display = 'none';
  }
}

Note this is pseudo code and you'll have to figure out the details if you want to use this solution.

But it doesn't take into consideration multiple things, including the fact that you have to define the behavior you want when you navigate through a link inside your document:

should it navigate the iframe directly
and how will that qiuerystring be preserved on the target URL?
should it open the link in a new tab?
should it send a postMessage to parent so that it can act on it?

For all these reasons I believe we need a proper solution for embedding documents in an iframe, that is flexible enough to allow you to define exactly the behavior you want here.
My idea for a proper official solution would be to have a "document variant" API where you can create alternative HTML static outputs for the same file.
So I'm closing this issue in favor of https://github.com/facebook/docusaurus/issues/7480


Update jsoniter-scala-core, ... to 2.4.1

Updates

com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-core
com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-macros

from 2.2.6 to 2.4.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.plokhotnyuk.jsoniter-scala" } ]

labels: library-update, semver-minor

Superseded by https://github.com/almond-sh/almond/pull/596.


Update the RBE images to the latest container versions

Automated PR created once per week to get the latest Docker images.
See https://github.com/tensorflow/tensorflow/blob/master/.github/workflows/update-rbe.yml

Good to go


Crash when compiling: Null check operator used on a null value: TypeBuilderComputer.visitTypeParameterType

Hi,
Working on one of my Dart projects a few days ago I started to regularly see the exception below when I try to compile the project. It happens when I run a Flutter application in debug mode but also when I run a Dart unit test (without Flutter dependencies, therefore I assume the cause is not Flutter related). After cleaning the project (by deleting the .dart_tool directory and running dart pub get), I can run the test or application again. But then if I change anything in the code and try to run it again, I get the same exception (and need to clean again before retrying).
I am not sure how to go about resolving this problem. I assume I added something to the code at some point that triggers these crashes. However, the code base is quite large, split to several packages, hard to narrow down to what the cause may be. The error message and the stack trace does not give me any pointers to where in my code the problem originates from.
I may start looking into how to run the Dart compiler in debug mode and see if I can figure out more, but that seems like a huge task to get going with. I thought I could first ask the question here, maybe I get some directions...
Thanks!
Unhandled exception:
Crash when compiling:
Null check operator used on a null value

#0      TypeBuilderComputer.visitTypeParameterType (package:front_end/src/fasta/kernel/type_builder_computer.dart:179:50)
#1      TypeParameterType.accept (package:kernel/ast.dart:12528:42)
#2      TypeBuilderComputer.visitFunctionType (package:front_end/src/fasta/kernel/type_builder_computer.dart:131:46)
#3      FunctionType.accept (package:kernel/ast.dart:11481:42)
#4      DillLoader.computeTypeBuilder (package:front_end/src/fasta/dill/dill_loader.dart:338:17)
#5      DillTypeAliasBuilder.type (package:front_end/src/fasta/dill/dill_type_alias_builder.dart:62:44)
#6      TypeAliasBuilderImpl.unaliasDeclaration (package:front_end/src/fasta/builder/type_alias_builder.dart:234:58)
#7      SourceTypeAliasBuilder.buildTypedefTearOffs (package:front_end/src/fasta/source/source_type_alias_builder.dart:248:43)
#8      SourceLibraryBuilder.installTypedefTearOffs (package:front_end/src/fasta/source/source_library_builder.dart:5152:19)
#9      SourceLoader.installTypedefTearOffs (package:front_end/src/fasta/source/source_loader.dart:1837:17)
#10     KernelTarget.buildOutlines.<anonymous closure> (package:front_end/src/fasta/kernel/kernel_target.dart:516:14)
<asynchronous suspension>
#11     withCrashReporting (package:front_end/src/fasta/crash.dart:133:12)
<asynchronous suspension>
#12     KernelTarget.buildOutlines (package:front_end/src/fasta/kernel/kernel_target.dart:404:12)
<asynchronous suspension>
#13     IncrementalCompiler.computeDelta.<anonymous closure> (package:front_end/src/fasta/incremental_compiler.dart:408:33)
<asynchronous suspension>
#14     IncrementalCompiler.compile (package:vm/incremental_compiler.dart:75:50)
<asynchronous suspension>
#15     FrontendCompiler.compile (package:frontend_server/frontend_server.dart:604:11)
<asynchronous suspension>
#16     listenAndCompile.<anonymous closure> (package:frontend_server/frontend_server.dart:1316:11)
<asynchronous suspension>

> flutter doctor -v
[√] Flutter (Channel stable, 3.13.2, on Microsoft Windows [Version 10.0.22621.2215], locale en-US)
    • Flutter version 3.13.2 on channel stable at C:\Users\mapro\development\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ff5b5b5fa6 (12 days ago), 2023-08-24 08:12:28 -0500
    • Engine revision b20183e040
    • Dart version 3.1.0
    • DevTools version 2.25.0

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\mapro\AppData\Local\Android\Sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = C:\Users\mapro\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.6.5)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.6.33829.357
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2022.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)

[√] IntelliJ IDEA Community Edition (version 2023.2)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2022.3.1
    • Flutter plugin version 75.1.4
    • Dart plugin version 232.9559.10

[√] VS Code (version 1.81.1)
    • VS Code at C:\Users\mapro\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.68.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22621.2215]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 116.0.5845.141
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 115.0.1901.203

[√] Network resources
    • All expected network resources are available.

• No issues found!

Hi!
I see that a fix has been committed.
May I please ask for an example of what kind of a code construct is causing this crash? I may try to avoid using that until the fix makes it to a released version.
Thanks!

There are various ways of triggering this, but none of them easily. All seem to require at least a typedef that contains a type variable not declared by a class nor a typedef. For instance the type variable T declared a function type:
typedef F = void Function<T>(T);

I am constantly getting this issue with Flutter 3.19.3 and Dart 3.3.1 to the extent that making any work with Flutter/Dart is barely possible!
[+1016 ms] Unhandled exception:
[   +1 ms] Crash when compiling:
[        ] Null check operator used on a null value
[        ] #0      _TypeBuilderComputerHelper.visitStructuralParameterType (package:front_end/src/fasta/kernel/type_builder_computer.dart:242)
[        ] #1      StructuralParameterType.accept1 (package:kernel/ast.dart:12766)
[        ] #2      _TypeBuilderComputerHelper.visitFunctionType (package:front_end/src/fasta/kernel/type_builder_computer.dart:169)
[        ] #3      FunctionType.accept1 (package:kernel/ast.dart:11598)
[        ] #4      _TypeBuilderComputerHelper.visitFunctionType (package:front_end/src/fasta/kernel/type_builder_computer.dart:186)
[        ] #5      FunctionType.accept1 (package:kernel/ast.dart:11598)
[        ] #6      _TypeBuilderComputerHelper.visit (package:front_end/src/fasta/kernel/type_builder_computer.dart:77)
[        ] #7      TypeBuilderComputer.visit (package:front_end/src/fasta/kernel/type_builder_computer.dart:37)
[        ] #8      DillLoader.computeTypeBuilder (package:front_end/src/fasta/dill/dill_loader.dart:353)
[        ] #9      DillTypeAliasBuilder.type (package:front_end/src/fasta/dill/dill_type_alias_builder.dart:61)
[        ] #10     SourceTypeAliasBuilder._checkCyclicTypedefDependency (package:front_end/src/fasta/source/source_type_alias_builder.dart:154)
[        ] #11     SourceTypeAliasBuilder._checkCyclicTypedefDependency (package:front_end/src/fasta/source/source_type_alias_builder.dart:175)
[        ] #12     SourceTypeAliasBuilder._checkCyclicTypedefDependency (package:front_end/src/fasta/source/source_type_alias_builder.dart:210)
[        ] #13     SourceTypeAliasBuilder.build (package:front_end/src/fasta/source/source_type_alias_builder.dart:91)
[        ] #14     SourceLibraryBuilder._buildOutlineNodes (package:front_end/src/fasta/source/source_library_builder.dart:3666)
[        ] #15     SourceLibraryBuilder.buildOutlineNodes (package:front_end/src/fasta/source/source_library_builder.dart:1149)
[        ] #16     SourceLoader.buildOutlineNodes (package:front_end/src/fasta/source/source_loader.dart:2583)
[        ] #17     KernelTarget.buildOutlines.<anonymous closure> (package:front_end/src/fasta/kernel/kernel_target.dart:446)
[        ] <asynchronous suspension>
[        ] #18     withCrashReporting (package:front_end/src/fasta/crash.dart:133)
[        ] <asynchronous suspension>
[        ] #19     KernelTarget.buildOutlines (package:front_end/src/fasta/kernel/kernel_target.dart:385)
[        ] <asynchronous suspension>
[        ] #20     IncrementalCompiler.computeDelta.<anonymous closure> (package:front_end/src/fasta/incremental_compiler.dart:366)
[        ] <asynchronous suspension>
[        ] #21     CompilerContext.clear (package:front_end/src/fasta/compiler_context.dart:139)
[        ] <asynchronous suspension>
[        ] #22     IncrementalCompiler.compile (package:vm/incremental_compiler.dart:77)
[        ] <asynchronous suspension>
[        ] #23     FrontendCompiler.recompileDelta (package:frontend_server/frontend_server.dart:943)
[        ] <asynchronous suspension>
[        ] #24     listenAndCompile.<anonymous closure> (package:frontend_server/frontend_server.dart:1381)
[        ] <asynchronous suspension>
[  +58 ms] the Dart compiler exited unexpectedly.


Reduces the usage of raw-types

All Tests passed. More work should be done, to insure type-safety.

failed to build with openjdk 6.0, I will fix it and submit a new pull request


NX parameter missing for EXPIRE command

According to https://redis.io/commands/expire the EXPIRE command can have the NX parameter.
I can't find a command like ExpireNX() or a parameter for Expire()
Am I missing something ?
Thanks 🙏

Yes, it is a new option added by redis7.0, go-redis has not been updated yet.

Can I push a PR with this new method or usually the maintainers are developing all the new features of an engine all at once?

Yes, welcome

Can I push a PR with this new method or usually the maintainers are developing all the new features of an engine all at once?

If you perform unit tests locally, you can try this tool (grte), it is still in the testing phase

when are u planning to release the new version @DaemonSnake


updating to v19-rc.0 cli breaks ng serve

Which @angular/* package(s) are the source of the bug?
compiler-cli
Is this a regression?
Yes
Description
After running ng upddate @angular/cli --next to go from -next.10
I goit this error:

reproduction:
pull this branch from my repo: Pull this branch from my repo: https://github.com/SanderElias/Samples/tree/Before_standalone_true_migration
npm ci
 ng update @angular/cli --next
 npm run build.lib  # those are needed for the samples app
 ng serve samples

Please provide a link to a minimal reproduction of the bug
Pull this branch from my repo: https://github.com/SanderElias/Samples/tree/Before_standalone_true_migration
Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 19.0.0-rc.0
Node: 22.7.0
Package Manager: npm 10.8.2
OS: linux x64
Angular: 19.0.0-rc.0
... animations, cli, common, compiler, compiler-cli, core
... elements, forms, language-service, platform-browser
... platform-browser-dynamic, platform-server, router, ssr
Package                         Version
@angular-devkit/architect       0.1900.0-rc.0
@angular-devkit/build-angular   19.0.0-rc.0
@angular-devkit/core            19.0.0-rc.0
@angular-devkit/schematics      19.0.0-rc.0
@schematics/angular             19.0.0-rc.0
ng-packagr                      19.0.0-next.3
rxjs                            7.8.1
typescript                      5.6.2

@SanderElias, I attempted to run the reproduction but encountered several challenges.

I couldn't run ng update due to the presence of multiple private packages.
There are numerous compilation errors even before the update.

@alan-agius4

Ah, that is another problem; those packages are not private but part of the Deno std library. Those are installed with:

npx jsr add @std/toml
npx jsr add @std/front-matter

But yes, I must remove those before I can run ng update.  Then afterward, I need to add them back because I use those.
As npm i has no issue with those packages, I'm unsure why ng update breaks on those.

Sorry. I think I forgot to put in the npm run build.lib command to build the libs needed by the app.  I'll update the issue to to add those.

Thanks, managed to replicate the problem and it appears that the `✘ [ERROR] No matching export in "src/main.server.ts" for import "default" error was an artifact of the other error which was solved via https://github.com/angular/angular-cli/pull/28767


fix(multi-select-menu):   #589 SelectMenu with multiselect allows selecting …

…the same item many times with keyboard

@solon-aguiar

Okay. I will update the files and the pull request.

@mshwery I have updated the changes and given support for key as well as keyCode.


Update setup-node and enable npm cache

Changes:

Updates action/setup-node from 2.1.5 to 2.2.0
Enable the built-in cache for npm packages

Context:
The action now comes with built-in functionality to cache the npm packages.
This might speed up the execution of the action. 😉
Release notes for this update: https://github.com/actions/setup-node/releases/tag/v2.2.0

I'm not sure if caching the npm packages is a smart thing to do, since it depends on always having an up to date electron-releases.

Might as well close this and merge the Dependabot PR #85 instead. 😉


How to change CameraController.value.aspectRatio 16:9 to 4:3

My phone is Pixel 3.
I make 4 : 3 aspectRatio Camera App.
but defalut is 16 : 9
AspectRatio(                 aspectRatio: 1,                 child: ClipRect(                   child: Transform.scale(                     scale: 1 / 0.75,                     child: Center(                       child: AspectRatio(                         aspectRatio: 0.75,                         child: CameraPreview(_cameraController),                       ),                     ),                   ),                 ),               ),
this code is CameraPreview has 3 : 4 aspectRatio.

Related https://github.com/flutter/flutter/issues/15953

I read that.
but can't change picture's aspectratio...


S3 Bucket constructor

Expected result: troposphere.s3.Bucket constructor accepts template as a second parameter.
Actual result: troposphere.s3.Bucket constructor does not accept template as a second parameter.
Example of code that should work:
template = Template()
Bucket(
    'PlaylistsFailoverS3Bucket',
    template,
    AccessControl=Private,
    BucketName="test-bucket",
)

s3.Bucket() has a custom __init__.py which does not support template or validation parameters. This is likely due to it being a historical implementation prior to a more uniform way to handle validation. This needs to be refactored and fixed.

What about such fix: https://github.com/cloudtools/troposphere/compare/master...Tonkonozhenko:master ?

The fix would be removing __init__(), moving the AccessControl validation logic into a validate() method, and validating (or adding) tests.


Build Fails due to c++ compilation failure

I get the following error building from source:
C++ compilation of rule '@org_tensorflow//tensorflow/compiler/xla/python:bfloat16' failed (Exit 1)
The whole build fails because of this and I am unsure where to look for a fix. I'm building on a macos, here are the environment packages:
absl-py==0.9.0
appdirs==1.4.4
appnope==0.1.0
attrs==19.3.0
autopep8==1.5.3
backcall==0.2.0
black==19.10b0
click==7.1.2
Cython==0.29.21
decorator==4.4.2
flake8==3.8.3
ipython==7.16.1
ipython-genutils==0.2.0
jaxlib==0.1.51
jedi==0.17.1
joblib==0.15.1
mccabe==0.6.1
mypy==0.780
mypy-extensions==0.4.3
numpy==1.18.5
opt-einsum==3.2.1
parso==0.7.0
pathspec==0.8.0
pexpect==4.8.0
pickleshare==0.7.5
prompt-toolkit==3.0.5
ptyprocess==0.6.0
pycodestyle==2.6.0
pydocstyle==5.0.2
pyflakes==2.2.0
Pygments==2.6.1
regex==2020.7.14
scikit-learn==0.23.1
scipy==1.4.1
six==1.15.0
snowballstemmer==2.0.0
threadpoolctl==2.1.0
toml==0.10.1
traitlets==4.3.3
typed-ast==1.4.1
typing-extensions==<IP_ADDRESS>
wcwidth==0.2.5

Not sure what other information would be helpful. Thanks.

Can you share a few more details? What version of JAX are you building, and can you share the output of the build?
(Note also that we recommend using the prebuilt jaxlib wheels.)

No response; closing.


Fix NPE issue when setting system to readonly manually

cherry-pick pull

Codecov Report

Merging #11166 (84423a8) into master (7e878aa) will decrease coverage by 0.07%.
Report is 9 commits behind head on master.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master   #11166      +/-   ##
============================================
- Coverage     47.62%   47.56%   -0.07%
+ Complexity    23615    23613       -2
============================================
  Files          2785     2787       +2
  Lines        170054   170248     +194
  Branches      20269    20287      +18
============================================
- Hits          80994    80979      -15
- Misses        89060    89269     +209

Files Changed
Coverage Δ

...ol/thrift/impl/DataNodeInternalRPCServiceImpl.java
3.38% <0.00%> (ø)

... and 37 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Latest Berkeley DB (v6+) compatibility fix

The current version of the db.cpp fails when compiled with libdb 6:
db.cpp: In member function ‘void CDBEnv::EnvShutdown()’:
db.cpp:42:16: error: call of overloaded ‘DbEnv(int)’ is ambiguous
         DbEnv(0).remove(strPath.c_str(), 0);

Why use Berkeley DB when we have Level-DB, that is a step back?
Btw: I am interested in adding Tokyo or Kyoto Cabinet support as I like that kv-store impl.

Why use Berkeley DB when we have Level-DB, that is a step back?

Isn't Berkeley DB already in the code since the beginning?

Yes, it is as I found hard when compiling for windows. And apparently it is used for wallet file to stay compatible. If wallet is opened using new BDB, it will not be recognized by old version.


Action items for website  data files

pombase.org/data/releases/latest/misc

Which files are linked to for data downloads (note to nightly releases)
From the misc directory (the misc directory is only there for linking)

Which files are important
a) Which are copied to the ftp site
b) Which ones aren't (who are the users)
Note: People might automate downloads by using the /misc directory

remove the link to the nightly updates (data) directory (link to latest release)

Change links from annotations from nightly to release
(update the webpage)

README for each release directory (sentence and link to website documentation)

5.Long term plan it to ideally remove data/annotations  so we need to  work out who is using this.

closing for
https://github.com/pombase/website/issues/2058


New package: compuphase.pawn version 4.1.7152

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[x] Resolve #156108

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

The file was not found. Verify git path must match with the casing of the file in disk. Not found file on 'manifests\c\compuphase\pawn\4.1.7152\compuphase.pawn.installer.yaml'

@wingetbot run

Verify:


Message actions popover can appear off-screen with keyboard shortcut.

If you have a longer message selected / expanded so that the top part of the message is off-screen, and you use the keyboard shortcut I to access the message actions popover, then it is rendered partially off the screen.

As a solution, we would like to scroll the message into view and then trigger the popover.

@zulipbot claim

@zulipbot abort

@zulipbot claim


Android chrome not prompting camera

On my existing PWA the camera works fine, but on a different branch it never prompts me to use the camera. We saw this issue with someone else earlier this week.

getting this error on inspect, Scanner-e71023fa.js:1 Uncaught (in promise) Camera not found. will look into it

Is this new? https://stackoverflow.com/questions/77164053/chorme-android-installed-pwa-not-asking-for-camera-permissions

Seems that maybe the camera was auto blocked, I can adjust the site settings by accessing them in the browser


Update README to outline the purpose of this project

Based on the meeting on 27.03.20 it was stated that the purpose of this project is for internal use of MoH.
@yohane55 - do you agree with this? If so, README should be updated to make this clear for new comers

OK I will update it now


Connectivity broken between few hosts during upgrade , which caused etcd container to be stuck in "Initiliazing" state forever.

Rancher Versions:v1.4.1
Deploy K8s env and deploy few user pods.
Point "Library" catalog to - https://github.com/rancher/rancher-catalog branch - v1.4.3-updates.
Upgrade  ipsec , network-manager and K8s stack that have "upgrade required" option.
I upgraded ipsec service after which network-manager was upgraded , followed by K8s stack.
Even when ipsec service was getting upgraded , one of etcd containers got to "Initializing" state and continued to remain in this state.
At this point , this etcd container was not able to reach other etcd containers.
Also at this point , DNS resolution from user pods was not functional. But was able to ping google using ip address. So connectivity between few sets of hosts were fine but few others seems to have been broken.
Even after upgrading the network-manager and K8s stacks , etcd continues to be in "Initializing" state.
After a while ( almost 1hour from the time it lost connectivity) , connection was restored by itself.
At this point , DNS resolution from user pods also started succeeding.

@sangeethah Do you think we can close this issue with the recent networking fixes?

Closing this out


How can I clear content or restart a conversation on widget ?

function CustomWidget = () => {
return (
<Widget
initPayload={"/get_started"}
socketUrl={"http://localhost:5500"}
socketPath={"/socket.io/"}
customData={{"language": "en"}}
title={"Title"}
/>
)
}

Setting the params
params={{
        storage: "session",
      }}

will delete your storage after closing your app or Tab (not on refresh). 😄

You can also manually clear the local storage on mount and on unmount to make sure that the state is always pristine. localStorage.chat_session = null

i have faced same issue but i have fix this using this command localStorage.clear(); check full integration here:
https://youtu.be/N_A7e16L6oc


dowhy_ihdp_data_example uses a local dataset

In the examples folder, the notebook  dowhy_ihdp_data_example.ipynb  loads data from a local path. Is it possible to add the official source where we can download it?
Thank you all for the effort put into this library.

Thanks for catching this, @RaulPL ! This should be fixed now.


remove glide flies and fixed package path

Issue #, if available:
Description of changes:
Removed glide.yaml and glide.lock files since we migrated to go.mod and fixed package path.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

I think, we should update ReadMe by removing instructions for installing repo through Glide.

Good call!


Allow passmanager.append(flowcontroller) instead of passes

As part of adding support for a BestOf pass manager flow controller, @kdk suggested the possibility of adding flow controllers to a pass manager.
I think that makes total sense.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: 1ucian0:x: Luciano BelloLuciano Bello seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


SPI 6-pin wiring

Hi,
I got a new 128x64 Pixel OLED Display 0,96 and I am very confused with the wiring.
The pins have the following names:

DC
RES
D1
D0
VCC
GND

When I look in the example I figured out following setting:

D5 -> CLK (D0)
D7 -> MOSI (D1)
D0 -> RES
D2 -> DC
D8 -> CS

Where to wire D8 aka CS? Somehow I can't find any solution to this.
Any hints would be appreciated.
bert
UPDATE: This is the display: http://www.ebay.de/itm/OLED-Display-SSD1306-SPI-0-96-weiss-128x64-Pixel-Arduino-Raspberry-3-5V-D19P-/172365881192

Okay I got it working. I just didnt used D8, even so its configured in the code:
SSD1306Spi        display(D0, D2, D8);


Question: securing queries

We would like to restrict some queries to read only on a given dataset, and ideally, with limited compute time (# cores, # s, ...). We are looking at the python API via the parquet loader then running ~match queries, where the match should be limited to some files / namespace. Curious to thoughts here?

In order to limit # cores/threads, you can use set_max_threads_for_exec in our Python API under connection.
To limit # seconds, if my understanding is correct, you are asking for a timeout mechanism in database which we haven't planned such a feature. A possible alternative is to time at the application level.
For limiting match to some files / namespace, currently we don't support multiple databases. So the best practice might be creating multiple database directory each of which contains the set of files you want to query against.

Let us know if you have further questions. We are happy to provide support if you encounter problems with your use case.

Thanks!
Yes, so looks like enforcing process timeouts is the only unknown for basic CIA security triad wrt having doable workarounds

Hi @lmeyerov, we recently introduced timeout mechanism in our release v0.0.3

Interesting, thanks!


Update package for CSS v3.0.0

Only the necessary import needed to be added. This is mostly a cleanup PR. Downgraded husky to the version that works with the package.json script.

Thanks!

May be not the good place.
How to install the solid-metadata-extender in community-server and with mashlib recipe ?

That would be https://github.com/solid/community-server-recipes/pull/8 🙂


Validation profiles

After feedback and discussion, we want to simplify running sets of tests, by removing the advanced flags for now and introducing "profiles" - pre-set groups of tests to run, such as "smoke", "quick", etc.

Can you rebase this PR

/canonical/self-hosted-runners/run-workflows 1c92120df55203aed81f472fb1ed8e06cc837f6f

/canonical/self-hosted-runners/run-workflows 72da3daa3eef828961008ea46772dcd9515b9172

/canonical/self-hosted-runners/run-workflows dfd9b2adf37d21b6220d46bc106066e137fc5480

/canonical/self-hosted-runners/run-workflows 802ddc0b14fde9e3dd6b6268af6f717c42a0844d


docs: init first sketch

This is a first sketch of user documentation for Aeneas to prove things with Lean.
This adds a factorial example with Alectryon and scaffolding from the Lean original project.

PTAL @sonmarcho I dropped the irrelevant parts.

@sonmarcho In principle, I updated to 4.11.0-rc2, let's see how it goes.

@pnmadelaine We will need a cache for the userdocs part because it will compile Mathlib4 in Nix and if we do it at each rerun, this will be very expensive.

This is great, thanks!! I will review and merge asap.

This is great, thanks! I put a few questions, and am also wondering: you mention that the files to process should be put in lean/basics/. But what about the other folders? For instance lean/bst?

I updated the docs, but there's a section on this.
Other directories that are not listed as roots of the literate Lean meta package does not get their Lean files processed.


Actions working depends on language

Todoist UI language: en – 'm' works correctly.
Todoist UI language: pl – 'm' does nothing.

Yes, currently it needs to find buttons by searching for the english text.  This is a known issue - https://github.com/mgsloan/todoist-shortcuts/blob/master/development.md#changes-to-todoist-that-would-be-very-helpful - I will email todoist folks about this soon.

Riight, just before you typed this, I dug into the code a bit, noticed why it doesn't work and pinged @amix that I'm sad my language isn't supported. Guess this one stays open until todoist decides to fix this on the backend.

Yes, there are a couple alternatives:

Assume the ordering of clickable elements and use indexes to click.  This seems risky particularly when changes are made to todoist.

Hardcode the expected text for all supported languages.  This seems like way too much work.

So I think the best option is if todoist can add different classes for each different button.  I hope this wouldn't be too much work, should be a quick refactoring, maybe an hour or two of work.

Note that every string that gets matched on has been pulled out into constants - https://github.com/mgsloan/todoist-shortcuts/blob/a3848af/src/todoist-shortcuts.js#L102 - so the minimal thing here would be for todoist to add classes for at least the buttons that have this text.  Ideally classes would be added to everything, though, as otherwise this problem will re-occur as more of todoist gets wrapped.

Please enable beta (From Settings => General) and you should have classes on menu items.
Do you need any other classes?

Awesome, I'll test it all out in the evening (CET) with the polish ui!

@amix classes for all the single task operations are now in place. However when multiple tasks are selected, the upper menu items still can only be found by text matching.
Please note: Schedule/Move to project/Priority/More… buttons need their own classes, as well as all the menu items under "More…", since Archive and Delete operations are currently supported for multiple tasks at once.
And while you're at it, maybe someone could replace the the three dots in "More..." with the actual unicode ellipsis character '…'? :)

@mmazur Looks like you've looked into this in depth!  Do you feel like making the change and opening a PR for it?  Would be much appreciated :)

@mgsloan @mmazur
In the upcoming beta the upper menu items will have classes (also the "More…" menu) 👍 👍


Put Azure CLI installation instructions at the right place

The remark "If the az command isn't recognized, ensure you have the Azure CLI installed as described in Prerequisites." should be right after the first time you use az. Currently it's after the second time.
[Enter feedback here]

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

ID: 64e750b6-a84d-c665-9bb3-167241a33d10
Version Independent ID: f22f673f-469c-e137-304b-aa92662e0790
Content: Quickstart: Deploy an ASP.NET web app - Azure App Service
Content Source: articles/app-service/quickstart-dotnetcore.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

Yes I know that added as further explanation.
My point is that the first time you will encounter this issue is not here, but at az login.


mingw/windows build fixes

coreneuron now build as submodule of neuron on windows and runs ring test:

@nrnhines : everything works if build static library of coreneuron (which is default). With shared library if I build as:
cmake ..  -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=`pwd`/install -DCOMPILE_LIBRARY_TYPE=SHARED

Then what produced is following and I get link error while running:

If I build as submodule then everything works because I believe Cmake of neuron has some extra settings that influence how libraries/dlls are generated.
Do you remember what we have done in NEURON to properly generate dlls?

I wonder if I'm using my own wrappers for dlopen, etc., implemented in
src/oc/cygwinprt.c. At least I see
$ nm libnrniv.dll.a |grep dlopen
0000000000000000 I __imp_dlopen_noerr
0000000000000000 T dlopen_noerr
0000000000000000 I __imp_dlopen
0000000000000000 T dlopen

and
$ grep DLFCN nrnconf.h
/* #undef HAVE_DLFCN_H */

and it is part of the liboc_la_SOURCES in nrn/src/oc/Makefile.am

And also look at how dlopen is declared in src/nrniv/nrnpy.cpp with
#ifdef MINGW
#define RTLD_NOW 0
#define RTLD_GLOBAL 0
#define RTLD_NOLOAD 0
extern "C" {
extern void* dlopen_noerr(const char* name, int mode);
#define dlopen dlopen_noerr
extern void* dlsym(void* handle, const char* name);
extern int dlclose(void* handle);
extern char* dlerror();
}
#else
//#define _GNU_SOURCE
#include <dlfcn.h>
#endif

@nrnhines : note that we are not using dlopen in coreneuron. The issue is coming from the fact that the lib directory only contains .dll.a files which are helper files but actual dlls are in build/coreneuron directory which are not being copied in bin directory:

Ok, got it! It's following CMake property:
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin)


[Feature] Service-specific ACKAddOns

Issue #, if available: 974
Description of changes:

Added service-specific ACKAddOn classes that are individually annotated with @supportsALL or @supportsX86 per ACK Registry
Added unit tests for each created addon that tests attempting to create the addon using an x86 builder (EksBlueprint.builder()) & an ARM builder (GravitonBuilder())

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@dwright20 please see my comment and let me know what you think. I mentioned an approach to simplify the design approach to make it easier for us to maintain. This has been open for a while.


Remove xray code for click to play

Reviewer: @Charlie-belmer  or @kzar

Description:
This was fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=1694679 so the regular code path works as intended.
https://app.asana.com/0/1176047645786601/1202155353194348/f
I've been testing on many sites and struggling to find the original breakage for this.
Steps to test this PR:

Automated tests:

[ ] Unit tests
[ ] Integration tests

Reviewer Checklist:

[ ] Ensure the PR solves the problem
[ ] Review every line of code
[ ] Ensure the PR does no harm by testing the changes thoroughly
[ ] Get help if you're uncomfortable with any of the above!
[ ] Determine if there are any quick wins that improve the implementation

PR Author Checklist:

[ ] Get advice or leverage existing code
[ ] Agree on technical approach with reviewer (if the changes are nuanced)
[ ] Ensure that there is a testing strategy (and documented non-automated tests)
[ ] Ensure there is a documented monitoring strategy (if necessary)
[ ] Consider systems implications

@jonathanKingston Oh, one other thing. It would be nice to also remove the references to fb-surrogate-xray.js from integration-test/data/configs/click-to-load-facebook.json and unit-test/data/clickToLoadConfig.json.

Only thing is, that Firefox bug was fixed with Firefox 89, but we so far support Firefox >= 65.0. I think this change also needs to disable CTP entirely for Firefox < 89 (or drop support for Firefox < 89).

Right but they will still work in some contexts. IIRC it's only when the tag is marked with "crossorigin" and even then I think we'd basically just be blocking rather than having a semi working experience.

Oh, one other thing. It would be nice to also remove the references to fb-surrogate-xray.js from integration-test/data/configs/click-to-load-facebook.json and unit-test/data/clickToLoadConfig.json.

That was actually intended to ensure that the code keeps working with the downloaded format. I think we should clear this up once we land this and then remove it from the remote file. Happy to remove before though.

Only thing is, that Firefox bug was fixed with Firefox 89...

Right but they will still work in some contexts. IIRC it's only when the tag is marked with "crossorigin" and even then I think we'd basically just be blocking rather than having a semi working experience.

Yea, I see what you mean. Fair enough, sounds good to me, sound OK to you @Charlie-belmer?

It would be nice to also remove the references to fb-surrogate-xray.js...

That was actually intended to ensure that the code keeps working with the downloaded format. I think we should clear this up once we land this and then remove it from the remote file. Happy to remove before though.

Ah right, got it. Hmm, I think my preference is still to remove those now.

Ah right, got it. Hmm, I think my preference is still to remove those now.
Raised https://app.asana.com/0/1201720254973470/1202164530144430 to track the removal from the config


Migrate sample applications off FlutterAppDelegate

Almost all real-world apps will want a custom app delegate, and 'flutter
create' code-gens one by default. This brings the samples in line with
our templates and the most common use case.

@chinmaygarde @xster


not work pug.renderFile

TypeError: /static/Main/Main.pug:5
3|   head
4|     meta(http-equiv='Content-Type', content='text/html; charset=utf-8')

5|     title= t('home.title')
6|     meta(name='format-detection', content='telephone=no')
7|     meta(name='viewport', content='initial-scale=1 user-scalable=no')
8|     meta(name='description', content='({ description })')

t is not a function

Here it seems to work: https://github.com/i18next/i18next-http-middleware/tree/master/example/basic-pug
Probably you are not setting the locals. Like here: https://github.com/i18next/i18next-http-middleware/blob/master/lib/index.js#L85
Please provide a reproducable example.

Here it seems to work: https://github.com/i18next/i18next-http-middleware/tree/master/example/basic-pug
Probably you are not setting the locals. Like here: https://github.com/i18next/i18next-http-middleware/blob/master/lib/index.js#L85
Please provide a reproducable example.

app.get('/', function (req, res, next) {
  return res.send(pug.renderFile(
    dir+'/static/Main/Main.pug',
    {
      title: 'Main',
      description: 'description',
      keywords: 'keywordssdsd232',
      req: req
    }
  ))
});

doctype transitional
html.js.no-touch
  head
    meta(http-equiv='Content-Type', content='text/html; charset=utf-8')
    title= t('home.title')

I need to use pug.renderFile for my cache system

pass t, like title...
t: req.t,
btw. i18next-express-middleware is deprecated, use i18next-http-middleware instead

pass t, like title...
t: req.t,
btw. i18next-express-middleware is deprecated, use i18next-http-middleware instead

Thanks!


Add ignore_cache option to POST /matrix

Changes
These changes add the input parameter ignore_cache to the POST /matrix endpoint. The parameter determines the following behavior in the Driver:

if True, RequestHash._hash_request will non-deterministically compute a request hash to avoid a cache hit
if False, RequestHash._hash_request will compute the request hash normally (deterministically)

Design
Currently, there is a need to test the service independent of its caching mechanism in order to test all of its components and gather comprehensive performance metrics. Furthermore, not all errors are captured during processing which may result in a "hanging" request stuck in the "In Progress" state. The ignore_cache flag solves these issues by providing a bypass to the caching mechanism to:

Run tests independent of the caching mechanism
Rerun "stuck" or corrupt requests

An alternative solution to resolve (1) could be to delete requests issued by tests which is the current implementation. This is a sufficient solution, however, the added benefit of (2) I believe justifies the value of the flag.

Why would we expose and document a public API for an internal use case? In addition, there are cache-control headers with no-cache options.

Is this exclusively an internal use case? I think it's reasonable for clients requesting a matrix to ignore_cache. What do you guys think?

As described, it's an internal use case. The service should not be serving stale resources which is one rationale for no-cache directives.
I could also imagine an attack on the service by a client which made the same request over and over again with ignore_cache set. For example - https://securityintelligence.com/dissecting-hacktivists-ddos-tool-saphyra-revealed/

I see. Would you recommend keeping the no-cache directive and hiding it behind a non-public API (potentially requiring authentication)? Or a different solution that does not involve the API (e.g. an internal tool to clear the cache)?

I'm not so sure this addresses use case (2). The request would remain forever stuck unless you always used ignore_cache.

I agree it's not a long-term solution for addressing unhandled errors/failures. For (2), this would be a one-time workaround. Maybe a non-public endpoint to clear the cache of a specific request hash (or set of input parameters) would be more appropriate. This could be used in tests to resolve (1), and we plan to resolve (2) using SQS to build more comprehensive error/failure handling

Decision to revise solution per discussion in this thread


[Socket.io] How to using socket.io with pm2 cluster mode

Is your feature request related to a problem? Please describe.
I'm using socket.io with pm2 cluster mode (4 instances), when the socket init on multiple nodes, it's can not merge all socket in one. I read docs https://socket.io/docs/v4/pm2/, but it's use http module. Please help me check this case. Thank you so much! 🙏
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
Acceptance criteria
No response

Hello @sonpham-bmd
You can try this solution:
import { createAdapter } from<EMAIL_ADDRESS>import { setupWorker } from<EMAIL_ADDRESS>
@Configuration()
class Server {
  @IO()
  private io: Server;

  $afterSocketListen() {
     this.io.adapter(createAdapter());

     setupWorker(this.io);
  }
}

See you

Note: Github discussion is more appropriate for this topic

Hello @sonpham-bmd
You can try this solution:
import {Server as IOServer, ServerOptions} from "socket.io";
import { createAdapter } from<EMAIL_ADDRESS>import { setupWorker } from<EMAIL_ADDRESS>
@Configuration()
class Server {
  @IO()
  private io: IOServer;

  $afterSocketListen() {
     this.io.adapter(createAdapter());

     setupWorker(this.io);
  }
}

See you

after add, server can not start.

ok I don't know why. did you start the process with pm2 ?

I run pm2 with ecosystem file js
module.exports = {     apps: [         {             name: '248-backend',             exec_mode: 'cluster',             instances: 2,             script: './dist/src/index.js',             args: 'start',             watch: true         }     ] }

ok I don't know why. did you start the process with pm2 ?

I run pm2 with ecosystem file js
module.exports = { apps: [ { name: '248-backend', exec_mode: 'cluster', instances: 2, script: './dist/src/index.js', args: 'start', watch: true } ] }

Ok can you create small repo example please.


Analytics or custom head tag

an ability to add analytics js files, and in general any custom head tag parts.
this is actually a question and an enhancement request if the answer is positive.

I had the same idea and solved it by modifying the exported libs/script/webpage.js file. Include this at the bottom of the file and change the window.onload function:
/*This function will load script and call the callback once the script has loaded*/
function loadScriptAsync(scriptSrc, callback)
{
    if (typeof callback !== 'function')
    {
        throw new Error('Not a valid callback for async script load');
    }
    var script = document.createElement('script');
    script.onload = callback;
    script.src = scriptSrc;
    document.head.appendChild(script);
}

function loadAnalytics()
{
    /* This is the part where you call the above defined function and "call back" your code which gets executed after the script has loaded */
    loadScriptAsync('https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX', function()
    {
        window.dataLayer = window.dataLayer || [];
        function gtag(){dataLayer.push(arguments);}
        gtag('js', new Date());

        gtag('config', 'G-XXXXXXXXXX');
        console.log("Analytics loaded");
    });
}

function loadHotjar()
{
    (function(h,o,t,j,a,r){
        h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
        h._hjSettings={hjid:XXXXXXX,hjsv:6};
        a=o.getElementsByTagName('head')[0];
        r=o.createElement('script');r.async=1;
        r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
        a.appendChild(r);
    })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
    console.log("Hotjar loaded");
}

window.onload = function()
{
    if (window.location.protocol == "file:") initializeForFileProtocol();
    initializePage(document);
    loadAnalytics();
    loadHotjar();
}

that's a good solution. but unfortunately, it doesn't help me. because I export the same vault periodically, and the plugin modifies the libs/script/webpage.js file on each export.
@KosmosisDire, if I understand it right, libs/script/webpage.js file doesn't really need to be modified on each export, does it?
The alternate solution I see, as I have hinted already, is to have a way to provide external snippets to be adjoined to libs/script/webpage.js file on each export.

The webpage.js file should not be modified on each export. In the past it was modified every time obsidian was reloaded, however that is no longer the case in the latest versions.
 I'm using v1.6.0. I checked it again, it DOES modify the webpage.js file for me. Do you mean the latest commits have solved this? if so, how do I update it in my vault?
also, does Obsidian update it automatically when you tag a new version?

Sorry I misunderstood the message and got mixed up. Yes you are right that the file is modified on export! This problem would be solved by this feature requesst: #152, but of course the best solution would be to add a specific way to include custom header html which is what I plan to do.

This feature has been added in 1.8.0! :)
If you find any issues please create a new issue
Thanks!


Pipeline for building web

turns out azure devops pipelines are too expensive for us

There won't be a web dedicated pipeline


MGDCTRS-1869 MGDCTRS-1870 Add missing config options to connector catalog

https://issues.redhat.com/browse/MGDCTRS-1869
https://issues.redhat.com/browse/MGDCTRS-1870

Hi @ani-sha, I added a comment to MGDCTRS-1870.  Ideally, we need an upstream change to the schema generation tooling to specify which debezium-storage-xxxx module's configuration needs to be loaded and appended to each of the connector's configuration definitions to return to what we had with Debezium 1.x.

@ani-sha @Naros You've missed calling the ./gen_templates.sh script that updates ./templates/cos-fleet-catalog-debezium.yaml. I will do this now.

Was this a manual edit? Or did you update the whitelist and triggered a schema generator build?
I'll look into this.


"Unable to refresh feed"

It's probably related to my machine being suspended, but the feeds (all of them at once) sometimes don't refresh right away and in details page I have:

Last refresh
[value bigger than 10] minutes ago
Last refresh message
Unable to refresh feed [feed URL] : [message]
Next refresh
in an [an hour or two]

Last time [message] was just the domain of the website, now it was "Network is unreachable".
I have refresh rate set for 10 minutes, logs looks the same as usual.
The problem remains even after restarting the server. After some time (less than hour, but still more than 10 minutes) it does start working again as normal.

I'm not sure what is happening, although I never installed CommaFeed on a serverthat was suspended.
Did you enable the headyLoad flag in the configuration by any chance?

heavyLoad is false

I think I found the issue, when an error occurs more than 3 times when fetching a feed, the next fetch happens after an hour instead of refresh interval defined in the config. It's useful for instances with thousands of users but it's not really needed for personnal instances.
I commited a change to enable this behavior only for instances with the heavyLoad flag enabled. Can you confirm it fixes your problem?

Great :)
Now we will need just to wait a day or two to see if this solved the issue

Seems to be working :)


fix: GitHub ref may have no leading slash

Check the "Semantic Release" step in this Action run:
2019-09-27T09:02:17.3889770Z GITHUB_REF=refs/heads/saga

That's why semantic release fails later with:
This test run was triggered on the branch undefined

The documentation also shows an example without slash:

GITHUB_REF: The branch or tag ref that triggered the workflow. For example, refs/heads/feature-branch-1. If neither a branch or tag is available for the event type, the variable will not exist.

I think https://github.com/pvdlg/env-ci/pull/101 is the more appropriate fix. Instead of making the leading / optional, I would remove it entirely and update the tests to reflect what GitHub Action is doing. There is no case where the leading / exists

Closed in favor of #101.


Host Plugin Support - allow specification of new backends

The reviewer should provide an extension mechanic to allow declaring new backends.

Resolved by #25


Different number of peaks when compared with ChIPseq ccbrpipeliner legacy version

Description of the bug
For example: When using data from CCBR1187 (Legacy version output:/data/CCBR/projects/ccbr1187/ChIPseq_Pipeliner_220803), CHAMPAGNE version 0.2.0 is producing considerably lower number of peaks for all peak calling tools.
Command used and terminal output
No response
Relevant files
No response
System information
No response

s

Sample: D1_STAT5_1: Legacy peaks: 15231; CHAMPAGNE peaks:126
Number of reads in the ingoing BAMs (surviving reads was very comparable between Legacy vs CHAMPAGNE).
loading MACS2 module and recalculating peaks with the same -t and -c BAMS yields: Legacy: 124 and CHAMPAGNE: 126. So, with newer version of MACS2, we are able to reproduce CHAMPAGNE peak calling results atleast for macs2 narrow peaks.

creating new conda env with older version of MACS2 for testing .. the older version is no longer availabe on biowulf!

% conda create -n macs_<IP_ADDRESS>60309 python=2.7
% pip install pysam==0.9.0
% pip install numpy
% pip install MACS2==<IP_ADDRESS>60309

Testing using the same -t and -c BAMs as before with both Legacy (location:/data/CCBR/projects/ccbr1187/ChIPseq_Pipeliner_220803/tmp) and CHAMPAGNE (location:/data/CCBR/projects/ccbr1187/ChIPseq_Pipeliner_220803/tmp)

This problem also happens when CHAMPAGNE is run on the ccbr1187 dataset with only the first read mates as if it were single-end.

sample_id
tool
count_old
count_new
rel_diff_percent

D1_P7+TLX3_STAT5_1
macs_broad
2223
258
-88.39

D1_P7+TLX3_STAT5_2
macs_broad
491
186
-62.12

D1_P7+TLX3_TLX3_1
macs_broad
113
11
-90.27

D1_P7+TLX3_TLX3_2
macs_broad
160
13
-91.88

D1_STAT5_1
macs_broad
18171
155
-99.15

D1_STAT5_2
macs_broad
392
153
-60.97

D1_TLX3_2
macs_broad
114
2
-98.25

D1_P7+TLX3_STAT5_1
macs_narrow
2075
231
-88.87

D1_P7+TLX3_STAT5_2
macs_narrow
467
172
-63.17

D1_P7+TLX3_TLX3_1
macs_narrow
114
7
-93.86

D1_P7+TLX3_TLX3_2
macs_narrow
145
9
-93.79

D1_STAT5_1
macs_narrow
15231
133
-99.13

D1_STAT5_2
macs_narrow
372
137
-63.17

D1_TLX3_2
macs_narrow
91
1
-98.90

D1_P7+TLX3_STAT5_1
sicer
43949
36604
-16.71

D1_P7+TLX3_STAT5_2
sicer
18063
12345
-31.66

D1_P7+TLX3_TLX3_1
sicer
17267
13082
-24.24

D1_P7+TLX3_TLX3_2
sicer
16871
16255
-3.65

D1_STAT5_1
sicer
45753
30657
-32.99

D1_STAT5_2
sicer
25164
13877
-44.85

D1_TLX3_1
sicer
31466
19671
-37.48

D1_TLX3_2
sicer
28301
14239
-49.69

(GEM is not shown here because it could not complete successfully due to an error message, no peaks were found).
See table for full paired-end data here: https://github.com/CCBR/CHAMPAGNE/issues/122#issuecomment-1788990782

@kelly-sovacool I was able to generate peaks with my 1 sample run with GEM... thats interesting.

@kelly-sovacool I was able to generate peaks with my 1 sample run with GEM... thats interesting.

Wait .. that was with PE input.


Ubuntu 17.10 Artful

I was not sure where to submit this,

curl -sSL https://hypercontainer.io/install | bash
Welcome to Install HyperContainer...
Hint: Hyper installer need root privilege
[ERROR] : Hyper support ubuntu( trusty utopic vivid wily xenial ), but current is artful(17.10)

I am trying to get hypercontainer working on Ubuntu Budgie Desktop, is there is a specific reason Artful is not compatible?

Please open another issue on https://github.com/hyperhq/hyperd


Deprecated selector in rust-api-docs-helper/styles/imports-highlight.atom-text-editor.less

In rust-api-docs-helper/styles/imports-highlight.atom-text-editor.less:
Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

atom-text-editor::shadow .import-rust-logo => atom-text-editor.editor .import-rust-logo

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

rust-api-docs-helper/styles/imports-highlight.atom-text-editor.less
Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:
atom-text-editor::shadow .import-rust-logo => atom-text-editor.editor .import-rust-logo
Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.


[ServiceBus] Enable Async Unittest

Need to add annotation @pytest.mark.asyncio so that async unit test doesn't get skipped.

/azp run python - servicebus - tests

/azp run python - servicebus - tests


Duplication of button and link styles

[x] I’ve read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I’ve read and agree to the Code of Conduct.
[x] I’ve searched for any related issues and avoided creating a duplicate issue.

Description
What happened
In version 1.0.0 it is possible to style links to appear the same as buttons. Justification for such is given by the following text.

Simple links don’t always catch a user’s attention when they’re scanning a website. So a link is sometimes styled to look like a button where you want to give it greater prominence.

https://gold.service.gov.au/components/buttons/#links-as-buttons
You already have a component specifically designed for that purpose though.

Call to action links are visually distinct instructions to users designed to provoke an immediate response using verbs such as 'call now' or 'find out more'.

https://gold.service.gov.au/components/cta-link/
It's important design systems not to conflate responsibility of different elements. I believe that allowing developers to style a link in the same form as a button promotes misuse of the link element. A common problem in modern web development which is detrimental to accessibilty.
As such I would recommend removing the ability to style a link as a button and instead promote the Call to Action component.

There has been a lot of talk about the semantic usage of buttons and links. I was also very strict with that usage and would advice against making a link look like a button. That's what we got the cta-link module for. The reality though is that most of our gov users don't have enough control over their HTML and and sometimes is just makes sense to make a link look like a button. @TrebBrennan will be able to add a bunch of great articles here to make this point. :)

Ok thanks, I'll have a read once they're linked.
It might even be enough to adding a recommendation to the documentation to prefer cta.

That’s a great idea. That’s the least we can do. Flesh out more of the recommendations and expose the reasons why.

There are two factors here which are confusing the 'links shouldn't be buttons' conversation, I'll address them separately.
1. Semantic HTML.
This one is pretty clear, the  and  HTML tags have different purposes and the appropriate one should be used in the right circumstance. Having incorrect HTML is not semantic and could cause issues with machine reading of pages, eg. assistive technology or SEO.
Good semantics is also an accessibility requirement: WCAG 2.0 1.3.1
2. Visual loudness (Clear and concise visual design)
Assuming you are using the correct HTML, the next question is "how might we help users complete their task easier?" Particularly if a user might have eyesight, cognitive, or literacy issues. The interface design should attempt to assist way-finding.
One of the easiest ways to help a sighted user through to task completion is to balance the visual-loudness of the interface; if every element on the page had the same visual loudness it becomes so much harder to identify higher priority content. Which is why we have provided classes so that links can be styled to have more visual loudness or affordance.
There is a fantastic article about the concept of visual loudness, which is a perfect example of why style (CSS) is separated from content/markup (HTML) in modern web-design.
Use case:
"As a low literacy user I want to apply for a drivers licence."
https://codepen.io/treb/full/KmZJVv/
This is just an example, but you can see why one link might need to be more visually prominent than other.
Button Role
I'll close this issue, but we'll do some investigation in to the ARIA button role next time we are looking at buttons.


preload not working

Hello, i'm trying to implement this: preload: auto
to load segments before user clicks play when using jwplayer. I need to use hola plugin because im modifying something but with the hola provider this parameter doesnt apply
any clue? thanks

Same problem here. any news regarding to this?.