''osd_memory_target'' in section ''osd'' redefined Error during FSID fetch

Bug Report
What happened: When running a rolling update, ceph-facts : get current fsid task fails as the executed command returns a non-zero return code, with the stderr containing a warning that the osd_memory_target setting has been redefined.
stderr: 'Can''t get admin socket path: unable to get conf option admin_socket for mon.host: warning: line 17: ''osd_memory_target'' in section ''osd'' redefined '
I suspect may be due to the bluestore_cache_autotune setting in Ceph. ceph-ansible sets the osd memory target setting (with spaces rather than understores) here. However, ceph itself appears to set the osd_memory_target setting instead if bluestore_cache_autotune is enabled, which is the default setting (ref). As a result, the same variable is defined twice - once with spaces, once with underscores. This does not appear to affect regular cluster functionality, however it does cause some commands (such as the one to retrieve the fsid) to output a warning to stderr and a return code of 22.
What you expected to happen: The rolling update playbook to function as normal, including correct retrieval of the FSID.
How to reproduce it (minimal and precise):
Create a ceph.conf file containing a single setting defined both using underscores and spaces, for example;
[osd]
bluestore compression algorithm = lz4
bluestore compression mode = aggressive
osd max backfills = 8
osd memory target =<PHONE_NUMBER>
osd recovery max active = 8

osd_memory_target =<PHONE_NUMBER>
osd_memory_base =<PHONE_NUMBER>
osd_memory_cache_min =<PHONE_NUMBER>

Run the rolling update playbook. The ceph-facts : get current fsid task will fail with the task's stderr containing the message Can''t get admin socket path: unable to get conf option admin_socket for mon.host: warning: line 17: ''osd_memory_target'' in section ''osd'' redefined.
Remove one of the identical configuration entries and re-run the playbook. The task will no longer fail, however the value will be silently added back.
Environment:

OS (e.g. from /etc/os-release): Ubuntu 18.04.3
Kernel (e.g. uname -a):  5.0.0-29-generic #31~18.04.1-Ubuntu SMP Thu Sep 12 18:29:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Docker version if applicable (e.g. docker version): 18.09.7
Ansible version (e.g. ansible-playbook --version): 2.8.5
ceph-ansible version (e.g. git head or tag or stable branch): v4.0.0rc16
Ceph version (e.g. ceph -v): 14.2.2/14.2.3

This isn't related to the duplicate key in the configuration. It's just a warning and has no impact.
The real problem here is that the ceph command to get the fsid from the config [1] isn't working at this moment of the upgrade.
Please share the full ansible logs, inventory and variables defined in [group|hos]_vars/*.yml
[1] https://github.com/ceph/ceph-ansible/blob/v4.0.0rc16/roles/ceph-facts/tasks/facts.yml#L87

Although it's a warning and should have no impact, it definitely has an impact and prevents any ceph daemon commands, including config get fsid, from working. As a reproducible example;

Regular ceph.conf with no duplication;

cat /etc/ceph/ceph.conf
# Please do not change this file directly since it is managed by Ansible and will be overwritten
[global]
cluster network = <IP_ADDRESS>/24
fsid = 53bad213-c5f2-4884-bd21-25eaeb0b60f6
mon host = [v2:<IP_ADDRESS>:3300,v1:<IP_ADDRESS>:6789],[v2:<IP_ADDRESS>:3300,v1:<IP_ADDRESS>:6789],[v2:<IP_ADDRESS>:3300,v1:<IP_ADDRESS>:6789],[v2:<IP_ADDRESS>:3300,v1:<IP_ADDRESS>:6789],[v2:<IP_ADDRESS>:3300,v1:<IP_ADDRESS>:6789]
mon initial members = nagisa,freyja,hitomi,holo,kasumi
osd pool default crush rule = -1
public network = <IP_ADDRESS>/24

[osd]
bluestore compression algorithm = lz4
bluestore compression mode = aggressive
osd max backfills = 8
osd memory target =<PHONE_NUMBER>
osd recovery max active = 8

config get fsid works;

docker exec ceph-mon-hitomi ceph daemon mon.hitomi config get fsid
{
    "fsid": "53bad213-c5f2-4884-bd21-25eaeb0b60f6"
}

Duplicate the osd memory target configuration option using underscores instead of spaces;

echo 'osd_memory_target =<PHONE_NUMBER>' >> /etc/ceph/ceph.conf

cat /etc/ceph/ceph.conf
# Please do not change this file directly since it is managed by Ansible and will be overwritten
[global]
cluster network = <IP_ADDRESS>/24
fsid = 53bad213-c5f2-4884-bd21-25eaeb0b60f6
mon host = [v2:<IP_ADDRESS>:3300,v1:<IP_ADDRESS>:6789],[v2:<IP_ADDRESS>:3300,v1:<IP_ADDRESS>:6789],[v2:<IP_ADDRESS>:3300,v1:<IP_ADDRESS>:6789],[v2:<IP_ADDRESS>:3300,v1:<IP_ADDRESS>:6789],[v2:<IP_ADDRESS>:3300,v1:<IP_ADDRESS>:6789]
mon initial members = nagisa,freyja,hitomi,holo,kasumi
osd pool default crush rule = -1
public network = <IP_ADDRESS>/24

[osd]
bluestore compression algorithm = lz4
bluestore compression mode = aggressive
osd max backfills = 8
osd memory target =<PHONE_NUMBER>
osd recovery max active = 8

osd_memory_target =<PHONE_NUMBER>

config get fsid now fails, returning only the warning.

docker exec ceph-mon-hitomi ceph daemon mon.hitomi config get fsid
Can't get admin socket path: unable to get conf option admin_socket for mon.hitomi: warning: line 17: 'osd_memory_target' in section 'osd' redefined

Admittedly this does seem more like an upstream issue than a ceph-ansible issue, and there are two bugs on the trackers. The first one however was closed with commentary saying that the warning shouldn't affect the output, when it definitely does!
Looking at the the ceph CLI command code, it tries to read the admin_socket configuration option by using ceph-conf. However, if ceph-conf returns any standard error output, then the an exception is raised and no further data is returned.
A quick run of ceph-conf when the configuration file has duplicated sections confirms that the warning about redefined configuration options is indeed output to stderr.

Looking at the the ceph CLI command code, it tries to read the admin_socket configuration option by using ceph-conf. However, if ceph-conf returns any standard error output, then the an exception is raised and no further data is returned.

The command output with the admin socket path is really confusing because it's usually a good candidate of daemon/service not running.
But as you mentioned this doesn't look a ceph-ansible issue. However we need to find a workaound for this because it prevents one task to be executed correctly.

So I reproduced the issue and probably found a workaround.
# ceph daemon mon.cephaio-1 config get fsid
Can't get admin socket path: unable to get conf option admin_socket for mon.cephaio-1: warning: line 13: 'osd_memory_target' in section 'osd' redefined

This ceph daemon command tries to resolve the sock path by running a ceph-conf command [1] and as you mentioned this command raises an exception. That's weird that the command is executed properly with rc 0 but the warning message is present in the stdout so maybe the python stderr/stdout handling is wrong somewhere
# ceph-conf --name mon.cephaio-1 --show-config-value admin_socket
warning: line 13: 'osd_memory_target' in section 'osd' redefined
/var/run/ceph/ceph-mon.cephaio-1.asok
# echo $?
0

The ceph daemon command could be change by using the --admin-daemon option to avoid to resolve the socket path from the config [2] (even with the duplicate entries in the config)
# ceph --admin-daemon=/var/run/ceph/ceph-mon.cephaio-1.asok config get fsid
{
    "fsid": "5deaf2cd-a9c3-436b-9611-4a6a86719aa0"
}

[1] https://github.com/ceph/ceph/blob/nautilus/src/ceph.in#L749-L750
[2] https://github.com/ceph/ceph/blob/nautilus/src/ceph.in#L736-L759

Thanks for the fast turnaround on the fix!


Project utilities that can be shared with language server

Issue To Be Solved
With the new improvements to flow.json and the flow project command, we want to integrate this functionality into the Flow VS Code extension to provide a more seamless development environment.
To do so, we'd like to explore embedding more functionality into the Cadence language server, implemented here: https://github.com/onflow/cadence
I think it'd be great if we could accomplish this by moving shared functionality into a Go module that can be imported by the language server.
@MaxStalker @sideninja We'll go into more detail in our call later, but here are a few points to start off:

VS Code should display accounts from flow.json
VS Code should be able to execute transactions with the same address replacement functionality that is present in flow project deploy
If the CLI supports loading contracts from remote locations (e.g. URL, git), then the VS Code extension should support this, too.
The CLI and the VS Code extension should both support transaction/script arguments
The CLI and the VS Code extension should both support multiple signers per transaction
the list probably goes on...

Hey @sideninja and @MaxStalker, I've thought about this more since our last conversation.
Currently the language server (LSP) has the following commands:

CommandSubmitTransaction
CommandExecuteScript
CommandDeployContract
CommandCreateAccount
~CommandCreateDefaultAccounts~
~CommandSwitchActiveAccount~

I don't think we need the last two commands if we move to this new structure.
As a first step towards unifying the CLI and the language server, I think we should re-implement the above functions to use the core logic from the CLI repo (this repo). The language server commands will still call the emulator via RPC, but they will do it using shared code from the CLI.
Before we can do this, I think we need two things:
Language server can load flow.json config
I see two ways to do this:

Language server reads flow.json directly from the filesystem
Language server reads flow.json from the active workspace

I think the second option is better if we can make it work. flow.json will already be in the set of files that the LSP is watching, and this way we can keep things consistent. The LSP can even make edits to flow.json using the applyEdit function (e.g. to add a newly created account).
CLI command logic as modules
Currently each CLI command is implemented as a single function, and the only way to call each function is from the command line (i.e. through stdin).
In order to implement CommandSubmitTransaction, for example, it should be possible for the LSP to call a version of this function that is callable as a function.

So for codelens in VS Code it's gonna work like this:

send message to LS that file have changed
get back codelens (if any) so editor could inject it into editor view
(user clicks on codelens) send message to LS to execute script (currently we spawn CLI with proper args and flags here and monitor the process by extension)
call CommandExecuteScript in LS
script is being executed, we get result and send it back to editor via another message

Did I got this right?

I agree with striping out the business logic. I think CLI should consist of 3 layers.

API layer - this is where we parse input arguments, do validation of arguments, show errors from the arguments or interpreter, and display human-readable errors we received from the service layer.

Service layer - this is where we coordinate complex commands like CommandCreateAccount and create a function for each complex command with custom logic. This layer should return errors but not display anything on the output. This layer should handle the initialization of resources and make network requests. This layer can be stateful.

Model layer - this is a stateless layer where we represent data with structures. One such existing example is config (but without saving maybe).

The second and the third layer can then be extracted and used anywhere as standalone modules. These modules can also be easily tested.
CLI should talk to these modules and just handle responses and errors in a way that is clear to the user.
I agree the mapping you stated above makes a lot of sense.

Did I got this right?
@MaxStalker Yep, that's exactly the workflow!

@sideninja I really like that breakdown 💯


Unified lock types for rustpython_common

For #2226 and specifically in order to implement BorrowedValue::map(); I realized that we can just make our own RawMutex/RawRwLock and use it to define the Mutex types. These should be faster, too, since RefCell has more overhead (immutable accessor count mainly, Cell<isize> vs Cell<bool>) since they're more direct with the use case -- e.g. just one writer vs RefCell supports multiple with RefMut::map_split. Turns out we can't actually make it a bool, since we subtly depend on PyRwLock having a recursive locking behavior, even though that's not guaranteed by parking_lot -- "Note that attempts to recursively acquire a read lock on a RwLock when the current thread already holds one may result in a deadlock."

I suppose so, I'd just like to have them merged close together so that we don't run into issues with the soundness hole.

I'm gonna merge this; I feel like cell_lock is fairly easy to maintain/understand if you just look at it in isolation.


Move Alist.Alist 3.23.0 to AList.AList 3.23.0

Microsoft Reviewers: Open in CodeFlow

@wingetbot run


Allow Blank AWS params during google idx project workspace creation

Currently it breaks workspace and need to recreate.
Found the fix... will commit using this Issue number.

Fixed. Please review.


Graph library can't parse simple Array properties with an existing Document base collection

This is a cross post from here.
We have an existing CosmosDb collection that we use with the SQL API. We want to start using the Graph API against this collection. Using the Microsoft.Azure.Graphs NUGET version 0.3.1-preview and performing the simple Gremlin query g.V() throws an Invalid Cast Exception:
Invalid cast from 'System.String' to 'Newtonsoft.Json.Linq.JObject'.
After lots of trial and error, we narrowed it down to a property array of string values:
{
  "Roles": [ "user", "admin" ]
}

Converting this property to an object or removing this property fixes the issue, of course that is not a viable solution.
Is this a bug on the Graph SDK, on the Cosmos Db engine, on Gremlin, or simply not doable in Graph in general?
How do we solve this issue?

Can it be converted to a JArray instead of a JObject? I have had luck distinguishing values, objects and arrays, but I don't know how the underlying data structure is if you're using the gremlin api on data created with the sql api.

We are not converting anything, just doing a plain gremlin query and getting the error. This is data created by the SQL Api. We did find references specifying that it is doable and supported.

@jstawski CosmosDB Gremlin API is supported as a Gremlin Server endpoint, and Microsoft.Azure.Graphs was deprecated. You can follow this guide  to create a Gremlin server endpoint and connect to it via Gremlin.NET (other gremlin driver clients are supported in different languages as well).
As @BenjaBobs mentioned, Gremlin API expects the underlying document to follow a specific structure  for vertex properties, otherwise they will not be exposed to the query engine or included in the projected results. However, properties not in this format should be ignored rather than cause errors.
Please try switching to the Gremlin endpoint/Gremlin.NET, and if the errors persist please provide repro steps so we can investigate further (example document that was inserted, the gremlin query that returned an error).

Thanks for the feedback. That worked, closing now.


Pitch/compute sessions start session

New PR
/deploy renku=renku-data-services-users-db renku-notebooks=pitch/compute-sessions extra-values=initDb.image.repository=registry.dev.renku.ch/tasko.olevski/renku-images/init-db,initDb.image.tag=0.44.1-1.ebb0e80,keycloakx.initRealm.image.repository=registry.dev.renku.ch/tasko.olevski/renku-images/init-realm,keycloakx.initRealm.image.tag=0.44.1-1.ebb0e80.git.2200.h26267d0e

You can access the deployment of this PR at https://renku-ci-ds-127.dev.renku.ch

Upon reflection, I am not sure we should start the sessions from renku-data-services for now. This adds API coupling between renku-data-services and renku-notebooks, as the service needs to understand and pass sessions options (e.g. session class, storage mounts, environment variables) to the notebooks. I think this would need some design and reflection to be done right.
For now we can launch sessions from renku-ui as is already the case and trim this down to be done at a later time.


Update release date

API change check
API changes are not detected in this pull request.

/check-enforcer override


DataCollection attachments related fix for design mode client.

Fixed issue due to which Data Collection attachments were not sent through Design Mode Client.
Related to : #662

@harshjain2,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Opera is not working

Hers is the code
 public function testOperaBrowser()
    {
        $desired_capabilities = DesiredCapabilities::opera();
        $desired_capabilities->setCapability('acceptSslCerts', true);
        $driver = RemoteWebDriver::create('http://localhost:4444/wd/hub', $desired_capabilities);
        $driver->get('http://docs.seleniumhq.org/');
        $driver->wait(10);
        echo "The title is '" . $driver->getTitle() . "'\n";
        $driver->quit();

    }

Error Message

/usr/bin/php "/Users/smunukuntla/Documents/Selenium PHP/vendor/phpunit/phpunit/phpunit" --no-configuration --filter "/::testOperaBrowser( .*)?$/" Selenium_Drivers_Implementation "/Users/smunukuntla/Documents/Selenium PHP/tests/1_Selenium_Drivers_Browsers/Selenium_Drivers_Implementation.php" --teamcity
Testing started at 4:53 PM ...
PHPUnit 5.5.7 by Sebastian Bergmann and contributors.

Curl error thrown for http POST to /session with params: {"desiredCapabilities":{"browserName":"opera","platform":"ANY","acceptSslCerts":true}}

Operation timed out after 30004 milliseconds with 0 bytes received
 /Users/smunukuntla/Documents/Selenium PHP/vendor/facebook/webdriver/lib/Exception/WebDriverException.php:92
 /Users/smunukuntla/Documents/Selenium PHP/vendor/facebook/webdriver/lib/Remote/HttpCommandExecutor.php:320
 /Users/smunukuntla/Documents/Selenium PHP/vendor/facebook/webdriver/lib/Remote/RemoteWebDriver.php:100
 /Users/smunukuntla/Documents/Selenium PHP/tests/1_Selenium_Drivers_Browsers/Selenium_Drivers_Implementation.php:51

Hi @smunukuntla, what version of Opera do you use? If it is one of the latest blink-based Opera (version >12), you have to use operablink as name of the browser. This is currently not builtin to php-webdriver, but you can easily do it manually:
$desired_capabilities = new DesiredCapabilities();
$desired_capabilities->setBrowserName('operablink');

Due to bug in OperaChromiumDriver you also have to define path to opera binary (https://github.com/operasoftware/operachromiumdriver/issues/9), like this:
$desired_capabilities->setCapability('chromeOptions', ['binary' => '/usr/bin/opera']);

With this set-up and with Opera 40.0.2308.54 it does work for me. However, I will create new issue to track the built-in support of Opera in php-webdriver.

@OndraM Thanks a ton for providing the solution. yes I'm using opera 40 version. As you suggested, it worked for me. Thanks again.

@OndraM Trying this in Windows I get:
 PHP Fatal error:  Uncaught Facebook\WebDriver\Exception\UnknownServerException: The path to the driver executable must be set by the webdriver.opera.driver system property; for more information, see https://github.com/operasoftware/operachromiumdriver. The latest version can be downloaded from https://github.com/operasoftware/operachromiumdriver/releases in C:\www\www\webdriver\vendor\facebook\webdriver\lib\Exception\WebDriverException.php:114


fix: hard code can not test, use carbon instead of time.

修复：time() 破坏了代码可测性。
具体请看 #113

 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.

signUrl 和 signRtmpUrl 接口会提供另外一个形式的接口，传入的参数为 unix epoch，新的接口不直接调用time 函数。
新的函数名为：
generatePresignedUrl
generatePresignedRtmpUrl


[branch-2.0-pick] Picks "[fix](partial update) keep case insensitivity and use the columns' origin names in partialUpdateCols in origin planner #27223"

Proposed changes
picks https://github.com/apache/doris/pull/27223
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Update idmap unittest to run both SIMD and BLAS

Signed-off-by: yudong.cai<EMAIL_ADDRESS>Issue: #91

/lgtm


[Navigation Material] Make Navigation Material a Material3 version

Currently, navigation-material is based on Material2 version. However, Material3 now supports BottomSheet. Should we consider adding navigation-material3?

duplicate, see #1543


enable ephemeral pr_check.sh

Description:

adds pr_check.sh script to spin up an ephemeral environment to test against the backend master branch

Issue: AAH-1598

/retest

/retest

/retest

In the meantime, we thought it could be good to merge this now, which makes this CI check always green, so you don't continue seeing the red X on all your PRs.

Thanks, that sounds sane, approved :+1:
Just wanted to know what to expect really :)
As for the scripts, oh well, we'll get used to it :)

Sounds like there was some bad rebase here?
We probably didn't want to merge 11 already merged PRs, careful next time ;)
(That said, sounds like the resulting squashed commit is only changing build_deploy.sh, ci.sh, deploy/frontend.yaml and pr_check.sh so presumably that's still the intended effect.)

@drodowic It doesn't seem this worked. The check is still failing on all open PRs, including ones created after this was merged.

Much appreciated, this time I saw it go green in #2307 .. but it started failing again before #2310 was created and is now failing in #2311 and #2312 as well.. so .. presumably there's a new problem?


Migration proj821 and icu69 at once

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Attempting both migrations at the same time, to see if we can get around depsolver fun.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

  Bumped that and I see Azure + conda forge is busted at the moment.  Serenity now :) https://conda-forge.org/status/#ongoing_incidents

trouble now is here
mamba create -n dev python=3.10 libgdal=3.4.1  pyqtwebkit
  - package pyqtwebkit-5.212-py36h83728eb_0 requires python_abi 3.6.* *_cp36m, but none of the providers can be installed

boggling

My current theory is that we either have dependency trouble with icu=69.1 or we are awaiting conda-forge/qtwebkit-feedstock#21

My current theory is that we either have dependency trouble with icu=69.1 or we are awaiting conda-forge/qtwebkit-feedstock#21

I believe qtwebkit is the problem here. Unfortunately (https://github.com/conda-forge/qtwebkit-feedstock/pull/21 is blocked by https://github.com/conda/infra/discussions/514
If you have a Windows machine and can rebuild qt we can break this logjam.

If you have a Windows machine and can rebuild qt we can break this logjam.

I've been trying to build it on my low end Lenovo but it keeps crashing. I think it's running out of memory. If someone has something more decent that would be great. I'll keep trying in the meantime.

@conda-forge-admin please rerender

The qtwebkit rebuild hasn't synced yet, try again in a few hours

@conda-forge-admin please restart ci

@conda-forge admin please restart ci

@conda-forge-admin please restart ci

OSX builds now failing with
$SRC_DIR/src/core/providers/ogr/qgsogrprovider.cpp:6070:34: error: no matching constructor for initialization of 'QgsOgrDatasetSharedPtr' (aka
'shared_ptr<QgsOgrDataset>')

FreeBSD hit this too, discussion and patches at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259967
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259967

Eh, I am unsure how to backport that patch, so I have to punt on it.  Would it be easier to ping down llvm < 13 on os-x?

Eh, I am unsure how to backport that patch, so I have to punt on it. Would it be easier to ping down llvm < 13 on os-x?

That patch is against a more recent qgis since we are stuck on 3.18 until we can get an updated qt. We would have to figure out how to backport it to 3.18, not sure how hard that would be.
I don't know about forcing older llvm.

I made an attempt in https://github.com/akrherz/qgis-feedstock/pull/1 can you merge it and see if it works?

Thanks @izahn , what do you think about adding a qualifier to only apply the patch on os-x ?

Thanks @izahn , what do you think about adding a qualifier to only apply the patch on os-x ?

From what I understand this change is made unconditionally upstream, so it makes some sense to do the same here. On the other hand we shouldn't make changes unnecessarily. I don't have a strong feeling one way or the other.

@akrherz we did it! Anything else you want to change before requesting review / merge?

@izahn Awesome!  Nope, its ready for merge consideration!

Thanks everyone!


[Bug] Collection model dimension limit should be 20000 as per the ui and not 2000

Hi,
I wrote code to automate the backup of our index using the Pinecone client and encountered an issue where the code throws the following exception:
pinecone.core.client.exceptions.PineconeApiValueError: Invalid value for `dimension`, must be a value less than or equal to `2000`

This exception occurs in both pc.list_collections() and pc.create_collection(name=collection_name, source=index_name). Despite the collection creation throwing the error, I can see the collection being created in the UI.
When creating a new collection, I noticed that the dimension limit is 20,000 and not 2,000 as specified in the code at this line https://github.com/pinecone-io/pinecone-python-client/blob/8b7e7de50e72248de683a24ada024cf18e6cdce3/pinecone/core/client/model/collection_model.py#L64-L69

When I edit my virtual environment package to use 20,000 as the dimension limit, the error no longer occurs.
Best regards

@drivard ,
The Pinecone Team has reproduced the issue you raised in our collections API and implemented a fix. We are targeting a release for the Pinecone Python client for next week.
Please let me know if you experience any other issues with our clients.
Best,
Evan

I will watch the release and test it.
Thanks

I just shipped a v5 release which should resolve this issue and add a few new features as well. Thanks for reporting it. https://github.com/pinecone-io/pinecone-python-client/releases/tag/v5.0.0


Remove-PSDCClone does not work with SQL Server named instances

Before submitting the bug

[x] Ensure you are able to reproduce it on the latest released version (we release often)
[x] Verified this bug is not already reported in an issue
[x] Verified errors are not related to permissions
[x] Can reproduce in a clean PowerShell session (clean = powershell -NoProfile)

Describe the bug
Remove-PSDCClone does not work with SQL Server named instances specified by the -HostName parameter. The command does not error out, but skips the server. This is because the hostname is used to filter the ,[PSDatabaseClone].[dbo].[Host].[HostName] column, but this column contains the computer fqdn instead of COMPUTERNAME\INSTANCENAME.
To Reproduce
Steps to reproduce the behavior:
Remove-PSDCClone -HostName DBSERVER\BVLTEST1 -Database DB1_Clone1 -Verbose

Expected behavior
The command should be able to connect to named instances to remove clones<
Screenshots
Environmental data

PowerShell:
Name                           Value

PSVersion                      5.1.15063.1746
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.15063.1746
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
Additional context
Related to https://github.com/sqlcollaborative/PSDatabaseClone/issues/44

Since PSDatabaseClone depends on dbatools anyway, I suggest the rename of parameter -HostName to -SqlInstance, and use the datatype DbaInstanceParameter (for an example see https://github.com/sqlcollaborative/dbatools/blob/development/functions/Connect-DbaInstance.ps1).  This class has all the different parameters needed.
PS C:\WINDOWS\system32> [DbaInstanceParameter] 'MYDBSERVER\BVLTEST1'

ComputerName       : MYDBSERVER
InstanceName       : BVLTEST1
Port               : 0
NetworkProtocol    : Any
IsLocalHost        : False
FullName           : MYDBSERVER\BVLTEST1
FullSmoName        : MYDBSERVER\BVLTEST1
SqlComputerName    : [MYDBSERVER]
SqlInstanceName    : [BVLTEST1]
SqlFullName        : [MYDBSERVER\BVLTEST1]
IsConnectionString : False
Type               : Default
LinkedLive         : False
LinkedServer       :
InputObject        : MYDBSERVER\BVLTEST1

That would be a good idea. When this was first created dbatools was implementing this class and I wanted to wait a while to see how it would work.
But it's being used in every command within the dbatools module right now so I have no objections of implementing it within PSDatabaseClone

I've finally had the chance to look at the code but I think everything is handled correctly.
But you actually don't have to assign the SQL instance. The way it works is that the command retrieves the clones for the host from the configuration.
So what you should execute is:
Remove-PSDCClone -HostName DBSERVER -Database DB1_Clone1 -Verbose
It will then figure out the instance name from the clone json data and remote the database and related files accordingly.

I have made several changes and pushed to the development branch.
I have not been able to create a well enough test environment to get the same kind of errors.
If you could test it from the development branch and tell me if you still have the problem, that would be great.


feature: make /readyz /live /healthz /version available in every workspace

Feature Description
The mentioned endpoints should return the same status as the global one.
Proposed Solution
Redirect those endpoints under a workspace URL to the top-level one. This could implemented via a function WithPerWorkspaceStaticEndpoints in https://github.com/kcp-dev/kcp/blob/main/pkg/server/handler.go, and wired into the handler chain.
Alternative Solutions
No response
Want to contribute?

[ ] I would like to work on this issue.

Additional Context
Note: /openapi and /metrics are different and need more thoughts.

I would like to work on this if no one is working on it.

/assign @bipuladh

@bipuladh are you still working on this?


Interpreter: Don't link with librt and libdl on GNU systems

glibc 2.34 has merged librt and libdl into libc, so they're not
available as shared libraries. The symbols are still available to the
interpreter because they are loaded in the compiler.
Fixes #12036

2.34 is only a year old though. Would it make sense to check the glibc version?

I don't think there is machinery to check glibc's version, I've mostly done what @straight-shoota did previously with https://github.com/crystal-lang/crystal/pull/11807


Improve slice perf

The algorithm slice was using was definitely not optimization friendly.  The slice fusion was helping, but only about 25%.  By tweaking the algorithm, the fusion has a much larger effect now.  Using the included perf test ...
This PR:
skip(n/4) -> take(n/2) 1000000 integers
-------------------------------------------------------
most                498.39 op/s ±  0.79%   (82 samples)

master:
skip(n/4) -> take(n/2) 1000000 integers
-------------------------------------------------------
most                104.89 op/s ±  1.14%   (79 samples)

Once again, since take and skip are implemented using slice, all three operations will get the perf boost.

It turns out that the there's a bug in the logic (- instead of `+), which caused slice to process fewer events than it should have.  IOW, this change actually broke slice, and the perf test results are invalid.
There is still some improvement to be had, but it isn't nearly as substantial as I originally thought.
I'll push a fixed update soon.


make install does not work on windows

shell script uses rm which is not available in windows, suggest using node.js instead

cannot use under cygwin as npm doesn't work on cygwin

Fair point. I'll rewrite the installation scripts in nodejs instead. It'll take a few weeks though as I currently have no access to my computer. If you create a pull request with new scripts I'd be happy to merge them when I get back to the real world :)

The installation scripts have been rewritten. Please give me feedback on the new ones, they will hopefully work better.

I'll close this. Please open a new issue if the problems remain


Fix: charity campaigns uri

add prefix of '/' to the charity campaigns url
derp

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.617%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1267

Relevant Lines:
1368

💛  - Coveralls


Add previews of colormaps.

In principle the images should be SVG, but github's markdown doesn't
seem to display them properly, so they are PNG instead.

Very nice, thanks!


Show both pipeline projects and complete projects in /projects

It would be good to show cards for two types of projects.. those that are "complete" and can be linked to as such, and those that are "pipeline".
I think both of these could be on /projects,  we could even have a less substantial card for pipeline projects (do they get their own page?), with finished projects being the "main event".
OR, pipeline gets its on page.

We can add labs-ideas as the "current project card", and leave the on deck projects as placeholders.


Enable IPv4 forwarding on precise, trusty and xenial

Temporary patch to address https://github.com/travis-ci/travis-ci/issues/9696.
To be reverted once precise and trusty are gone.

The test I added, in its current form, should be failing but is not. :thinking:


Please help.Error installing aiogram library in python.

error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for yarl
Failed to build aiohttp frozenlist yarl
ERROR: Could not build wheels for aiohttp, frozenlist, yarl, which is required to install pyproject.toml-based projects

I don't know what this is or what you expect me to do. I think you're at the wrong repository.


Gradle is not honoring status attribute for buildscript classpath dependencies when using plugin markers

Current Behavior
When setting org.gradle.status for buildscript classpath dependencies via AttributeContainer, it results in a deprecation and not honoring this opinion.
Expected Behavior
Setting org.gradle.status attribute for buildscript classpath dependencies should be honored and not result in a deprecation when using plugin marker dependencies
Context (optional)
No response
Steps to Reproduce
Given the following build file:
buildscript {
    configurations.all { configuration ->
        configuration.withDependencies { dependencies ->
            dependencies.each { ModuleDependency dependency ->
                dependency.attributes({ AttributeContainer attributeContainer ->
                    attributeContainer.attribute(Attribute.of("org.gradle.status", String.class), "release")
                })
            }
        }
    }
}

plugins {
    id 'org.jetbrains.kotlin.jvm' version '1.9.22'
}

When running ./gradlew bE (or any task), you will see the following:
> Configure project :
Cannot set attributes for dependency "org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.9.22": it was probably created by a plugin using internal APIs

This only happens in 8.7
Similarly, if you have something like
buildscript {
    configurations.all { configuration ->
        configuration.withDependencies { dependencies ->
            dependencies.each { ModuleDependency dependency ->
                dependency.attributes({ AttributeContainer attributeContainer ->
                    attributeContainer.attribute(Attribute.of("org.gradle.status", String.class), "snapshot")
                })
            }
        }
    }
}

plugins {
    id 'org.jetbrains.kotlin.jvm' version '1.+'
}

The status attribute is used correctly in 8.6 but in 8.7 it results in picking up a version
8.6 output
* What went wrong:
A problem occurred configuring root project 'status-issue'.
> Could not resolve all files for configuration ':classpath'.
   > Could not find any version that matches org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.+.
     Versions that do not match:
       - 2.0.0-RC1
       - 2.0.0-Beta5
       - 2.0.0-Beta4
       - 2.0.0-Beta3
       - 2.0.0-Beta2
       - + 6 more
     Versions rejected by attribute matching:
       - 1.9.23:
           - Attribute 'org.gradle.category' didn't match. Requested 'library', was: not found
           - Attribute 'org.gradle.dependency.bundling' didn't match. Requested 'external', was: not found
           - Attribute 'org.gradle.jvm.version' didn't match. Requested '21', was: not found
           - Attribute 'org.gradle.libraryelements' didn't match. Requested 'jar', was: not found
           - Attribute 'org.gradle.plugin.api-version' didn't match. Requested '8.6', was: not found
           - Attribute 'org.gradle.status' didn't match. Requested 'snapshot', was: 'release'
           - Attribute 'org.gradle.usage' didn't match. Requested 'java-runtime', was: not found

8.7 output
classpath
\--- org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.+ -> 1.9.23
     \--- org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.23

It appears some work has to happen in https://github.com/gradle/gradle/blob/43fc58d9d2aefd6611f204ac60cbb5be717fed8c/platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/use/resolve/internal/ArtifactRepositoriesPluginResolver.java#L174
Gradle version
8.7
Build scan URL (optional)
https://scans.gradle.com/s/4qb632y4mq6jc
Your Environment (optional)
Operating system	macOS 14.4 (aarch64)
CPU cores	16 cores
Max Gradle workers	16 workers
Java runtime	Azul Zulu OpenJDK Runtime Environment 21.0.2+13-LTS
Java VM	Azul Zulu OpenJDK 64-Bit Server VM 21.0.2+13-LTS (mixed mode, sharing)

The issue is in the backlog of the relevant team and is prioritized by them.


Update fork

Issue
N/A
Description
Update fork from upstream
Testing
How was this change tested?
Additional context
Add any other context about the PR here.

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

Upload has been updated to accept an xhr-http-handler, which allows more frequent updates on progress.  however, there are some conflicts to resolve.


[cxx-interop] Add support for templated member functions.

Essentially applying the same change as for supporting templated constructors.

@swift-ci please smoke test.

@swift-ci please test Windows.

@swift-ci please test Windows.

@swift-ci please test Windows.

@swift-ci please test Windows.

@swift-ci please test Windows.

@swift-ci please smoke test.


Check for links that open in a new tab or a new window

While the act of opening in a new window or tab isn't an accessibility concern itself, according to W3, it's essential to provide advanced warning to a user when a link opens in a new window or tab.
The A11y Project link:https://www.a11yproject.com/checklist/#identify-links-that-open-in-a-new-tab-or-window
W3 link: https://www.w3.org/TR/WCAG20-TECHS/G201.html
Solution
Provide only a warning message when the following is detected:
a[target="_blank"] { ... }

Working on this!


Ads is opened in the same iframe for Android 4.4.2

Hello,
Im facing an issue with your plugin that im using with my ionic project.
The ads show perfectly, but when i click on it, the target is opened in the same iframe of the the ads content ... i already have target="_blank" as a configuration for all my ads slots.
Do you have any idea, how can i solve this .?
Thank you

Hi @anouarcharif, since you are using a Cordova/Ionic application it is not allowed to open external pages. You can use cordova-plugin-appbrowser to open ad targets in the user's system browser.

Hi @ChristiaanScheermeijer, i have other links in my app with external link, and they all opened in the user's system browser. The issue concern only the click on the ads generated.
Thank you


Can't swipe when swiper slides are clickable elements

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/p/sandbox/swiper-slides-per-view-auto-forked-tygvg2?file=%2Findex.html%3A64%2C39
Bug description
I can't swipe slides which have only buttons.
Expected Behavior
I can swipe slides.
Actual Behavior
I can't swipe.
Swiper version
11
Platform/Target and Browser Versions
Chrome 125.0.6422.113
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[X] I'm willing to open a PR

Duplicate #7585


Add gravity bridge support

Thanks!  Great work, especially on using rpc data where there wasn't a lot of examples.  I'll work on integrating it early next week.

Thanks! Great work, especially on using rpc data where there wasn't a lot of examples. I'll work on integrating it early next week.

Your tool has saved me a ridiculous amount of time getting data for tax purposes so it's the least I could do.

Is there a certain rpc node with the most data?  Don't have to answer if you'd like to keep private.  But wanted to inquire since that's usually the toughest part.


Add replication rule label filter function #4861

Coverage increased (+0.02%) to 64.533% when pulling 7fedc71aae0acf9cf9530d6524688f9f02f59cfa on pengpengshui:repLabelNew into 2f336b7a31d16a42e6f2a0aa9d69a63da351278f on vmware:replication_by_label_ui.

Merge to feature branch.


fix order of calls in enableextensions example

previously, the "verify other" would set errorlevel to 1 in any case.

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


Slik.Subversion version 1.14.2001

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

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

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

Microsoft Reviewers: Open in CodeFlow

Looks like a transient failure
Exception Message: Cannot get DNS address for host 'winget-pme.azurefd.net' (No such host is known). (type TeamFoundationServerException)

/AzurePipelines run

Pushed exactly the same commit with a new timestamp, to retry validation.


Fix inspector group name capitalization

Inspector groups that are added with ADD_GROUP or ADD_SUBGROUP still have their names processed/capitalized by the inspector, which removes the capitalization that they originally had. This PR fixes this by processing groups that are created by a "/" in the property path before adding manually created groups and subgroups, instead of parsing all groups.

Before
After

This bug also exists in 3.x, I can make a PR for that if this can't be cherry-picked.

Thanks!

Cherry-picked for 3.5.


fix(clustering): fix compat for prometheus ai metrics config fields

Summary
Fix compat prometheus ai metrics
https://konghq.atlassian.net/browse/KAG-4934
Checklist

[x] The Pull Request has tests
[ ] A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference

Fix #[issue number]

here is the cherry pick PR: https://github.com/Kong/kong-ee/pull/9807


Drop pkg resources iso7 - first part

Description
Implementation of https://github.com/inmanta/inmanta-core/pull/7990 for ISO7
Related to https://github.com/inmanta/inmanta-core/issues/6668
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[ ] Attached issue to pull request
[ ] Changelog entry
[ ] Type annotations are present
[ ] Code is clear and sufficiently documented
[ ] No (preventable) type errors (check using make mypy or make mypy-diff)
[ ] Sufficient test cases (reproduces the bug/tests the requested feature)
[ ] Correct, in line with design
[ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )
[ ] If this PR fixes a race condition in the test suite, also push the fix to the relevant stable branche(s) (see test-fixes for more info)

Processing this pull request

Pull request rejected by merge tool. This pull request has not been approved yet.

Processing this pull request

Merged into branches iso7 in a34cee7e8c45e9818bd16617d8056871bb20ca2d


[fixed-string] Update to 0.1.1

Describe the pull request

What does your PR fix?
Updates fixed-string to 0.1.1

Which triplets are supported/not supported? Have you updated the CI baseline?
As before, Yes

Does your PR follow the maintainer guide?

Yes

Please stop doing this. You are clearly using a bot. Although I like your approach I don't think you should opening that many PRs. Enaugh for today!

I would like to see an issue with a list of all outdated ports first. Then you can agree with the maintainers on how many PRs you can open per day/ week

Please stop doing this. You are clearly using a bot. Although I like your approach I don't think you should opening that many PRs. Enaugh for today!

@Thomas1664 Thanks for your message.
I am not using a bot but manually updating and testing every port locally. I do have some scripts to make the updates more efficient and submit the PR automatically. I am not choosing random ports to update but have focused on those that had their last release farthest in the past, and can be easily updated without requiring changes to patches. For every update, I add license if missing, change version-string to the appropriate one version type, change vcpkg_configure_cmake to vcpkg_cmake_configure and surround string-interpolated values with quotes (as is suggested for newer ports).
I'll stop creating more of these PRs until a maintainer confirms if it is fine or not, or if there is a better way to submit batch updates.

I'll stop creating more of these PRs until a maintainer confirms if it is fine or not, or if there is a better way to submit batch updates.

You won't hear anything from the maintainers until Monday (I think it's not a holiday in the US). Until then you have the chance to open many PRs and I don't think maintainers are happy if you overdo those updates. Furthermore, I think it's better to ask for approval before doing this and not for forgiveness after you already opened dozens of PRs.
Don't get me wrong: I really like your approach and I already worked on creating a script to auto update ports.

FTR the maintainers didn't complain about these contributions last year.
https://github.com/microsoft/vcpkg/graphs/contributors?from=2021-09-01&to=2021-12-31&type=c

Please stop doing this. You are clearly using a bot. Although I like your approach I don't think you should opening that many PRs. Enaugh for today!

Until then you have the chance to open many PRs and I don't think maintainers are happy if you overdo those updates.

IMHO those statements shouldn't come from community members without maintainers having complained so far. IMO it is a bit rude since those PRs all are updating ports acordings to the maintainer guide. Such statements can quickly be misunderstood and discourage other contributors from helping the project in the future. You never know how a sentence will be taken.

Thanks for all your comments. While I have done these batch updates in the past without maintainers complaining, I do see @Thomas1664's point that they could overwhelm the review process if done in large batches. So I do think it's a good point in time to hear the maintainers' opinion.

IMHO those statements shouldn't come from community members without maintainers having complained so far. IMO it is a bit rude since those PRs all are updating ports acordings to the maintainer guide. Such statements can quickly be misunderstood and discourage other contributors from helping the project in the future. You never know how a sentence will be taken.

Sorry if my comment was root/ misunderstood.
I agree with you that maintainers are in charge of deciding how many PRs are enough:

Then you can agree with the maintainers on how many PRs you can open per day/ week.

All I wanted to say was: "Don't open like 50+ at once". It is obvious that maintainers can't review like 50+ PRs at once and in this case I think it's ok for community members to point that out. In the situation I made the comment there was like every few minutes a new PR and I really thought it would go up to like 50 or even more. I couldn't know that this was ending at ~20 PRs. If I saw this number of new PRs by @chausner after he made his last one, I wouldn't have written this comment.
To be clear:

I really love that you, @chausner, take the effort to keep those ports up to date
I never wanted to say "Don't update ports"
I don't claim any kind of authority

Furthermore, I want to suggest that we keep track of outdated ports somehow - either with an issue or even with some GH Actions/ bot

@chausner I'm currently trying to remove docs/tests/examples from as many ports as possible. It would be nice if we could team up somehow to get both done at once.

Furthermore, I want to suggest that we keep track of outdated ports somehow - either with an issue or even with some GH Actions/ bot

Start here: https://repology.org/repository/vcpkg

Start here: https://repology.org/repository/vcpkg

If those figures are correct, at least 450 ports or 25% are outdated. If 10 ports were updated per day (weekends excluded), it wold take 9 weeks to update every port.
The process of keeping ports up to date should really be automated, although this isn't possible right now giving deprecated cmake, patches, missing license, generally low quality portfiles, etc.

@Thomas1664 Let's keep off-topic discussions out of this PR.

Thanks!


add 'dogecoin_node_group_event_loopbreak(dogecoin_node_group)'

i have the spv node event_loop dogecoin_node_group_event_loop() running on a separate thread but i've had issues getting the event_loop call to always return (exit) using just dogecoin_node_group_shutdown() (symptomatic of another issue?)
all the peers disconnect, but since the event_loop call doesn't always return, sometimes my thread hangs (and apparently you can't just kill threads now in dot-net...)
the new function dogecoin_node_group_event_loopbreak()  wraps event_base_loopbreak(), which makes the event_loop call return.
event_base_loopbreak
Abort the active event_base_loop() immediately.
event_base_loop() will abort the loop after the next event is completed; event_base_loopbreak() is typically invoked from this event's callback. This behavior is analogous to the "break;" statement.
Subsequent invocations of event_base_loop() will proceed normally.

Thanks!  Have a look at #207 for a related update. It addresses the exit issue and should resolve your event loop problem.


Darwin API review fixes for MTRSetupPayload and MTROptionalQRCodeInfo

Rename MTRDiscoveryCapabilitiesNone to MTRDiscoveryCapabilitiesUnknown to indicate capabilities unknown (e.g. manual setup code).
In MTROptionalQRCodeInfo mark integerValue and stringValue as nullable and document they are mutually exclusive.
In MTROptionalQRCodeInfo switch infoType to MTROptionalQRCodeInfoType, not NSNumber.
Change rendezvousInformation to just be a MTRDiscoveryCapabilities value, not nullable NSNumber, with MTRDiscoveryCapabilitiesNone meaning unknown. When parsing QR code, if the value ends up as 0, reset it to MTRDiscoveryCapabilitiesOnNetwork.
Rename setUpPINCode to setupPasscode.
Mark serialNumber as nullable.
Add setupPayloadWithOnboardingPayload class method on MTRSetupPayload.
Stop exposing the various payload parser APIs from the framework; consumers should use setupPayloadWithOnboardingPayload.

Addresses part of https://github.com/project-chip/connectedhomeip/issues/22420
Issue Being Resolved

Fixes #22543
Fixes #22539

Change overview
See above.

Fast-tracking platform-specific fix reviewed by platform owner.


Kernel crash when view dataframe with period index

Applies To

[X] Notebooks (.ipynb files)
[X] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
I got a simple dataframe with period index, and it can be calculated correctly. But click show variable in data viewer in jupyter-variables panel, kernel crashed and notification like:

Then, I remove its period index, and now it can be viewed properly.
VS Code Version
Version: 1.68.0 Commit: 4af164ea3a06f701fe3e89a2bcbb421d2026b68f Date: 2022-06-08T11:44:16.822Z Electron: 17.4.7 Chromium: 98.0.4758.141 Node.js: 16.13.0 V8: <IP_ADDRESS>-electron.0 OS: Windows_NT x64 10.0.19044
Jupyter Extension Version
v2022.5.1001601848
Jupyter logs
Visual Studio Code (1.68.0, undefined, desktop)
Jupyter Extension Version: 2022.5.1001601848.
Python Extension Version: 2022.8.0.
Workspace folder d:\CJ\FoF\Quantamental
info 22:41:57.508: ZMQ install verified.
User belongs to experiment group 'jupyterTestcf'
User belongs to experiment group 'jupyterEnhancedDataViewer'
info 22:41:57.731: LSP Notebooks experiment is disabled -- not in treatment group
info 22:41:57.742: Experiment status for python is {"enabled":true,"optInto":[],"optOutFrom":[]}
info 22:41:58.347: Registering dummy command feature
info 22:41:58.787: Preferred Remote kernel for d:\CJ\FoF\Quantamental\backtest.ipynb is undefined
info 22:41:58.788: Find preferred kernel for d:\CJ\FoF\Quantamental\backtest.ipynb with metadata {"kernelspec":{"display_name":"Python 3","language":"python","name":"python3"},"language_info":{"codemirror_mode":{"name":"ipython","version":2},"file_extension":".py","mimetype":"text/x-python","name":"python","nbconvert_exporter":"python","pygments_lexer":"ipython2","version":"2.7.6"}} & preferred interpreter d:\env\condaenv\conda310\python.exe
info 22:41:58.790: Preferred Remote kernel for d:\CJ\FoF\Quantamental\backtest.ipynb is undefined
info 22:41:58.790: Preferred kernel .jvsc74a57bd0348ebc624cc7119089e2fe4cfbb9de781be47776c85de75c084bfda3b3053470.d:\env\condaenv\conda310\python.exe.d:\env\condaenv\conda310\python.exe.-m#ipykernel_launcher is exact match
info 22:41:58.791: PreferredConnection: .jvsc74a57bd0348ebc624cc7119089e2fe4cfbb9de781be47776c85de75c084bfda3b3053470.d:\env\condaenv\conda310\python.exe.d:\env\condaenv\conda310\python.exe.-m#ipykernel_launcher found for NotebookDocument: d:\CJ\FoF\Quantamental\backtest.ipynb
info 22:41:58.793: Preferred Remote kernel for d:\CJ\FoF\Quantamental\backtest.ipynb is undefined
info 22:41:58.803: Preferred Remote kernel for d:\CJ\FoF\Quantamental\backtest.ipynb is undefined
info 22:41:58.803: Find preferred kernel for d:\CJ\FoF\Quantamental\backtest.ipynb with metadata {"kernelspec":{"display_name":"Python 3","language":"python","name":"python3"},"language_info":{"codemirror_mode":{"name":"ipython","version":2},"file_extension":".py","mimetype":"text/x-python","name":"python","nbconvert_exporter":"python","pygments_lexer":"ipython2","version":"2.7.6"}} & preferred interpreter d:\env\condaenv\conda310\python.exe
info 22:41:58.804: Preferred Remote kernel for d:\CJ\FoF\Quantamental\backtest.ipynb is undefined
info 22:41:58.804: Preferred kernel .jvsc74a57bd0348ebc624cc7119089e2fe4cfbb9de781be47776c85de75c084bfda3b3053470.d:\env\condaenv\conda310\python.exe.d:\env\condaenv\conda310\python.exe.-m#ipykernel_launcher is exact match
info 22:41:58.989: Preferred Remote kernel for d:\CJ\FoF\Quantamental\backtest.ipynb is undefined
info 22:41:59.11: Starting Jupyter Session id = 'startUsingPythonInterpreter:.jvsc74a57bd0348ebc624cc7119089e2fe4cfbb9de781be47776c85de75c084bfda3b3053470.d:\env\condaenv\conda310\python.exe.d:\env\condaenv\conda310\python.exe.-m#ipykernel_launcher' (Python Path: d:\env\condaenv\conda310, EnvType: Conda, EnvName: '', Version: 3.10.4) for 'd:\CJ\FoF\Quantamental\backtest.ipynb' (disableUI=true)
info 22:41:59.11: Creating raw notebook for resource 'd:\CJ\FoF\Quantamental\backtest.ipynb'
info 22:41:59.11: Computing working directory for resource 'd:\CJ\FoF\Quantamental\backtest.ipynb'
info 22:41:59.32: Preferred Remote kernel for d:\CJ\FoF\Quantamental\backtest.ipynb is undefined
info 22:41:59.32: Find preferred kernel for d:\CJ\FoF\Quantamental\backtest.ipynb with metadata {"kernelspec":{"display_name":"Python 3","language":"python","name":"python3"},"language_info":{"codemirror_mode":{"name":"ipython","version":2},"file_extension":".py","mimetype":"text/x-python","name":"python","nbconvert_exporter":"python","pygments_lexer":"ipython2","version":"2.7.6"}} & preferred interpreter d:\env\condaenv\conda310\python.exe
info 22:41:59.34: Preferred Remote kernel for d:\CJ\FoF\Quantamental\backtest.ipynb is undefined
info 22:41:59.34: Preferred kernel .jvsc74a57bd0348ebc624cc7119089e2fe4cfbb9de781be47776c85de75c084bfda3b3053470.d:\env\condaenv\conda310\python.exe.d:\env\condaenv\conda310\python.exe.-m#ipykernel_launcher is exact match
info 22:41:59.35: PreferredConnection: .jvsc74a57bd0348ebc624cc7119089e2fe4cfbb9de781be47776c85de75c084bfda3b3053470.d:\env\condaenv\conda310\python.exe.d:\env\condaenv\conda310\python.exe.-m#ipykernel_launcher found for NotebookDocument: d:\CJ\FoF\Quantamental\backtest.ipynb
info 22:41:59.41: Starting raw kernel 'conda310 (Python 3.10.4)' for interpreter d:\env\condaenv\conda310\python.exe
info 22:41:59.89: Kernel launching with ports 9000,9001,9002,9003,9004. Start port is 9000
info 22:41:59.112: Preferred Remote kernel for d:\CJ\FoF\Quantamental\backtest.ipynb is undefined
info 22:41:59.112: Find preferred kernel for d:\CJ\FoF\Quantamental\backtest.ipynb with metadata {"kernelspec":{"display_name":"Python 3","language":"python","name":"python3"},"language_info":{"codemirror_mode":{"name":"ipython","version":2},"file_extension":".py","mimetype":"text/x-python","name":"python","nbconvert_exporter":"python","pygments_lexer":"ipython2","version":"2.7.6"}} & preferred interpreter d:\env\condaenv\conda310\python.exe
info 22:41:59.114: Preferred Remote kernel for d:\CJ\FoF\Quantamental\backtest.ipynb is undefined
info 22:41:59.114: Preferred kernel .jvsc74a57bd0348ebc624cc7119089e2fe4cfbb9de781be47776c85de75c084bfda3b3053470.d:\env\condaenv\conda310\python.exe.d:\env\condaenv\conda310\python.exe.-m#ipykernel_launcher is exact match
info 22:41:59.131: Process Execution: > d:\env\condaenv\conda310\python.exe -m pip list
> d:\env\condaenv\conda310\python.exe -m pip list
info 22:41:59.135: Process Execution: > d:\env\condaenv\conda310\python.exe -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
> d:\env\condaenv\conda310\python.exe -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
info 22:41:59.157: Creating daemon process for d:\env\condaenv\conda310\python.exe with env variables count 69
info 22:41:59.161: Process Execution: > d:\env\condaenv\conda310\python.exe -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_interrupt_daemon -v --ppid 21192
> d:\env\condaenv\conda310\python.exe -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_interrupt_daemon -v --ppid 21192
info 22:41:59.388: get interrupthandle daemon
info 22:41:59.394: Process Execution: > d:\env\condaenv\conda310\python.exe -m ipykernel_launcher --ip=<IP_ADDRESS> --stdin=9003 --control=9001 --hb=9000 --Session.signature_scheme="hmac-sha256" --Session.key=b"a34263af-3cb7-430a-902f-2c27d7ca0072" --shell=9002 --transport="tcp" --iopub=9004 --f=d:\Users\Dereck\AppData\Roaming\jupyter\runtime\kernel-v2-21192kJjq0HBWvHuR.json
> d:\env\condaenv\conda310\python.exe -m ipykernel_launcher --ip=<IP_ADDRESS> --stdin=9003 --control=9001 --hb=9000 --Session.signature_scheme="hmac-sha256" --Session.key=b"a34263af-3cb7-430a-902f-2c27d7ca0072" --shell=9002 --transport="tcp" --iopub=9004 --f=d:\Users\Dereck\AppData\Roaming\jupyter\runtime\kernel-v2-21192kJjq0HBWvHuR.json
info 22:41:59.394: Process Execution: cwd: d:\CJ\FoF\Quantamental
cwd: d:\CJ\FoF\Quantamental
info 22:41:59.606: ipykernel version 6.13.0 for d:\env\condaenv\conda310\python.exe
info 22:41:59.606: ipykernel location d:\env\condaenv\conda310\lib\site-packages\ipykernel\__init__.py for d:\env\condaenv\conda310\python.exe
warn 22:42:0.837: StdErr from Kernel Process d:\env\condaenv\conda310\lib\site-packages\traitlets\traitlets.py:2392: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.
  warn(

warn 22:42:0.837: StdErr from Kernel Process d:\env\condaenv\conda310\lib\site-packages\traitlets\traitlets.py:2346: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'a34263af-3cb7-430a-902f-2c27d7ca0072' instead of 'b"a34263af-3cb7-430a-902f-2c27d7ca0072"'.
  warn(

info 22:42:0.905: Kernel Output: NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.

To exit, you will have to explicitly quit this process, by either sending
"quit" from a client, or using Ctrl-\ in UNIX-like environments.

To read more about this, see https://github.com/ipython/ipython/issues/2049

To connect another client to this kernel, use:
    --existing d:\Users\Dereck\AppData\Roaming\jupyter\runtime\kernel-v2-21192kJjq0HBWvHuR.json

info 22:42:1.91: Started kernel conda310 (Python 3.10.4), (Raw session started and connected)
info 22:42:1.92: Finished connecting 1fd869b8-9563-4db5-b5b9-9d308f93b45b
info 22:42:1.149: UpdateWorkingDirectoryAndPath in Kernel
info 22:42:1.149: Add SVG to matplotlib figure formats
info 22:42:1.149: Executing silently Code (idle) = import os\nimport sys\n%cd "d:\CJ\FoF\Quantamental"\nif os.getcwd() not in sys.path:\nsys.path.inser
info 22:42:1.955: Executing silently Code (completed) = import os\nimport sys\n%cd "d:\CJ\FoF\Quantamental"\nif os.getcwd() not in sys.path:\nsys.path.inser
info 22:42:1.955: Waiting for idle on (kernel): af4a319e-1d1d-47aa-be21-c5ef972588f2 -> idle
info 22:42:1.955: Finished waiting for idle on (kernel): af4a319e-1d1d-47aa-be21-c5ef972588f2 -> idle
info 22:42:3.403: Execute Cell 0 d:\CJ\FoF\Quantamental\backtest.ipynb
info 22:42:3.755: Cell 0 executed with state Success
info 22:42:8.826: Execute Cell 2 d:\CJ\FoF\Quantamental\backtest.ipynb
info 22:42:8.903: Cell 2 executed with state Success
info 22:42:17.535: Loading webview. View is notset
info 22:42:17.536: Loading web view...
info 22:42:17.536: Webview panel created.
info 22:42:17.736: Web view react rendered
info 22:42:17.776: Executing silently Code (idle) = # Query Jupyter server for the info about a dataframe\nimport json as _VSCODE_json\nimport builtins as
info 22:42:17.779: Executing silently Code (idle) = # Query Jupyter server for the info about a dataframe\nimport json as _VSCODE_json\nimport builtins as
info 22:42:17.798: Executing silently Code (completed) = # Query Jupyter server for the info about a dataframe\nimport json as _VSCODE_json\nimport builtins as
info 22:42:17.799: Executing silently Code (idle) = import builtins\n_rwho_ls = %who_ls\nbuiltins.print(_VSCODE_getVariableTypes(_rwho_ls))
info 22:42:17.814: Executing silently Code (completed) = # Query Jupyter server for the info about a dataframe\nimport json as _VSCODE_json\nimport builtins as
info 22:42:17.815: Executing silently Code (idle) = import builtins\n_rwho_ls = %who_ls\nbuiltins.print(_VSCODE_getVariableTypes(_rwho_ls))
info 22:42:17.830: Executing silently Code (completed) = import builtins\n_rwho_ls = %who_ls\nbuiltins.print(_VSCODE_getVariableTypes(_rwho_ls))
info 22:42:17.848: Executing silently Code (completed) = import builtins\n_rwho_ls = %who_ls\nbuiltins.print(_VSCODE_getVariableTypes(_rwho_ls))
info 22:42:17.852: Executing silently Code (idle) = import builtins\nbuiltins.print(_VSCODE_getVariableInfo(bm))
info 22:42:17.856: Executing silently Code (idle) = import builtins\nbuiltins.print(_VSCODE_getVariableInfo(bm))
info 22:42:17.862: Executing silently Code (completed) = import builtins\nbuiltins.print(_VSCODE_getVariableInfo(bm))
info 22:42:17.878: Executing silently Code (completed) = import builtins\nbuiltins.print(_VSCODE_getVariableInfo(bm))
info 22:42:20.473: Loading webview. View is notset
info 22:42:20.474: Loading web view...
info 22:42:20.474: Webview panel created.
info 22:42:20.550: Process Execution: > d:\env\condaenv\conda310\python.exe -c "import pandas;print(pandas.__version__)"
> d:\env\condaenv\conda310\python.exe -c "import pandas;print(pandas.__version__)"
info 22:42:20.733: Web view react rendered
info 22:42:21.56: Executing silently Code (idle) = import pandas as _VSCODE_pd\nimport builtins as _VSCODE_builtins\nimport json as _VSCODE_json\nimport n
info 22:42:21.85: Executing silently Code (completed) = import pandas as _VSCODE_pd\nimport builtins as _VSCODE_builtins\nimport json as _VSCODE_json\nimport n
info 22:42:21.85: Executing silently Code (idle) = import builtins\nbuiltins.print(_VSCODE_getDataFrameInfo(pick))
error 22:42:21.107: Disposing session as kernel process died ExitCode:<PHONE_NUMBER>, Reason: d:\env\condaenv\conda310\lib\site-packages\traitlets\traitlets.py:2392: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.
  warn(
d:\env\condaenv\conda310\lib\site-packages\traitlets\traitlets.py:2346: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'a34263af-3cb7-430a-902f-2c27d7ca0072' instead of 'b"a34263af-3cb7-430a-902f-2c27d7ca0072"'.
  warn(

info 22:42:21.108: kill daemon
error 22:42:21.109: Raw kernel process exited code:<PHONE_NUMBER>
error 22:42:21.112: [Error: Canceled future for execute_request message before replies were done
	at t.KernelShellFutureHandler.dispose (d:\Users\Dereck\.vscode\extensions\ms-toolsai.jupyter-2022.5.1001601848\out\extension.node.js:2:1376085)
	at d:\Users\Dereck\.vscode\extensions\ms-toolsai.jupyter-2022.5.1001601848\out\extension.node.js:2:1395137
	at Map.forEach (<anonymous>)
	at y._clearKernelState (d:\Users\Dereck\.vscode\extensions\ms-toolsai.jupyter-2022.5.1001601848\out\extension.node.js:2:1395122)
	at y.dispose (d:\Users\Dereck\.vscode\extensions\ms-toolsai.jupyter-2022.5.1001601848\out\extension.node.js:2:1388604)
	at d:\Users\Dereck\.vscode\extensions\ms-toolsai.jupyter-2022.5.1001601848\out\extension.node.js:2:578260
	at t.swallowExceptions (d:\Users\Dereck\.vscode\extensions\ms-toolsai.jupyter-2022.5.1001601848\out\extension.node.js:2:1001797)
	at dispose (d:\Users\Dereck\.vscode\extensions\ms-toolsai.jupyter-2022.5.1001601848\out\extension.node.js:2:578238)
	at t.RawSession.dispose (d:\Users\Dereck\.vscode\extensions\ms-toolsai.jupyter-2022.5.1001601848\out\extension.node.js:2:583202)
	at processTicksAndRejections (node:internal/process/task_queues:96:5)]

Coding Language and Runtime Version
Python v.3.10.4
Language Extension Version (if applicable)
v2022.8.0
Anaconda Version (if applicable)
miniconda 4.13.0
Running Jupyter locally or remotely?
Local

Thanks for the bug, do you have the example code that causes the issue?

I tried this example I found. There was no crash however:
import pandas as pd

course = ["DBMS", "DSA", "OOPS",
          "System Design", "CN", ]

# pass the period and starting index
webinar_date = pd.period_range('2020-08-15', periods=5)

# Determine Period Index and Column
# for DataFrame
df = pd.DataFrame(course, index=webinar_date, columns=['Course'])

What is the version of python and pandas in use? I'm using 3.9.7 and pandas 1.3.4

Error code<PHONE_NUMBER> is an access violation so I'd guess pandas is crashing for some reason.

@rchiodo You are right! I use conda to manager enviroment and set pandas=1.3.4(with python 3.9.7), then df2 can be viewed as:

It seems that index can't show properly.

What version of pandas and python were you using before?
PeriodIndex showing an object is expected at the moment. We really only support simple data types for viewing in a column.

@rchiodo I used pandas 1.4.2 and python 3.10.4 before, and every env is mananged by conda separately.

Thanks I can repro the crash with those versions. Probably a bug in pandas.

Closing this down as an issue with pandas.


login problem cody with vs code extension

I  can't login cody with vs code extension. I logged in with GitHub before and it stop loggin in to cody.

Hi can you provide the following:

Operating system
VS Code version
Cody extension version

Also do you have the Cody App installed?

My computer with vscode is
OS
Edition: Windows 11 Pro
Version: 22H2
Installed: 2022/10/21
OS Build: 22621.1992
Experience: Windows Feature Experience Pack 1000.22644.1000.0

vscode:
Version: 1.80.1 (user setup)
Commit: 74f6148eb9ea00507ec113ec51c489d6ffb4b771
Date: 2023-07-12T17:22:07.651Z
Electron: 22.3.14
ElectronBuildId: 21893604
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22621

extension
Cody AI v0.6.1

It keeps stop log in to cody server, hang for long time, and not responding.
Tell me how to solve.

The chat on the code editor works again by getting new access token, but not left sidebar chat. Tell me how to reveke and generate the access token again for leftside bar?

Hey @john3825
Sure thing. Go here: https://sourcegraph.com/users/{YOUR-USER-NAME}/settings/tokens
Then open the command pallet in VS Code > type "cody" > then choose "Cody: Sign out"
Let me know if this works or not.

I got an error signing out.
Comman d`Cody: Sign Out...`: result in an error

Cannot read properties of null  (reading 'toString')

Maybe the extension is corrupsed or missing codes.
I added the authentication code,   "cody.assistantAccessToken": "access token", manually to VCS code User settings JSON file settings.json. VS code does not understand the code because the Unknown Configuration Setting. No quick fix error. Please tell me how to set the authentication access token manually or vs code cody settings.
I still cannnot log in.
Please check what is wrong with the code error.

@john3825 can you update the extension to 0.6.2 and reload the editor to see if that fixed the issue for you?

I uninstalled and installed the extension again and Cody: Sign Out and Cody:Sign In from command in VSCode from/to sourcegraph.com account, but the left sidebar chat does not work. The text editor chat works but can not replace the editor text.
There are still errors in the Runtime status of the extension:
Activation Event:onStartupFinished
Activation Time:707ms
Uncaught Errors (2)
Cannot read properties of null (reading 'toString')
Cannot read properties of null (reading 'toString')

Thanks so much for the info @john3825
Can you provide a screenshot and or recording of the left sidebar? That will help us big time.

Closing as duplicate of https://github.com/sourcegraph/cody/issues/360 (which has some more info)

Thanks @sqs

@jdorfman @sqs It worked with pre-release version. It was from the login error from the error. Thanks


Tubular Worlds missing gfx above

All Video Modes Default, ForceNTSC, ForcePAL have missing gfx above

I can’t seem to reproduce this, works out of the box and does not cut off any graphics here. What version are you using?

(Ignore the GitHub commit above, that was me fat-fingering the issue number for an unrelated fix)


publish on npmjs.com

There's npmjs.com/dat.gui. Is that official? Or did someone go ahead and do that? If 3rd party, would be cool if you guys made it official.

Yeah. +1

folks you went through the trouble of creating a package.json file, specified a main attribute within it. I'm assuming this https://www.npmjs.com/package/dat.gui is your official module?
it's completely broken with browserify.

See #119

The dat.gui package on npm is now official, and will be kept up-to-date in the future. Thanks @korczis for putting that on npm initially, we probably should have done this officially sooner. 🙂
https://www.npmjs.com/package/dat.gui
The latest version works with Browserify, as well:
const dat = require('dat.gui').default;

const gui = new dat.GUI();
gui.add({message: 'hello world'}, 'message');


How watch, join and minify together?

Hello, @cmoncrief,
I have a folder structure like this:
|-assets
|--coffee
|--js

I have my coffeescript files in /assets/coffee/ folder and I want to watch the entire directory and combine them into one file js/app.js.
From terminal I ran the following command inside of assets folder:
coffeebar -wmo js/app.js coffee
It compiles on when I create new .coffee file, but does not compiles on when I add some code into them.
Can you tell me, what I'm doing wrong?

No one cares, so, i'll close it :D


Add staggerFrom and staggerFromTo to gsap util file

Might be useful to have the methods for staggerFrom and staggerFromTo commented out in case we need it for some projects since I find myself adding this for some projects, also we could:

Comment out staggerTo too and every method will be on-demand if devs need it they will uncomment
Have all 3 methods exposed

@alemesa Can we move all those methods to https://github.com/iranreyes/gsap-promisify?

👍 @iranreyes want me to make a PR?

I think the best solution here is to create a library that adds staggering to TweenLite, and move all that code there


Build errors for 10.0.10586.0 missing header files

Installed the latest IoTCore environment but the solution does not compile.:
first error:
\bsp\drivers\audio\bcm2836\rpiwav.h(12): fatal error C1083: Cannot open include file: 'portcls.h': No such file or directory
The include path mentions:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\shared\
all the missing header files are located in a previous version of the Windows 10 kit e.g.
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\km
The km folder is missing in version 10.0.10586.0
Am I missing something

The missing km folder is suspicious, portcls.h can be found at "C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\km". You could repair/re-install your WDK installation so the headers for 10586 are correctly placed.
Alternatively you can also update your SDK and WDK to the current latest insider version to see if that helps with your setup.
VS2015 Update 2 : http://go.microsoft.com/fwlink/p/?LinkId=534599
SDK 14295 : http://go.microsoft.com/fwlink/?LinkId=615097
WDK 14295 : http://go.microsoft.com/fwlink/p/?LinkId=760768

Issue resolved by installing the latest WDK and SDK!


[e2e] bump test-infra

What does this PR do?

Bump test-infra-definitions in new-e2e module
Changelog: https://github.com/DataDog/test-infra-definitions/compare/6dbc5dad4e60...eb67dd1667e4
Motivation

Among the changes there is an improvement in curl error handling that should reduce and give more insights on installer issues we see in e2e tests
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge

/merge


sl.MEM.GPU Attribute error. GPU no longer an option.

Preliminary Checks

[X] This issue is not a duplicate. Before opening a new issue, please search existing issues.
[X] This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description
I have noticed that I can no longer use GPU memory on v3.6.x, I can only choose CPU memory. I have seen that it has been scrubbed from your api documentation. What is the reason for this and will it be returned as an option in later releases?
The only mention in patch notes is "Fixed random GPU memory corruption leading to non repeatable output.". Was this by chance fixed by removing the option to use GPU memory maybe?
Thanks
Steps to Reproduce
1.import pyzed.sl as sl
2.mem_type = sl.MEM.GPU
...
Expected Result
mem_type to be equal to MEM.GPU
Actual Result
Attribute error occurs, GPU is not a valid option.
ZED Camera model
ZED2
Environment
Ubuntu 18.04,
Jetson Xavier AGX,
Jetpack 4.5,
ZED SDK v3.6.4

Anything else?
No response

MEM.GPU was removed in Python because it couldn't be used as-is and was only there to match the C++ API. It was counterproductive as many users (rightly) thought it could be used.
To be usable we would need to implement something like CuPy buffers and CUDA Context sharing, requiring significant development effort and is currently not on our roadmap. We'll add it back if we choose to implement it later.
If you need GPU buffers for high-performance applications you should directly use the native C++ API. However, we're interested in hearing about your use case of this. If there are significant demands we could prioritize this feature.
Since the wrapper is open source, pull requests to implement this is also an option.

Okay that makes sense, thank you for the clarification

I'd personally be interested in that. Most, if not all, of my processing is done in a python environment so it would be more convenient to get the speed of the GPU memory with the ease of python and the already abundant scientific tools for python

+1, this would be a super helpful feature for researchers that are doing computer vision work with Zed cameras.
We have a project currently using Zed cameras to do real-time object pose estimation with CNNs + reading GPU data directly would alleviate our main bottleneck. We currently have to read the image as CPU, then move it back to the GPU as a torch.tensor which we think is causing a relatively large performance hit.

MEM.GPU was removed in Python because it couldn't be used as-is and was only there to match the C++ API. It was counterproductive as many users (rightly) thought it could be used.
To be usable we would need to implement something like CuPy buffers and CUDA Context sharing, requiring significant development effort and is currently not on our roadmap. We'll add it back if we choose to implement it later.
If you need GPU buffers for high-performance applications you should directly use the native C++ API. However, we're interested in hearing about your use case of this. If there are significant demands we could prioritize this feature. Since the wrapper is open source, pull requests to implement this is also an option.

Please update readme.md to clearly state Python ZED API doesn't support GPU.


Implement peer exchange (PEX)

PEX is an extension of the BitTorrent protocol. It allows a group of users (or peers) that are collaborating to share a given file to do so more swiftly and efficiently.
https://en.wikipedia.org/wiki/Peer_exchange
Implementing this in hypercore will greatly help with connection issues behind proxies and in an instance the Kademlia DHT is blocked, as well as enhance the privacy aspect of Dat, since the peer list would be sent inside an encrypted TCP or UTP channel.
It would also be a great example on how to extend the Dat protocol.
A related issue, proxy support in Beaker: https://github.com/beakerbrowser/beaker/issues/682

@mafintosh I see there is an extensions string in the first handshake, but I'm not sure how to use it.
I'm refreshing my JavaScript, so If you can give me pointers on how you think this should be implemented, I might be able to submit a comprehensible pull request.
There are other aspects of running behind a proxy mentioned in the beaker issue and I might be able to help with implementation and testing of those as well.

We're starting to formalize a process for extensions like this at https://github.com/datprotocol/DEPs. (Process DEP is in progress, see https://github.com/datprotocol/DEPs/pull/2). If you wanted to start a proposal using the template in PR 2, that'd be cool.

This is really cool! It should probably go into https://github.com/maxogden/discovery-channel

Actually, this would be better as an extension of the dat protocol. :x

Super cool idea still and have lots of ideas for this, but should be an extension protocol on 10. On the Discord if anyone wants to discuss.


Allow dotted hosts creation using config

Changes in this pull request:

Added a config with settings which are used to allow the creation of dotted hosts.
Details about the config can be found in modules/docs/src/main/mdoc/operator/config-api.md.

On creating the dotted hosts A record in the zones, I could see weird error message Can you please update this.
Steps to reproduce:

Create dummy. zone.
Create dotted hots with the record ok.ok. ->  record name, record type ->  A, Ip Address -> <IP_ADDRESS>

Can you please update this message.

Updated the message, only indicates that the record is a dotted host now and removed the other contents.

On creating the dotted hosts A record in the zones, I could see weird error message Can you please update this.
Steps to reproduce:

Create dummy. zone.
Create dotted hots with the record ok.ok. ->  record name, record type ->  A, Ip Address -> <IP_ADDRESS>

Thanks for finding that out. It was because of the dot at the end of the record name. Made the required changes. Works as expected now.

Couple more things I noticed:
• Currently there seems to be no limit on how many dots could be in a dotted host. For example I could create a record "foo.foo.foo.foo.foo." in zone "ok." Depending on requirements, maybe we could have this be a configurable value
• In the case of wildcard zones, we could have conflicts in the access rules. For example, if we have dotted host config with zone = "*ent.com." and config with zone = "child.parent.com.", which would take precedence for zone "child.parent.com." ? Does the order of the config matter?
• It seems like if allowed-group-list and allowed-user-list are both left empty, any user can create a dotted record in the zone. Is this what we want, or should we allow nobody if those fields are both blank?
• It looks like if allowed-record-type is left empty, users can only create A records, while other record types fail, which doesn't seem like the intended behavior

Sure, I'll add a config for number of dots allowed for each zones in the dotted-host-config and update the PR.
No, the order of the config doesn’t matter. In the end, we group all the zones together (both wildcard and individual) and process them. So, the order doesn't matter. But I noted that, currently if a zone is present in both wildcard and as individual in the dotted-host-config, it combines both of their properties instead of just taking the individual zone in precedence. Will look into it.
No, it doesn't allow any user to create a dotted record in the zone if allowed-group-list and allowed-user-list are left empty. I checked it once again today and if they're left empty, it didn’t allow anyone to create a dotted host record in that zone, which is the intended behaviour. Did it allow any user to create dotted host record for you if left empty? Can you please try again once more with latest commit?
Same as above. If allowed-record-type is left empty, user cannot create dotted host record of any type. It works fine when I ran locally and I'm able to create record of other types without any problem. Not sure what the problem is.

No, it doesn't allow any user to create a dotted record in the zone if allowed-group-list and allowed-user-list are left empty. I checked it once again today and if they're left empty, it didn’t allow anyone to create a dotted host record in that zone, which is the intended behaviour. Did it allow any user to create dotted host record for you if left empty? Can you please try again once more with latest commit?

I tried this again and it works as you said. I probably missed something in my test config

Same as above. If allowed-record-type is left empty, user cannot create dotted host record of any type. It works fine when I ran locally and I'm able to create record of other types without any problem. Not sure what the problem is.

Tried this again and it works as you said.


Error: NotFound message

Hi :)
After a new installation of Brackets, I have an error message to the software launch :
Error: NotFound
at toError (file:///C:/Users/Stephane/AppData/Roaming/Brackets/extensions/user/zaggino.brackets-snippets/src/ErrorHandler.js:13:16)
at Object.show (file:///C:/Users/Stephane/AppData/Roaming/Brackets/extensions/user/zaggino.brackets-snippets/src/ErrorHandler.js:17:15)
at file:///C:/Users/Stephane/AppData/Roaming/Brackets/extensions/user/zaggino.brackets-snippets/src/Snippets.js:142:34
at FileSystem.eval (/filesystem/FileSystem.js:603:21)
at eval (/filesystem/impls/appshell/AppshellFileSystem.js:232:17)

I tried to remove the extension and reinstalling, but the message is still present.
Do you have an idea to solve the problem ?
Thank you :)

Hi, I have no idea what was NotFound ... can you provide detailed debug logs from the console? (turn debug on in git settings, restart and open console f12)

Ignore previous comment, deleted it. I probably have an idea, but I'll check to be sure.

Hi zaggino,
Have you had time to check the problem ?

Got to it now, bit low on the free time but I'll release a new version in the next few hours I hope.

Please test the latest version 0.5.0 and provide feedback, thanks!

Hi zaggino,
Message always present when Brackets
Error: _loadSnippetsFromDirectories: C:/Users/Stephane/AppData/Roaming/Brackets/extensions/user/zaggino.brackets-snippets/default_snippets/js/ is not a directory!
at toError (file:///C:/Users/str/AppData/Roaming/Brackets/extensions/user/zaggino.brackets-snippets/src/ErrorHandler.js:13:16)
at Object.show (file:///C:/Users/str/AppData/Roaming/Brackets/extensions/user/zaggino.brackets-snippets/src/ErrorHandler.js:17:15)
at file:///C:/Users/str/AppData/Roaming/Brackets/extensions/user/zaggino.brackets-snippets/src/Snippets.js:152:34
at FileSystem.eval (/filesystem/FileSystem.js:603:21)
at eval (/filesystem/impls/appshell/AppshellFileSystem.js:232:17)

And, i've the 0.5.0 :


How to get layers for mapbox basemap

Context
Please explain here below what you were doing when the issue happened
Steps to Reproduce
Please break down here below all the needed steps to reproduce the issue

Current Result
Please describe here below the current result you got
Expected result
Please describe here below what should be the expected behaviour
Browser and version
What internet browser (Chrome, Firefox, etc) and version was you using and version
Additional info
Please add any information of interest here below

CARTO.js works with Leaflet or Google Maps, not Mapbox.
If you need to work with Mapbox GL, please visit our render library https://github.com/CartoDB/carto-vl
If not, please elaborate on your answer. That title is not enough information to know what's your particular issue.

Thank you ivanmalagon for the response. I would like to know whether I can use CARTO.js v4 with Mapbox. As CARTO partnered with MAPBOX link in last January.
Is CARTO-VL is the only option to work with Mapbox?

CARTO.js is a raster library. If you need to use Mapbox GL with Carto, CARTO VL is the way to go.

Thanks ivanmalagon

CARTO.js is our raster library and it works out-of-the-box with Leaflet and Google Maps.
CARTO VL is our vector library and it works with Mapbox GL.
What exactly do you need Mapbox for? Basemaps? Combining data from CARTO with your own data...?

I have a requirement to convert Project-A to Project-B

Project-A uses google map as Basemap on client side and loads layers Json data from CartoDB.
Project-B uses Mapbox as Basemap on client side and loads same data to draw layers.

So my question is can I use same data to draw layers on Mapbox?

How are you loading the json data? Via API? Via CARTO.js? Using directly JSON files?

I am loading from an API

Hi @shivalkondwar
If you are going to work with CARTO VL you should have a look at its guides and examples at https://carto.com/developers/carto-vl/.
For example, you could adapt easily your API request into a GeoJSON source (simple external GeoJSON: https://carto.com/developers/carto-vl/examples/#example-external-geojson-layer).

I'm closing this. Feel free to open an issue at CARTO VL repository if you have any problem with your projects