Support for Virt driver

This is a driver based on libvirt.org, for remote hypervisors.
The libvirt functions are in a plugin, to minimize dependencies.

Currently only shows version:
var VERSION uint32 = libvirt.VERSION_NUMBER

func Version() (uint32, error) { return libvirt.GetVersion() }

To prove that it can access the API.

Apparently this experiment does not work, since putting libvirt in go.mod requires libvirt-dev:
 No package 'libvirt' found
  Package libvirt was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libvirt.pc'
  to the PKG_CONFIG_PATH environment variable

Running "session" qemu with libvirt doesn't add any except complexity (until there is proper "system" qemu support)
Trying to load libvirt from a plugin doesn't work due to go modules, needs a separate binary like docker-machine-kvm

All that you needed to do was to set the build tag libvirt_dlopen, then it doesn't need pkgconfig or the libraries...

Hmm, libvirt has dozens of connection points (function wrappers) so maybe it should be a plugin after all.

Would it be possible to just exec virsh?

Yes, that should work. Something like virsh create {{.Dir}}/domain.xml


Add some Interop possibilities

I would also propose to remove the numbering scheme, it makes it difficult to add new sections.

Thank you!

Thank YOU for doing this!


I am get only Location is=0.0,Latitude=0.0 i am using emulator

Hi
thanks for your Java class, After implementing code from your class i get Location is=0.0,Latitude=0.0
my code here
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.distance_find);
if (findComponentID()) {
getToolBar();
getDrawerList();
location = new SimpleLocation(this);
if (!location.hasLocationEnabled()) {
// ask the user to enable location access
SimpleLocation.openSettings(this);
}
imgBtnGetLocation.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
getCurrentLocation();
}
});
    }

}

@Override
protected void onResume() {
super.onResume();
location.beginUpdates();
}
@Override
protected void onPause() {
    location.endUpdates();
    super.onPause();
}

private void getCurrentLocation() {

    final double latitude = location.getLatitude();
    final double longitude = location.getLongitude();
    Log.d("Testing", "Location is=" + "Latitude=" + latitude + "Longitude=" + longitude);
    txtViwMyLocation.setText("Latitude=" + latitude + "\n" + "Longitude=" + longitude);

}

Thanks for your question!
Please test the code on a real device to rule out the emulator as the cause for this problem.
Did you add one of the permissions to your app? Otherwise, your code looks okay.
On the emulator, you have to specifically enable location support and you have to set a faked location or mock location. If that's really what you want to do, you may read more here:
http://stackoverflow.com/questions/2279647/how-to-emulate-gps-location-in-the-android-emulator

Thanks for your support dude,
I checked real device worked perfectly


Object Containers too big and cutting off the page headings

Description:
The headings on top of the screens are getting cut off, possibly due to improper styling or positioning.
Header Height: The header height might not be enough to accommodate the large font size and margin specified for the titles.
Margin Issues: The specified top margin might not be sufficient to prevent the title from overlapping with the status bar or being cut off.
Text Overflow: The text might be overflowing due to its size or positioning.

Branch: Hacker-Queue-Development

Issue Resolved


add release process

Resolves #18

Oh, while I maintain my approval in respect of the content, you could consider adding a link from the root readme to the contributing guide.


Stop using private networks

Vagrant already has a default setup method to log in using SSH. Using vagrant ssh-config this can be retrieved and the HostName is correctly configured found. The connection preference is set to match this. In my experience this solves a lot of issues around "Waiting for domain to get an IP address" that take forever. This also does some other cleanups.

Can one of the admins verify this patch?

I have issues with FakeFS here and not sure how to fix them. Net::SSH::Config really wants to load a real file using IO.foreach and it appears FakeFS doesn't play nice with that. Passing in a StringIO to avoid writing a file at all doesn't work because Net::SSH::Config calls File.expand_path which doesn't work on a StringIO.
https://github.com/net-ssh/net-ssh/blob/18bb917c3eab693f843e2e755140547f17bd3910/lib/net/ssh/config.rb#L82-L89

I've created a minimal reproducer @ https://github.com/fakefs/fakefs/pull/444 to hopefully get a fix for it.

Finally got it green by disabling fakefs.

I'm taking a look at this. It's possible that this will break the expectations for a LOT of our tests.

It looks like I do have quite a few tests that will break with this change.
It's easy enough to disable the secondary interface if you don't need it but the standard has been there since the first beaker releases so this would be a severely breaking change.

Thanks for testing that. Can you explain to me how this is breaking for you? I have never used it with VirtualBox

@ekohl Vagrant with VB creates a NAT and private network by default. The NAT is 'to the internet' and the private is 'host only'. For most tests, you need to use the host only network for testing firewall rule capabilities.

Ah, so that's a big difference with libvirt is that there it creates a NIC in the default network (which is NAT by default) and then a NIC on another network which is also NAT.

Yeah, honestly all of the providers are slightly different but this will definitely break VB users (the majority I think).

So to unbreak libvirt, it has to be possible to disable it. That means we can either make an option for it or move it to the provider specific implementation.
One the gem is alive again and people who can merge things actually look at PRs, I'll start with splitting the PR. There are quite a few commits that are irrelevant to the actual change but just cleanups.
This patch also changes to using vagrant ssh-config config that vagrant ssh uses. Do you see any problems with that? Is that something that could be merged even without dropping the private network? If so, I can split up the commit into 2 smaller pieces.

Well, it seems like if libvirt is broken with this setting, then the change should probably get pushed into beaker-libvirt if possible (not sure if it is possible).
I don't see anything offhand that would be an issue with ssh-config but I'd have to run it independently of the other changes.

At least right now it would mean overwriting the entire make_vfile method since it's added unconditionally here:
https://github.com/puppetlabs/beaker-vagrant/blob/0b083e339dc57afb7acf16149bfe4cb2ff09030d/lib/beaker/hypervisor/vagrant.rb#L70

Is this something that recently started breaking in libvirt? I've honestly never had an issue with it before.

In my experience it can work, but booting up the machine is very unreliable. vagrant up will fail or take a very long time to SSH. Removing the additional NIC makes it fully reliable.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

I've decided to split this up into separate PRs:

https://github.com/voxpupuli/beaker-vagrant/pull/40
https://github.com/voxpupuli/beaker-vagrant/pull/41
https://github.com/voxpupuli/beaker-vagrant/pull/42

There are more commits, but they depend on others being merged.

Replaced by https://github.com/voxpupuli/beaker-vagrant/pull/47


Added largest distance between 2 nodes in a tree

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Added the code for "Largest distance between two nodes in a tree" in C++ language following all guidelines
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#4453

@ankitaggarwal23 @HarshCasper
Please review this Pull Request
Thankyou!

Please make an issue here and raise a PR, for an article as part of our Docs repository: https://github.com/TesseractCoding/NeoAlgo-Docs
It would be much appreciated. Thanks!


bosh-vsphere-cpi doesn't let you configure GCS bucket as bosh's external blobstore

Describe the bug
Configuring bosh director to use GCS bucket as its external blobstore errors out  when running a bosh deploy with the following error:
UnknownProperty: Can’t find property ‘agent.blobstore.address’, or ‘blobstore.address’>) (RuntimeError)

The bosh manifest pushed by the PCF Operations Manager shows this:
properties:
   agent:
     mbus: https://vcap:R_W3SVmDYOELfmDQbFVSzRsmq2epZgS8@<IP_ADDRESS>:6868
   blobstore:
     provider: local
     path: “/var/vcap/micro_bosh/data/cache”

As you can see from the above manifest snippet, there's is no "agent.blobstore.address"
I believe vsphere cpi does not address in code what to do if GCS is configured. I'm basing this from here:
https://github.com/cloudfoundry/bosh-vsphere-cpi-release/blob/d44e1186f9bd850d75bd42549036c80b315cc32a/jobs/vsphere_cpi/templates/cpi.json.erb#L110-L149
To Reproduce
Steps to reproduce the behavior:

Configure bosh director to use GCS bucket as its external blobstore.
Run bosh deploy (or in this case Apply Changes because I tried configuring Bosh director using Pivotal Cloud Foundry Operations Manager)

CPI Error Log
NA - because Bosh director never gets created successfully. The only error available is what I posted above. Please let me know in the comments if there are other ways to grab logs regarding this issue.
From the PCF Operations Manager UI, the Apply change logs shows this:
Deploying:
 Building state for instance 'bosh/0':
   Rendering job templates for instance 'bosh/0':
     Rendering templates for job 'vsphere_cpi/e0d9a784159030b0f3165f87b3087a66cc57eb41':
       Rendering template src: cpi.json.erb, dst: config/cpi.json:
         Rendering template src: /home/tempest-web/.bosh/installations/36770d18-0c2f-4be5-6e04-9deb4c1a743c/tmp/bosh-release-job085984372/templates/cpi.json.erb, dst: /home/tempest-web/.bosh/installations/36770d18-0c2f-4be5-6e04-9deb4c1a743c/tmp/rendered-jobs972120918/config/cpi.json:
           Running ruby to render templates:
             Running command: 'ruby /home/tempest-web/.bosh/installations/36770d18-0c2f-4be5-6e04-9deb4c1a743c/tmp/erb-renderer080605373/erb-render.rb /home/tempest-web/.bosh/installations/36770d18-0c2f-4be5-6e04-9deb4c1a743c/tmp/erb-renderer080605373/erb-context.json /home/tempest-web/.bosh/installations/36770d18-0c2f-4be5-6e04-9deb4c1a743c/tmp/bosh-release-job085984372/templates/cpi.json.erb /home/tempest-web/.bosh/installations/36770d18-0c2f-4be5-6e04-9deb4c1a743c/tmp/rendered-jobs972120918/config/cpi.json', stdout: '', stderr: 'fatal: Not a git repository (or any of the parent directories): .git
/home/tempest-web/.bosh/installations/36770d18-0c2f-4be5-6e04-9deb4c1a743c/tmp/erb-renderer080605373/erb-render.rb:189:in `rescue in render': Error filling in template '/home/tempest-web/.bosh/installations/36770d18-0c2f-4be5-6e04-9deb4c1a743c/tmp/bosh-release-job085984372/templates/cpi.json.erb' for vsphere_cpi/0 (line 132: #<TemplateEvaluationContext::UnknownProperty: Can't find property 'agent.blobstore.address', or 'blobstore.address'>) (RuntimeError)
from /home/tempest-web/.bosh/installations/36770d18-0c2f-4be5-6e04-9deb4c1a743c/tmp/erb-renderer080605373/erb-render.rb:174:in `render'
from /home/tempest-web/.bosh/installations/36770d18-0c2f-4be5-6e04-9deb4c1a743c/tmp/erb-renderer080605373/erb-render.rb:200:in `<main>'
':
               exit status 1

Exit code 1

Expected behavior
Bosh deploy to succeed and external blobstore of the director will be a GCS bucket.
Screenshots
NA
Release Version & Related Info (please complete the following information):

CPI Version 52.1.1
BOSH Director Version 268.6.2
Stemcell Name & Version  ubuntu-xenial/250.56
vCenter Version - vSphere Client version <IP_ADDRESS>000
NSX(T/V) Version (If using) - NA
PCF Operations Manager version - 2.5.6.build.198

Additional context
NA

Thanks for submitting the bug. We will take a look and add it to our story tracker.


Simplify node to use harmonized distance settings

The node should offer the user to define what distance unit he wants to use e.g. meter, kilometer or miles see:
https://github.com/spatial-data-lab/knime-geospatial-extension/issues/89

Blocked by: https://github.com/spatial-data-lab/knime-geospatial-extension/issues/147


Feature Request: Make RegistrationOptions function chainable

Would it be possible to change the setter functions in the RegistrationOptions to return self instead of void? This would make it possible to be able to chain those and write something like this:
$opts = RegistrationOptions::createForUser($userIdentity)
            ->setExcludeExistingCredentials(true);
            ->setTimeout(20);
            ->setResidentKey(ResidentKeyRequirement::REQUIRED);
            ->setUserVerification(\MadWizard\WebAuthn\Dom\UserVerificationRequirement::REQUIRED);

instead of this
$opts = RegistrationOptions::createForUser($userIdentity);
$opts->setExcludeExistingCredentials(true);
$opts->setTimeout(20);
$opts->setResidentKey(ResidentKeyRequirement::REQUIRED);
$opts->setUserVerification(\MadWizard\WebAuthn\Dom\UserVerificationRequirement::REQUIRED);

kinda like the ServerBuilder works, this could be done without breaking existing code i think

Yes I don't think that would break anything so it would be a good improvement. If you want you can create a PR, otherwise I'll look into it in a later update.


Manage Environment Modal doesn't respect Filter Responses by environment

Describe the bug
Template Tags that rely on Filter Responses by Environments are incorrectly evaluated when the active environment differs from the selected in the Manage Environments modal. This doesn't actually impact the environments or the values, but they're displayed improperly as it doesn't factor in that the selected environment and active environment aren't the same.
To Reproduce
Steps to reproduce the behavior:

Check Filter responses by environment in Settings
Create a Template Tag Response that varies based on environment (say a JWT)
Have Response run and create the JWT in one environment (should be valid)
Have Response run and create the JWT in another environment (should be valid)
Open Manage Environment modal
Switch environments
See that the Environment specific variable isn't evaluated properly and depends on the active environment
Be confused why your plugin isn't working and has bizarre behavior 😆

Expected behavior
The Manage Environment Modal should evaluate Template Tags with respect to Filter responses by environment.
Screenshots
Can't because the values are JWTs
Desktop (please complete the following information):

OS: macOS 10.15.7
Installation Method: Downloaded from website
App Version: v2021.3.0

Additional context
Add any other context about the problem here.

Hi @NickHackman, sorry for not getting back to this sooner. We recently fixed a similar issue.
Are you still able to reproduce this issue in our latest release?
I'm not able to reproduce as of now, using this jwt token creator. Here's two screenshots as example, each with it's own JWT generated, and a fixed env var:

Closing this issue due to lack of response and activity.


Add service-worker based cancellation (and maybe RPC) for use in vscode.dev by synchronous LSs

Both TypeScript and Pylance are synchronous monstrosities, which on the desktop rely on synchronous filesystem accesses to check for cancellation of requests (as opposed to the more traditional RPC based cancel messages). In the browser, however, there's no synchronous filesystem at all, so both language servers opt to not implement cancellation at all.
There are only two synchronous things a web worker can do receive data:

SharedArrayBuffer. My understanding is that this is currently blocked due to the impact of the headers that would need to be applied to various CDNs and such.
Synchronous XMLHttpRequest. This is already used by TypeScript and Pylance to pull type declarations / type stubs in as needed.

The requests that a web worker makes with a synchronous XMLHttpRequest are visible to the site's service worker. Normally a service worker is used for caching of requests (for performance and offline support), but there's nothing stopping a service worker from answering requests without actually hitting the network.
This fact leads to an opportunity to create an API that to a web worker appears to be synchronous, but can be implemented asynchronously elsewhere.
I have a demo I presented to the TS team, the Pylance team, and @mjbvz: https://jakebailey.github.io/sw-cancellation-poc/
This demo works by having the service worker intercept requests to paths like /@cancellation@/, and then check to see if the main page (in this case, the client side of the RPC) has triggered cancellation or not. The main page can communicate to the service worker in any way it likes (HTTP or postMessage); all that matters is that the web worker can check this synchronously.
Cancellation is the main focus here; the data is ephemeral and best effort. But, this same method can be used to provide synchronous access to potentially any API, including file system access, which may simplify the implementation of VFS support in TypeScript and Pylance, both of which cannot do asynchronous accesses. My demo page also includes that as well.
I propose to add something like this to vscode.dev/github.dev's service worker; an extension cannot add its own service worker, so without SharedArrayBuffer, this is the only method available for TS and Python to get cancellation, and must be implemented in VS Code itself.
cc @DanielRosenwasser @RyanCavanaugh @heejaechang @bschnurr @debonte @gramster @erictraut @luabud

@jrieken @dbaeumer are there any updates to cancellation that you could provide on this issue?

@DanielRosenwasser @jrieken  and I had a discussion about this and since we are enabling SharedArrayBuffers for the WASI implementation for browsers we will likely use them for cancellation.

Is there a tracking issue for that implementation somewhere to follow?

No, but the implementation will very likely be in https://github.com/microsoft/vscode-wasi

Just to give a TL;DR - this is something that both TypeScript and Pylance need in order to prevent hangs from long-running operations on the web.
For example, let's say a user types (which implicitly requests completions), and then keeps typing (which requests completions again). The first request can't be stopped. It has to be served up before the next completions request can even start. So if that request would usually take 200ms, there's a risk of 400ms completions and maybe some noisy UI
This gets exacerbated on the length of the operation. Find-all-refs, for instance, can take more than a few seconds. vscode.dev should feel lightweight, but each of these operations can make things feel choppy.


docs: Spell out which parts of the Protocol API are public and stable

It's not always clear which parts of the Python Protocol API are public and stable, and which parts are private and unstable. For example, may a user access opentrons.protocols.api_support.util? We should spell out our expectations so users don't accidentally rely on unstable things.

The API doesn't follow semver, but one of the semver principles is to declare what parts of your API fall under your versioning and stability policy.

For this system to work, you first need to declare a public API. This may consist of documentation or be enforced by the code itself. Regardless, it is important that this API be clear and precise.

The API doesn't follow semver, but one of the semver principles is to declare what parts of your API fall under your versioning and stability policy.

For this system to work, you first need to declare a public API. This may consist of documentation or be enforced by the code itself. Regardless, it is important that this API be clear and precise.

We could have something roughly to the tune of:

Documented methods, attributes, and behaviors are stable and fall under our API versioning policy. [Link to versioning policy]
Methods and attributes beginning with underscores are unstable.
Any method or attribute not explicitly documented is unstable.

We could have something roughly to the tune of:

Documented methods, attributes, and behaviors are stable and fall under our API versioning policy. [Link to versioning policy]
Methods and attributes beginning with underscores are unstable.
Any method or attribute not explicitly documented is unstable.

An underlying problem is that the divisions between what we expect to be public and what we expect to be private are not nicely aligned to module boundaries.
We should be able to say something like:

As a user, the only Opentrons module you’re allowed to use is opentrons.protocol_api.  Importing opentrons.protocol_api will give you everything you need.

And then we just root our documentation tree at the top of opentrons.protocol_api.
But this is unfortunately confused by stuff like opentrons.types, which is half internal / half public.
And our autogenerated documentation is polluted all over the place with references to internal things like opentrons.protocols.api_support.labware_like.

An underlying problem is that the divisions between what we expect to be public and what we expect to be private are not nicely aligned to module boundaries.
We should be able to say something like:

As a user, the only Opentrons module you’re allowed to use is opentrons.protocol_api.  Importing opentrons.protocol_api will give you everything you need.

And then we just root our documentation tree at the top of opentrons.protocol_api.
But this is unfortunately confused by stuff like opentrons.types, which is half internal / half public.
And our autogenerated documentation is polluted all over the place with references to internal things like opentrons.protocols.api_support.labware_like.

Moved to Jira RSS-235.


Description length fix

Uses indexing to hard-limit the length of the string every time short_description is assigned or passed in restapi.py. Should resolve the issue with overly-long descriptions.
Fixes #443

Coverage remained the same at 53.016% when pulling 417e0353305b250cd1d904986930f3efce87a35d on another-wes:descriptionlength into 5ba23b6565eefb8f7f1309f6ff77ea054d676440 on OpenBazaar:master.

LGTM


Does this plugin works on Linux or Mac ?

Hi !
Does this plugin works on Linux or Mac ? I don't see any .vsix to install it.
Cheers !

Hi!
It is in my plan to provide something for Mac or Linux at some point, but we are not there yet.
If you are using Clang, you could try the SeeProfiler project I did 3 years ago. It is an electron app that parses a directory looking for the .json files created by the clang -ftime-trace flag.
I haven't checked that project in a while, it might need a pass.

I guess in theory it could work in a manual fashion.
Running the aggregator via wine (https://github.com/Viladoman/CompileScore/wiki/Score-Generation#process-whole-directory) and viewing it with the standalone tool on Windows or with Mono?

If anyone's reading this in the future, there is currently a Makefile in the DataExtractor folder that can be used to build a native Linux version of the DataExtractor.

Yes. I have been working lately to allow linux and mac users to use Compile Score. For now the Data Extractor should be buildable and runnable in those systems, but sadly there is still work to be done in order to browse the results too. The current plan is to at least have a standalone application and vscode extension to do so. But let's see how far I can get with it.


LSTM and GRU layers do not use cuDNN acceleration when processing RaggedTensors

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Debian stable
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.4.1
Python version: 3.7.3
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 11.0 / 8.0 (the ones on Colab were used)
GPU model and memory: Colab

Describe the current behavior
When LSTM/GRU layers are executed on RaggedTensors, they do not use cuDNN acceleration on GPU and are much slower. The attached Colab notebook shows more than 5-times slowdown compared to manual conversion before/after the call.
Describe the expected behavior
The LSTM/GRU layers executed on RaggedTensors should use cuDNN acceleration on GPU.
Standalone code to reproduce the issue
https://colab.research.google.com/drive/1eR3ggwp-5sNKQjJld7XiTjet3BT740F1?usp=sharing
Note that when converting the RaggedTensors before/after the RNN call manually like this:
outputs = rnn(inputs.to_tensor(), mask=tf.sequence_mask(inputs.row_lengths()))
outputs = tf.RaggedTensor.from_tensor(outputs, inputs.row_lengths())

allows using cuDNN implementation.
Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.
The problem is described directly in the sources: GRU here: https://github.com/tensorflow/tensorflow/blob/9a2545aecc498e7a5e8bf5d63c47af59e1550111/tensorflow/python/keras/layers/recurrent_v2.py#L447-L449 and LSTM here: https://github.com/tensorflow/tensorflow/blob/9a2545aecc498e7a5e8bf5d63c47af59e1550111/tensorflow/python/keras/layers/recurrent_v2.py#L1165-L1167
Note that same code is still in current head: GRU here: https://github.com/tensorflow/tensorflow/blob/9000e360d95b9d2c3925672ba100579bd459ee30/tensorflow/python/keras/layers/recurrent_v2.py#L434-L436 LSTM here: https://github.com/tensorflow/tensorflow/blob/9000e360d95b9d2c3925672ba100579bd459ee30/tensorflow/python/keras/layers/recurrent_v2.py#L1161-L1163

@foxik  I can see there is a performance issue with TF version 2.4. When i tried to execute your code on Nightly version,  I didn't see any performance issue. Please find the gist here.Thanks!

@saikumarchalla Please note that tf-nightly does not use GPU on Colab (it required too new CUDA), which you can verify by adding for example
print(tf.config.get_visible_devices())

which shows
[PhysicalDevice(name='/physical_device:CPU:0', device_type='CPU')]

The issue is not fixed in nightly, as visible for example in the following source:
https://github.com/tensorflow/tensorflow/blob/baaa9b23f76e307eb9e1dd2773ee5956f677dccc/tensorflow/python/keras/layers/recurrent_v2.py#L434-L438
so please remove the Fixed in Nightly tag - thanks :-)

As mentioned in the Ragged Tensors document, if you use Ragged Tensors or ragged=True in your layer you would get a warning like WARNING:tensorflow:Layer lstm will not use cuDNN kernel since it doesn't meet the cuDNN kernel criteria. It will use generic GPU kernel as fallback when running on GPU

@sachinprasadhs Yes, that is true -- the warning is caused by the source snippets above, which are marked with TODO(b/156447398), which I assume it is some internal bug tracking number.
The current code path converts the ragged tensors to dense tensors (inside the LSTM/GRU) anyway, but then it does not use the cuDNN path. But if the conversion is done manually outside (using the same functions), cuDNN implementation is used -- so it is definitely possible to take the cuDNN path even with RaggedTensors -- which is why I filed this issue.

@foxik Yes, you are right, there is already a internal bug(b/156447398) created for the same issue, till the issue is fixed the cuDNN GPU is disabled for the ragged inputs to avoid the input shape error due to the error in conversion of ragged tensors to dense tensors.

@sachinprasadhs It seemed like the issue is being tracked internally, but I did not find any mention about the problem here, so I created this issue to make it publicly visible.
It is however surprising that performing the conversion manually outside of the LSTM/GRU layer works without any problems (while I really encountered an issue when I tried to remove the workaround in the sources)...

Manually conversion works fine, but as I have mentioned above the issue seems to be with the RNN code converts the ragged tensor to dense tensor before feeding it to cuDNN kernel, so the error might be in the conversion code.

I created a pull request in the keras repository https://github.com/keras-team/keras/pull/15756 .

Hi, Could you please move this issue to closed since the PR is successfully merged. Thanks!

Definitely, thanks for the remainder! Cheers.


[feature request] enable yurtctl convert to support k8s v1.19 and 1.21

What would you like to be added:
Currently, yurtctl convert and revert command cannot support kubernetes v1.19 and v1.21. We should support them. I've run the kubernetes conformance tests based on both two k8s versions, and all cases passed. It's time to enable yurtctl to support v1.19 and v1.21.
Here are the test results.
v1.19

v1.21

others
/kind feature

Some test details
Openyurt components included:

yurthub
yurt-tunnel
yurt-controller-manager

OpenYurt commit: 61f8a76
deployed with command:
yurtctl convert -c master -t --provider kubeadm \
  --kubeadm-conf-path /usr/lib/systemd/system/kubelet.service.d/10-kubeadm.conf \
  --node-servant-image openyurt/node-servant:v0.5.0-amd64-61f8a76  \
  --yurt-controller-manager-image openyurt/yurt-controller-manager:v0.5.0-amd64-61f8a76 \
  --yurt-tunnel-agent-image openyurt/yurt-tunnel-agent:v0.5.0-amd64-61f8a76 \
  --yurt-tunnel-server-image openyurt/yurt-tunnel-server:v0.5.0-amd64-61f8a76 \
  --yurthub-image openyurt/yurthub:v0.5.0-amd64-61f8a76

k8s version: v1.19.13, v1.21.7

@Congrool It's a good job that add conformance test for OpenYurt. and i agree with you that add v1.19 and v1.21 version support.


how many multi million of websocket connections can be supported by hertz websocket?

saw this:
https://www.druva.com/blog/websockets--scale-at-fractional-footprint-in-go
any comparison etc with memory usage?

First of all can support millions of connections, if it is demo (ping/pong) , find a better machine, usually can carry it. If it is a complex business scenario to support millions of connections, the number of machines must also go up.


How to use Synapse dataset?

Hi!Your team have made a amazing work!But I got some troubles about it.
I saw you used Synapse dataset in your paper,but i don't find the usage about Synapse dataset in your github.
And then I try to reproduce the code and make some modification on my own way for Synapse dataset,but i got a different result and some bug:
1.When i used --max_iterations 10000,i got
Traceback (most recent call last):
File "train_fully_supervised_2D_VIM.py", line 257, in
train(args, snapshot_path)
File "train_fully_supervised_2D_VIM.py", line 186, in train
metric_i = test_single_volume(
File "/home/zh_701/new_sda_2T/LHJ/Mamba-UNet/code/val_2D.py", line 39, in test_single_volume
metric_list.append(calculate_metric_percase(
File "/home/zh_701/new_sda_2T/LHJ/Mamba-UNet/code/val_2D.py", line 14, in calculate_metric_percase
hd95 = metric.binary.hd95(pred, gt)
File "/home/zh_701/anaconda3/envs/Munet/lib/python3.8/site-packages/medpy/metric/binary.py", line 413, in hd95
hd1 = __surface_distances(result, reference, voxelspacing, connectivity)
File "/home/zh_701/anaconda3/envs/Munet/lib/python3.8/site-packages/medpy/metric/binary.py", line 1269, in __surface_distances
raise RuntimeError(
RuntimeError: The second supplied array does not contain any binary object.
2.When i used --max_iterations 1000,i got:
mean_dice : 0.407416 mean_hd95 : 99.048800
I coudn't reproduce the result,I don't how do fix it .
I will be appreciate it if your could help me .

Hi, for Synapse datasets (this is somehow different from ACDC and prostate), please import the dataset:
from dataloaders.dataset import  BaseDataSets_Synapse
and then replace the orginal dataset.
and the bugs indicates the evaluation metrics error. This is not a significant problems, and I guess you could just potentially not use the HD95 metrics, that would be fine. because ths loss is based on dice, not HD95.
hi, have you tried to train a model with 10,000 iterations? or 30,000 iterations?
Thanks.

Hi, for Synapse datasets (this is somehow different from ACDC and prostate), please import the dataset:
from dataloaders.dataset import BaseDataSets_Synapse
and then replace the orginal dataset.
and the bugs indicates the evaluation metrics error. This is not a significant problems, and I guess you could just potentially not use the HD95 metrics, that would be fine. because ths loss is based on dice, not HD95.
hi, have you tried to train a model with 10,000 iterations? or 30,000 iterations?
Thanks.

This is an excellent job! But I ran into some problems.

Hi, for Synapse datasets (this is somehow different from ACDC and prostate), please import the dataset:
from dataloaders.dataset import BaseDataSets_Synapse
and then replace the orginal dataset.
and the bugs indicates the evaluation metrics error. This is not a significant problems, and I guess you could just potentially not use the HD95 metrics, that would be fine. because ths loss is based on dice, not HD95.
hi, have you tried to train a model with 10,000 iterations? or 30,000 iterations?
Thanks.

ok

Hi, for Synapse datasets (this is somehow different from ACDC and prostate), please import the dataset:
from dataloaders.dataset import BaseDataSets_Synapse
and then replace the orginal dataset.
and the bugs indicates the evaluation metrics error. This is not a significant problems, and I guess you could just potentially not use the HD95 metrics, that would be fine. because ths loss is based on dice, not HD95.
hi, have you tried to train a model with 10,000 iterations? or 30,000 iterations?
Thanks.

It did works!But I got a new trouble when i run test_2D_fully.py
I ran as :
python test_2D_fully.py --root_path ../data/Synapse --exp Synapse/VIM --model mambaunet --num_classes 9 --labeled_num 8
And then got a bug:
test_2D_fully.py:12: DeprecationWarning: Please use zoom from the scipy.ndimage namespace, the scipy.ndimage.interpolation namespace is deprecated.
from scipy.ndimage.interpolation import zoom
=> merge config from ../code/configs/swin_tiny_patch4_window7_224_lite.yaml
None
../model/Synapse/VIM_8_labeled/mambaunet/mambaunet_best_model.pth
Traceback (most recent call last):
File "test_2D_fully.py", line 125, in
metric = Inference(FLAGS)
File "test_2D_fully.py", line 105, in Inference
net.load_state_dict(torch.load(save_mode_path))
AttributeError: 'NoneType' object has no attribute 'load_state_dict'
Notice net is a None type.I trace back in  networks.net_factory ,and found:
def net_factory(net_type="unet", in_chns=1, class_num=4):
if net_type == "unet":
net = UNet(in_chns=in_chns, class_num=class_num).cuda()
elif net_type == "enet":
net = ENet(in_channels=in_chns, num_classes=class_num).cuda()
elif net_type == "unet_ds":
net = UNet_DS(in_chns=in_chns, class_num=class_num).cuda()
elif net_type == "unet_cct":
net = UNet_CCT(in_chns=in_chns, class_num=class_num).cuda()
elif net_type == "unet_urpc":
net = UNet_URPC(in_chns=in_chns, class_num=class_num).cuda()
elif net_type == "efficient_unet":
net = Effi_UNet('efficientnet-b3', encoder_weights='imagenet',
in_channels=in_chns, classes=class_num).cuda()
elif net_type == "ViT_Seg" :#or "mambaunet"
net = ViT_seg(config, img_size=args.patch_size,
num_classes=args.num_classes).cuda()
elif net_type == "pnet":
net = PNet2D(in_chns, class_num, 64, [1, 2, 4, 8, 16]).cuda()
elif net_type == "nnUNet":
net = initialize_network(num_classes=class_num).cuda()
else:
net = None
return net
It mean that model" mambaunet" actually has no net
I dont konw how to solve it .
Thank a lot for your reply!And could you please help me for the new problem?Thanks again!


JIT-11099 added prometheus endpoint, added Dockerfile

Please drop any internal references: https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-contributing#for-8x8-employees


merge 1.3 back to dev

we have to be sure we merge 1.3 AND feature -1.4 to dev before we release.

I am not sure if this has been done, so writing a ticket to ensure it has been.  Please connect the PR and close the ticket if this is complete @gRoussac


Px to Rem

Convert all of the style portions of the app to use rem units

Is this best-practice these days?

Yessir. Modern screens have pretty variable pixel densities from a retina display to cheap desktops, so measuring things in pixels leads to highly inconsistent designs.
rem is just relative to the base font size, so regardless of their pixel density everything is spaced evenly. But also if they zoom the screen in, the who app naturally and predictably reflows.


Graphs appearance customisation

Context
When user defines graph in Datadog it provides him a handful of ways to customise output. So devs want the same functionality to be reflected in the API's.
Problem
Currently devs can only provide "q" and "satcked" arguments to request clause. But what if we want something more?
Task
Expose other arguments to the APIs.
Example of rich query:
{
  "text_align": "left",
  "autoscale": false,
  "custom_unit": "%",
  "precision": 3,
  "viz": "query_value",
  "requests": [
    {
      "q": "<some_huge_query_here>",
      "aggregator": "sum",
      "conditional_formats": [
        {
          "palette": "white_on_green",
          "comparator": ">",
          "custom_bg_color": null,
          "value": 99.99,
          "invert": false,
          "custom_fg_color": null
        },
        {
          "palette": "white_on_yellow",
          "comparator": ">=",
          "custom_bg_color": null,
          "value": 99,
          "invert": false,
          "custom_fg_color": null
        },
        {
          "palette": "white_on_red",
          "comparator": "<",
          "custom_bg_color": null,
          "value": 99,
          "invert": false,
          "custom_fg_color": null
        }
      ]
    }
  ]
}

@zorkian @ojongerius is there a way to open a pull request for your project? I've just branched out of master and added some stuff, but when I try to push branch to origin I see:
$ git push --set-upstream origin 52-graph-custom-appearance
ERROR: Permission to zorkian/go-datadog-api.git denied to smeshkov.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Yeah, you use the GitHub web site. Usual flow is,

Fork the project
Create a branch on your fork and push to it
Go to github.com and click the 'create pull request' button

https://help.github.com/articles/creating-a-pull-request/ has more details.
Good luck and thanks! :)
--
Mark Smith
<EMAIL_ADDRESS>On Thu, Aug 11, 2016, at 09:38 PM, Sergey wrote:

@zorkian[1] @ojongerius[2] is there a way to open a pull request for
your project? I've just branched out of master and added some stuff,
but when I try to push branch to origin I see:

$ git push --set-upstream origin 52-graph-custom-appearance ERROR:
Permission to zorkian/go-datadog-api.git denied to smeshkov. fatal:
Could not read from remote repository.  Please make sure you have the
correct access rights and the repository exists.
— You are receiving this because you were mentioned. Reply to this
email directly, view it on GitHub[3], or mute the thread[4].

Links:

https://github.com/zorkian
https://github.com/ojongerius
https://github.com/zorkian/go-datadog-api/issues/52#issuecomment-239359443
https://github.com/notifications/unsubscribe-auth/AAWD1M8AcKSF7gLRizVA122w1u90dq8qks5qe_jPgaJpZM4JirMK

Got it, thanks! Here is a PR: https://github.com/zorkian/go-datadog-api/pull/53

Can close?

Oh yes, good catch :)


AZD Build timeouts if you are based in remote areas.

When I execute the full build within a devcontainer, I encounter a need to restart the build several times to successfully construct all the resources and deploy the app. This issue arises from network latency, which is the delay incurred due to the significant geographical distance between a South African Azure developer and the Azure data centers located in the US or Europe. The latency contributes to timeouts during the extensive Azure Developer CLI script-based builds.

@roryp do you recall which part of the build was timing out? We recently changed the file upload/download process that happens during provisioning and I'm unclear if that resolved your issue.
Support for azcopy significantly reduces network issues transfering video trainings #156

Updated our known-issues.md with this feedback as well.


Glandre/Dropbox Upgrade

Hi @sebbrudzinski,
After some tests here I can say that Dropbox Connection is working. I tested all dropbox operations. Let me know your feedback about my changes.
In spite of the successful Dropbox connection, I'm facing a strange problem regarding the preview.tex file. I don't understand about it too much. Maybe you can help me find out what's going on.
To my understanding, the content of this file should reflect what is being displayed in the Editor, right?
I noticed that if you save the open file right from the start, this preview.tex file is not created which causes a NullPointerException on actions like PDFPreview and also the Dropbox Actions.
Additionally, I noticed that this file is usually one "change" behind of the current editor state. Additionally, it seems that some specific tokens don't trigger the change on it, e.g., Space and Backspace.
Am I missing something? Maybe some local configuration...

I've tried testing this but I'm always getting the "token is invalid" notice.
The error does not happen on my end, maybe some configuration on dropbox.com/developer dashboard? Can you tell me what is the Exception being caught at ConnectDropbox.java:112?

Hey @glandre some updates:

I've fixed the issue with NullPointerException - there was a race condition between spell checking and PDF refreshing. Feel free to verify on your side
The "Invalid token" problem was indeed related to Dropbox settings. I was using our prouction Dropbox app acc and apparently the approved "permission type" setting is not supported in v2. There's no way to change that so I've applied for a new Dropbox app.
I've tested authorizing to Dropbox, disconnecting and uploading a file - all works, but if I try to upload a file of an existing name I get an error about not being linked to Dropbox acc. If we're not supporting overrides, we should at least return a correct msg.
I was not able to test open dropbox file. I'm getting the following error:

java.lang.IllegalArgumentException: String 'path' does not match pattern
Can you take a look at this?

Great @sebbrudzinski, I'll take a look at that soon.

Hi @sebbrudzinski,
I'm testing the app here, and now it seems that the preview.tex never gets created, which result in FileNotFoundException on several different actions. I'll try to understand how this file is used and when it should be created, but maybe you can help me out here...
Steps I am following to reproduce the error on my end:
1 - Close Open-Latex-Studio, close Netbeans, and delete the folder ~/.Open-Latex-Studio. This way you make sure that no settings are loaded next time you open the app.
2 - Open the project on Netbeans.
3 - Run Open-Latex-Studio by pressing "Play"
4 - Save the current file with a different name, e.g., "test1.tex"
5 - Connect to Dropbox
6 - Upload to Dropbox
You'll get the error.

Okay, I think it was a problem with this regard: https://github.com/sebbrudzinski/Open-LaTeX-Studio/wiki/Setting-up-development-environment#known-issue-changes-not-reflected-in-application-after-changing-code
Sorry about that, it is apparently working correctly now.

I've tested authorizing to Dropbox, disconnecting and uploading a file - all works, but if I try to upload a file of an existing name I get an error about not being linked to Dropbox acc. If we're not supporting overrides, we should at least return a correct msg.

I added the Overwrite option to the call.

I was not able to test open dropbox file. I'm getting the following error: java.lang.IllegalArgumentException: String 'path' does not match pattern

I wasn't able to reproduce this error, could you provide me more details? Was it after selecting the file on the list of the JOptionPane.showConfirmDialog?

@glandre  Yes, this is after selecting a .tex file from the list. I investigated this more and think I found where the problem is - I left the comment inline.

Hello Sebastian,
You're right, I miss passed the local path as the parameter. It's weird that I wasn't getting the error... It's fixed now. Let me know if you find anything else.
Cheers,
Geraldo

Thanks @glandre - works fine now. I'll work on testing the application a little more and then release 1.5 if no major issues are found.


Showing a QR code in email(Gmail) body using social sharing

I'm using the ng-cordova social sharing plugin to generate a pre-filled email to send.
I want to include a QR Code generated using angular-qr. It seems that Gmail is blocking it due to the lack of a src=" " attribute in the <qr></qr> tag directive.
Any ides for a way around this?

Greetings @bmwertman!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.


🍒[5.9][Executors] Remote distributed actors get "crash on enqueue" default executor

Description: According to SE review, we do actually want to keep the non-optional distributed actor executor, however at the same time make the default one for remote actors one that "crashes on enqueue". This makes a lot of sense since just touching an executor in order to e.g. compare it should still be okey.
Risk: Low, no adopters of this feature yet; Implementation is simplified from previous style
Review by: @DougGregor @jckarter
Testing: PR testing
Original PR: https://github.com/apple/swift/pull/64969
Associated SE update: https://github.com/apple/swift-evolution/pull/2000

There was good discussion of what should happen when code asks a distributed actor instance what its executor is. The question doesn't really make sense to ask of a remote actor instance, since the only code that locally executes on its behalf is the nonisolated remote call stub, and it doesn't make sense to try to enqueue additional local work on a remote actor's executor. One possibility would be to have the unownedExecutor property of an actor be Optional, and have distributed actor instances return nil, but the Language Workgroup agrees with the proposal's choice not to take this route, since doing so would add friction to code that only works with local actors. Instead of returning a "default" executor, though, the language workgroup would like to see if it's possible to use an executor implementation that raises a fatalError if any code tries to enqueue additional jobs on it. Although it may make sense to ask an arbitrary actor for its executor to log the value as a debugging aid, it is likely a programming mistake to attempt to use that executor reference to enqueue work, so it may be preferable to trap at the attempt rather than to fall back to some default executor, to avoid expectations that the work will actually occur exclusively with work being done on the remote actor instance.

@swift-ci please test

distributed_actor_executor_asserts bad on linux, need to repro, probably minor adjustment in test tbh

@swift-ci please test

This should also calm down this flaky test actually: rdar://107631491

rdar://107826321


Dealloc completion blocks on the context they're scheduled on

We should at least do this for .main, if not other contexts.
PMHTTP does something similar for its completion blocks. It uses code like
extension HTTPManagerRequestPerformable {
    /// A workaround to ensure the completion block deinits on the queue where it's fired from.
    ///
    /// Ownership of blocks is not passed directly into the queue that runs them, which means they could get
    /// deallocated from the calling thread if the queue runs the block before control returns back to that
    /// calling thread. We guard against that here by forcing the completion block to be released immediately
    /// after it's fired. This ensures that it can only be deallocated on the completion queue or the thread that
    /// creates the task in the first place.
    fileprivate func completionThunk(for block: @escaping (_ task: HTTPManagerTask, _ result: HTTPManagerTaskResult<ResultValue>) -> Void) -> (HTTPManagerTask, HTTPManagerTaskResult<ResultValue>) -> Void {
        var unmanagedThunk: Unmanaged<Thunk<(HTTPManagerTask, HTTPManagerTaskResult<ResultValue>), Void>>? = Unmanaged.passRetained(Thunk(block))
        return { (task, result) in
            let thunk = unmanagedThunk.unsafelyUnwrapped.takeRetainedValue()
            unmanagedThunk = nil // effectively a debug assertion that ensures we don't call the completion block twice
            thunk.block((task, result))
        }
    }
}

/// A wrapper class that allows us to stuff the block into an `Unmanaged`.
private class Thunk<Args,ReturnValue> {
    let block: (Args) -> ReturnValue
    init(_ block: @escaping (Args) -> ReturnValue) {
        self.block = block
    }
}

After looking into this, I don't think this is actually doable after all. There's two reasons:

This really only works if we're actually executing the block. If we don't execute the block, then deallocating it on the target context requires executing a block on the target context after all, which in most cases is just wasted work.
It turns out to be rather complicated to do this because there are several levels of blocks involved here and we need to manage the lifetime of the block through all of them. In addition, there are a ton of methods that would need to be updated accordingly, and missing even one of them would reintroduce this issue.

If we cared enough, issue 2 could be dealt with, but issue 1 is a pretty big showstopper. I'm not inclined to be dispatching blocks onto the main queue purely to allow a block to dealloc there unless there's a very good reason to do so.

Thinking about it some more, it's not just wasted work to send these blocks to the queue, but also if this is generalized for all contexts and not just the main context then it can produce seriously bad performance issues when low-priority queues are involved, e.g.
somePromise.catch(on: .background, {
    …
}).then(on: .main, {
    …
})

In this scenario, a successful promise would still bounce through the .background queue before executing the then block, which isn't at all what we want.
Restricting it to just the main context solves this for the most part, unless the main thread is busy with work and we want to run a followup on a background queue. For example:
somePromise.then(on: .main, {
    …
}).catch(on: .userInitiated, {
    …
})

If the main queue is backed up, our catch block will be delayed unnecessarily.

I think I'm going to go ahead with this with the restriction that we only make this guarantee if the block actually executes (or would have executed if any relevant token wasn't invalidated).
This means if you need this behavior, use .always or a .mapResult variant.
We don't just guarantee this for those methods because e.g. a Promise<T,NoError> is guaranteed not to be rejected, and if you can guarantee yourself that it won't be cancelled either then relying on this for then would be fine. Relying on it for catch won't work, but at this point there's no sense in making exceptions.


Subquery results not correct when querying from multiple measurements

Bug report
System info: master b869607dc206cc58e63718ca72ea08293b987a0e
Steps to reproduce:
Test data:
insert measurementA a_value=0i
insert measurementA a_value=1i
insert measurementB b_value=1i
insert measurementB b_value=2i

Query:
select * from (select min(a_value),max(a_value),min(b_value),max(b_value) FROM measurementA,measurementB)

Expected behavior:
Results should be returned from both measurements:
> select min(a_value),max(a_value),min(b_value),max(b_value) FROM measurementA,measurementB
name: measurementA
time min max min_1 max_1
---- --- --- ----- -----
0    0   1

name: measurementB
time min max min_1 max_1
---- --- --- ----- -----
0            1     2

Actual behavior:
Results are only returned from the first measurement listed (measurementA in the example query):
> select * from (select min(a_value),max(a_value),min(b_value),max(b_value) FROM measurementA,measurementB)
name: measurementA
time max min
---- --- ---
0    1   0

Seems semi-related to #7972. For now, use aliases to ensure the names are different.


Use mozjpeg instead of libjpeg-turbo

Hello again :)
I would strongly recommend using mozjpeg for JPEG encoding. It is identical to libjpeg-turbo, but has some added patches that significantly improves compression without sacrificing image quality. It is used in many popular image suites, including other ports of libvips.
If you need to use libjpeg-turbo to test bleeding-edge updates, it is very easy to change back to. I can even add a flag to automatically switch between the two if you'd like.

FWIW, the Windows CI failure is unrelated to this and should be fixed with commit https://github.com/kleisauke/wasm-vips/commit/5823efbb0e29380c5736c1fff8a76470fc69077d.

Cool!

The reason that I used libjpeg-turbo instead of mozjpeg was that the latest version of mozjpeg (4.0.3) was a bit out-of-sync.

Yeah that is a bit weird.

Note that libvips resets to libjpeg-turbo's JCP_FASTEST defaults so this can be considered a "no-op" unless mozjpeg features are explicitly set, see: https://github.com/lovell/sharp-libvips/pull/89.

Good to know, thanks!
Would it make sense for this port to enable some mozjpeg features by default? I would be happy to play around with it, if you are open to it.

Would it make sense for this port to enable some mozjpeg features by default?

Good question. I think we shouldn't deviate too much from libvips default settings. The mozjpeg settings can be controlled with these options:
https://github.com/kleisauke/wasm-vips/blob/a51b0e2c9d1687558e9abf3e6b95def701277ca8/lib/vips.d.ts#L7316-L7331
Which are guared in libvips with the HAVE_JPEG_EXT_PARAMS condition:
https://github.com/libvips/libvips/blob/7e961b46718b32d654a1c10e9261cdbbd5ccb9b6/libvips/foreign/vips2jpeg.c#L613-L670
I'm aware that sharp has a shortcut option that would enable these settings at once (it also enables optimize_coding by default), see:
https://sharp.pixelplumbing.com/api-output#jpeg
A better option would be to provide a polyfill for sharp, based on wasm-vips, as discussed in this Twitter thread:
https://twitter.com/lovell/status/1395710714799665163


install-to-disk: Check for mounts before install

Works to improve bootc install to-disk flow by checking for mounts on the device to be installed to. If mounts are present then install will abort.
Resolves #720

This should be working now, I made changes to parse the findmnt output for the device and bail if found. @cgwalters for the findmnt command I hardcoded -N 1,  is there any issue with that? I was attempting to pass it a pid (you can see that attempt in the wip commit if you're curious) but the pid being passed was unable to see the device I was attempting to mount to.

Thanks for working on this BTW, I think it's getting close!


Code actions for multiple lsps are correctly numbered.

Fixes #44
The code in lua/lspsaga/codeaction/window.lua uses the word (number) under the cursor to lookup which action to execute (the actions are in a 1-based lua array, so that index can be used directly):
https://github.com/tami5/lspsaga.nvim/blob/main/lua/lspsaga/codeaction/window.lua#L51-L58
This change ensures the words (numbers) that can be under the cursor are correctly incremented for each new action that is inserted into the window.actions table.
Before

After

awesome @jesstelford, makes sense


Permissions issue for Kubernetes API

When I deploy my app on the pre-prod cluster I keep getting the following error .
Failure executing: GET at: https://kubernetes.default.svc/api/v1/namespaces/customnamespace/services. Message: Forbidden!Configured service account doesn't have access. Service account may have been revoked..
Is it something to do with the permissions on Kubernetes.
Do I need to grant some special permissions to the account to be able to query the K8S REST apis ?

This is likely because RBAC is enbaled for your cluster. So you have to define a role and a rolebinding for the "default" service account in the correspondign namespace. This should be documented!

@deepank-sharma  Please check this  https://github.com/fabric8io/fabric8/issues/6840


Forwarding eRPC failures to application

Hi all,
We're using eRPC for communication between 2 applications hosted on 2 different systems for a life safety critical medical product.
So, we've to handle all the potential error cases at the product level. Being said that, I performed an exercise to capture the error codes from eRPC to the application level.
I've set a custom error handler to eRPC client to forward the errors to the application.
On course of this exercise, I found a few observations below, which would need update in a few eRPC files and autogenerated (CPP) files. I request you to kindly have a look and let me know your thoughts.

In autogenerated client file, error from g_client-> performRequest is not handled, rather the error from codec status (err = codec->getStatus();) is returned by error handler.
I think the codec status has to be checked prior to even performing the request and if codec status is not successful, then the request shall not be performed.
Also, the error from performRequest has to be handled.

In erpc/infra/src/erpc_transport_arbitrator.cpp, TransportArbitrator::receive(), if there is  error from codec status, it says to continue, It should rather return the error.

In TransportArbitrator::prepareClientReceive(), if the PendingClientInfo is NULL, it returns kErpcStatus_Fail which is not complying the method prototype and skips the error from its caller too.

In erpc/transport/src/erpc_tcp_transport.cpp, the TCP_DEBUG_ERR causes the application to exit, by ePRC itself, rather than forwarding it to application.

Request your inputs on the above observations.

Would like to know, is anyone assigned for this, yet?

HI @Mercury2018 ,
sorry for delay in answer. I hoped i can go trough your comment earlier, but unfortunately i am busy these days. Thank you for this summary. We will take them into account once we will have time.

Hi,
Thanks for your information.
Would be helpful for my project, if I could get the response as early as possible.
Regards,
Tharini.
From: Dusan Cervenka<EMAIL_ADDRESS>Sent: 21 February 2019 19:00
To: EmbeddedRPC/erpc<EMAIL_ADDRESS>Cc: Gowrisankar, Bavatharini<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [EmbeddedRPC/erpc] Forwarding eRPC failures to application (#51)
HI @Mercury2018https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Mercury2018&d=DwMCaQ&c=fX5JQlNMJlvKqksNCnS8iA&r=Msb2DG3RPlMImyMwtfKnbEPZilEcnSvPWPNQ0Ja9YcPafbqVLQ74lEgTfI1gkvZM&m=rrNsaWOOohwnBpeYuvSpNb1Nn9iAu5q7pbLdI2J6MyE&s=wPIWZcHZJnldFVZ922hYcFAURNOQMafnvBcqpimLvyc&e= ,
sorry for delay in answer. I hoped i can go trough your comment earlier, but unfortunately i am busy these days. Thank you for this summary. We will take them into account once we will have time.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_EmbeddedRPC_erpc_issues_51-23issuecomment-2D465999780&d=DwMCaQ&c=fX5JQlNMJlvKqksNCnS8iA&r=Msb2DG3RPlMImyMwtfKnbEPZilEcnSvPWPNQ0Ja9YcPafbqVLQ74lEgTfI1gkvZM&m=rrNsaWOOohwnBpeYuvSpNb1Nn9iAu5q7pbLdI2J6MyE&s=qcq5exN5b1iTDeAgoTlY4PSN0f-GJkiUvx69gr6Hzss&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AqBBXY8rIS-5Fe3FuW21ybfHFAosE0eXHJks5vPp9kgaJpZM4azh69&d=DwMCaQ&c=fX5JQlNMJlvKqksNCnS8iA&r=Msb2DG3RPlMImyMwtfKnbEPZilEcnSvPWPNQ0Ja9YcPafbqVLQ74lEgTfI1gkvZM&m=rrNsaWOOohwnBpeYuvSpNb1Nn9iAu5q7pbLdI2J6MyE&s=A4dP5cW3s6aoHrJ7uR1R7W_xc1U0WPk-zDBfCNGIEoM&e=.

Hi @Mercury2018 are you really using erpc for safety. Which target are you using?
many thanks.

Yes, We're using it for a new product development which is a safety critical medical device.
We're using it for communicating between 2 applications running in IMX6 Solo X (client) and STM32 H7 (server) respectively.

That sounds great, do you share the STM32 H7 port for erpc?

Am sorry, your question is not clear to me. Can you please elaborate?

Okay so you write you are using it for IMX6 with an STM32H7.  And I am looking for some code example for the STM32H7. Are you using CMSIS UART or what?

We're using eRPC over network stack.
I feel this discussion is deviating from the reported issues. Is there any resolution for the reported issues?
I believe the reported issues can be reproduced with any existing systems supported by eRPC communication.

Hi @Mercury2018 ,
sorry for late answer. To reduce amount of source code we removed error checking from generated code. performRequest should check codec status at beginning. If any error happens he should set error. This should two your bullets. But set error into codec status looks weird to me. Maybe it will be better to change infrastructure a bit and status would go over all infrastructure in some general object.
Continuing when received wrong message means that the message has broken head (beginning of message). But i agree that it should be handled better way most likely.
Last one is for debbuging. I think here it is ok.

Hi @Hadatko,
Thanks for your response.
Does V1.7.1 have removed error checking from generated code?
And the changes that you're proposing will be part of V1.7.2? Can you please let me know so that it'll be helpful for us to plan accordingly.

Hello @Mercury2018,
error checking had been removed from the generated code before 1.7.1.
As for the changes proposed by @Hadatko , they are not going to be part of the official v1.7.2, unfortunately. But, we are working on it now and you could expect these bugfixes on develop branch soon (once reviewed and tested properly).

Hi @MichalPrincNXP,
Thanks for the update.

The ClientManager and the ArbitratedClientManager updated in v1.7.3 to avoid performing client requests when the previous serialization phase fails.


Format of databasename property in WorkloadSqlRestoreContent

Library name and version
Azure.ResourceManager.RecoveryServicesBackup
Query/Question
I'm trying to restore a database using the graph api.
At some point to trigger the restore I need to provide a WorkloadSqlRestoreContent. I'm not restoring to the original server so I need to provide a new database name and instance name.
from the link below I believe I can set the new instance name and database name in one go using the databasename property.
This property is string and the correct format is not documented. So what should it be?
server\instance.database or server\instance/database or or or.....
Unfortunately these things are very poorly documented. Its very hard to use.
https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.management.recoveryservices.backup.models.targetrestoreinfo.databasename?view=azure-dotnet-legacy&viewFallbackFrom=azure-dotnet-preview
Environment
vs2022 latest

Hi @bzuidgeest , thank you for your feedback. Regarding your question, I believe that in TargetRestoreInfo, DatabaseName actually refers to the name of the database, not the ResourceID. Therefore, it doesn't really have a specific format. The format of ContainerID, which also belongs to TargetRestoreInfo, should be similar to "/subscriptions/yoursubscription/../..". It works together with DatabaseName to locate the database for the restore operation.


--driver-type is parsed as the target db name

harlequin -a adbc --driver-type snowflake "username:pass@account/mydatabsename"
╭─ Harlequin could not connect to your database. ─╮
│ 'driver_type'                                   │
╰─────────────────────────────────────────────────╯

I think there is an issue parsing arguments.

Interesting I can't seem to reproduce the error on my end. Could you try using single quotes instead of double quotes around the snowflake URI?

For the account make sure it's formatted as accountID-orgID I noticed when I copied this value from Snowflake it used a period instead of a hyphen

Still getting the same issue.
Command I'm using with (falsified credentials obviously).
harlequin -a adbc  --driver-type snowflake<EMAIL_ADDRESS>╭─ Harlequin could not connect to your database. ─╮
│ 'driver_type'                                    │
╰──────────────-─────-────────-───────-──────────╯

Does that look right?
Could you provide an example command with obfuscated account details perhaps?

Okay. So I re-ran sudo pip install adbc-driver-snowflake and despite the Requirement already satisfied, it now works! (although Data Catalog is empty...). No idea why it suddenly works now.
If I have time over the weekend I'll try to figure out what was going on using a bare VM to recreate it. I didn't use pipx either (just pip) so maybe that was causing it. And if I can re-create it I'll do a PR with a fix to show a better error message.


Failed to publish/delete an ArcGIS Service

When I am trying to overwrite an existing service, I get the following error:

It could be that the underlying folder has been corruted. However, I am not able to delete the service either. It says Access is denied.

Please can someone help me?

@astha11 It appears that this issue was created in this GitHub repo by mistake, as it is not related to the use of scripts provided in this repo or in the scope of this repo. You can post questions to https://geonet.esri.com, http://support.esri.com/ or contact Esri Technical Support. Thank you.


Segmentation Fault on HTTPS

When using laravel-echo-server with encryption (https), nodejs hangs with Segmentation Fault, as below:

Search all over the internet and can not found any answer. Something related with CA Bundle or Intermediate CA can be related with this issue. But I really do not know.

laravel-echo-server.json

{
"authHost": "https://laravel-host.com",
"authEndpoint": "/broadcasting/auth",
"clients": [],
"database": "sqlite",
"databaseConfig": {
"redis": {},
"sqlite": {
"databasePath": "/database/laravel-echo-server.sqlite"
}
},
"devMode": true,
"host": "laravel-host.com",
"port": "6001",
"protocol": "https",
"socketio": {},
"sslCertPath": "/etc/nginx/ssl/comodo_uva_wildcard_ssl.crt",
"sslKeyPath": "/etc/nginx/ssl/comodo_uva_private_key.key"
}

Environment:

2 CPU
2 GB RAM
Node Version: v6.10.3
NPM Version: 3.10.10
OS: Linux CentOS 7
Kernel:  Linux 3.10.0-514.26.2.el7.x86_64

Have you tried this yet?
https://github.com/tlaverdure/laravel-echo-server/issues/65

The socketio documentation states that the default engine is ws, but i think it might actually be using uws instead, as i tried changing it to that to see if it worked, and it still segfaulted.
If you specify the engine as ws, like so: "socketio": {"wsEngine": "ws"}, that worked for me.

@st0ck53y Yeah, its uws
https://github.com/tlaverdure/laravel-echo-server/pull/168
Make a PR to update the docs to help the next person!

Sorry for the late,
Well, the problem was solved by downloading the NodeJS from https://nodejs.org

DO NOT INSTALL nodejs from EPEL Repository or other repo, it'll crash (Segmentation Fault).

Solution on my environment:

OS: Linux CentOS 7

Kernel: Linux 3.10.0-514.26.2.el7.x86_64

$ sudo yum groupinstall 'Development Tools'
$ cd /opt
$ curl --silent --location https://rpm.nodesource.com/setup_6.x | sudo bash -
$ yum -y install nodejs
Hope can help...

@rodolphovfreire  Thanks, work like a charm 😄

Can we close this?


Bridge Mode: Server Error

Hey there,
thanks for the great software.
Im using the most current version in Docker and am trying to use the bridge mode (so that sponsorblock works), but the application runs into the following error:
[download]   0.0% of   31.12MiB at  Unknown B/s ETA Unknown<IP_ADDRESS> - - [23/Apr/2024 23:17:26] "GET /youtube/bridge/u4RMsjieSI4 HTTP/1.1" 500 -
Error on request:
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/werkzeug/serving.py", line 335, in run_wsgi
    execute(self.server.app)
  File "/usr/local/lib/python3.9/site-packages/werkzeug/serving.py", line 324, in execute
    for data in application_iter:
  File "/usr/local/lib/python3.9/site-packages/werkzeug/wsgi.py", line 500, in __next__
    return self._next()
  File "/usr/local/lib/python3.9/site-packages/werkzeug/wrappers/response.py", line 50, in _iter_encoded
    for item in iterable:
  File "/usr/local/lib/python3.9/site-packages/flask/helpers.py", line 149, in generator
    yield from gen
  File "/opt/ytdlp2STRM/plugins/youtube/youtube.py", line 699, in generate
    line = process.stdout.read(1024)
  File "/usr/local/lib/python3.9/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdc in position 27: invalid continuation byte

The website just displays a 500 Internal Server Error.
Thanks!

Ty, fixed on https://github.com/fe80Grau/ytdlp2STRM/commit/c0059c83abb81d541631037385ace63f71c8f9d5 #

The error no longer appears. Thank you. Though I do seem to have the same issue as #35 does now. More over there.


WIP: Kafka ssl

Doing some testing with this one. not necessary to merge at the moment :)

This has been tested and works to satisfy Fedramp requirements, but we'll need to hold off on it until an official app-commmon-python has been released. Right now it's using a branch I put together. I'll swing back around to this PR when it's ready to go


Battle hunger never applies to enemy, and Axe never loses movement speed stack

For whatever reason when Axe applies battle hunger on an enemy, they don't receive the debuff. In addition, this causes axe to never lose the "Battle hunger" stack buff until he dies, allowing him to gather up a lot of move speed very quickly

5104b34dac6fe115e87a19cef4f460477cec553c

Fixed.


Exception: "None of the available storage backends were able to support the supplied data format."

I try to use hvplot.networkx from hvplot version 0.5.2 with bokeh to visualize a network graph.
This is code that works: a simple graph is created using networkx, and some attributes are added to the graph nodes, then hvplot is used to show the graph and show hover tooltips from the attributes:
import networkx as nx
import hvplot.networkx as hvnx

nodes = [1,2,3,4,5,6,7,8,9,10]
edges = [(1,2), (1,3), (1,4), (4,5), (4,3), (8,9), (8,7), (7,6)]

nxg1 = nx.Graph()
nxg1.add_nodes_from(nodes)
nxg1.add_edges_from(edges)
pos = nx.spring_layout(nxg1)

# some attributes for the nodes
for node in nxg1.nodes:
    nxg1.nodes[node]["label"] = f"Node{node}"
    nxg1.nodes[node]["desc"] = "some description"

hvnx.draw(nxg1, pos, hover_cols="all")

The following code throws the exception: here the node has an attribute "x" (or "y", but "z" is ok):
import networkx as nx
import hvplot.networkx as hvnx

nodes = [1,2,3,4,5,6,7,8,9,10]
edges = [(1,2), (1,3), (1,4), (4,5), (4,3), (8,9), (8,7), (7,6)]

nxg1 = nx.Graph()
nxg1.add_nodes_from(nodes)
nxg1.add_edges_from(edges)
pos = nx.spring_layout(nxg1)

# some attributes for the nodes
for node in nxg1.nodes:
    nxg1.nodes[node]["label"] = f"Node{node}"
    nxg1.nodes[node]["desc"] = "some description"
    nxg1.nodes[node]["x"] = pos[node][0]
    nxg1.nodes[node]["y"] = pos[node][1]
hvnx.draw(nxg1, pos, hover_cols="all")

Exception:
DataError                                 Traceback (most recent call last)
<ipython-input-7-930eafbe4a1f> in <module>
     16     nxg1.nodes[node]["x"] = pos[node][0]
     17     nxg1.nodes[node]["x"] = pos[node][1]
---> 18 hvnx.draw(nxg1, pos, hover_cols="all")

~/software/anaconda/envs/polads/lib/python3.6/site-packages/hvplot/networkx.py in draw(G, pos, **kwargs)
    223
    224     # Construct Graph object
--> 225     g = _from_networkx(G, pos, **params)
    226
    227     if 'nodelist' in kwargs:

~/software/anaconda/envs/polads/lib/python3.6/site-packages/hvplot/networkx.py in _from_networkx(G, positions, nodes, cls, **kwargs)
    107             dim = col
    108         vdims.append(dim)
--> 109     nodes = cls.node_type(node_data, vdims=vdims)
    110
    111     # Construct graph

~/software/anaconda/envs/polads/lib/python3.6/site-packages/holoviews/core/data/__init__.py in __init__(self, data, kdims, vdims, **kwargs)
    337         validate_vdims = kwargs.pop('_validate_vdims', True)
    338         initialized = Interface.initialize(type(self), data, kdims, vdims,
--> 339                                            datatype=kwargs.get('datatype'))
    340         (data, self.interface, dims, extra_kws) = initialized
    341         super(Dataset, self).__init__(data, **dict(kwargs, **dict(dims, **extra_kws)))

~/software/anaconda/envs/polads/lib/python3.6/site-packages/holoviews/core/data/interface.py in initialize(cls, eltype, data, kdims, vdims, datatype)
    290                 error = ' '.join([error, priority_error])
    291                 raise six.reraise(DataError, DataError(error, intfc), sys.exc_info()[2])
--> 292             raise DataError(error)
    293
    294         return data, interface, dims, extra_kws

DataError: None of the available storage backends were able to support the supplied data format.

Why is "x" or "y" not usable as an attribute, are there other names that would not work and if there are reserved names, could the error message be more informative?

This will require some thought your intuition about the cause here is correct in that 'x' and 'y' are the default dimensions describing the positions of the nodes and are therefore reserved by default. We will have to consider where to add a better error and/or whether to use default dimension names which are not going to clash.

As the example shows, the values of the x and y attributes actually are the positions that would get pased  on as pos to the draw function. So in this case, the draw function could just use the x and y attributes and it seems natural to do this, so it would be good to allow something like pos=("x","y") to retrieve the positions directly from the nodes instead of from a separate data structure.
If the draw function needs to use some names for x and y for the internal data structure which should not clash with names derived from the nodes, then some scheme for reserved names would be good, e.g. "__x" and "__y"  or "__name" in general. It could then be documented that attributes starting with a double underscore cannot be used.


chore(workflow-beta4): releasing workflow-beta4(-e2e)

chart LGTM. Time to test!

Wait we found an issue. deisrel defaulted the org in the params toml to deis instead of deisci

ah good catch. I missed that

putting all the images in one org++


How execute ?

Hi, I've just discovered this tool, downloaded but didn't see any executable, should how to launch supermsconfig ?

What an as**le I am, I didn't take good package....
Sorry  I hadn't drunk my coffee yet


Request parse JSON data differently in POST and PATCH method

Laravel Version: 5.6.22
PHP Version: 7.1.17

Description:
Request parse JSON data differently in POST and PATCH method, when header 'Content-Type: application/vnd.api+json' or  'Content-Type: application/json'  is present.
Steps To Reproduce:
Assume the following controller
public function post_or_patch(Request $request)
{
    var_dump($request->json()->all());
}

When I send POST data
curl 'http://example.com/test' -H 'Content-Type: application/json' \
 --data-binary '{"data":"", "another_data": "hola"}' --compressed

dumps
array(2) {
      ["data"]=>
      string(0) ""
      ["another_data"]=>
      string(4) "hola"
}

When I send PATCH data
curl 'http://example.com/test' -X PATCH -H 'Content-Type: application/json' \
 --data-binary '{"data":"", "another_data": "hola"}' --compressed

array(2) {
      ["data"]=>
      NULL
      ["another_data"]=>
      string(4) "hola"
}

I try, also, with  $request->all(), $request->toArray(), $request->input() and $request->json()->all().
If  -H 'Accept: application/vnd.api+json' is removed, we receive allways a string.
If I use var_dump(json_decode($request->getContent(), true));, return same data POST and PATCH (very extrange, beacause ->json() returns an object ParameterBag((array) json_decode($this->getContent(), true)))

Tried to reproduce with Laravel 5.6.27 following the same steps you described but always got NULL on the data key.
Can you post your routes file?

@ybaruchel you got NULL on POST and PATCH? or only with PATCH call like me?

@pablorsk I got NULL on both :/


Console output "Disconnected from server"

I often see the following in the output pane shortly after starting a Jetty run configuration:
Connected to server
Disconnected from server
I can't tell who prints this and why. The application continues to work normally despite the message.

Closing this issue as the repository is being archived to discourage further use.


[BUGFIX] "Confirm" and "Cancel" buttons should be clickable

Use width and height returned from "didUpdateDimensions" listener, instead of multiplying it by 2 which is not needed, and sometimes makes buttons unclickable.

This should fix #357

Hey @fstojanac , thanks for the PR!
Just to clarify the rationale on multiplying by 2: when you rotate the device, the backdrop might not cover the entire screen during the rotation animation, hence why we multiplied it by 2 (could be any number actually, but unless the device is more than two time wider than it's higher it should work).
Yeah, it's not a pretty workaround.
I might be missing something, but why would this cause the issue with the confirm/cancel button not clickable?

@mmazzarolo, I see what you wanted to achieve, but handleDimensionsUpdate function should be enough, since it's a event listener for change of the screen orientation.
To be honest, I don't know why this multiplication makes buttons unclickable, but I had experienced that on iOS while using RN 0.61.5, and the only thing that allowed me to make them clickable was this one.

I see what you wanted to achieve, but handleDimensionsUpdate function should be enough, since it's a event listener for change of the screen orientation

Did you already try both orientation changes? Do the backdrop cover the entire screen while rotating? It did not when we added that part of code... and I'm not sure how it would be able to cover it without any additional padding 🤔

To be honest, I don't know why this multiplication makes buttons unclickable, but I had experienced that on iOS while using RN 0.61.5, and the only thing that allowed me to make them clickable was this one.

😞 sorry to hear that... do you know if it was happening on other versions? This is the first time we get a report for this kind of issue, so I'm wondering if something changed on the RN side.

Did you already try both orientation changes? Do the backdrop cover the entire screen while rotating? It did not when we added that part of code... and I'm not sure how it would be able to cover it without any additional padding 🤔

Yup, I did, and it covers the whole screen once the phone is rotated. I haven't checked what happens during the rotation, but is that actually a problem?

😞 sorry to hear that... do you know if it was happening on other versions? This is the first time we get a report for this kind of issue, so I'm wondering if something changed on the RN side.

It's present on 0.61.*, haven't checked versions before that.

(FYI I still haven't had a chance to check it, hope I'll have some free time the next weekend)

@fstojanac , I tried your PR but it's not making it any better to solve #357 for me.
Mind checking #370 instead?

@mmazzarolo Since this PR I've rewritten the whole package in TS, adjusting some things while rewriting it. I'm using it locally in my app, seems to be working well, so if you wish I can open a new PR if you're interested in that.

@fstojanac what package? you mean react-native-modal-datetime-picker? 🤔 amazing
I wasn't looking into moving it to TS yet but feel free to open a PR if you have already done it 👍

@mmazzarolo Yes, THIS one 😂
OK, I'll open PR sometimes later today.

Merging it since it seems to solve additional issues related to #370 .
Can't reproduce the issue in the example (nor solve it with the PR) but code looks good to me!
Thanks again @fstojanac 👍

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update build.gradle

update javadoc task

change :  2003-2013 -> 2003-present

questions for javadocAll task

source = 1.9 -> correct?! Within task javaDoc , value is 1.8
bottom contains "2003-2016" - also an update necessary?

excludes within tasks javadoc and javadocAll are different. It is cleaner having the same excludes, isn't it?

Bye,
Sascha

Thanx! Did what you said, too :) Sorry for a longer response, was quite busy with Madvoc.


Unpin setuptools

This PR seeks to support alternate versions of setuptools for those (like me) who cannot use the pinned version.
See: https://github.com/NVIDIA/NeMo/issues/7475

Can this be merged? It was merged in Nemo toolkit.

@pplantinga thanks!


Crash on bandcamp album download on OS X

My system info:
-> % uname -a
Darwin mbp13r.local 14.1.0 Darwin Kernel Version 14.1.0: Thu Feb 26 19:26:47 PST 2015; root:xnu-2782.10.73~1/RELEASE_X86_64 x86_64
aas@mbp13r [18:43:52] [~/Music/quake64]
-> % brew --version
0.9.5
-> % youtube-dl --version
2015.03.28

Here is the crash output:
-> % youtube-dl -v http://aubreyhodges.bandcamp.com/album/quake-nintendo-64-official-soundtrack
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://aubreyhodges.bandcamp.com/album/quake-nintendo-64-official-soundtrack']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.03.28
[debug] Python version 2.7.9 - Darwin-14.1.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.6.1, ffprobe 2.6.1
[debug] Proxy map: {}
[Bandcamp:album] quake-nintendo-64-official-soundtrack: Downloading webpage
[download] Downloading playlist: Quake - Nintendo 64: Official Soundtrack
[Bandcamp:album] playlist Quake - Nintendo 64: Official Soundtrack: Collected 19 video ids (downloading 19 of them)
[download] Downloading video 1 of 19
[Bandcamp] quake-n64-theme: Downloading webpage
[debug] Invoking downloader on u'http://popplers5.bandcamp.com/download/track?enc=mp3-128&fsig=29202afb1f488bd498bfea77cc665b7e&id=1110736880&stream=1&ts=1427619504.0'
[download] Quake N64 Theme-1110736880.mp3 has already been downloaded
[download] 100% of 4.61MiB
[download] Downloading video 2 of 19
[Bandcamp] quake-n64-level-complete: Downloading webpage
[debug] Invoking downloader on u'http://popplers5.bandcamp.com/download/track?enc=mp3-128&fsig=208d814a18b3414fd4ec50b6d1382347&id=929181834&stream=1&ts=1427619505.0'
[download] Quake N64 Level Complete-929181834.mp3 has already been downloaded
[download] 100% of 3.63MiB
[download] Downloading video 3 of 19
[Bandcamp] quake-n64-rune-acquired: Downloading webpage
[debug] Invoking downloader on u'http://popplers5.bandcamp.com/download/track?enc=mp3-128&fsig=54997ccc8883a0966043d63edc164fea&id=943351211&stream=1&ts=1427619506.0'
[download] Quake N64 Rune Acquired-943351211.mp3 has already been downloaded
[download] 100% of 2.05MiB
[download] Downloading video 4 of 19
[Bandcamp] warbled-level-slipgate-complex: Downloading webpage
[debug] Invoking downloader on u'http://popplers5.bandcamp.com/download/track?enc=mp3-128&fsig=935a3ac17929fa3586296ebbfd1b5248&id=3645197842&stream=1&ts=1427619508.0'
[download] Warbled (Level - Slipgate Complex)-3645197842.mp3 has already been downloaded
[download] 100% of 10.98MiB
[download] Downloading video 5 of 19
[Bandcamp] growls-of-the-lost-level-castle-of-the-damned: Downloading webpage
[Bandcamp]<PHONE_NUMBER>: Downloading free downloads page
[Bandcamp]<PHONE_NUMBER>: Requesting download url
[debug] Invoking downloader on u''
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 408, in main
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 398, in _real_main
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1446, in download
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 662, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 821, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 715, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 662, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 708, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1150, in process_video_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1379, in process_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1354, in dl
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 341, in download
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 64, in real_download
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1673, in urlopen
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 423, in open
    protocol = req.get_type()
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 285, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type:

Duplicate of  #4861.


Duplicated properties fail with slice_nodes disabled

Hi,
I found an issue where if you have two copies of the same property and slice_nodes=false, then the properties will fail.
Here's a small test case (test.lus):
node test(a : int) returns (b : int)
let
  b = 0 -> pre a;
  --%PROPERTY true;
  --%PROPERTY true;
tel

Passing --slice_nodes false makes both fail:
$ kind2 test.lus --slice_nodes false
 kind2 v1.2.0-24-g11397c7d

==========================================================================================
Analyzing test
  with First top: 'test' (no subsystems)

<Error> Runtime failure in property directed reachability: set_prop_ktrue

<Failure> Property true is invalid by property directed reachability for k=0 after 0.025s.

Counterexample:
  Node test ()

<Warning> Child process 36338 (property directed reachability) exited with return code 2

------------------------------------------------------------------------------------------
Summary of properties:
------------------------------------------------------------------------------------------
true: invalid after 0 steps
true: invalid after 0 steps
==========================================================================================

By default, both pass as expected:
$ kind2 test.lus
 kind2 v1.2.0-24-g11397c7d

==========================================================================================
Analyzing test
  with First top: 'test' (no subsystems)

<Success> Property true is valid by property directed reachability after 0.044s.

------------------------------------------------------------------------------------------
Summary of properties:
------------------------------------------------------------------------------------------
true: valid (at 1)
true: valid (at 1)
==========================================================================================

I can try to dig a bit deeper when I get a chance, but if you've got any pointers where to start looking that'd be helpful.
Amos

Hi Amos,
Thank you for reporting this bug. Pull request #644 fixes this issue.
Daniel


Add Svg namespace to Svg.Keyed.node

Here is a revised solution to https://github.com/elm-lang/svg/issues/5.
I found a ContributorAgreement.pdf in elm-compiler. Is that the right one? How do I submit it? Something like print, sign, photograph, and send as email attachment?

I've known people to use things like https://www.pdfescape.com/ to edit it. Def will add to the projects and ask for help improving this process.

Great, thank you!

Okay, patch should be out on the package website now. Thanks!


Unshaky compatibility for Macos 11 / Bug Sur

While planning an upgrade to Macos 11 I am searching for information about the compatibility of Unshaky to Big Sur. any experiences yet?
Without Unshaky I get mad using my MBP 16"!

I just upgraded to big sur two days ago. Unshaky still works as expected. (I did not go through the installation process, so I cannot say the same about installing)

Unshaky does not work for me. I tried using 0.6.0, to no avail, and tried building 0.6.1, but was experiencing errors with certificates while building.

Unshaky does not work for me. I tried using 0.6.0, to no avail, and tried building 0.6.1, but was experiencing errors with certificates while building.

Did you check out this issue? https://github.com/aahung/Unshaky/issues/166


The result of accuracy and k is strange when I change the batch size

Question is the results trained on STL-10 are too low with different batch size.
The only difference of environment is that the version of python is 3.8.
And the accuracy is 0.793, and k is 10 when I use the default command (as shown in the first, second quote).
But when I only change the batch size (e.g., 512), the result is very strange (as shown in the third, fourth quote), especially k = 3. So my question is what happen when I change the batch size?

The default command :  python DeepDPM.py --dataset stl10 --init_k 3 --dir pretrained_embeddings/MOCO/STL10 --NIW_prior_nu 514 --prior_sigma_scale 0.05  --seed 0 --use_labels_for_eva   --save_checkpoints True --exp_name 'test'

The result of default command : NMI: 0.74268, ARI: 0.6775, acc: 0.793, final K: 10

The command of changing batch size : python DeepDPM.py --dataset stl10 --init_k 3 --dir pretrained_embeddings/MOCO/STL10 --NIW_prior_nu 514 --prior_sigma_scale 0.05  --seed 0 --use_labels_for_eva  --batch-size 512 --save_checkpoints True --exp_name 'test1'

The result of the command of changing batch size : NMI: 0.52621, ARI: 0.29056, acc: 0.2952, final K: 3

It is my fault. When I change the learning rate of clustering net, the results are almost similar to the default setting.


Make Lint/UnreachableCode detect 'exit', 'exit!' and 'abort'

I think it is reasonable that Lint/UnreachableCode detects 'exit', 'exit!' and 'abort'
def foo
  exit
  puts 'hello' # unreachable, but rubocop 0.59.0 does not add offence
end

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Run rake default or rake parallel. It executes all tests and RuboCop for itself, and generates the documentation.

This looks like adding reasonable methods. Thanks!

thank you!


x/sys/unix: TestMremapPtr fails with "MremapPtr: cannot allocate memory" on GOOS=netbsd

This functionality and test was recently added in CL 592415. It fails on GOOS=netbsd specifically:
=== RUN   TestMremapPtr
    mremap_test.go:67: MremapPtr: cannot allocate memory
--- FAIL: TestMremapPtr (0.00s)

(From https://ci.chromium.org/b/8744162608784922945.)
CC @golang/netbsd, @ncruces.

Oh. Sorry about that. I had asked to run CI tests because I couldn't test other OSes. I'll try to set up something NetBSD to test this.

Similar Issues

x/sys/unix: TestMmapPtr fails with "Munmap: invalid argument" on GOOS=openbsd #68181

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

I've tried to verify this fix by setting up NetBSD with GitHub actions, but would appreciate that the CL would go through this testing somehow during review?

@ncruces See https://go.dev/wiki/SlowBots. In particular, you should be able to include a footer like this:
Cq-Include-Trybots: luci.golang.try:x_sys-gotip-netbsd-arm64

That'll cause those builders to run when a Commit-Queue+1 vote is left.

Apparently there was a CI availability issue. If anyone can try again. Otherwise I'm reasonably confident due to reproducing and fixing on my end. I'll have a stab at #68181.


Adds polkadot.com.se phishing site

Phishing attempt which I have seen being sent to new users on discord.

Thanks an absolute million for this.


Only build Python-examples if bindings are built

Currently we have a configuration option that can break build: cmake .. -DBUILD_PYTHON_INTERFACE=OFF will still try to build the Python examples. This PR fixes this.

Well catched @wxmerkt!
I think it is better if we do not include the Cmake file inside the examples folder. We could also add the rule that example-robot-data dependency is not needed if we don't want to generate the Python bindings.

that's right. example-robot-data is required only if DBUILD_PYTHON_INTERFACE && BUILD_TESTING.

I think it is better if we do not include the Cmake file inside the examples folder.

Every other folder (benchmarks, bindings) has their own CMakeLists that gets included via add_subdirectory. I take it the suggestion is to move the example build logic to the main CMakeLists? Or to conditionally include based on BUILD_PYTHON_INTERFACE? The latter only makes sense if we are not adding C++ examples at some point in the future. Happy to do the former but it breaks with the logic in the other directories (benchmarks, bindings). Which option should I pursue?

Or to conditionally include based on BUILD_PYTHON_INTERFACE? The latter only makes sense if we are not adding C++ examples at some point in the future.

Yes, my suggestion was this later point. Personally, I am not particularly interested in adding c++ examples, and do not think someone else will do it.

Thanks for the clarification, now amended


sklearn and crf params from config

Proposed changes:

Expose some hardwired parameters so they are settable from config in pipeline items: "intent_classifier_sklearn" "ner_crf".
Add a from_dict class-method to RasaNLUConfig so test code conforms to mypy

Status:

[x] ready for code review
[ ] there are tests for the functionality
[ ] documentation updated
[ ] changelog updated

@tmbo would you want any specific tests for this?
@IanRogers-LabShift are you working on updating docs as well?

@wrathagom I hadn't planned on writing any docs as such - looking at the other code there seems to be a "use the source, Luke" convention at the moment :-)

@IanRogers-LabShift I am referring to the read the docs http://rasa-nlu.readthedocs.io/en/latest/ since I'm just a contributor here and not an owner I can say that I find the docs to be quite nice.
Specifically configuration parameters and there defaults go on this page. http://rasa-nlu.readthedocs.io/en/latest/config.html

I restarted the one that failed, looked like a memory problem not related to the PR.

Great work, looks really good. Thanks a lot for the work you have put into the PR.
One minor last thing: Could you please rename the configuration parameters to be the same as the component name the configuration is used for (e.g. entity_crf_train  to ner_crf)? After that we can merge :+1:

Thanks so much for your contribution @IanRogers-LabShift very happy to merge this :)

@tmbo thanks. NB. @nikitakarandej and @Ayoubb94 did the work :-) , I'm just the team-lead on our project :-)


Have docs update prior to git push

This will keep these in sync.
Can likely hook into an npm script or something like that?

Added a script to handle this when the project gets versioned...which should happen as the last commit before attempting to merge into dev


Connection issues via wifi for playstore version

Problem:
A bunch of people from our homeserver have a problem with the Android client.
When connected via wifi, the app shows the loading bar without any progress. We are not able to send or retrieve msgs. Disconnecting the phone from wifi and switch to mobile data allows the app to load and send msgs. From within the wifi, riot desktop apps work fine.
I already handed in 2 issues via rageshake.
Used Version:
We are using the up to date playstore version.
Expected Behavior:
riot-android should work via wifi.

@valkum
Please check if there is no proxy on your wifi connection.
There are timeout errors when the application is connected on wifi.

I have no proxy set for my wifi connection. I think maybe the problem is coming from a new ipv6 dns config. I get timeouts for the given ipv6 adress for our homeserver on my desktop as well, so i assume that the android client is not trying to use the ipv4 address in case the ipv6 address timeouts. The desktop app seems to connet via ipv4 or at least falls back to ipv4.

vector-im/riot-android/issues/1206 seems related

Further research shows that, if it is related to ipv4 fallback, it should be fixed in matrix/matrix-android-sdk related to https://github.com/square/okhttp/issues/506

https://github.com/matrix-org/riot-android-rageshakes/issues/729

https://github.com/matrix-org/riot-android-rageshakes/issues/729

https://github.com/matrix-org/riot-android-rageshakes/issues/730


db get

We are not passing filter options to db.get()

I'll fix after the wildcard stuff is merged...

Need to add tests for that too, to make sure we don't regress.

we also don't support passing options under the field of 'filter'

@relekang I can take this issue.
Should we increment currentViews and push view if since or before query passed?

Great 🙂

Should we increment currentViews and push view if since or before query passed?

Not sure, but as a start we should just pass the filters to get all the places.