Bug: Datepicker not Pop-up the calender in IE and edge

Bug, feature request, or proposal:
bug
What is the expected behavior?
the Datepicker Pop-up the calender in IE and edge, when the datepicker is in a pop-up dialog and with touchui = true
What is the current behavior?
the Datepicker not Pop-up the calender in IE and edge, when the datepicker is in a pop-up dialog and with touchui = true
What are the steps to reproduce?
http://plnkr.co/edit/rdBHyklin5Prq2O0POXR?p=preview
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
angular:2.0.0-beta.10-1b6b270
ie:11.540.15063.0
edge:40.15063.0.0
Is there anything else we should know?
chrome and firefox have no this bug

Closing as a duplicate of https://github.com/angular/material2/issues/6719.


Backend Forms

Hello,
I'm creating Forms into my pages and wonder if you have basic mailing actions to bind the form with ?
Do I need to develop my own actions ?
Thank you

                                                                                It depends on what in particular you'd like to bind.                                                                                Kind RegardsMuema KambaSent from my BlackBerry 10 smartphone.                                                                                From: Amaury BrisouSent: Tuesday, 26 July 2016 16:30To: Cocolabs-SAS/cocoricoReply To: Cocolabs-SAS/cocoricoSubject: [Cocolabs-SAS/cocorico] Backend Forms (#14)Hello,

I'm creating Forms into my pages and wonder if you have basic mailing actions to bind the form with ?
Do I need to develop my own actions ?
Thank you
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

here the idea is to catch every field name and content to send them by email. just wondering if there are prepared actions  for this purpose

There is not this kind of functionality. You can look how mails are send in Cocorico\CoreBundle\Mailer\TwigSwiftMailer and follow the same method.


test PR for recent ci-operator enhancement

/hold

ahhh .... api.ci mirror pain again.
Error downloading packages:
  dumb-init-1.1.3-12.el7.x86_64: [Errno 256] No more mirrors to try.

error: build error: running 'yum-config-manager --disable epel >/dev/null || : &&     yum-config-manager --enable rhel-7-server-ose-onlineint-rpms || : &&     ln -s /usr/lib/jenkins /usr/lib64/jenkins &&     INSTALL_PKGS="dejavu-sans-fonts wget rsync gettext git tar zip unzip openssl bzip2 dumb-init  java-1.8.0-openjdk java-1.8.0-openjdk-devel" &&     yum install -y $INSTALL_PKGS &&     rpm -V  $INSTALL_PKGS &&     yum clean all  &&     localedef -f UTF-8 -i en_US

@smarterclayton has provided https://github.com/openshift/release/pull/3250 ... let's see how things go

/retest

actually ... the agent builds ran fine during https://openshift-gce-devel.appspot.com/build/origin-ci-test/pr-logs/pull/openshift_jenkins/825/pull-ci-openshift-jenkins-master-images/143 and I see the logs so cool deal
trying again to vet Clayton's change re: rpm mirrors, plus verifying the change of the logs dir name

/retest

log collection looks good


Add provider.tf at examples folder

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave +1 or me too comments; they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
If the issue is assigned to a user, that user is claiming responsibility for the issue.

Description
Add provider configuration in examples folder:
provider "google" {
  user_project_override = true
  billing_project       = <BOOTSTRAP-PROJECT-ID>

  scopes = [
    "https://www.googleapis.com/auth/cloud-platform",
    "https://www.googleapis.com/auth/userinfo.email",
  ]
}

Questions

Should fixtures keep being executed with terraform service account?
Should gcloud and curls commands be able to impersonate some service account?

References

https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/client_openid_userinfo

Reused the one from the Secure Foundation example with success:
https://github.com/terraform-google-modules/terraform-example-foundation/blob/master/1-org/envs/shared/providers.tf


Broken external link

In https://github.com/twanmulder/thats-an-egg-blog/blob/master/src/pages/index.js#L83 you put your link without http protocol. As it's not an internal link it redirects to a 404 page https://www.thatsanegg.com/www.stormdigital.nl
Suggestion:
-
+

Thanks for noticing! I think I missed this somehow :') This is now fixed in this commit


Allow user to pass in the vertical coordinate name

We would like the vertical coordinate variable name to be "z" instead of "height".  This would allow COARDS plotting programs like NCBROWSE to correctly show the CF-1.6 ADCP data (since dimension and coordinate variable would both be named "z".)
Looks like we could just change this one line here:
https://github.com/axiom-data-science/pyaxiom/blob/master/pyaxiom/netcdf/sensors/timeseries.py#L129
It looks like that would be sufficient to have the coordinates attributes be
time z lon lat because of the nice coding here:
https://github.com/axiom-data-science/pyaxiom/blob/master/pyaxiom/netcdf/sensors/timeseries.py#L234

This value needs to be set from a parameter and default to 'height' for backwards compatibility and tests.

CF requires that netcdf variable names are arbitrary, so why would you want to let the user assign this if using "z" will result in files that are compatible with more applications?  At the very least the default should be "z" instead of "height".


Placing to_json / from_json methods in nlohmann namespace leads to multiply compile errors

Take a look at this issue in nlohmann's repo: https://github.com/nlohmann/json/issues/780

This is a duplicate of #1185. Unfortunately, this problem makes the codegen unusable with MSVC.
Have you considered integrating the solution suggested in https://github.com/quicktype/quicktype/issues/1185#issuecomment-506614282? It seems to fix the problem for me.


⚠ T:Riza Docs has degraded performance

In 7ef3715, T:Riza Docs (https://docs.triza.dev) experienced degraded performance:

HTTP code: 404
Response time: 6750 ms

Resolved: T:Riza Docs performance has improved in 3e4a0c9.


Add autodistill-remote-clip to README

Hello there! I am an engineer at Roboflow. I added RemoteCLIP to Autodistill a framework for auto-labeling datasets with foundation models. Using this extension, you can auto-label a folder of images with RemoteCLIP, and use the resulting dataset to train a fine-tuned classification model.
You can also use RemoteCLIP with the new [ComposedDetectionModel](https://blog.roboflow.com/label-product-skus/) API, allowing you to use a detection model to find objects of interest, then RemoteCLIP to classify each region. I thought I'd PR the feature here so people can use your research for auto-labeling!

Hi James, thank you so much for contributing! 🚀🚀🚀


[BUG] [XamForms] FileNotFoundException Could not load file or assembly 'ReactiveUI.Winforms' or one of its dependencies when create a new RoutingState upon startup

Describe the bug

Steps To Reproduce

Expected behavior

Screenshots

Environment

OS:
Version
Device:

Additional context

Duplicate of https://github.com/reactiveui/ReactiveUI/issues/2049

Hello @glennawatson
I'm still gettin error as below :
System.IO.FileNotFoundException: Could not load file or assembly 'ReactiveUI.Winforms' or one of its dependencies
  at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef, System.Security.Policy.Evidence assemblySecurity) [0x00076] in <58604b4522f748968296166e317b04b4>:0
  at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef) [0x00000] in <58604b4522f748968296166e317b04b4>:0
  at at (wrapper remoting-invoke-with-check) System.AppDomain.Load(System.Reflection.AssemblyName)
  at System.Reflection.Assembly.Load (System.Reflection.AssemblyName assemblyRef) [0x00005] in <58604b4522f748968296166e317b04b4>:0
  at ReactiveUI.Reflection+<>c.<.cctor>b__16_1 (System.Reflection.AssemblyName assemblyName) [0x00035] in <319cc091d4aa4ae1981adebd2ecaaa2a>:0

Please look in snap that I attached , is very appreciate if it's resolving

It's a handled exception so not a bug. If you can't get past it for some reason feel free to open an issue then


Fetch data from kind-based local control api

Summary
Fetch zones from kind-based local control api.
Closes https://github.com/appuio/cloud-portal/issues/15
Checklist

[x] Categorize the PR by setting a good title and adding one of the labels:
bug, enhancement, documentation, change, breaking,
as they show up in the changelog
[x] Update tests.
[x] Link this PR to related issues.

@ccremer I had to add the following line so the nginx configuration:
 location /apis/ {
        proxy_pass ${KUBERNETES_APIS};
    }

The KUBERNETES_APIS should point to the Kubernetes API like: https://control-api-v1.22.1-control-plane:6443/apis/
Do you have a better idea how to do this?

@gerbermichi
As discussed in the daily, we try to setup a reroute in Ingress, so that /api resolves to a Service object of type "externalName".
This probably needs some modifications in the Helm chart, which is here: https://github.com/appuio/charts/tree/master/appuio/cloud-portal (you can create a feature branch there, just configure in helmfile.yaml)

@gerbermichi As discussed in the daily, we try to setup a reroute in Ingress, so that /api resolves to a Service object of type "externalName" (https://kubernetes.io/docs/concepts/services-networking/service/#externalname). This probably needs some modifications in the Helm chart, which is here: https://github.com/appuio/charts/tree/master/appuio/cloud-portal (you can create a feature branch there, just configure in helmfile.yaml)
It remains to be seen how this works with HTTPS certificates...

I'm a bit overwhelmed with this, would you @ccremer have time to make the adjustments so that "/appuio-api/apis" and "/appuio-api/api" work?

@gerbermichi Sure!

So the deployment process works again, the env vars are picked up. However, nginx now crashloops since api.appuio.cloud DNS entry doesn't exist yet...

@gerbermichi I think something's working now. When you visit https://portal-pr-53-appuio-control-api-preview.apps.cloudscale-lpg-2.appuio.cloud/appuio-api/ then you'll get a 403 with a JSON response, which means we're landing at the Kubernetes API :tada:
Side note: https://portal-pr-53-appuio-control-api-preview.apps.cloudscale-lpg-2.appuio.cloud/appuio-api (without trailing slash) kinda times out or takes forever. Maybe the nginx config something's missing?

It looks like I don't have access to the kubernetes api:
{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {

  },
  "status": "Failure",
  "message": "forbidden: User<EMAIL_ADDRESS>cannot get path \"/appuio-api/apis/appuio.io/v1/zones\"",
  "reason": "Forbidden",
  "details": {

  },
  "code": 403
}

@tobru is it possible to get access to a dev/test environment?

@ccremer
It looks like the trailing slash for the APPUIO_API URL was missing.
Can you test it again?

Yep, that works:

Yep, that works:
(items is empty because there's no Zone yet)

Nice!
Are there any open issues in this PR?

(I've fixed the uninstallation above)


Debug symbols for libstdc++ in gxx_impl_linux-64

Comment:
Hi,
I'm using clang as a compiler (from the clangxx conda package) and also include gxx_impl_linux-64 in my environment to link against libstdc++. Unfortunately, I cannot see proper pretty printers for stdlib types when debugging the binary with gdb.
Usually distros will provide a *-dbgsym package for these, but I'm not sure how to get them from conda-forge.
Note that there's also #105 so I'm not sure if my issue is the same, or only related (since clang and gcc may have different behavior here).
Appreciate all the help!

@isuruf any chance if I'm wrong here about the debug symbols?


Multi-processing analysis STRAIGHT and WORLD

Hi,
I improved python scripts for feature extraction using multi-processing. It can utilize all CPUs in a machine to speed up the process. Hope it's helpful.

Thank you for the pull request -- resolved the merge conflicts and slightly fine-tuned to work for python 2.7 as well.


update pr ci for release 2.5 and fix prior box ci failure, test=develop

Update CI script for release 2.5 and fix prior box ci fail
prior ci fail due to params reorder introduced by https://github.com/PaddlePaddle/Paddle/pull/52749

test_parallel_dygraph_mp_layers 单测挂，修复中，见 https://xly.bce.baidu.com/paddlepaddle/paddle-custom-device/newipipe/detail/8274221/job/22507164


PC doesn't meet requirements

I'm still having the "this PC doesn't meet the minimum system requirements" message when installing Windows 11. And the TPM setting is on in the conf file and swtmp is installed.  Ideas?

Same here. I have swtpm installed:
swtpm --version
TPM emulator version 0.6.1, Copyright (c) 2014-2021 IBM Corp.
Output when running vm config:
quickemu --vm windows-11.conf
Quickemu 2.2.3 starting windows-11.conf

QEMU:     /usr/bin/qemu-system-x86_64 v6.1.0
BOOT:     Legacy BIOS (windows) - EFI requested but no EFI firmware found.
CPU:      1 Socket(s), 4 Core(s), 2 Thread(s), 4G RAM
Disk:     windows-11/disk.qcow2 (64G)
Just created, booting from windows-11/Win11_EnglishInternational_x64.iso
Boot ISO: windows-11/Win11_EnglishInternational_x64.iso
CD-ROM:   windows-11/virtio-win.iso
TPM:      windows-11/windows-11.swtpm-sock (49624)
Screen:   2048x1152
Display:  SDL, qxl-vga, GL (on), VirGL (off)
ssh:      On host:  ssh user@localhost -p 22226
SPICE:    On host:  spicy --title "windows-11" --port 5930 --spice-shared-dir /home/sgm/Public
WebDAV:   On guest: dav://localhost:9843/
Process:  On guest: killall windows-11       (if a forced kill is required)

BOOT: Legacy BIOS (windows) - EFI requested but no EFI firmware found.

You need EFI to pass Windows 11 test.
sudo apt install ovmf

and check if that line changes to:
 - BOOT:     EFI (windows)

I already have ovmf installed on arch:
sudo pacman -Q ovmf
edk2-ovmf 202108-1

ovmf files path on Arch is different:
diff --git a/quickemu b/quickemu
index 47e8676..d641485 100755
--- a/quickemu
+++ b/quickemu
@@ -196,15 +196,15 @@ function vm_boot() {
       exit 1
     fi
   elif [[ "${boot}" == *"efi"* ]]; then
-    if [ -e "/usr/share/OVMF/OVMF_CODE_4M.fd" ]; then
+    if [ -e "/usr/share/OVMF/x64/OVMF_CODE.fd" ]; then
       echo " - BOOT:     EFI (${guest_os})"
-      local EFI_CODE="/usr/share/OVMF/OVMF_CODE_4M.fd"
+      local EFI_CODE="/usr/share/OVMF/x64/OVMF_CODE.fd"
       local EFI_VARS="${VMDIR}/OVMF_VARS_4M.fd"
       if [ -e "${VMDIR}/${VMNAME}-vars.fd" ]; then
         # Preserve backward compatibility
         mv "${VMDIR}/${VMNAME}-vars.fd" "${EFI_VARS}"
       elif [ ! -e "${EFI_VARS}" ]; then
-        cp "/usr/share/OVMF/OVMF_VARS_4M.fd" "${EFI_VARS}"
+        cp "/usr/share/OVMF/x64/OVMF_VARS.fd" "${EFI_VARS}"
       fi
     else
       boot="legacy"

I'm having the same issue on Fedora 35. Windows 11 doesn't meet system requirements due to legacy BIOS instead of UEFI.
On Fedora, here are all the OVMF files in /usr/ if I install all the available packages (dnf install ovmf-\*):
$ fd ovmf /usr/ -t f
/usr/share/licenses/edk2-arm/License.OvmfPkg.txt
/usr/share/licenses/edk2-aarch64/License.OvmfPkg.txt
/usr/share/licenses/edk2-ovmf-ia32/License.OvmfPkg.txt
/usr/share/licenses/edk2-ovmf/License.OvmfPkg.txt
/usr/share/qemu/firmware/40-edk2-ovmf-sb.json
/usr/share/qemu/firmware/60-edk2-ovmf-ia32.json
/usr/share/qemu/firmware/50-edk2-ovmf-ia32-sb.json
/usr/share/qemu/firmware/60-edk2-ovmf-nosb.json
/usr/share/qemu/firmware/40-edk2-ovmf-ia32-sb-enrolled.json
/usr/share/qemu/firmware/50-edk2-ovmf.json
/usr/share/qemu/firmware/50-edk2-ovmf-cc.json
/usr/share/edk2/ovmf-ia32/OVMF_VARS.secboot.fd
/usr/share/edk2/ovmf-ia32/OVMF_VARS.fd
/usr/share/edk2/ovmf-ia32/OVMF_CODE.secboot.fd
/usr/share/edk2/ovmf-ia32/OVMF_CODE.fd
/usr/share/doc/edk2-ovmf/ovmf-whitepaper-c770f8c.txt
/usr/share/edk2/ovmf/OVMF_VARS.fd
/usr/share/edk2/ovmf/OVMF_VARS.secboot.fd
/usr/share/edk2/ovmf/OVMF_CODE.secboot.fd
/usr/share/edk2/ovmf/OVMF_CODE.fd
/usr/share/edk2/ovmf/OVMF_CODE.cc.fd
/usr/bin/ovmf-vars-generator

I needed to add the boot="efi" line to the conf file, even though documentation states it's the default.  So I have that, I have tpm on, and swtpm installed.  Still getting the same "this PC doesn't meet the minimum system requirements".

Why was this closed?

@garrett You need to be quick and press any key before countdown ends. Otherwise, the boot sequence continues, and since there's nothing else to boot, you are stuck with this screen.

Still failing.
guest_os="windows"
disk_img="windows-11/disk.qcow2"
iso="windows-11/Win11_EnglishInternational_x64.iso"
fixed_iso="windows-11/virtio-win.iso"
tpm="on"
boot="efi"

Quickemu 2.2.4 starting windows-11.conf
 - QEMU:     /usr/bin/qemu-system-x86_64 v6.1.0
 - BOOT:     EFI (windows)
 - CPU:      1 Socket(s), 4 Core(s), 2 Thread(s), 8G RAM
 - Disk:     windows-11/disk.qcow2 (64G)
             Looks unused, booting from windows-11/Win11_EnglishInternational_x64.iso
 - Boot ISO: windows-11/Win11_EnglishInternational_x64.iso
 - CD-ROM:   windows-11/virtio-win.iso
 - TPM:      windows-11/windows-11.swtpm-sock (2928)
 - Screen:   1152x648
 - Display:  SDL, qxl-vga, GL (on), VirGL (off)
 - ssh:      On host:  ssh user@localhost -p 22225
 - SPICE:    On host:  spicy --title "windows-11" --port 5935 --spice-shared-dir /home/nsqy/Public
 - WebDAV:   On guest: dav://localhost:9843/
 - smbd:     On guest: smb://<IP_ADDRESS>/qemu
 - Process:  On guest: killall windows-11	(if a forced kill is required)

@garrett You need to be quick and press any key before countdown ends.

Booting in BIOS legacy mode doesn't do this. (It boots fine. Windows doesn't want to install in legacy mode though.) And booting macOS in EFI mode works fine, without having to hit enter.
But, sure enough, I hit enter quickly and it got to the installer. That's quite an odd behavior.
However, I'm seeing the same results on Fedora 35 as @NSQY has on Arch. Windows 11 says it's unsupported:
$ ./quickemu --vm windows-11.conf
Quickemu 2.2.4 starting windows-11.conf
 - QEMU:     /usr/bin/qemu-system-x86_64 v6.1.0
 - BOOT:     EFI (windows)
 - CPU:      1 Socket(s), 1 Core(s), 2 Thread(s), 2G RAM
 - Disk:     windows-11/disk.qcow2 (64G)
             Looks unused, booting from windows-11/Win11_EnglishInternational_x64.iso
 - Boot ISO: windows-11/Win11_EnglishInternational_x64.iso
 - CD-ROM:   windows-11/virtio-win.iso
 - TPM:      windows-11/windows-11.swtpm-sock (12982)
 - Screen:   1152x648
 - Display:  SDL, qxl-vga, GL (on), VirGL (off)
 - ssh:      On host:  ssh user@localhost -p 22224
 - SPICE:    On host:  spicy --title "windows-11" --port 5935 --spice-shared-dir /home/garrett/Public
 - WebDAV:   On guest: dav://localhost:9843/
 - smbd:     On guest: smb://<IP_ADDRESS>/qemu
 - Process:  On guest: killall windows-11	(if a forced kill is required)

@garrett
Probably https://github.com/wimpysworld/quickemu/issues/74#issuecomment-939316441
I have no idea if it safe to replace those files.

@NSQY: I can't find the 4M files in any Fedora packages. I noticed the script checks the VM dir for the files (this is how it handles macOS... directly downloading the files), so I converted the deb linked in the comment you linked to into a tgz using alien, extracted the converted package, and copied the 4M files into the directory and it didn't boot whatsoever.
So I'm stuck between "PC doesn't meet requirements" even on EFI boot (with no indication as to why) or a non-booting VM.


test: add a test for new_iter

Even though the function is deprecated, the code is still present and we
don’t want it to break unexpectedly.

coverage: 94.925% (+0.6%) from 94.328%
when pulling 0610916a2abf1a5c28b3cfcf535a0bb2d4a6c524 on bump-test-coverage
into<PHONE_NUMBER>af25f95e77033a71f693437779c0de on master.


[Button] Fix sizes

Closes #17634
In addition to apply the change discussed in #17634, it fixes some inconsistencies for small and large sizes with text and outlined variants, and adds text for these changes.
Arguably a breaking change for:

Layout (minor button size changes)
Customization (class name changes)

[x] I have followed (at least) the PR section of the contributing guide.

Yes, I think that it's breaking change.

@mbrookes The padding changes look great!
I see a way to work around the customization breaking change I couldn't see previously 🤦♂. I'm adding another commit for it.
Regarding #17638, do you think that we should give him the credit or continue here?

Yes, I think that it's breaking change.

Yeah, after I opened this I saw you had closed another simpler PR addressing #17634.
ISTR that we recently merged a breaking change to the CSS in order to fix some other issue. #17634 aside (it's cosmetic), this PR does fix some issues with the current styling of small and large buttons, where they are incorrectly sized for text and outlined.
However since nobody has complained so far, perhaps we should put this PR on hold for v5?

do you think that we should give him the credit or continue here?

All the same once it's merged, so whichever you prefer.

I can't think of any worst-case impact that would break peoples application

Neither can I. I think it should be safe enough.


Use local key ID to identify stale connections

Problem
After multiple fabrics are commissioned on the device, the device sometimes tears down the secure session with the controller from the original/older fabric.
Change overview
The logic to identify the stale connections in SecureSessionMgr::NewPairing() was incorrect. It was using peer's node ID (as optional parameter) and peer's key ID to identify the duplicate/stale session. With multi-fabric, there could be multiple peers with the same node ID (on different fabrics) and can have overlapping key ID space. Also, the node ID is elided in some secure connections (e.g. for PASE based connections), as the node ID is not yet established. That'll cause lookups to use just peer's key ID. This will cause the device to expire the connections for incorrect nodes, which were still valid and active.
This PR changes the logic to use localKeyID to lookup the duplicate connections. The local key ID is assigned by the current node, and it cannot overlap for connections with different peers (even across multiple fabrics).
Testing
Added a new unit test ConnectionExpiryTest in TestSecureSessionMgr.cpp
Tested pairing using PASE and CASE connections.
Tested pairing multiple fabrics and using CASE connections from controllers from two different fabrics.

@saurabhst , @jelderton do you have any review feedback?

@saurabhst @mspang ?


Range Rings Radial Support

Currently we support the user to be able to create 180 radials, but is there a need for a user to create a radial every 1 degree?

@topowright - I don't know of a specific use case for radials every one degree, but unless it causes a problem, I don't see why we would cap it at something lower.

Closing the issue with As Designed. Please reopen if there is a use case for limiting the radials.


Intellisense for C# does not work in multiproject environment

From @PradeepLoganathan on November 10, 2016 7:8

VSCode Version: 1.7.1
OS Version: Microsoft Windows [Version 10.0.14393]

Steps to Reproduce:

I have created a sample GIT repository at https://github.com/PradeepLoganathan/testvscode
I have folders for source and tests and have initialized projects in these folders using dotnet new.
I have a global.json specifying the project folder structure.
Intellisense no longer works.

Copied from original issue: Microsoft/vscode#15282

Which version of the C# extension do you have installed?

I have version 1.4.1. ( Omnisharp C# extension)

Here is further version information. If needed I can upload a video of the issue. I am just trying to make VS code better :-)

VSCode Version: Code 1.7.1 (02611b40b24c9df2726ad8b33f5ef5f67ac30b44, 2016-11-03T13:53:14.822Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

html-snippets
abusaidm
0.0.18

rest-client
humao
0.10.2

Angular2
johnpapa
1.0.2

csharp
ms-vscode
1.4.1

vscode-docker
PeterJausovec
0.0.7

Thanks for the additional information. I suspect this is the same issue that was reported in https://github.com/OmniSharp/omnisharp-vscode/issues/735 awhile back. This should be fixed in our latest beta release of the C# extension. Could you try the beta and see if it fixes your issue?
You can do the following to install a beta release of the extension:

Download the .vsix file for the release you want.
Open Visual Studio Code
Select View->Extensions to display the Extension pane.
In the Extensions pane, click on the little gear next to the C# extension and select "Uninstall". After it's uninstalled, click the "Reload" button to allow Visual Studio Code to reload.
In the Extensions pane, click the [...] at the top-right corner and select "Install from VSIX...". Select the .vsix file that you downloaded earlier.
Click the "Reload" button to allow Visual Studio Code to reload.

Let me know if this works any better for your scenario.

I did all of the above steps. It did not resolve the issue. I am not getting intellisense both for core types as well as custom types.

@PradeepLoganathan: Could you paste your OmniSharp log here for me?

Open Visual Studio Code and open your project.
Select View->Output from the menu to display the Output pane.
In the Output pane, select OmniSharp Log in the top-right corner.

Copy and paste the content here.

This is fixed in OmniSharp now. Once we take a new build for the extension, we'll publish a beta that you can try. Otherwise, the fix will be available when we ship 1.6 of the extension in the coming weeks.

I've created a v1.6-beta2 release of the C# extension that contains this fix, among others. See this page for information on installing beta releases

@DustinCampbell  I installed the beta and also updated VS code to the latest version (1.7.1 --> 1.7.2 ) and am happy to say it works great :-) thanks. 👍

@DustinCampbell  I am not sure where the best place is to post this, either here or in a new issue...
I am using VS Code 1.18.1 and have a very simple test workspace where intellisense does not work in C# when opening the multi-project workspace.  It works if I open each project in their own VS Code process.
Steps to reproduce:

dotnet new classlib --name lib
dotnet new console --name top
dotnet add top/top.csproj reference lib/lib.csproj
code .
open each project, create build resources, and build
create a workspace and add both projects to it

If you open the workspace, intellisense no longer works from top to classlib.
If you open the top project directly, intellisense works from top to classlib.
No extensions are enabled.
Any idea why?  Is this on the roadmap to be something that should work?  It seems like it should.  It is killing our team having to have several VS Code instances up in order to get intellisense.
Thanks!
Jason

You might need to tell OmniSharp to launch on the correct project. Try this: open your workspace and open a C# file in the editor. At the bottom-right of VS Code, there should be a little OmniSharp "flame" icon in the status bar. Click on that and it should bring up a project launcher that allows you to select which folder in your workspace that OmniSharp is launched on.

@imuni4fun : If my suggestion doesn't work, please file a different issue as your query is definitely not related to this closed issue (since it pre-dates multi-root workspaces in VS Code).

Also, you might check out this issue where I gave the same solution: https://github.com/OmniSharp/omnisharp-vscode/issues/1889.

@DustinCampbell great, thanks!  That did the trick.  I also see #909 (https://github.com/OmniSharp/omnisharp-roslyn/issues/909) which tracks the intended end result where we won't have to choose which single root project omnisharp is aware of, which was my next question.  Any idea when that might land?

I don't have a date, but it's definitely on the backlog. There are several things it's stacked up behind however.

This is still not working


Comparation between  different types of int causing an error

While executing:
sudo python setup.py install
the following message appears causing an error:
src/XpcConnectionBase.cpp:72:27: warning: comparison of integers of different signs: 'int' and 'std::__1::basic_string<char,
std::__1::char_traits, std::__1::allocator >::size_type' (aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < str.size(); i++) {
~ ^ ~~~~~~~~~~
1 warning generated.
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/bindings.cpp -o build/temp.macosx-10.9-x86_64-3.7/src/bindings.o -std=c++11 -stdlib=libc++ -mmacosx-version-min=10.9
creating build/lib.macosx-10.9-x86_64-3.7
g++ -bundle -undefined dynamic_lookup -arch x86_64 -g build/temp.macosx-10.9-x86_64-3.7/src/XpcConnectionBase.o build/temp.macosx-10.9-x86_64-3.7/src/bindings.o -lboost_python-py34 -o build/lib.macosx-10.9-x86_64-3.7/xpcconnection.cpython-37m-darwin.so
ld: library not found for -lboost_python-py34
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'g++' failed with exit status 1
Any suggestion to solve this issue?

I thing so since when I execute " brew install boost-python " I get the following output:
_MacBook-Pro-de-Jorge:bleep Jorge$ brew install boost-python
Warning: boost-python 1.67.0 is already installed and up-to-date
To reinstall 1.67.0, run brew reinstall boost-python
MacBook-Pro-de-Jorge:PycharmProjects Jorge$ brew install boost-python
Warning: boost-python 1.67.0 is already installed and up-to-date
To reinstall 1.67.0, run brew reinstall boost-python_

But in fact what I wanted too do was  was to setup bleep,  but it fails by some unknown reason for me at it shows a warning an the final error at XpcConnectionBase.cpp belonging to pyxpcconnection so i tried to solve this issue.
The issue with bleep is the following;
(venv)MacBook-Pro-de-Jorge:PycharmProjects Jorge$ brew install boost-python
Warning: boost-python 1.67.0 is already installed and up-to-date
To reinstall 1.67.0, run brew reinstall boost-python
(venv)MacBook-Pro-de-Jorge:PycharmProjects Jorge$ cd bleep
(venv)MacBook-Pro-de-Jorge:bleep Jorge$ sudo python setup.py install
_src/XpcConnectionBase.cpp:72:27: warning: comparison of integers of different signs: 'int' and 'std::__1::basic_string<char, std::__1::char_traits, std::_1::allocator >::size_type'
(aka 'unsigned long') [-Wsign-compare]
for (int i = 0; i < str.size(); i++) {
~ ^ ~~~~~~~~~~
1 warning generated.
ld: library not found for -lboost_python-py34
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: Setup script exited with error: command 'g++' failed with exit status 1

Do not have any clue how to solve this error. Any help will be very appreciated :)
Thanks in advance for your attention and you very nice python lib. 👍
PS: I am running on a macOS Mojave 10.14.1 (18B75)

I have the same issue!
I'm not able to install pyxpcconnection due to "ld: library not found for -lboost_python-py34".
I tried some fix like  "sudo ln -s /usr/local/lib/libboost_python3.a /usr/local/lib/libboost_python-py34.a" but error doesn't change!
I have macOS Mojave and it is my first install of your libraries.


[SPARK-19517][SS] KafkaSource fails to initialize partition offsets

What changes were proposed in this pull request?
This patch fixes a bug in KafkaSource with the (de)serialization of the length of the JSON string that contains the initial partition offsets.
How was this patch tested?
I ran the test suite for spark-sql-kafka-0-10.

Can one of the admins verify this patch?

ok to test

Test build #72600 has started for PR 16857 at commit b2523b9.

Test build #72600 has finished for PR 16857 at commit b2523b9.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72600/
Test FAILed.

@zsxwing Since I can't access the build results you could please tell me why the patch fails to build?

retest this please.
@vitillo This is just a transient error. It's public so you should be able to view the build results.

retest this please.

Test build #72666 has started for PR 16857 at commit b2523b9.

Test build #72666 has finished for PR 16857 at commit b2523b9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72666/
Test PASSed.

I  think it is best to add a new unit test for this issue?

@uncleGen I have added a new unit test

Test build #72705 has started for PR 16857 at commit b683b1c.

Test build #72705 has finished for PR 16857 at commit b683b1c.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72705/
Test FAILed.

Merged build finished. Test FAILed.

Test build #72708 has started for PR 16857 at commit 7f384d7.

Test build #72708 has finished for PR 16857 at commit 7f384d7.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72708/
Test PASSed.

@vitillo Thanks for the PR. We also need to maintain backforward compatibility. I submitted a design doc in the JIRA: https://issues.apache.org/jira/secure/attachment/12852446/SPARK-19517ProposalforfixingKafkaOffsetMetadata.pdf Could you take a look and update the PR as per the design?

@zsxwing I updated the PR as per proposal

Test build #72934 has started for PR 16857 at commit 6397326.

Test build #72934 has finished for PR 16857 at commit 6397326.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72934/
Test FAILed.

Test build #72935 has started for PR 16857 at commit c95555a.

Test build #72935 has finished for PR 16857 at commit c95555a.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72935/
Test FAILed.

Test build #72938 has started for PR 16857 at commit e511ef5.

Test build #72938 has finished for PR 16857 at commit e511ef5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72938/
Test PASSed.

Test build #72997 has started for PR 16857 at commit a728282.

Test build #72997 has finished for PR 16857 at commit a728282.

This patch fails RAT tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72997/
Test FAILed.

Merged build finished. Test FAILed.

Test build #72998 has started for PR 16857 at commit a563325.

Test build #72998 has finished for PR 16857 at commit a563325.

This patch fails RAT tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72998/
Test FAILed.

Merged build finished. Test FAILed.

Test build #73000 has started for PR 16857 at commit 6fe61b0.

Test build #73000 has finished for PR 16857 at commit 6fe61b0.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73000/
Test FAILed.

Test build #73003 has started for PR 16857 at commit 96807d2.

Test build #73003 has finished for PR 16857 at commit 96807d2.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73003/
Test PASSed.

Test build #73053 has started for PR 16857 at commit 2e673bf.

Test build #73054 has started for PR 16857 at commit ef545ef.

Test build #73055 has started for PR 16857 at commit d8bb535.

Test build #73054 has finished for PR 16857 at commit ef545ef.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73054/
Test PASSed.

Test build #73053 has finished for PR 16857 at commit 2e673bf.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73053/
Test PASSed.

Test build #73055 has finished for PR 16857 at commit d8bb535.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73055/
Test PASSed.

Merged build finished. Test PASSed.

LGTM. Thanks! Merging to master.

I also cherry-picked to 2.1.


Multiple quotes

Hey I want to add multiple quotes feature,
By which user can get a life, business, war, love quotes etc.
Please assign me if you like the idea for hacktober fest.

Hey @EFFLUX110 , there was an issue on the similar lines as yours (#34 )
I can open the same issue , and you can work on it but make sure that you check the codebase and then move ahead.

Ok open the same issue with hacktober fest label,
I am ready to work on it.✌


Input Method failing when changing from native chromium to foot

hyprctl version: Hyprland, built from branch main at commit 6e6971606d9613f6b5aa1df9ecf68327d079c2ccdirty (windowrules: allow monitor by str). flags: (if any)
Steps to reproduce

Have a footclient setup
Have chromium launched like this chromium --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime
Type something in chromium.
Change focus to foot.
Find that input method has deactivated

Temporary fixes

use xwayland chromium
launch a second foot window and then immediately closing and putting the focus back to original foot window

A video demonstrating pressing asdf on chromium and foot, the expected outcome is to output arst instead(colemak).
And the log for the video.(https://0x0.st/H-fa.txt)
(video in question is still uploading, giv it a sec)
test_aom.webm

From my rough LOG reading, it seems like the IME input got destroyed when leaving chromium, therefore causing it to malfunction when it's inside foot

I use alacritty/kitty with vscode (----enable-wayland-ime) , and ran into this bug too.
alacritty -> vscode -> alacritty : fcitx5 not working -> another wayland native window -> alacritty : fcitx5 working again
but firefox -> vscode -> firefox: fcitx5 still working.

is this still a thing?

Can't repro, using flatpak Chromium. All works

closing inactive


KeyboardInterrupt When Running Selection/Line in Python Terminal with 'Shift+Enter'

Environment:
Operating System: Windows 11
VS Code Version: 1.94.0
Python Extension Version: v2024.16.0
Steps to reproduce:
Default setting: the 'shift+enter' keyboard shortcut Runs Selection/Line in Python REPL.

Ensure that the setting "python.REPL.sendToNativeREPL" is set to false. (This setting leads to the 'Shift+Enter' keyboard shortcut running the Selection/Line in the Python Terminal.)
Open a Python script file (.py) in VS Code.
Highlight a line or selection of code in the editor.
Press Shift+Enter to run the selection or line in the Python Terminal.

Expected Behavior:
The selected line or code executes in the Python Terminal without any interruptions or errors.
Actual Behavior:
A KeyboardInterrupt is outputted before the selection or line continues executing in the Python Terminal.
Additional Information:

The issue occurs consistently when running a selection or line with Shift+Enter with the specified configuration.
The KeyboardInterrupt appears even when the execution continues after the interrupt message.
If the execution starts from a Python terminal, an error message is displayed, but the KeyboardInterrupt does not appear anymore.
The issue can be also triggered by setting a different keyboard shortcut.

https://github.com/user-attachments/assets/cea67d67-458c-4bc1-bd03-4ac37458a330
https://github.com/user-attachments/assets/2bb1994c-fbd1-432e-b380-8d41c5537030

Just to add, I also experienced this issue on a Mac. In addition to the issue with "KeyboardInterrupt" described above, trying to run some of my code through SHIFT+ENTER also made the terminal become unresponsive. Rolling back to Python v2024.14.1 as suggested above solved both issues.
My system that showed the issue:
Macbook Pro 15-inch, 2018
macos sequoia 15.1 (24B83)
VS code version: 1.95.2
Python extension version: v2024.18.1

Just merged https://github.com/microsoft/vscode-python/pull/24418 so please give the pre-release of Python version a try starting tomorrow (Beginning November 13th). Let me know if people suffer from problem after trying out tomorrow's pre-release of Python extension. Make sure you reload extension and run Python Clear Cache and reload after you update!

SHIFT+ENTER also made the terminal become unresponsive.

This sounds like a different issue. @Jintram
But how are you getting the keyboard interrupt when shift+enter made your terminal unresponsive?
Are you sending code to the native repl isntead? Feel free to file this as a separate issue.

Hi @anthonykim1 just tried it and everything seems normal and fine , thanks for that.
Same settings just switched to pre-release.

@anthonykim1 : I tried v2024.21.2024111202 (pre-release), there, everything works normal, also my function that caused the terminal unresponsiveness now executes normally.
So thanks for that!!
Attached a movie of what happens with Python v2024.20.0.
As you can see there are additional issues with the terminal aside from the keyboard thing, I don't know how to best describe it.
Perhaps the origin is somehow in my code, which is rather untested.
But in my Mac's terminal or with the pre-release Python version, these issues disappear entirely and all my functions execute normally.
As this issue disappeared with the pre-release, I guess I don't open a new issue.
Again, thanks for your work fixing this issue in any case!
https://github.com/user-attachments/assets/1ab6d9c5-1ccf-492e-b3e8-ef0598690148

Thanks everyone for testing this.

Attached a movie of what happens with Python v2024.20.0.
As you can see there are additional issues with the terminal aside from the keyboard thing, I don't know how to best describe it.

Interesting, I wonder if same thing happens if you don't highlight anything and use the "smart send" setting (you would just shift+enter on your expression and expect that entire expression or more to get sent over to terminal).
I'm glad this went away with the pre-release but please let me know via filing new issue when you start experiencing this with later pre-release or upcoming release towards late november/early december.
You can directly cc me :)
Thanks

I have this problem with python 3.13.0 I downgrade to 3.12.7 and fixed everything.
I emphasis that same problem with python 3.13.0 is even with pre-release version of python extension with vscode.
My PC is windows 11, and vscode version is 1.95.2.
Best Regards; Stats9

From: Anthony Kim @.>
Sent: Wednesday, November 13, 2024 9:28:22 PM
To: microsoft/vscode-python @.>
Cc: habib @.>; Comment @.>
Subject: Re: [microsoft/vscode-python] KeyboardInterrupt When Running Selection/Line in Python Terminal with 'Shift+Enter' (Issue #24422)
Thanks everyone for testing this.
Attached a movie of what happens with Python v2024.20.0.
As you can see there are additional issues with the terminal aside from the keyboard thing, I don't know how to best describe it.
Interesting, I wonder if same thing happens if you don't highlight anything and use the "smart send" setting (you would just shift+enter on your expression and expect that entire expression or more to get sent over to terminal).
I'm glad this went away with the pre-release but please let me know via filing new issue when you start experiencing this with later pre-release or upcoming release towards late november/early december.
You can directly cc me :)
Thanks
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-python/issues/24422#issuecomment-2474355513, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2APK5IODTAGET4Y54GWWJT2AOHL5AVCNFSM6AAAAABRTGDKGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZUGM2TKNJRGM.
You are receiving this because you commented.Message ID: @.***>

Make sure you test on the latest pre-release for Python extension. @stats9

Also make sure to reload extensions, and exit out of any residual terminal REPL, run Python Clear Cache and Reload.

i editted my words, keyboardInterrupt is fixed with pre-release version of python when using python 3.13.0 or older versions, but
i have indentation error with python 3.13.0!
I am attaching two images. I run exactly the same file with two versions of Python. First with version 3.13.0 and then with version 3.12.7
You can see that in version 3.13.0,
indentation error can also be seen during execution by using SHIFT + ENTER.
Of course, an issue has been opened for indentation error in Python 3.13.0, but I wanted to share the simultaneous execution of a file by two version of Python, and to point out that the problem is specific to Python 3.13.0.
image1 for python 3.13.0:

image2 for python 3.12.7:

Switched to pre-release and it cleared it up for me. :)

@stats9 you are on stable release of VS Code, the fix will not show up there yet. You should install VS Code Insiders and the latest pre-release of the Python extension.

@stats9 Unfortunately indentation error will show up if you are using Python3.13 on windows, this is from: https://github.com/python/cpython/pull/124119

@stats9 Unfortunately indentation error will show up if you are using Python3.13 on windows, this is from: https://github.com/python/cpython/pull/124119

Thanks for your attention.

You shouldnt be seeing the KeyboardInterrupt when using REPL in terminal for VS Code.
Verification steps:

Latest VS Code insiders & pre-release version of Python extension
Shift+enter on Python file to send command to terminal (turn off setting that sends your code to native repl)
make sure you dont see the keyboard interrupt
Toggle on/off setting for shell integration for Python and see if you can spot a keyboard interrupt. If you dont see  any keyboard interrupt it is working as expected.

FYI: Windows users will experience indentation error as mentioned above.

I will check it as soon as I can.

I still see KeyboardInterrupt with a Python 3.11.9 venv on Windows and with Python shell integration enabled.
Python 3.11.9 (tags/v3.11.9:de54cf5, Apr  2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
KeyboardInterrupt
>>> ids=["test adding", "2      +V", "\n ffda"],
>>>
KeyboardInterrupt
>>> if num % 4 == 0:
...     subprocess.run(["python", "-c", "for i in range(0, 10000): print(i)"])
...

do you have shell integration enabled in upper shell?
This general terminal one @rzhao271

I still see the KeyboardInterrupt

I guess it needs a new Python extensions.

@anthonykim1 I will reopen this. Please close again when ready for verification.

My fault. Was not on latest insiders.


fix(model): Don't deserialize option values as Id's if option type is String

Because of the way ValueEnvelope is declared it automatically puts a higher precedence on deserializing to an Id rather than a String.
This behavior is desired because currently, the deserialization of option values doesn't take the kind of the option JSON into account. So if an option actually is a snowflake type it would be serialized as such instead of becoming a String. This, however, does not account for situations where the string is a parseable Id, but is supposed to be represented as a String regardless.
As a result, this PR moves ValueEnvelope::Id below ValueEnvelope::String. This means that means we initially deserialize any non-boolean or non-numeric values as Strings. Later on, when checking against the option kind we disambiguate the previously deserialized string and parse into the appropriate Id corresponding to the kind.
Closes #2178

Can you add a test for this case so it does not happen again in the future?

@suneettipirneni Sorry, it seems that my suggestion did not work after all. Testing locally with the latest commit resulted in the following error: invalid type: string "<SNOWFLAKE>", expected channel id. Intresting that serde-test does not result in the same code path as real world usage.
Otherwise this looks good.

@suneettipirneni Sorry, it seems that my suggestion did not work after all. Testing locally with the latest commit resulted in the following error: invalid type: string "<SNOWFLAKE>", expected channel id. Intresting that serde-test does not result in the same code path as real world usage.

No worries, I've reverted the commit.


Room Dao PagingSource compile time error

@Query("SELECT * FROM PositionEntity WHERE product_type = 'null' ORDER BY autoId DESC")
suspend fun getPositionPagedNoCat(): PagingSource<Int, PositionEntity>  Not sure how to convert a Cursor to this method's return type (androidx.paging.PagingSource

There is already an issue regarding this on google bug tracker.
https://issuetracker.google.com/issues/339934824


LINUX: file expired[Feature Request]

Artifact file expired

Check updated guide here https://github.com/vrcx-team/VRCX/tree/master/Linux


Refactor @stdlib/blas/base/dswap

Checklist

[x] update readme.md
[x] docs
[x] include/stdlib/blas/base ( No such change visible )
[x] src
[x] include.gypi
[x] manifest.json
[x] package.json
[x] lib
[x] examples
[x] benchmark
[x] test

@kgryte

All tests and benchmarks cleared. I guess some minor updates need to be done like removing unnecessary dependencies in manifest.json, and removing to swap from some files. I will do that asap.
Except those this PR can have a review.

All tests and benchmarks cleared. This PR can have a review :)


When running TC-PWRTL-1.1 Global attributes with DUT as Server Step4 has example AttributeList set to include FFFA (65530)

Summary Title:
Matter 1.3 SVE - When running TC-PWRTL-1.1 Global attributes with DUT as Server

Description:
The example shown in the verification steps shows that the EventsList should be an attribute included in the AttributeList cluster, however it is not meant to be in 1.3.
Steps to reproduce:
1. Look in the VS Excel sheet for PWRTL and test case TC-PWRTL-1.1

Logs:
N/A

Additional Info:
Per slack discussion - EventsList attribute should be skipped (see step 5).

@Survensa Could you pls update the VS and close it.

Looks good to me - I can't see the latest spreadsheet (the last one in causeway is dated 27th Feb) but based on screenshot I'm happy this is closed.

So does this mean event-list is  a UNSUPPORTED  ATTRIBUTE when I read it use command ./chip-tool read event-list 1 0?

So does this mean event-list is a UNSUPPORTED ATTRIBUTE when I read it use command ./chip-tool read event-list 1 0?

YES, the EVENT-LIST attribute is provisional for V1.3.

Thanks so much


DownloadStatusListener cause activity leak

When I use a DownloadStatusListener in a activity, it will cause memory leak. The  ThinDownloadManager.release() seems not consider this. Could you please fix it?

I don't think so there is any memory leak. Once you can release() on ThinDownloadManager instance. All the DownloadRequests are removed from the set which DownloadQueue maintains and also the blocking queue is set to null. So all the DownloadRequest objects which is passed to ThinDownloadManager is now orphan and those will be garbage collected.
	void release() {
		if (mCurrentRequests != null) {
			synchronized (mCurrentRequests) {
				mCurrentRequests.clear();
				mCurrentRequests = null;
			}
		}

		if (mDownloadQueue != null) {
			mDownloadQueue = null;
		}
               .......
               .......
}

If you see any memory leaks through MAT or DDMS. Please file a new issue.


Why not use submodules for plugin management?

With the current approach, it's not easy to update plugins from upstream.

Git's submodules are a pain to work with.
To update from the upstream just run the python update_plugins.py script.


Avoid potential bug in StatutorySickPayCalculator

This line in the #init_payable_days method doesn't accurately reflect the
intent expressed in the comment in the line above it, presumably due to a
misunderstanding about how references to objects work in Ruby.
@normal_workdays_missed is an Array of Date objects. It looks as if the
intention of assigning the instance variable to a local variable was to avoid
the calls to Array#shift mutating the underlying Array. However, the
local variable still referenced the same Array and the underlying Array
was in fact mutated.
This was not actually causing a problem, because the only other use of the
the instance variable was in the assignment of @normal_workdays in the
calculator constructor. Since this happens before the Array is mutated,
no harm is done. However, it seems sensible to fix this in case someone makes
use of the instance variable somewhere else.
I have fixed the potential problem by using Object#dup to make a copy of the
underlying Array.
There are lots of other improvements that could be made to this code, but we
have other priorities at the moment.

I've just amended the commit to include updated regression test checksums and force-pushed. Hopefully that will fix the Jenkins build.

Looks good to me.

I've rebased this against master and force-pushed in preparation for merging.


Powershell example issues

Under create a storage account example.
$sasurl - Uses the "New-AzureStorageContainerSASToken" cmdlet.  This should be "New-AzStorageContainerSASToken".  Using  "New-AzureStorageContainerSASToken" results in error.
Under Start the packet capture example.
Variable storing the resource group is "$rg".  In the storage account creation section the resource group is stored in "$rgname".
The "$rg" variable is used in many other areas on this page, so might make sense to standardise on "$rg" and change the variable name in the storage account creation section to match.

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

ID: abe24569-eafe-7079-650e-2d7fe5d6e85f
Version Independent ID: 87605001-64d6-cd6f-3266-0051380d0cc6
Content: Tutorial: Perform packet capture on Azure Virtual WAN site-to-site connections
Content Source: articles/virtual-wan/virtual-wan-site-to-site-packet-capture.md
Service: virtual-wan
GitHub Login: @wellee
Microsoft Alias: wellee

@idunbar46 , thank you for your feedback. We'll review this and get back to you shortly!

@idunbar46 This issue has been fixed.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Inherit integrator attribute when reducing a JaxSimModel

This PR ensures that the integrator is inherited from the full JaxSimModel.

📚 Documentation preview 📚: https://jaxsim--318.org.readthedocs.build//318/

FYI @ami-iit/darwin


GEODE-5190: Refactor Serializable into separate interfaces

Added DataSerializable

Added DataSerializableFixeId

Added DataSerializablePrimitive

Added DataSerializableInternal

Added IDataSerializable

Added IDataSerializableFixeId

Added IDataSerializablePrimitive

Added IDataSerializableInternal

Renamed IGeodeSerializable to ISerializable

Renamed IGeodeDelta to IDelta

Co-authored-by: Ivan Godwin<EMAIL_ADDRESS>

Can we make sure that all our existing C++ and .NET examples still build and run as expected as part of this change?  I know we had a few serializer/serializable tests that are likely affected.

@mcmellawatt All examples compile.

@echobravopapa all the formatting issues are on C++/CLI code so there is nothing quick about it. :(


How to display "year"?

If I want to add a "year" before the first unit "day", how do I display the "year"?
如果我要把第一个单位”天“前面再加一个”年“，请问如何显示"年"？
 canContinue: true, Is it mandatory?
 canContinue: true, 是否是必须配置的？

Hello,
Now year you can't add it, but I'll add it in the next release.
As you can see in types
https://github.com/BrooonS/timezz/blob/master/dist/timezz.d.ts
canContinue is a optional

Hello,
Now year you can't add it, but I'll add it in the next release.
As you can see in types
https://github.com/BrooonS/timezz/blob/master/dist/timezz.d.ts
canContinue is a optional


GOOD

Looks great. Works great.

Thank you @rafalohaki! Don't you mind i close the Issue?

No problem.


How to force Generators to produce distinct values? (v3.1.0-SNAP8)

ScalaTest v3.1.0-SNAP8
Hi, the equivalent code works in ScalaCheck, but in ScalaTest the Generators produce no values. My suspicion is that it is related to immutable Randomizers. How would one work around this?
import org.scalatest._
import org.scalatest.prop._

sealed abstract class Distinct extends Product with Serializable

object Distinct {
  def precondition[T](t: T*): Boolean =
    t.distinct.size == t.size

  final case class Two[T](first: T, second: T) extends Distinct {
    require(precondition(first, second))
  }

  object Two {
    implicit def gen[T: Generator]: Generator[Distinct.Two[T]] = {
      val g = implicitly[Generator[T]]

      for {
        first <- g
        second <- g
        // filters everything out due to immutable Randomizers
        if Distinct.precondition(first, second)
      } yield Distinct.Two(first, second)
    }
  }
}

Can you show an example of it not working? This worked:
scala> val gen = implicitly[Generator[Distinct.Two[Int]]]
gen: org.scalatest.prop.Generator[com.artima.pbtdemos.Distinct.Two[Int]] = org.scalatest.prop.Generator$$anon$10@76d5e07

scala> gen.samples(10)
res0: List[com.artima.pbtdemos.Distinct.Two[Int]] = List(Two(2144718489,-1481307159), Two(-239210052,1002062177), Two(-140412985,728188652), Two(-1862964972,-1831265802), Two(956828503,48287477), Two(1954560491,-1555527690), Two(1234857101,-203684754), Two(259307289,173625172), Two(1726298598,-955591445), Two(2032211416,-1953774650))

Nice catch, I'm getting the same when calling samples, however if I use the Generator (both explicitly or implicitly) in forAll I'm getting the following:
import org.scalatest._
import org.scalatest.funsuite._
import org.scalatest.prop._

class SetSuite extends AnyFunSuite with Matchers with PropertyChecks {
  test("adding the same element twice should simply ignore the input") {
    forAll /*(Distinct.Two.gen[String])*/ { distinct: Distinct.Two[String] =>
      import distinct._

      Set(first, second, second) shouldBe Set(first, second)
      Set(first, second, second).size shouldBe 2

      Set(first, second, first) shouldBe Set(first, second)
      Set(first, second, first).size shouldBe 2
    }
  }
}

This is what I'm getting:
[info] SetSuite:
[info] - adding the same element twice should simply ignore the input *** FAILED ***
[info]   java.lang.IllegalStateException: A Generator produced by calling filter or withFilter on another Generator (possibly by using an 'if' clause in a for expression) has filtered out 100000 objects in a row in its next method, so aborting. Please define the Generator without using filter or withFilter.
[info]   at org.scalatest.prop.Generator$$anon$11.loop$2(Generator.scala:373)
[info]   at org.scalatest.prop.Generator$$anon$11.next(Generator.scala:379)
[info]   at org.scalatest.prop.Generator$$anon$9.next(Generator.scala:220)
[info]   at org.scalatest.prop.Generator$$anon$10.next(Generator.scala:308)
[info]   at org.scalatest.enablers.UnitPropCheckerAsserting$PropCheckerAssertingImpl.loop$1(PropCheckerAsserting.scala:152)
[info]   at org.scalatest.enablers.UnitPropCheckerAsserting$PropCheckerAssertingImpl.checkForAll(PropCheckerAsserting.scala:215)
[info]   at org.scalatest.enablers.UnitPropCheckerAsserting$PropCheckerAssertingImpl.check1(PropCheckerAsserting.scala:634)
[info]   at org.scalatest.prop.GeneratorDrivenPropertyChecks.forAll(GeneratorDrivenPropertyChecks.scala:724)
[info]   at org.scalatest.prop.GeneratorDrivenPropertyChecks.forAll$(GeneratorDrivenPropertyChecks.scala:716)
[info]   at user.CleanSetSuite.forAll(CleanSetSuite.scala:7)
[info]   ...
[info] Run completed in 1 second, 203 milliseconds.
[info] Total number of tests run: 1
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 0, failed 1, canceled 0, ignored 0, pending 0
[info] *** 1 TEST FAILED ***

Any luck with this?

I'm really curious about this one. Any updates?

@agilesteel Sorry I didn't notice your reply until now. I investigated and the problem isn't caused by the immutable nature of the Randomizer, but by the fact that we do edges first, and so they keep showing up as empty strings, given there's just one edge for String. I'll try a recursion approach next.

@agilesteel I'm going to assign this to Chee Seng to investigate tonight. @cheeseng this does work:
  object Two {
    implicit def gen[T: Generator]: Generator[Distinct.Two[T]] = {
      val g = implicitly[Generator[T]]

      for {
        first <- g
        second <- g
        third = if (second == "") "42".asInstanceOf[T] else second
        if Distinct.precondition(first, third)
      } yield Distinct.Two(first, third)
    }
  }

My theory was that given String has exactly one edge, an empty string, that will always be tried first for the String generator given any Randomizer. But after that they should vary. If you stick a println in the forAll after the second line (of agilesteel's original code above), you'll see it is retrying two empty strings over and over. It correctly gives up after 100,000 such attempts. That last part is a feature. Please take a look and see if you can figure out why it gets stuck on empty string.

@bvenners awesome! Thanks for your time!

@bvenners @agilesteel fyi The reason is under current design, the 'first' and 'second' of the following code will always use the same SizeParam meter:
for {
first <- g
second <- g
if Distinct.precondition(first, second)
} yield Distinct.Two(first, second)
While the size is 0, unfortunately, there's only one String that meet the size which is "", causing it to always fail.  I'll try to see if we can workaround this problem.

FYI Here's an experimental possible fix:
https://github.com/cheeseng/scalatest/commit/cf0d061ca87126939cd8a622d9777e689552ecdc


docker: add kibana and flower

Adds Kibana for developers to easily inspect search indices.

Adds Flower for Celery monitoring to easily inspect celery task
execution.

Perhaps add it as optional dev-tools

closing to avoid pushing to your branch, working in https://github.com/inveniosoftware/cookiecutter-invenio-rdm/pull/170


ImportError: No module named tbdata.export

Microsoft Windows [Version 10.0.16299.125]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>D:

D:>cd D:\Downloads\TiltBrushConverter-master

D:\Downloads\TiltBrushConverter-master>python TiltBrushConverter.py
Traceback (most recent call last):
File "TiltBrushConverter.py", line 31, in convertOBJs
import OBJConverterGui
File "D:\Downloads\TiltBrushConverter-master\OBJConverterGui.py", line 7, in
import convert_to_obj
File "D:\Downloads\TiltBrushConverter-master\convert_to_obj.py", line 50, in
from tbdata.export import iter_meshes, TiltBrushMesh, SINGLE_SIDED_FLAT_BRUSH
ImportError: No module named tbdata.export

Please advise.

I am facing the same error too. How to get the tbdata module?

I know this is from two years ago but did any of you find a solution for this? I cannot get exports in fbx from my build from open brush and want to convert the Json files this way.


Question on SOC prediction results

Hello @KeiLongW,
I'm going thru the result models you've put up (thanks for those!). I notice that for the experiments - lstm_soc_percentage_lg_result and lstm_soc_capacity_lg_result.
The predictions on the training dataset are accurate, however the SOC predictions on the test dataset differ widely from actual SOC. I notice this when I run training on the corresponding experiments as well.
Any ideas why that could be? I've attached screenshots of the predictions I'm seeing.

To note, I get much better results after running lstm_soc_percentage_lg_all_temp. Here's a screenshot of testing the model against some of the 0degC 'Mixed' datasets.

Yes, you are correct. Those were some earlier experiments we tested and found that training with limited data will result in an unsatisfactory outcome. Actually, the LG data results presented in the paper were from the mixed cycle test (positive_temp_XXX_steps_mixed_test_result).

After reading Self-Normalizing Neural Networks by Günter Klambauer et al. it is clear that “SELUs” induce self-normalizing properties like variance stabilization which in turn avoids exploding and vanishing gradients. Vanishing gradients is one of the issues LSTM's solve. So it makes sense to use SELU as the activation function.
Huber implements both the MSE and MAE loss functions depending on the prediction vs actual delta, which I suppose is useful for this SOC prediction use case.


OOM ERROR WITH PYTORCH 0.3.1

I see open issues relating to this but all with PyTorch 0.4
Does anyone have experience with this in PyTorch 0.3.1?
New PyTorch user so any assistance is much appreciated.
Thanks!!
Experiment dir : eval-EXP-20180717-093523 07/17 09:35:23 AM gpu device = 0 07/17 09:35:23 AM args = Namespace(arch='DARTS', auxiliary=False, auxiliary_weight=0.4, batch_size=96, cutout=False, cutout_length=16, data='../data', drop_path_prob=0.2, epochs=600, gpu=0, grad_clip=5, init_channels=36, layers=20, learning_rate=0.025, model_path='saved_models', momentum=0.9, report_freq=50, save='eval-EXP-20180717-093523', seed=0, weight_decay=0.0003) 108 108 36 108 144 36 144 144 36 144 144 36 144 144 36 144 144 36 144 144 72 144 288 72 288 288 72 288 288 72 288 288 72 288 288 72 288 288 72 288 288 144 288 576 144 576 576 144 576 576 144 576 576 144 576 576 144 576 576 144 07/17 09:35:25 AM param size = 3.169414MB Files already downloaded and verified Files already downloaded and verified 07/17 09:35:27 AM epoch 0 lr 2.500000e-02 THCudaCheck FAIL file=/opt/conda/conda-bld/pytorch_1518241081361/work/torch/lib/THC/generic/THCStorage.cu line=58 error=2 : out of memory Traceback (most recent call last):   File "train.py", line 169, in <module>     main()    File "train.py", line 102, in main     train_acc, train_obj = train(train_queue, model, criterion, optimizer)   File "train.py", line 122, in train     logits, logits_aux = model(input)   File "/home/gecko/MARK/anaconda3/envs/darts/lib/python3.5/site-packages/torch/nn/modules/module.py", line 357, in __call__     result = self.forward(*input, **kwargs)   File "/mnt/SSD/MARK/darts/cnn/model.py", line 148, in forward     s0 = s1 = self.stem(input)   File "/home/gecko/MARK/anaconda3/envs/darts/lib/python3.5/site-packages/torch/nn/modules/module.py", line 357, in __call__     result = self.forward(*input, **kwargs)   File "/home/gecko/MARK/anaconda3/envs/darts/lib/python3.5/site-packages/torch/nn/modules/container.py", line 67, in forward     input = module(input)   File "/home/gecko/MARK/anaconda3/envs/darts/lib/python3.5/site-packages/torch/nn/modules/module.py", line 357, in __call__     result = self.forward(*input, **kwargs)   File "/home/gecko/MARK/anaconda3/envs/darts/lib/python3.5/site-packages/torch/nn/modules/conv.py", line 282, in forward     self.padding, self.dilation, self.groups)   File "/home/gecko/MARK/anaconda3/envs/darts/lib/python3.5/site-packages/torch/nn/functional.py", line 90, in conv2d     return f(input, weight, bias) RuntimeError: cuda runtime error (2) : out of memory at /opt/conda/conda-bld/pytorch_1518241081361/work/torch/lib/THC/generic/THCStorage.cu:58

Do you have enough GPU memory? I'd first try smaller batch sizes and see if that works.

@quark0 Thank you for the reply. I have a Titan Xp with 10GB memory so I reduced the batch size and now I have the following error. I have CUDA 8 and CUDNN 7.0.5 installed.
Experiment dir : eval-EXP-20180717-115931 07/17 11:59:31 AM gpu device = 0 07/17 11:59:31 AM args = Namespace(arch='DARTS', auxiliary=False, auxiliary_weight=0.4, batch_size=8, cutout=False, cutout_length=16, data='../data', drop_path_prob=0.2, epochs=600, gpu=0, grad_clip=5, init_channels=36, layers=20, learning_rate=0.025, model_path='saved_models', momentum=0.9, report_freq=50, save='eval-EXP-20180717-115931', seed=0, weight_decay=0.0003) 108 108 36 108 144 36 144 144 36 144 144 36 144 144 36 144 144 36 144 144 72 144 288 72 288 288 72 288 288 72 288 288 72 288 288 72 288 288 72 288 288 144 288 576 144 576 576 144 576 576 144 576 576 144 576 576 144 576 576 144 07/17 11:59:34 AM param size = 3.169414MB Files already downloaded and verified Files already downloaded and verified 07/17 11:59:35 AM epoch 0 lr 2.500000e-02 Traceback (most recent call last):   File "train.py", line 169, in <module>     main()    File "train.py", line 102, in main     train_acc, train_obj = train(train_queue, model, criterion, optimizer)   File "train.py", line 122, in train     logits, logits_aux = model(input)   File "/home/gecko/MARK/anaconda3/envs/darts/lib/python3.5/site-packages/torch/nn/modules/module.py", line 357, in __call__     result = self.forward(*input, **kwargs)   File "/mnt/SSD/MARK/darts/cnn/model.py", line 148, in forward     s0 = s1 = self.stem(input)   File "/home/gecko/MARK/anaconda3/envs/darts/lib/python3.5/site-packages/torch/nn/modules/module.py", line 357, in __call__     result = self.forward(*input, **kwargs)   File "/home/gecko/MARK/anaconda3/envs/darts/lib/python3.5/site-packages/torch/nn/modules/container.py", line 67, in forward     input = module(input)   File "/home/gecko/MARK/anaconda3/envs/darts/lib/python3.5/site-packages/torch/nn/modules/module.py", line 357, in __call__     result = self.forward(*input, **kwargs)   File "/home/gecko/MARK/anaconda3/envs/darts/lib/python3.5/site-packages/torch/nn/modules/conv.py", line 282, in forward     self.padding, self.dilation, self.groups)   File "/home/gecko/MARK/anaconda3/envs/darts/lib/python3.5/site-packages/torch/nn/functional.py", line 90, in conv2d     return f(input, weight, bias) RuntimeError: CUDNN_STATUS_INTERNAL_ERROR

I fixed this with a reinstall of CUDA and CUDNN. Looks like the Python packages installed through conda were not sufficient.

Hi, you can try pytorch 1.0 version: https://github.com/dragen1860/DARTS-PyTorch
It works without OOM yet.


move codebase into src folder

create an folder name src and move all code files into that folder
code will look cleaner by doing this.

Hi?
should I move the geminisrc, statics, templates folder to src folder?
if there is any other information you want to provide so that i work on that

also move app.py file
and update the documentation according to that


Note Manager backupManualLaunch State Transition

In noteManager_backupManualLaunch_State.cpp
Update IsTransitionCondition() and AtTarget() methods to accomplish the state transitions below.
If
MANUAL_MODE Button Pressed AND Launch Mode
Transition into state
To access robot state and check if it is in placer/launcher mode use the code below
if (m_mechanism->m_scoringMode == RobotStateChanges::ScoringMode::Placer)
or
if (m_mechanism->m_scoringMode == RobotStateChanges::ScoringMode::Launcher)

@Redragongithubgamer Add OR condition m_mechanism->GetCurrentState() == backupManualPlace AND m_scoringMode == RobotStateChanges::ScoringMode::Laucher)

Also create a pull request when you complete this task


Override locales json files from the config file

[x] I confirm that this is a issue rather than a question.

Bug report
I was looking through the documents and it seems like the json files located in locales (./locales) are not able to be ignored in config.js
Version
0.4.0
Steps to reproduce

Here's my config.js file:
module.exports = {
title: 'Testpage',
description: 'Testpage',
defaultLocale: 'en',
locales: [
{
code: 'en',
iso: 'en-US',
name: 'English',
file: 'en.json'
}
],
content: {
frontMatterFormat: 'json'
},
manifest: 'false'
}

Here's my ./locales/en.js file:
{
"title": "nickycutesc",
"description": "temp"
}

As a result, no when I changed 'title' in config.js, the title on my webpage was still the title from ./locales/en.js, NOT from config.js.
Is there a way to override this feature from happening, even if I include locales in config.js?

What is expected?
What is actually happening?
Other relevant information

Your OS: macOS 10.15.3
Node.js version: 13.11.0
Browser version: Safari 13.0.5
Is this a global or local install? global
Which package manager did you use for the install? npm

I'm actually noticing that even when I comment out the following, the only way to change the title of the Statusfy is STILL being reflected:
config.js:
/*
defaultLocale: 'en',
locales: [
{
code: 'en',
iso: 'en-US',
name: 'English',
file: 'en.json'
}
],
*/
./locales/en.js:
{
"title": "temp",
"description": "temp"
}
Is this feature intended? If so, I'd like to revise the documents.

The title and description fields defined in the main config file don't change the visual text of the Application. Those fields are required for the Atom and RSS Feeds and the Web App Manifest.

Ok, I must have misread something in the docs: https://docs.statusfy.co/guide/configuration/#config-file
"The essential file for configuring a Statusfy site is ./config.js, which should export a JavaScript object."


Obj must be an instance or subtype of type

Environment:
Operating system: Raspbian Stretch
Pi model: Model B Plus Rev 1.2
GPIO Zero version: 1.4.1
Pin factory used: RPiGPIO
Description:
I have some code that is called multiple times per second and sometimes the execution overlaps.
I do not care if sometimes there will be error while getting data, so I made exception handler that simply ignores exception. It often works normally, but sometimes there is an error.
Sometimes the execution is permanently stopped even I handle the exceptions bacause I get error obj must be an instance or subtype of type.
This is weird because it skips the handler. It even skips the try block that was for whole file. Maybe this is problem because I'm using threads and it can't handle it.
I fixed this using global per-initialization of sensors, but I still don't know, why that exception wasn't caught.
Exception:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gpiozero/pins/rpigpio.py", line 213, in _call_when_changed
    super(RPiGPIOPin, self)._call_when_changed()
TypeError: super(type, obj): obj must be an instance or subtype of type

I think it'll be hard for the devs to know what's going on unless you post some example code?

I don't know what exactly was the code, because I replace it with working one, but it was something like this:
import socketserver

class ThreadingUnixServer(socketserver.ThreadingMixIn, socketserver.UnixStreamServer):
    pass

import json
from gpiozero import DistanceSensor, LineSensor

def example(server):
    ultrasonic = DistanceSensor(echo=17, trigger=4, max_distance=5)
    left = LineSensor(27)
    right = LineSensor(22)

    response = {
        'distance': ultrasonic.distance * 100,
        'line-left': -left.value + 1,
        'line-right': -right.value + 1,
    }
    server.wfile.write(bytes(json.dumps(response) + '\n', 'utf-8'))

# This function is than called from handler for threading unix server
# Handler is passed as function argument

I have some code that is called multiple times per second and sometimes the execution overlaps.

DistanceSensor is timing based (it has to send a ping and wait for the reply), so I think if you want to call it from a thread you'd need to use some kind of mutex or lock to ensure that it doesn't get called multiple "overlapping" times.

And why try ... except blocks didn't catch this? Is this because of threads?
Anyway, I fixed this and I now only want to know, why this happened.

Without being able to run your non-working code, it'll probably be impossible to say for sure what was going wrong?

I can't provide you that code and I have already fixed this. Handler probably didn't worked because of threads?
It can be fixed using global pre-initialization of sensors. I add them to handler class and then pass it to function. It now works.
This can be closed.


Single ALB in Version 1.0.1, but not working in 1.1.2

I was able to use one ALB for multiple Ingress Resources (from one namespace) in Version 1.0.1.  I did create a new EKS cluster and installed Version 1.1.2, which is creating a new ALB for each Ingress Resource (from same namespace), which is severely limiting our ability to use AWS Ingress Controller.  Is there anyway that we could use same ALB in 1.1.2 ? or as I read I just need to wait for new release 1.1.3 ?

^ cross-posted at https://github.com/kubernetes-sigs/aws-alb-ingress-controller/issues/724#issuecomment-517113838, https://github.com/kubernetes-sigs/aws-alb-ingress-controller/issues/228#issuecomment-517112339


redirect back withInput or with after store data in session

Laravel Version: 8.36.2
PHP Version: 7.3.27
Database Driver & Version:

Description:
I have a page that has a . In addition to it, the page makes several ajax calls that are intended to store data in the session.
When I submit the form without using ajax calls to store data, everything works fine and in the controller, I am able to return the input data via redirect()->back()->withInput($request-> all()), just for additional information, redirect()->back()->with('key', 'value') also works... however, if you try this same process after making an ajax call to write data in the session, withInput($request->all()) returns empty to the view, that is, the "_old_input" field of the session doesn't even exist in this situation. In this case, redirect()->back()->with('key', 'value') doesn't work either
Steps To Reproduce:

Have a form with POST method on the page
On this same page, be able to make an ajax call that will save some data in the session via session()->put('key', 'value')
After successfully making the ajax call, submit the form that will contain some filled field, as the idea is to return this value through ->withInput($request->all())
In the controller do redirect()->back()->withInput($request->all())
Back on the page containing the form try to retrieve the value via old('name') or via {{dd(session()->all())}}

Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.


[release 4.14] OCPBUGS-16267: Fix controller reboot bug

This PR changes the behavior of the service reconciler
to fix the following bug:

There is an LB service with a specific IP (annotated) assigned to it.
Also there are other LB services in the cluster on "pending".
-MetalLB's controller resets and when it goes back up again,
it loops over the services, sees first the "pending" LB service,
and assigns it the IP that was assigned to the annotated service.

Here we make the reconciler ignore the services, up until the first
reprocessAll event, where we handle only the services with IP assigned
to them already.

closing this old one


Organization avatar cut off

I noticed that the copier-org organization avatar is cut off at the right:

Also, it seems the "C" from "Copier" is present in the avatar at the right, just barely visible. We should remove the text and add padding to give the logo-only image a 1:1 aspect ratio.
I don't have permissions to change it. Would you mind fixing it, @yajo?

I can extract the avatar PNG from the SVG logo on Monday and post it here.

Here is the avatar PNG with padding, 1:1 aspect ratio, 512x512px resolution and a transparent background:

I hope this works fine. :crossed_fingers:

@yajo Do you happen to have a moment to update the org avatar?

Ah sorry I forgot! Fixed now.


Missing OData cast path items

/groups/{id}/members is a collection of directory objects.
The service supports downcasting the result by using the following endpoint /groups/{id}/members/microsoft.graph.user which not only filters down the collection to objects of types users, but also casts the items in the returned collection.
All cast endpoints are missing from the resulting description.

spec http://docs.oasis-open.org/odata/odata/v4.0/os/part1-protocol/odata-v4.0-os-part1-protocol.html#_Toc372793660

restriction annotation https://github.com/microsoftgraph/msgraph-metadata/blob/994d8195f59e50ce45616bec0fe700e35e4e8b9b/transforms/csdl/preprocess_csdl.xsl#L153


⚠ Quirk Club Argentina (API endpoint) has degraded performance

In d0c0d7f, Quirk Club Argentina (API endpoint) (https://us-central1-quirkclub-dev.cloudfunctions.net/api/check/api) experienced degraded performance:

HTTP code: 200
Response time: 7309 ms

Resolved: Quirk Club Argentina (API endpoint) performance has improved in cb914e1.


Renaming vprop->slprop + uniform names for each level

As discussed today. The slprop types in Pulse.Lib.Core.fsti now look like this:
[@@erasable]
val slprop : Type u#4

[@@erasable]
val slprop2_repr : Type u#3
val cm_slprop2 : CM.cm slprop2_repr
val down2 (p:slprop) : slprop2_repr
val up2 (p:slprop2_repr) : slprop
let is_slprop2 (v:slprop) : prop = up2 (down2 v) == v
val up2_is_slprop2 (p:slprop2_repr) : Lemma (is_slprop2 (up2 p))

[@@erasable]
val slprop1_repr : Type u#2
val cm_slprop1 : CM.cm slprop1_repr
val down1 (p:slprop) : slprop1_repr
val up1 (p:slprop1_repr) : slprop
let is_slprop1 (v:slprop) : prop = up1 (down1 v) == v
val up1_is_slprop1 (p:slprop1_repr) : Lemma (is_slprop1 (up1 p))

let slprop2 = s:slprop { is_slprop2 s }
let slprop1 = s:slprop { is_slprop1 s }

The rationale for the naming is that slprop1 can be faithfully turned into and from an slprop1_repr, and the predicate deciding which slprops are slprop1 is called is_slprop1. The down and up functions for slprop1 and down1 and up1. Same for every other number.
Also every slpropN_repr lives in universe N+1.
As a side comment: it doesn't seem we have to expose the cm_ monoids in Core.fsti. Should I delete that?

I removed the monoids in Core, and added aliases for the storable slprops.

Not exposing the monoids in Core is fine. I added them at one point because I was trying to define a PCM over slprops themselves for use in ConditionVar ... but that didn't work out and these remain unused.

Thanks! It's great to clean this up and settle on a systematic naming scheme.


Feature: Auto sync button

Hi,
I added a auto sync button which will automatically trigger the sync function of sync button with time period selected by user.
Which is similar to Grafana's page.

Also, I tried to use Dropdown.Button which is provided by AntD. But get some problems.
Generally, currently we are using 4.10.2 but AntD v4 already 4.24.0. And unfortunately the Dropdown.Button is not working well on 4.10.2.
The issue is: in 4.10.2, I looks the Dropdown.Button not support "loading", so the loading icon and loading style need to customize a lot.
At the same time, if I upgrade the AntD, then the page style will be messed up.
In this case, I will not try to upgrade it for this feature and will use an independent dropdown component for this feature.

@all-contributors please add @xloypaypa  for code


Command CodeSnap not working everytime

When I open a file, select some code and press the shortcut for the CodeSnapcommand, it says "No code is selected".
However when I go out of visual mode, select some code again and then press the shortcut, it works.
Also I noticed that before pressing the shortcut for the first time, nvim does not recognize the command CodeSnap. Only if I execute the shortcut for the first time, the command works if I want to enter it manually.
This is my config for codesnap:

Even after pressing the shortcut (failed), selecting code again, press shortcut (working now) and then select something again, it fails again ("Node code is selected") while the manual command works everytime after the first time pressing the shortcut. So in summary, the shortcut only works every second time which is really weird.
I would appreciate some help, maybe the error is also on my side.
Btw I really like the plugin, I think its really fancy :)

Any helps? https://github.com/mistricky/codesnap.nvim/issues/103 @Pix3lexe

The workaround with  before the command solved the problem. Thanks!


how to disable select2 for select field?

Sometimes, or most times, we don't need select2 for select field, how to disable it?

Right now there's no option to disable these. If however you don't need select2, then why not simply use the default WordPress-Core select field?

Right now there's no option to disable these. If however you don't need select2, then why not simply use the default WordPress-Core select field?

why not simply use? because it's not simply. Kirki need to hook to init instead of customize_register, add control via different hook to same section?  it will make code structure confused and messed.

select2 (selectWoo) is already loaded and accessible. So you may as well use it.
Closing this as there doesn't appear to be any interest from the developer or from other users to implement this option.


Fixed some spelling mistakes an typos.

Pasé también Pull requests a la forma masculina (La PR > El PR).

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

Yes sorry the delay

thanks, LGTM!


Config support

https://github.com/prettier/prettier-chrome-extension/pull/23#issuecomment-541471476

Definitely think we should implement this! Assuming we want this in the extension's settings page, seems like we could:

Have a text input that accepts JSON
Have individual inputs for each configurable option (I think VS Code's plugin does this?)
Both of the above!

As far as UI is concerned, I really like how Code Sandbox does it. There's a preference pane with a GUI for the Prettier fields and a link to edit the JSON directly for importing/exporting (similar vibe to VSCode's user/workspace settings).

Source: https://github.com/codesandbox/codesandbox-client/blob/master/packages/app/src/app/pages/common/Modals/PreferencesModal/CodeFormatting/Prettier/index.tsx

That seems pretty ideal to me.

Would you be okay with pulling in React for this? It will require some build configuration which I can help with, but it's pretty small and will make managing the form a lot easier.

I'm not opposed to that at all! The current plugin code uses vanilla JS because there really isn't much UI to render.

Yes, I also don't mind React.. as long as it's nice and tidy..! :)

I just realized the playground is using React, would it be better to try to reuse those components instead of cloning Code Sandbox's UI? It has sections and I figure it might be more familiar to Prettier users, though I think Code Sandbox's looks nicer

Oh, that's interesting. It looks like there are a number of configuration options in the playground that we probably wouldn't use. I wonder if it's worth the overhead of extracting out a package that we have to make sure works for both cases? Given that there isn't a ton of complex behavior, I'm inclined to say we just write our out config UI. I'm happy to go with consensus on this though :)

We could start by copying it if we like the playground UI, and extract a package if we end up using shared logic. Do you have any preference over this UI or the code sandbox one?

I think that seems like a good plan! I didn't have any particular design choices in mind. I like the idea of making it an embedded option, because then you can just style the popup and not have to worry about how it looks in a full document. I think the Redux DevTools use this nicely:

That's a good idea, I think it would make formatting easier.


incorporate R script into Snakefile

You might want to figure out how to call the script from bash, first. Presumably Rscript will work, but you'll want to make sure that anaconda's version is being called, not the default.

The current solution I'm going with is to specify the Rscript location in the config file. Eventually, I plan to transition to a system where all dependencies are resolved automatically by anaconda (see issue #2).