Used format to represent fingerprints/molecules

I'm trying to understand your code but I have a few doubts.
First of all I'd like to understand how you generate the r-radius subgraphs. For instance, if I run your code, the first SMILES is 'CCC1=[O+][Cu-3]2([O+]=C(CC)C1)[O+]=C(CC)CC(CC)=[O+]2', which corresponds to the molecule vector (or fingerprint) [ 6,  7,  8,  9, 10,  9,  8,  7,  6, 11,  9,  8,  7,  6, 11,  8,  7,  6, 9, 12, 12, 12, 13, 13, 13, 13, 12, 12, 12, 13, 13, 13, 13, 12, 12, 12, 13, 13, 13, 13, 12, 12, 12]. I'm not able to understand how to obtain this vector. I though you were just looking for all the sub-graphs within a certain radius from each atom of the molecule. In this case I would expect something like:
[0, 1, 2] [0, 1, 2, 3, 9] [0, 1, 2, 3, 4, 6, 9] [1, 2, 3, 4, 5, 9, 10, 18] [2, 3, 4, 5, 6, 10, 11, 15, 18] [3, 4, 5, 6, 7, 9, 10, 18] [2, 4, 5, 6, 7, 8, 9] [5, 6, 7, 8, 9] [8, 6, 7] [1, 2, 3, 5, 6, 7, 9] [3, 4, 5, 10, 11, 12, 14, 18] [4, 10, 11, 12, 13, 14, 15] [10, 11, 12, 13, 14] [11, 12, 13] [10, 11, 12, 14, 15, 16, 18] [4, 11, 14, 15, 16, 17, 18] [14, 15, 16, 17, 18] [16, 17, 15] [3, 4, 5, 10, 14, 15, 16, 18]
Moreover, I do not understand why the second entry in molecules does not start at zero anymore: [20, 21, 22, 23, 24, 24, 24, 23, 25,  9, 10,  9, 25, 20, 21, 22, 23, 24, 24, 24, 23, 26, 27, 28, 23, 24, 24, 24, 23, 29, 29, 27, 28, 23, 24, 24, 24, 23, 26, 30, 31, 32, 32, 32, 32, 32, 30, 31, 32, 32, 32, 32, 32, 13, 13, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 13, 13].
Finally, I'd like to understand if you concatenate all the r-radius subgraphs into a single vector (one of the vectors above). Thank you.

I'm trying to understand your code but I have a few doubts.
First of all I'd like to understand how you generate the r-radius subgraphs. For instance, if I run your code, the first SMILES is 'CCC1=[O+][Cu-3]2([O+]=C(CC)C1)[O+]=C(CC)CC(CC)=[O+]2', which corresponds to the molecule vector (or fingerprint) [ 6, 7, 8, 9, 10, 9, 8, 7, 6, 11, 9, 8, 7, 6, 11, 8, 7, 6, 9, 12, 12, 12, 13, 13, 13, 13, 12, 12, 12, 13, 13, 13, 13, 12, 12, 12, 13, 13, 13, 13, 12, 12, 12]. I'm not able to understand how to obtain this vector. I though you were just looking for all the sub-graphs within a certain radius from each atom of the molecule. In this case I would expect something like:
[0, 1, 2] [0, 1, 2, 3, 9] [0, 1, 2, 3, 4, 6, 9] [1, 2, 3, 4, 5, 9, 10, 18] [2, 3, 4, 5, 6, 10, 11, 15, 18] [3, 4, 5, 6, 7, 9, 10, 18] [2, 4, 5, 6, 7, 8, 9] [5, 6, 7, 8, 9] [8, 6, 7] [1, 2, 3, 5, 6, 7, 9] [3, 4, 5, 10, 11, 12, 14, 18] [4, 10, 11, 12, 13, 14, 15] [10, 11, 12, 13, 14] [11, 12, 13] [10, 11, 12, 14, 15, 16, 18] [4, 11, 14, 15, 16, 17, 18] [14, 15, 16, 17, 18] [16, 17, 15] [3, 4, 5, 10, 14, 15, 16, 18]
Moreover, I do not understand why the second entry in molecules does not start at zero anymore: [20, 21, 22, 23, 24, 24, 24, 23, 25, 9, 10, 9, 25, 20, 21, 22, 23, 24, 24, 24, 23, 26, 27, 28, 23, 24, 24, 24, 23, 29, 29, 27, 28, 23, 24, 24, 24, 23, 26, 30, 31, 32, 32, 32, 32, 32, 30, 31, 32, 32, 32, 32, 32, 13, 13, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 13, 13].
Finally, I'd like to understand if you concatenate all the r-radius subgraphs into a single vector (one of the vectors above). Thank you.

Indeed, it is not easy to understand the code. As I undertand, each subgraph in your dataset has a unique number after a series of transforms.
I can answer your question about why the second entry in molecules does not start at zero.
The zero may appear in any entry, whereas it must be existed in the first entry since it was handled in the code firstly. The second entry does not have zero since the similar subgraph numbered zero cannot be seen in the second molecule.
Hope this can help you!
Further issuses can be discussed as I'm a new to the field of GNN.


chore(main): release 3.3.3

:robot: I have created a release beep boop
3.3.3 (2024-08-23)
Bug Fixes

Handle cases when annotation range starting or ending are hidden in folds (9d59016)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v3.3.3
:sunflower:


Keep EventArgs immutable and selectively use MutableEventArgs

This PR implements suggested changes outlined in https://github.com/doctrine/mongodb/pull/233#issuecomment-190353463. Please read that thoroughly for an explanation of why I opted to keep the pre-event data for batchInsert, insert, and save immutable.
/cc @blockjon @alcaeus

This all seems fine to me so long as this pattern will allow me to implement a function that allows me to do what my original intention was - and that is to modify the query by hooking into the collectionPreUpdate handler and to modify the query. If this PR allows for this, +1.
+    public function collectionPreUpdate(UpdateEventArgs $args)
+    {
+        $query = $args->getQuery();
+        $comment = $this->createUsefulComment();
+        $query['$comment'] = $comment;
+        $args->setQuery($query);
+    }

Ideally I would test this with my codebase.. however I just don't have the time to do this. This looks right though so I'll merge.


Is there a version of KOTLIN?

I am a novice. After opening the project, I found that it is all java code.
Need IDE and then convert to KOTLIN
For newbies, hope the code has some annotations.
Is there a version of KOTLIN?
thank you very much!

I'm not sure what you mean by

Need IDE and then convert to KOTLIN

you don't need to convert it to Java. The demo-session app is written in Kotlin, if you want to see examples in Kotlin how to use the code on your app.


Should gist:requires be transitive?

(Similar to #791)
I am trying to model relationships between different processes which require differing subsets of information.
So A requires B, C, and D. D requires E, F, and G.
It is fair to say that A also requires E, F, and G in my situation. I can use gist:is part of/gist:has part, but they do not quite capture the meaning of being required for a given process. I can also create a subproperty of gist:is part of/gist:has part that indicates a required part, but this seems like overloading the relationship. There are other approaches I can take, but a tree of requirements would be ideal.

There are some cases where transitivity seems appropriate, but the word require has many different varaitions in specific meaning.  I would be wary of repeating the mistake from partof.   My thumb is part of me, who is part of an organization. But my thumb is not part of an organization, in any useful sense.
Nothing comes immediately to mind, but I don't think it would be too hard to find similar examples where transitivity of requires breaks down.

That's helpful, thank you! I will consider other representations.


Incomplete Documentation for Conditional Access Policies' Target Applications (MicrosoftAdminPortals)

The Graph API documentation states that the includeApplications and excludeApplications properties of the conditionalAccessApplications resource type can include Office365, All (in the case of includeApplications), or a list of client IDs.
However, I am receiving a new undocumented value, MicrosoftAdminPortals. According to the KB article Conditional Access: Target resources which was last updated recently on 2023-11-09, in addition to Office 365 there is also Microsoft Azure Management and Microsoft Admin Portals application groups. I am not certain if these groups are very new to Conditional Access policies, but they are coming back in Graph API results and are not documented in the Graph API docs accordingly (neither the 1.0 nor the Beta APIs). This is a case where the API itself is inheriting data models from other products in a way that can break clients' compatibility, such as this case where my client has an algebraic sum type with the possible expected values representing a Conditional Access policy's target applications.
Thanks in advance.

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

ID: fd3d0df8-e41b-af67-97ac-a99f2163e061
Version Independent ID: 0a9fe363-b5d7-2eaa-8d69-186c20afc869
Content: conditionalAccessApplications resource type - Microsoft Graph v1.0
Content Source: api-reference/v1.0/resources/conditionalaccessapplications.md
Product: identity-and-sign-in
Technology: microsoft-graph
GitHub Login: @lisaychuang
Microsoft Alias: MSGraphDocsVteam

Thank you @jnicholls for raising this issue. I'm investigating internally and will get back to you once I identify all the required doc updates. Thank you for your patience.

@gregkmsft please share latest status & relevant PR for API doc updates related to Admin portals. Thanks!

Closing this issue in readiness for deactivation of GitHub issues. See this post for more information https://github.com/microsoftgraph/microsoft-graph-docs-contrib/issues/9146.
Tracking the internal lines for resolution.


[IR][Relax] Improve highlighting in assert_structural_equal

Prior to this commit, tvm.ir.assert_structural_equal would highlight an entire relax::BindingBlock if the number of elements in the binding block differs.  This can result in the entire Relax function being highlighted, making it difficult to identify the location of the mismatch.
This commit makes the following changes, to improve the error messages that occur when tvm.ir.assert_structural_equal raises an exception.

In "node.StructuralEqual", set defer_fails = true when assert_mode is true.  This highlights the first mismatch of an Array<relax::Binding>, rather than the entire array, in cases where the LHS and RHS have different sizes.

In the SHashReduce for VarBinding and MatchCast, visit the value first, and then the variable to which it is bound.  This highlights the mismatched expression, rather than mismatches in the resulting struct info.

In SEqualHandlerDefault::Impl::SEqualReduce, defer the failure if enabled.  This highlights the first mismatch, which may also have been deferred, rather than an early return a later mismatch occurs involving NullOpt.

For comparison, the error messages produced by tvm.ir.assert_structural_equal before and after this change are shown below.
Before:

After:

Fixed the failing unit tests.  Turns out, DeferFail didn't follow the assert_mode, and would only ever return a boolean.

And the additional unit test is added in https://github.com/apache/tvm/pull/16796.


VSC

VSC is worth a mention. I've been using it for my Haskell class with success. The Haskell extension for VSC has ~13000 downloads.

Oh yeah, this is a really good suggestion!  I had forgotten that there was a Haskell plugin for this


BT Keyboards aren't Detectable

After connecting my keyboard via bluetooth hemiola was not able to detect the keyboard.

With further testing this actually seems to work.


Allow both CSG in NGE

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Reviewer - this PR has made changes to the build configuration file.
This build will release a new package on npm
If that was unintentional please make sure to revert those changes or close this PR.

Snapshot stored with reference name:
refs/pull/15772/merge
Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15772/merge/index.html
To test a playground add it to the URL, for example:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15772/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15772/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15772/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15772/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15772/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15772/merge#BCU1XR#0

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15772/merge/testResults/webgpuplaywright/index.html

WebGL2 visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15772/merge/testResults/webgl2playwright/index.html


Listener command wrongly showing "never published"

Describe the bug
When running the "listener" command on the PX4 shell, it sometimes shows "never published" for topics that have absolutely been published. This happens when using the -n or -r arguments and NOT -i. Below are some examples (with the topic data removed, for brevity):
nsh> listener vehicle_attitude
  [correct topic data]
nsh> listener vehicle_attitude -i 0
  [correct topic data]
nsh> listener vehicle_attitude -i 0 -n 2
  [correct topic data twice]
nsh> listener vehicle_attitude -n 2
never published
nsh> listener vehicle_attitude -n 2 -r 2
never published

This behavior is the same in SITL.
To Reproduce
Steps to reproduce the behavior:

Choose a topic that has been published (Run uorb top to find some such topics)
Run the command listener <topic> and listener <topic> -i 0 -n 10 and observe correct behavior
Run the command listener <topic> -n 10 and observe never published.

Drone (please complete the following information):

FMU V5 Test bench running the latest master branch as of the time of submitting this issue
Same issue in SITL

Perhaps related to #12799

Yes I was aware this slipped in with https://github.com/PX4/Firmware/pull/12799 and was planning to go back and fix it.


validate a select dropdown

Versions

vee-validate: 2.1.0-beta.8
vue: ^2.5.16

Describe the bug
I am not sure if this is a bug but I am trying to use vee-validate for select and it is not displaying message....
To reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
validate a select and display message before submit
Demo link
JS Fiddle
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

I added v-validate="{ is_not: option }" and it solved my issue. I will close this.


Can we apply to full screen game dx?

I just tested it annd it seem doesn't effect full screen DirectX programs!

It is not supposed to work in full screen, but there is a workaround described here https://github.com/michel-pi/GameOverlay.Net/issues/71


Update mapping code and sam simulation model for compression

Added the behavior simulation code of crddrop in compression mode required by the sparse unit test in lake. Also updated hw_node/merge_node.py to account for the additional configuration register cmrg_mode of crddrop.

@kalhankoul96 do not approve it unless unit tests are also added for the ValDropper in the sam/sim/test/primitives folder


Add osx_sdk cache eviction to our salt configuration

Type of Request
feature request
Infrastructure Environment
Salt, Devicelab
What is happening?
The cache_micro_manager cannot be run on /opt/flutter/osx_sdk as this is outside the manageable directory structure so we will add this to salt.
Remove directories that have not been accessed after 30 days.
Can do something like this: https://dash-internal.git.corp.google.com/salt/+/refs/heads/main/salt/machine_tokend/init.sls#138 with find * -mtime +30 | xargs rm
Steps to reproduce
NA
Expected results
NA

This is done and has been implemented.


drag-drop: allow cancelation of dragged element

Bug, feature request, or proposal:
Feature Request
What is the expected behavior?
I tried to search and find for a way to cancel a simple dragged element, tagged by a [cdkDrag] directive, without any drop container. (1st exemple here: https://beta-angular-material-io.firebaseapp.com/cdk/drag-drop/overview).
What is the current behavior?
I tried by listening to the (cdkDragEnded) and restyle the native element transform to none. Which does simulate a cancel, but unfortunately, when dragging the item again, it starts from the previous position (the one that got 'canceled')
This is the code I used as a test:
<div class="grid-item" cdkDrag (cdkDragEnded)="onDragEnded($event)">
  <anything />
</div>

onDragEnded(event: CdkDragEnd) {
  event.source.element.nativeElement.style.transform = 'none'
}

What is the use-case or motivation for changing an existing behavior?
I am trying to create a dynamic grid where a user could drag and drop an item around to change its position in the grid. Because I use CSS Grid, I want to get the final drag position, calculate the column and row that surround that position, set it as my item style and remove the translate applied by the drag-and-drop module
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
"@angular/animations": "7.0.0-rc.1",
"@angular/cdk": "7.0.0-rc.1",
"@angular/common": "7.0.0-rc.1",
"@angular/compiler": "7.0.0-rc.1",
"@angular/core": "7.0.0-rc.1",
"@angular/forms": "7.0.0-rc.1",
"@angular/http": "7.0.0-rc.1",
"@angular/material": "7.0.0-rc.1",
"@angular/material-moment-adapter": "7.0.0-rc.1",
"@angular/platform-browser": "7.0.0-rc.1",
"@angular/platform-browser-dynamic": "7.0.0-rc.1",
"@angular/router": "7.0.0-rc.1",

Something similar came up in https://github.com/angular/material2/pull/12935#discussion_r215085531.

Indeed I did not see the discussion for that. But for now, it would still validate the drop as I understand it.
After some research on how the CdkDrag works, I found that the following code resets the Dragged element to its origin, and remove the problem I talked about (the fact that re-dragging same element would make it pop to its last dropped position).
It is highly hacky as I have to manually restyle the native element and cast the CdkDrag source as any so Typescript does not bark for accessing something I should not access. :)
onDragEnded(event: CdkDragEnd) {
    event.source.element.nativeElement.style.transform = 'none' // visually reset element to its origin
    const source: any = event.source
    source._passiveTransform = { x: 0, y: 0 } // make it so new drag starts from same origin
}

with the following HTML
<div cdkDrag (cdkDragEnded)="onDragEnded($event)">
</div>

Cheers!


UTF-8 shapefile imports as wrong charset

It looks like importer assumes LATIN1 (or similar) for shapefiles, so if I import this one (which is actually in UTF-8) then the UTF-8 characters are broken. Imported data: http://geoportaal.maaamet.ee/docs/haldus_asustus/maakond_shp.zip
The data in URL is regularly updated, so manual processing with QGIS is not good option.
I'd suggest importer to have optional option "Charset", would also resolve issues with other formats, where usually the problem is vice versa - that the data is not in utf-8.
Imported data (with invalid UTF-8):
https://www.dropbox.com/s/33s23iy3h2amp4r/Screenshot 2016-04-18 15.52.35.png?dl=0
Correct data:
https://www.dropbox.com/s/mktlsh6mh0t41g1/Screenshot 2016-04-18 15.52.55.png?dl=0

Quick workaround to fix data using SQL:
update maakond_20160401 set mnimi = convert_from(convert_to(mnimi, 'LATIN1'),'UTF8')

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


NumPy 1.13 test issue

Encountering a test failure when building SciPy 0.19.0 with NumPy 1.13.0. The same error does not occur with NumPy 1.11 or 1.12. The traceback differs between Python 2 and 3, but the same test is failing in both cases and the failure appears very similar. The failure appears identical on both Python 3.5 and 3.6. All other tests pass. Have linked the Travis CI (macOS 10.10) build log below. More details about how it was built can be found in the conda-forge PR ( https://github.com/conda-forge/scipy-feedstock/pull/61 ).
Python 2:

======================================================================
FAIL: test_wrightomega.test_wrightomega_inf_branch
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/travis/miniconda3/conda-bld/scipy_1496908553873/_t_env/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/travis/miniconda3/conda-bld/scipy_1496908553873/_t_env/lib/python2.7/site-packages/scipy/special/tests/test_wrightomega.py", line 26, in test_wrightomega_inf_branch
    assert_equal(res, 0)
  File "/Users/travis/miniconda3/conda-bld/scipy_1496908553873/_t_env/lib/python2.7/site-packages/numpy/testing/utils.py", line 371, in assert_equal
    raise AssertionError(msg)
AssertionError:
Items are not equal:
 ACTUAL: -0j
 DESIRED: 0
----------------------------------------------------------------------

Python 3:

======================================================================
FAIL: test_wrightomega.test_wrightomega_inf_branch
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/travis/miniconda3/conda-bld/scipy_1496911976288/_t_env/lib/python3.6/site-packages/numpy/testing/utils.py", line 369, in assert_equal
    assert_equal(actuali, desiredi)
  File "/Users/travis/miniconda3/conda-bld/scipy_1496911976288/_t_env/lib/python3.6/site-packages/numpy/testing/utils.py", line 394, in assert_equal
    raise AssertionError(msg)
AssertionError:
Items are not equal:
 ACTUAL: -0.0
 DESIRED: 0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/travis/miniconda3/conda-bld/scipy_1496911976288/_t_env/lib/python3.6/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/Users/travis/miniconda3/conda-bld/scipy_1496911976288/_t_env/lib/python3.6/site-packages/scipy/special/tests/test_wrightomega.py", line 26, in test_wrightomega_inf_branch
    assert_equal(res, 0)
  File "/Users/travis/miniconda3/conda-bld/scipy_1496911976288/_t_env/lib/python3.6/site-packages/numpy/testing/utils.py", line 371, in assert_equal
    raise AssertionError(msg)
AssertionError:
Items are not equal:
 ACTUAL: -0j
 DESIRED: 0
----------------------------------------------------------------------

ref: https://travis-ci.org/conda-forge/scipy-feedstock/builds/240659843

See https://github.com/scipy/scipy/issues/7227

So then PR ( https://github.com/scipy/scipy/pull/7229 ) should fix this, correct?

Yes.  #7229 changes the test so it should work with both the latest numpy and older versions of numpy.

Great thanks. I'll give that a try and report back.

That patch solved it for us. Thanks. 😄


Join Multiple Databases

I used Yii3 for my application with Active Record. I have done connect to my database, but I have problem with multiple connections database. In Yii2 I can doo that, but I don't know how to setup in active record Yii3.

Do you need a cross-database JOIN?

HI @samdark

Do you need a cross-database JOIN?

Yes, to answer your question.
To make it clear, I have two tables in different databases which are member_access in database A and user in database B.
So I manage to solve this with explicitly append database name to tableName() function like this in model that connected another database.
    /**
     * @return string
     */
    public function tableName(): string
    {
        return '{{another_database.user}}';
    }

I just want to make sure it works in joinWith() and $member->memberAccess->user->email.
        /**
         * @var Member $member
         */
        $member = $activeRecordFactory->createQueryTo(Member::class)
            ->andWhere(['user.email' =><EMAIL_ADDRESS>            ->joinWith(['memberAccess.user'])
            ->one();

        return $dataResponseFactory->createResponse([
            'ID' => $member->ID,
            'email' => $member->email,
            'memberAccess' => [
                'userID' => $member->memberAccess->userID,
                'user' => $member->memberAccess->user->email
            ]
        ]);

This solution works for me, Is there any alternative solutions?

I'm not aware of any. @terabytesoftw ?

The other way is to do it without the factory, passing the connection directly, or to see the structure of the tables and make a relation.

I am going to close the issue any other query you can write join telegram group: https://t.me/yii3en


Make 'Functional Tests'  not required for versions.yaml update

The functional tests take about 30 minutes to run, and are unnecessary when we're just updating the versions.yaml file for the release. We could add some conditional logic in the workflow to disable them in this case.
AB#9327

@shalabhms @willdavsmith : I made a proposal on how to solve this in PR #6975

@shalabhms @willdavsmith - I'm removing the help-wanted and good-first-issue labels. This doesn't mean that we don't want or wouldn't accept a PR from the community to address this issue. It's just not straightforward, and doubly not straightforward for a newcomer.


Datepicker event on month active

If applied, implements the active month change event, returning a Date object.
My issue: https://github.com/angular/material2/issues/12403

I signed it!


Cache packages from install mirror

https://ocd.appscale.com:8080/job/Daily Build/1406/

https://ocd.appscale.com:8080/job/Create-Eucalyptus-Image/2237/


Pip's dependency conflicts :datasets==2.15.0

I want to use this project to evaluate my models.Howerer,when I use the command:
pip install promptbench

It raise a error as the title.The promptbench require the datasets==2.15.0,but the other package require datasets==2.18.0.
So would you add the support for dataset==2.18.0 or other versions?Thanks.

Hi, thanks for bringing this issue for us. It will be fixed within one day.


ros2: cannot click the menus on macOS until switching windows

Testing a release candidate of ROS 2 Crystal on macOS, and I just run rqt, but after it opens I cannot click the menu bar (never seen this before in other applications on my mac). If I wait a long time it still is not possible to clicking. However, if I change applications and then change back again I can access the menu bars 🙃.
Here's a gif:

No that doesn't make a difference. If I open it from a not full-screen terminal, then it still doesn't let me click the menu's right off the bat.

This happens when PyQt apps are called from python.exe rather than pythonw.exe
python.exe is for running command line scripts, and pythonw.exe is for running GUIs
Use pythonw.exe

This happens when PyQt apps are called from python.exe rather than pythonw.exe python.exe is for running command line scripts, and pythonw.exe is for running GUIs
Use pythonw.exe

@pdalloz This is mac bro


isFullScreen() checks wrong property when no prefix used

Under current versions of Firefox Developer Edition document.exitFullscreen is defined, so the unprefixed case is hit in fullscreenApi.isFullScreen().
The fullscreen property is called document.fullscreen (all lowercase) as specified here, while currently document.fullScreen is used (https://github.com/brunob/leaflet.fullscreen/blob/master/Control.FullScreen.js#L158), which breaks the check.

@prettyv thx for the hint, feel free to provide a pull request.


Updated firebase-cocoapods to "11.1.0"

@Daeda88 Hi, I see you have approved the PR.
This PR contains the compilation error in firebase-auth/src/iosMain/kotlin/dev/gitlive/firebase/auth/auth.kt file. I can't resolve some imports

Ill try and have a look to see if I can understand why

@siarhei-luskanau I checked out your branch. The reason its failing is because the FIRAuthErrorCode enum was moved to Swift and Kotlin Native is not able to resolve it. I think the only way to solve it is by replacing the enum codes with the actual values https://github.com/firebase/firebase-ios-sdk/blob/2f6ac4c2c61cd57c7ea727009e187b7e1163d613/FirebaseAuth/Sources/Swift/Utilities/AuthErrors.swift#L51
I recall someone ran into a similar issue for another module, but I cannot find it. Maybe @nbransby remembers.


HIVE-27168: Use basename of the datatype when fetching partition metadata using partition filters

What changes were proposed in this pull request?

Use basename of the datatype when fetching partition metadata using partition filters
Why are the changes needed?

While fetching partition metadata using partition filters, we use the column type of the table directly. However, char/varchar types can contain extra information such as length of the char/varchar column and hence it skips fetching partition metadata due to this extra information.
Does this PR introduce any user-facing change?

No
How was this patch tested?

Unit tests

DONT MERGE THIS YET.


Add option for custom prettyfier of caller information

Added 2 options

CallerFirst bool : to print caller info at the beginning of log (right before log level)
CustomCallerPrettyfier func(*runtime.Frame) string : to use custom caller prettyfier function

tests/formatter_test.go also updated with 2 test functions.

@wingsof thanks for the PR! That's a useful upgrade!

Just released v1.1.0 version with new options, but I've renamed CustomCallerPrettyfier option to CustomCallerFormatter :)


Error: Expected width, height and channels for raw pixel input

I need to calculate the size of the image, create a square with size based on images' size and then put image on created square
Getting an error with that code:
Error: Expected width, height and channels for raw pixel input
const sharp = require('sharp');

const testImg = sharp('test.jpg');

const imgMin = 800;

testImg.metadata()
    .then(function (metadata) {
    let imgMax = imgMin > metadata.width && imgMin > metadata.height ?
    imgMin : metadata.width > metadata.height ? metadata.width : metadata.height;
    return sharp({
        create: {
            width: imgMax,
            height: imgMax,
            channels: 3,
            background: {r: 0, g: 255, b: 255}
        }
    })
    .jpeg()
    .toBuffer();
}).then( function (data) {
    sharp(data)
    .composite([{
        input: testImg,
        gravity: 'centre'
    }]).jpeg()
});

When I'm trying to set raw options, I'm getting an error:
Error: Unsupported input '[object Object]' of type object when also providing options of type object
Part of code with raw parameters:
.then( function (data) {
    sharp(data)
    .composite([{
        input: testImg,
        gravity: 'centre',
        raw: {
            width: 800,
            height: 800,
            channels: 3
        }
    }]).jpeg()
});

Hi, the input parameter of composite accepts a Buffer or a String but you're trying to pass a sharp instance.
- input: testImg,
+ input: 'test.jpg',

If the image you're passing is JPEG (and therefore not raw, uncompressed pixel data) then you don't need to provide raw as an parameter.

I hope this information helped. Please feel free to re-open with more details if further assistance is required.


UPDATE readme.md - add coveralls markdown badge

I would have put this in my other PR had I realised you guys were using Coveralls. Only noticed after poking through some other PRs. Nothing too hectic in this one, just display of Coveralls Coverage. ty

Coverage remained the same at 53.386% when pulling e4cff23e73f51dcb2530149841772ac95ceff274 on JohnVonNeumann:feature/add-coveralls-badge-to-repository-readme into 792de001fc74695493bb733efa9017f2e50d7190 on Netflix:master.


Blackout away effect not working correctly since v58

Expected Behaviour

Blackout effect completely turns off the lights
Actual Behaviour

Blackout effect only dims the lights
Reproduction steps

Frequency

Every time
Aurora Version:

v58
Previously an Issue?

No

Hi, can you show me exactly where do you enable this setting? I am familiar with all of aurora's features :D

Trying to understand this better, what are your devices behave this way? How are you connecting to them?

really weird... I'm also HyperX Elite 2 on openrgb. Can you share me your profile?

Fixed on latest release


TypeError: scope.theFormly Form.$remove Control is not a function

hi @kentcdodds ,
Am facing i=this problem when i load my app using angular fomrly (TypeError: scope.theFormly Form.$remove Control is not a function). is der any solution for this.

Hi @SupriyaVenkatesh, please follow the instructions here: http://help.angular-formly.com
Because the github issues are for bug reports and feature requests, I'm going to go ahead and close this issue. See you in chat!

But this is bug.

https://github.com/formly-js/angular-formly/issues/741


Array.isArray returns type unknown instead of boolean

https://github.com/JSMonk/hegel/blob/8160a4c2b0acc4c070bfa836943427fd1780f153/packages/typings/standard/index.d.ts#L5014
Playground reference: https://jsmonk.github.io/hegel/try#MYewdgzgLgBAhgLhgIxCANgUzmGBeGAQQCdi4BPAOgEsISzyAKAbQBYBdASgG4AoIA

Yes. It seems like Hegel doesn't parse TypeScript Type Guards as boolean return type. We will fix it soon.


Combine publishing api helpers

Trello: https://trello.com/c/5BYnJ2A9
What's changed and why?
Publishing API has two endpoints, the original and a "V2" one. There has been some effort to reflect is in gds-api-adapters, but this isn't always consistent. The path reservation helper was moved to the "V2" class, but the endpoint it uses is for the original publishing-api
endpoint.
Combining the classes means that the caller doesn't need to worry about calling the correct version of publishing-api, though the "V2" classes haven't been removed to make it backwards compatible.

I'm guessing the intent in having a V2 API was that this would eventually replace the V1 API.
Obviously that hasn't happened at any point in the last few years, but this change would make uses of the V1 API harder to find, as you couldn't just search for uses of the GdsApi::PublishingApi class

I'm guessing the intent in having a V2 API was that this would eventually replace the V1 API.
Obviously that hasn't happened at any point in the last few years, but this change would make uses of the V1 API harder to find, as you couldn't just search for uses of the GdsApi::PublishingApi class

There are now no longer any v1 alternative methods in GdsApi::PublishingApi since it just has put_intent, destroy_intent, and unreserve_path left. So it's not so much that there are v1 methods still in operation just a confusing muddle in the Publishing API about a /v2/ route prefix and an odd balance where we have a those without that prefix sometimes in GdsApi::PublishingApi and other times in GdsApi::PublishingApiV2


[Feature] Submit bigframe syntax in python models

Is this your first time submitting a feature request?

[X] I have read the expectations for open source contributors
[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing dbt-bigquery functionality, rather than a Big Idea better suited to a discussion

Describe the feature
Currently our python model is mainly around spark job.
https://cloud.google.com/python/docs/reference/bigframes/latest
Big frame is a way to read and write data from/to bigquery in the python runtime.
We can add a configuration to the model and support this by changing the template code dbt genarate.
Describe alternatives you've considered
No response
Who will this benefit?
No response
Are you interested in contributing this feature?
No response
Anything else?
No response

Related work from @velascoluis
https://github.com/velascoluis/dbt-bigquery/commit/c99830a035a41442f5cf57b2ec283dcd6a9526b2

@ChenyuLInx Curious if you're interested in tackling this work?


Direction change randomly fails

I've updated the RoseFollower example to TeensStep4 to show the problem.  The slide axis stops moving at the point where it switches direction.  The spindle continues to run. The failure occurs at random spots in the pattern.
RoseFollower_T41.zip

Hi, looking at the graph made using your code on a Teensy4.0, there doesn't seem to be anything wrong.

Blue = Spindle Angle
Red = Slide Position
Orange = speed factor
It looks like the slide axis is working fine.
If you could show us the problem we might be able to help.

The routine works really well, until it doesn't.  Here is a snippet from the serial output showing the slide stepper as stopped at 9999 while the spindle stepper is still moving.
-1.82 -1.97 -2.13 -2.30 -2.47 -2.64 -2.83 443.489807	9999 -3.01 -3.20 -3.40 -3.60 -3.81 -4.02 -4.23 -4.45 443.802002	9999 -4.68 -4.90 -5.13 -5.37 -5.61 -5.85 -6.09 -6.34 444.115173	9999 -6.59 -6.85 -7.11 -7.37 -7.62 -7.89 -8.16 -8.43 444.427368	9999
This is on a Teensy 4.1 and repros on several machines.
Full project is here.  The Teensy 3.5 and 3.6 version works perfectly.

Was this test data taken from the full program with 5 steppers, or from the test code with only 2 steppers?
If it was from the full code, I believe that TeensyStep4 currently only supports 4 simultaneous stepper motors. If a 5th is used, one of the others will stop.

That was from the two stepper file.  The rose routine in five stepper version will only use three motors at most.


Assign people to signal the end of breaks

should be coordinated with #131. Perhaps they can each - or in groups, e.g. by day - choose their own method of doing this, to underline the conference theme?

:-)

Actually, having the venue do this worked great.


[BUG] Upsert Returns always False

Version
5.0.1
Describe the bug
Upsert Returns always False while it upsert successfully
Code to Reproduce
MakerSureConfigTypeHasNoId(typeof(TConfig));
var result = Db.GetCollection(typeof(TConfig).Name).Upsert(SingleId, config);
Console.WriteLine($"Upsert Result:{result}");
return result;
Expected behavior
i hope it could return write return
Screenshots/Stacktrace

Additional context
There is another problem that when i use the method several times continuously ,it wont work for some "Set" except the first

Also happened to me. After checking the code, I found this in LiteDB/Engine/Engine/Upsert.cs:
                foreach (var doc in docs)
                {
                    transaction.Safepoint();

                    // first try update document (if exists _id), if not found, do insert
                    if (doc["_id"] == BsonValue.Null || this.UpdateDocument(snapshot, collectionPage, doc, indexer, data) == false)
                    {
                        this.InsertDocument(snapshot, doc, autoId, indexer, data);
                        count++;
                    }
                }

We can found that the updated documents are not included when counting. (And the bool returned by LiteCollection.Upsert just compared the count to 1.)
So this might be intentionally designed. But I still think it is highly misleading, especially when the document says nothing about the result.


Update custom configuration to use the extraFiles option

Instead of loading custom configurations and placing those in the extraConfigs section of the configuration's YAML, add a *.py file to the /usr/local/jupyterhub/jupyterhub_config.d/ path so that it's automatically loaded.
This link has an example of how to update the standard configuration to support this option.

This would help us reduce the size of the custom-config.yaml used by the helm chart since we could use another configuration management tool such as ansible to create the custom config and then use the extraFiles option so the custom config is loaded when the hub starts.
cc/ @Abhi94N @salecharohit

ExtraFiles does require an absolute path. I'm not sure if this would work for defaults especially when people are fetching the chart from the repo itself.
For example let's have the chart for this semver to be 5.5.0
so when the end user runs
helm upgrade --install $RELEASE illumidesk/illumidesk --version 5.5.0 -n $NAMESPACE --debug
The default absolute path in values.yaml would likely not be the same as they may be in a different directory in their local machine.
This could how ever be solved with Terraform or HelmAPI where we append the users current working directory and the location of the file in the package itself. I'm also not sure if by packaging files inside of a helm chart would allow helm to fetch it.

@Abhi94N thanks for clarifying. I'll close the issue for now since it doesn't look like utilizing extraFiles adds significant benefits for us at this time.


ghc-android

I think that now it is a good time to try to build ghc-android using nix. Docker build on top of debian docker image is now also under development:  see docker-build-ghc-android
How may I start? Currently ghc build in nixpkgs support cross compiling strategy? Please give your opinion. Any rough ideas will be greatly helpful. Thanks

I'm closing this issue because of several months of inactivity.

I've succeeded in making ghc cross-compiler for android. tested with LG G4 phone. Please see https://github.com/wavewave/nix-build-ghc-android


Pricing

What's the pricing model for inference using your service? It's not advertised anywhere?

@ryanshrott Hey Ryan, we're upgrading our pricing for individual developers and startups, will be releasing something soon. If you are interested in sharing your feedback, we'd like to hear from you. Please email me at<EMAIL_ADDRESS>I will close this issue for now. Thank you!


Link the taxonomy to the ENISA Threat Landscape (and threat taxonomy)

One of the purposes of using an incident taxonomy, next to many, is to have a view on trending of security incidents for your organisation and then map this to the 'public' threats. The reference material to use is the Threat Landscape Report from ENISA.
Current taxonomy misses a link with the threat taxonomy used in the TLR.

from Bucharest meeting: Sync will be done with upcoming version. Current version can be found here: https://www.enisa.europa.eu/topics/threat-risk-management/threats-and-trends/enisa-threat-landscape/threat-taxonomy/view


Automated cherry pick of #9331: fix(region): openstack hosts sync

Cherry pick of #9331 on release/3.4.
#9331: fix(region): openstack hosts sync

Codecov Report

Merging #9334 (d3c345a) into release/3.4 (fc16c37) will decrease coverage by 2.61%.
The diff coverage is 1.20%.

@@              Coverage Diff               @@
##           release/3.4   #9334      +/-   ##
==============================================
- Coverage         6.19%   3.57%   -2.62%
==============================================
  Files              761     304     -457
  Lines           118405   62768   -55637
==============================================
- Hits              7330    2242    -5088
+ Misses          110412   60370   -50042
+ Partials           663     156     -507

Flag
Coverage Δ

aFlag
3.57% <1.20%> (-2.62%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/cloudcommon/notifyclient/notify.go
1.78% <0.00%> (-0.03%)
:arrow_down:

pkg/compute/models/cloudaccounts.go
0.47% <0.00%> (-0.02%)
:arrow_down:

pkg/compute/models/elasticips.go
1.08% <0.00%> (-0.01%)
:arrow_down:

pkg/compute/models/guest_actions.go
0.00% <0.00%> (ø)

pkg/compute/models/guest_template.go
2.04% <0.00%> (-0.01%)
:arrow_down:

pkg/compute/models/guestnetworks.go
0.00% <0.00%> (ø)

pkg/compute/models/guests.go
0.50% <0.00%> (-0.01%)
:arrow_down:

pkg/compute/models/hosts.go
0.27% <0.00%> (-0.01%)
:arrow_down:

pkg/compute/models/initdb.go
0.00% <0.00%> (ø)

pkg/compute/models/networks.go
0.47% <0.00%> (+<0.01%)
:arrow_up:

... and 457 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0ebde53...d3c345a. Read the comment docs.


uvx not working on windows

In the past two versions (0.5.6 and 0.5.7), I have been getting this error message when trying to use uvx:
PS> uvx --help
error: The system cannot find the file specified. (os error 2)

So I would assume this is some sort of bug, since it was working in the past for me.
Thanks!

Hmm. My guess is that the install is in a weird state. We assume that uv.exe is next to uvx.exe, and that's the message I'd expect if uv.exe is no longer there. What does where uvx show? Is there a uv.exe next to it?

Yeah I'm not quite sure how that happened, but this is what was happening:
PS> Get-Command uvx

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Application     uvx.exe                                            <IP_ADDRESS>    ~\.cargo\uvx.exe

PS> Get-Command uv

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Application     uv.exe                                             <IP_ADDRESS>    ~\.cargo\bin\uv.exe

I deleted ~\.cargo\uvx.exe and now it works. Thanks!


Created a few integration tests

I wanted to see this in action while communicating with NMI so I created a class for integration tests and I thought you might like that in the main project as well.

Very nice job @CaswellWC! Thanks for the fine PR.


Suggestion isShowing misleading name

Hi. First of all, I love Flashbar. You did a great job there.
I would like to make one suggestion. I think Flashbar.isShowing() is a bit misleading. You use it as an opposition to Flashbar.isDismissing().
Consider using the name Flashbar.isAppearing() or Flashbar.isEmerging() instead. It represents its functionality in a better way.
Flashbar.isShowing() should substitute Flashbar.isShown() in my opinion.
Hope you take it into consideration.
Cheers.

Thanks for the suggestion. Flashbar.isAppearing() seems like a good name to go with. We can add it in the coming update.


fix: invert error logic

Description
Fix a very silly logic error 🤦<200d>♂ where hasUserEnteredAmount was not in
verted when it should have been, causing us to never valid quote inputs.
Pull Request Type

[x] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)
Risk
Small.
Testing
Quote validation input should be great again.
Engineering
☝
Operations
☝
Screenshots (if applicable)
N/A

Current dependencies on/for this PR:

develop

PR #5043   👈

This comment was auto-generated by Graphite.


DeployContract implementation for Tezos connector

Related PRs to firefly and firefly-cli
Request example
{
   "key":"tz1V3spuktTP2wuEZP7D2hJruLZ5uJTuJk31",
   "contract":{
      "code":[
         {
            "args":[
               {
                  "prim":"string"
               }
            ],
            "prim":"parameter"
         },
         {
            "args":[
               {
                  "prim":"string"
               }
            ],
            "prim":"storage"
         },
         {
            "args":[
               [
                  {
                     "prim":"CAR"
                  },
                  {
                     "args":[
                        {
                           "prim":"operation"
                        }
                     ],
                     "prim":"NIL"
                  },
                  {
                     "prim":"PAIR"
                  }
               ]
            ],
            "prim":"code"
         }
      ],
      "storage":{
         "string":"hello world"
      }
   }
}

Response
{
  "id": "3caf86b2-be4d-40c2-9450-bd4af5340e4a",
  "namespace": "default",
  "tx": "b492cd22-2eff-4b78-a9f2-95da5db58e9b",
  "type": "blockchain_deploy",
  "status": "Pending",
  "plugin": "tezos",
  "input": {
    "contract": {
      "code": [
        {
          "args": [
            {
              "prim": "string"
            }
          ],
          "prim": "parameter"
        },
        {
          "args": [
            {
              "prim": "string"
            }
          ],
          "prim": "storage"
        },
        {
          "args": [
            [
              {
                "prim": "CAR"
              },
              {
                "args": [
                  {
                    "prim": "operation"
                  }
                ],
                "prim": "NIL"
              },
              {
                "prim": "PAIR"
              }
            ]
          ],
          "prim": "code"
        }
      ],
      "storage": {
        "string": "hello world!!!!"
      }
    },
    "definition": null,
    "input": null,
    "key": "tz1V3spuktTP2wuEZP7D2hJruLZ5uJTuJk31",
    "options": null
  },
  "created": "2024-03-19T21:06:22.871702Z",
  "updated": "2024-03-19T21:06:22.871702Z"
}

@alex-semenyuk If I am reading this correctly, for Tezos, the code (instructions) are bound up in the same object as the type definitions for a smart contract. Am I understanding that correctly? I'm just thinking through if we're using the right fields here.
For ethereum contracts, the compiled code and the interface are entirely separate things, and have separate fields on FireFly's API but maybe that doesn't make sense with Tezos.

@alex-semenyuk If I am reading this correctly, for Tezos, the code (instructions) are bound up in the same object as the type definitions for a smart contract. Am I understanding that correctly? I'm just thinking through if we're using the right fields here.
For ethereum contracts, the compiled code and the interface are entirely separate things, and have separate fields on FireFly's API but maybe that doesn't make sense with Tezos.

@nguyer
Right.
I saw at example here https://hyperledger.github.io/firefly/tutorials/custom_contracts/ethereum.html#contract-deployment that for Ethereum we have separate contract (compiled bytecode) and definition.
As for Tezos it's quite different we have Michelson Code which includes this both instructions and type definitions and initial storage values.


be sure to transfer labels to the task info

Had thought I wired this all up before, apparently not. This gets the task labels from our deploy into the mesos TaskInfo

LGTM


[434cd] Update kustomization images

This Pull request aims to update the kustomization images

Jira Id is mandatory to process MR in CPaaS. Could you please assign a Jira to it.


'Find the smallest' Kata - missing crucial test case (Python)

Crucial test case with number that has increasing digits is missing. Examples input:

123456789
12589

My conclussion was that many solutions might stack on this test case. I have tried to add this test case to already existing test cases. Unfortunately, the currently existing fork failed the test case. I will try to make an update and update the Kata.
Please, verify my work.
PS. I have never done it before, so any clues would be helpful.

Similar test case shall be added in other languages.

Please, verify my work.

how?

no link to the kata
no actual description of what you did (precise enough) => what does "the fork failed" mean? the solution of the author didn't pass the test? Then update it. Or the tests ran fine but the publication of the fork failed? In that last case, that's a cw issue. Otherwise, there no issue here.

I have updated initial post with the information you have asked. Still, I do not know how to insert code in readable way.
Please, don't be unpleasant and show some empathy. I have never contributed to any Kata before. I have never used github before. This is all new to me.

Please, don't be unpleasant and show some empathy.

x)
well, I answered on the same tone than you posted, I believe? ;)
Seems to me you have to discuss that with g964: seems to me it's rather a kata issue (missing edge case in the tests). Let's see if you both can sort it out through the kata discourse. If ok there, don't forget to resolve here.
cheers.

Could be closed.

This repo is not for issues with individual katas. Go to kata discourse for that.

Hi @miecio190, please open kata issues on kata discussion page. To post readable code, see markdown formatting. Markdown is used both on Codewars and GitHub.


[NEW]: U.S. issues charges in first criminal cryptocurrency sanctions case

Date
2022-05-16
Description
Last week America's Justice Department "launched its first criminal prosecution involving the alleged use of cryptocurrency to evade U.S. economic sanctions," reports the Washington Post. They cite a nine-page opinion from a federal judge approving the government's criminal complaint against an American "accused of transmitting more than $10 million worth of bitcoin to a virtual currency exchange in one of a handful of countries comprehensively sanctioned by the U.S. government: Cuba, Iran, North Korea, Syria or Russia.
Links
https://www.msn.com/en-us/money/news/us-issues-charges-in-first-criminal-cryptocurrency-sanctions-case/ar-AAXkfZp
Agreement

[X] I irrevocably agree to release my contribution under the CC-BY 3.0 License

Attribution name
No response
Personal link
No response

https://web3isgoinggreat.com/?id=american-running-untraceable-service-designed-to-evade-us-sanctions-is-charged-after-being-traced


kublet fail to start with bind error

Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
F0403 09:45:41.307993    4252 kubelet.go:1377] Failed to start ContainerManager listen unix c:\var\lib\kubelet\device-plugins\kubelet.sock: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
Attaching error logs:
kubelet.exe.ERROR.txt

Maybe related to some specific windows version or a kubelet bug:
https://github.com/kubernetes/kubernetes/pull/80917#issuecomment-528361351

Also depends of your windows version you have to edit c:\k\start-kubelet.ps1
...
ipmo $helper

#Add this line below
Remove-Item c:\var\lib\kubelet\device-plugins\kubelet.sock -ErrorAction Ignore

if ($RegisterOnly.IsPresent)
{
    RegisterNode
    exit
}
...

There is a lite issue for Linux Socket on Windows c:\var\lib\kubelet\device-plugins\kubelet.sock
Tested on windows server 2019 with docker 19.03

Just curious why that line is needed.  Everytime I started the script, the folder for the kubelet.sock is always empty.
It now works.  I'm also using windows server 2019 (1809) with docker 19.03.4 and k8s 1.16.2


Issue with put operation and schema as form, with additional query param

Hi,
with following code, i'm having problems, that the given data is not taken. The api returns 422 - that the required fields are missing

class AddressInSchema(Schema):
    type: int
    firstName: constr(min_length=1)
    lastName: constr(min_length=1)
    street: constr(min_length=1)
    zip: constr(min_length=1)
    city: constr(min_length=1)
    countryCode: constr(min_length=1)
    phone: str | None
    fax: str | None
    mobile: str | None
    email: EmailStr

@api_controller("/address/")
class AddressController(ControllerBase):
    @http_put("", auth=JWTAuth(), response=AddressOutSchema)
    def update_address(self, address_id: int, address: AddressInSchema = Form(...)):
         ...

removing Form(...) everything works fine. But i don't want to remove it, because i have several other APIs that use the Form, instead of just JSON.
Do i oversee something here?
Input provided for api call

and here the response

@FabianClemenz I think you should try this endpoint with POSTMAN and see if it works with the Form(...) enabled. Swagger can post an array of data for a field that Django can't parse.

@eadwinCode nope still the same error... it is if i would not send anything


Transfer this package to Meteor Community Packages?

Hi @johanbrook
we are Meteor Community Packages and are on the mission to keep Meteor packages maintained.
With the arrival of Meteor 3.0 we have some breaking changes in the ecosystem and would like to keep as many packages as possible compliant to avoid abandonware and security issues where possible.
Your package seems to be abandoned(?) and we would like to ask you kindly, if you could imagine to transfer your repository to our org.
Best
Jan

Sure, @jankapunkt, that would be neat. Maybe add me as past maintainer in the README if you'd be so kind.
I'll transfer the repo now.

@johanbrook did you transfer as according to the docs? If so, we might add you to the org first. // cc @storytellercz

@jankapunkt Yep. But since it'll create a new repo in your org, I lack the permissions to do so when transferring.

That should not be the case. In the settings there should be a transfer option that you can use without needing to create a new repository.

Sure, but implicitly a new repo will be created on your side when transferring, right? And my account isn’t permitted to do so.

Done.

Hey @johanbrook thanks a lot for the transfer! I finally managed to make it 3.0-ready but I can't publish it. There is one last step so we can publish new releases. You need to add communitypackages as valid publisher for the package.
@StorytellerCZ do you remember how this is done?


Startup script has to wait for service

RancherOS Version: (ros os version)
v1.0.3
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
baremetal, Dell PowerEdge r230
my cloud-config looks as follows:
[root@rancher ~]# cat /var/lib/rancher/conf/cloud-config.yml
rancher:
  services_include:
    kernel-headers-system-docker: true
    open-iscsi: true
  ssh: ...
write_files:
- content: |+
    #!/bin/bash
    echo "this was a triumph" > /tmp/foo.txt
    sleep 300
    iscsiadm ...
  owner: root
  path: /etc/rc.local
  permissions: "0755"

This works but only because i added a "sleep" command in my script which is a quite ugly solution. I want to use iscsiadm commands natively after the open-iscsi service is up and running. Is there any way for the startup scripts (rc.local or start.sh) to wait for the service? If not please implement a solution.
Regards,
Georgi

yes, sleep is the wrong way to do it :). The current "container" way, is to have a wait that polls to see if the other required containers are up and in a functioning state.
I would also not use a console based rc.local / start.sh script, I'd use another service that contains the script that then polls to see if open-iscsi is up.
In the future, I'm hoping we can add a "io.rancher.os.after_ready: open-iscsi" that would block the new service until the open-iscsi service reports its Healthcheck as ready.
At this point, I'm not sure what it will take to add this in to libcompose - but :+1: from me too.

@SvenDowideit Thank your for the fast response. Sounds good.


Update Runtime regions doc

Hola! Looks like the Runtime regions doc needs to be updated. I know we have a data center in Australia but I don't have the specifics.
https://www.adobe.io/apis/experienceplatform/runtime/docs.html#!adobedocs/adobeio-runtime/master/reference/multiple-regions.md

Fixed. Thank you for raising the issue!

Awesome! Thanks for updating!


 I tried testing using 4.3.0 and it doesn’t seem comparable. Is there any plan to migrate over to 4.3.0?

@stickz  unless you can look into this ?

nvm, HTTPRPC was disabled

reopening because there is a need to upgrade the setup to be fully compatible with 4.3.0.

using https://github.com/crazy-max/docker-rtorrent-rutorrent/pull/327 for the fix


New command: m365 spo stx model publications list

Usage
m365 spo stx model publications list [options]
Description
Retrieves information about a model and the library where it has been applied.
Options

Option
Description

-u, --siteUrl <siteUrl>
The URL of the content center site.

-i, --uniqueId [uniqueId]
The ID of the model to retrieve. Specify either uniqueId or title, but not both.

-t, --title [title]
The display name (case-sensitive) of the model to retrieve. Specify either uniqueId or title, but not both.

Examples
Gets information about a model and the library where it has been applied, using the model’s UniqueId:
m365 spo stx model publications list --siteUrl "https://contoso.sharepoint.com/sites/ContentCentre" --uniqueId "7645e69d-21fb-4a24-a17a-9bdfa7cb63dc"

Gets information about a model and the library where it has been applied, using the model’s Title:
m365 spo stx model publications list --siteUrl "https://contoso.sharepoint.com/sites/ContentCentre" --title "climicrosoft365Model"

Default properties

ModelUniqueId
ModelName
TargetLibraryUrl
TargetSiteUrl

Additional Info
This endpoint should be used -> https://learn.microsoft.com/en-us/sharepoint/dev/apis/syntex/rest-getmodelandlibraryinfo

@mkm17 I wonder if we need a separate command for that. Seems like additional proprties that could be retrieved as part of model get command? What if we would have some additional option like --listPublications flag that when specified in the model get would retrieve this as an additional output. That way this separate command won't be needed.
I am very interested in your opinion on that? I wonder if it will be 'visible' and easy to find functionality for others 🤔 a sperate command if for sure always easier to find than an setting/option in an existing command 🤔
@pnp/cli-for-microsoft-365-maintainers what do you think?

@Adam-it good idea, we can merge both commands into one :) then we can just close this issue.

@Adam-it good idea, we can merge both commands into one :) then we can just close this issue.

awesome. Lets update the model get command that with new option.
I will close this issue then 👍


Allow components to register observers.

This should probably be done simply by moving the engine's ObserverGroup into  component.Container.


css file not written when CommonsChunkPlugin active

Hi there.
While I am not getting any errors, the css file is not getting generated when I have the CommonsChunkPlugin activated. My CSS is not within a common chunk, FWIW. It appears as though the text is being extracted... just no css file.
Here's what I've got:
  commonsPlugin = new webpack.optimize.CommonsChunkPlugin 'common.bundle.js'

  extractText = new ExtractTextPlugin("main.css", {allChunks: true})

  config =
    entry:
      main: "./src/main.coffee"
    output:
      publicPath: "/dist/"
      path: __dirname + "/dist"
      filename: "[name].bundle.js"
    module:
      loaders: [
        {test: /\.styl$/, loader: ExtractTextPlugin.extract("style-loader", "css-loader!stylus-loader")}
      ]
    plugins: [commonsPlugin, extractText]

  webpack config, (err, stats) ->
    throw new gutil.PluginError("webpack", err) if err
    gutil.log "[webpack]", stats.toString()
    cb()

Any ideas?

this is probably fixed by now

It does not look like. I still have this issue.

@XVincentX Do you still have the issue?

Still getting the same issue here

@chasedeanda Ok. Could you set up a standalone repository? There's not enough information to debug.


Ct 1517/convert 060 persist docs

resolves #6273
Description
Convert the test. There was a seed in here unused for whatever reason. I added it into the code env and bumped the assertion rhs in a line to complete the re-add.
Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have signed the CLA
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] I have opened an issue to add/update docs, or docs changes are not required/relevant for this PR

If I understand the intent correctly, we're moving all of the files into fixtures. So instead of moving the .sql/.yml files from integration to functional, shouldn't we just delete them? From spot checking, it looks like we already put those in fixtures.py.

Yep, you're right on those old files. They were added with a sloppy git add. I like how the one time I use -a, the reason you shouldn't use -a happens.


select function runs always.

The issues forum is NOT for support requests. It is for bugs and feature requests only.
Please read https://github.com/angular-ui/bootstrap/blob/master/CONTRIBUTING.md and search
existing issues (both open and closed) prior to opening any new issue and ensure you follow the instructions therein.
Bug description:
select function got called every time click tab, even if the tab is already selected.
Link to minimally-working plunker that reproduces the issue:
https://plnkr.co/edit/1kZXAhrwdftVNdR1098i?p=preview
Version of Angular, UIBS, and Bootstrap
Angular: 1.5.8
UIBS: 2.4
Bootstrap: 3.3.7

This is by design and not a bug due to user requests.  You may feel free to ignore the event if your tab is already selected.


For IE11, we may need to explicitly pass Content-Type

Summary

When making a POST request in IE11, the fetch request failed because it was interpreted as text/plain because the Content-Type was not set.
In the case of the latest version of Chrome, the request is successfully made as application/x-www-form-urlencoded.

Accoding to https://fetch.spec.whatwg.org/:

Let headers be a copy of this’s headers and its associated header list.
If init["headers"] exists, then set headers to init["headers"].
Empty this’s headers’s header list.
If headers is a Headers object, then for each header in its header list, append header’s name/header’s value to this’s headers.
Otherwise, fill this’s headers with headers.

If headers are given, it seems to use them.
By the way, the implementation of whatwg-fetch is as follows:
https://github.com/github/fetch/blob/8f48ca686f9564bf52704e0e4b410ca970b17031/fetch.js#L573-L581
It looks like I need to specify the Content-Type in hotwire, what do you think? Please let me know what you think :bow:
Polyfills
import "core-js/stable";
import "regenerator-runtime/runtime";
import "@ungap/custom-elements";
import "custom-event-polyfill";
import "formdata-polyfill";
import "abortcontroller-polyfill/dist/abortcontroller-polyfill-only";
import "whatwg-fetch";
import "intersection-observer";
import "@stimulus/polyfills";

My Sandbox Repo for IE11
https://github.com/yhirano55/hotwire-ie11-test

Using https://polyfill.io/v3/polyfill.min.js?features=fetch instead whatwg-fetch, it was resolved.


Supported weights file for Forge

Hi,
I wanted to know if .bin or .dat are the only file types supported, for interacting with the Forge framework. Can Forge work with files like .caffemodel or .pb or with files which do not specify weights and biases for every layer?
If .bin or .dat are the only supported file types, are you aware of any conversion tools to convert from other binary weight file types?
Thanks

In theory Forge can support any file type because you can write your own implementation of ParameterData, which is used to load the weights.
Using the built-in ParameterLoaderBundle object, the weights are expected to be binary files with raw 32-bit floats inside them. Metal also expects the weights to be in a specific order.
Using a caffemodel file would require loading the weights, transposing them in memory, and then giving them to Metal. It's possible but not as efficient as converting the weights once beforehand storing them in a .bin file.
(By the way, .bin and .dat are the same file format: just binary float values.)
I have a few conversion scripts from caffemodel, h5, TensorFlow graph defs etc, but these need to be tweaked for each model. (You can see and example in the MNIST/Training folder.) It would be useful to have robust conversion scripts that will work for any possible model, but that's something for the future.

Could you share the script for splitting the Inception weights file? It would be particularly useful for those of us who've used a retrained Inception model.

I actually used the weights from the Apple Inception demo project. However, there is this script that you can use to convert Inception to Metal (assuming your model is in TensorFlow format, which it looks like it is).

that script needs to be tweaked for the retrained inception model. has anybody got that the work?


Conda and pixi question

I have been using conda as my package manager for years and I thought pip is king of for the old days. Then I found pixi recently which is kind of like conda bug with more speed and more repeatability which is great.
Now, I see uv which kind of revives pip but with more speed and I am confused of the goals for each project. I have seen other questions here about benchmarking the tools but my question is about the goals of each project and technical differences.

I have read so many times that conda is cross language and pip is only for python. Now if we can use one cross language package manager for everything why would someone go back to language specific (like pip).

On the other hand, I know we can install numpy with pip which has both C and python. Then what are the cases that pip cannot handle and we need something like conda and pixi.

Sorry if the question is too fundamental but stumbling upon UV had me wondering about this for a while and I had to ask the question

A full answer is pretty complicated, I'll try to get to it later. In the meantime, I can point you to a couple similar questions:

https://github.com/astral-sh/uv/issues/1703
https://github.com/astral-sh/uv/issues/1572

Don't mind me chiming in 🎐 .
Because conda always had a link with pip we implemented a rust version of that(rip) to integrate pip into pixi. But since we can do with uv what we could do with rip we're stopping the development on rip and will integrate uv into pixi. This way we can focus again on improving the conda-ecosystem while not leaving the python packages behind. Most of our user do indeed have your question, supporting both python c and possibly other languages.
For the pip to install of non python packages the shared libraries will get packaged up into the same wheel or are expected to be installed on the system/virtual environment. Conda on the other hand has the ability to easily package those shared libraries and install them alongside the python packages. Requiring a more minimal base installation replacing a large part of why docker is such an important development tool these days.
More info on our decision here: https://prefix.dev/blog/uv_in_pixi


no-danger-with-children false positive with newline in element

The following reports an error on the no-danger-with-children rule:
<div dangerouslySetInnerHTML={'stuff'}>

I would expect if there is a newline between the opening and closing tag that the rule would not complain.

That's still considered "children", afaik - why not <div dangerouslySetInnerHTML={'stuff'} />?

Ah, I didn't realize we could do self-closing divs in jsx. Still, I don't think newlines between tags are considered children. Hacked together this quick test:
import React from 'react';
import { mount } from 'enzyme';

class Parent extends React.Component {

  render() {
    console.log(this.props.children);
    return
{this.props.children}
;
  }

}

it('does stuff', () => {
  mount(<Parent></Parent>); // => `undefined`
  mount(<Parent>
      </Parent>); // => `undefined`
  mount(<Parent />); // => `undefined`
  mount(<Parent> </Parent>); // => `' '`
  mount(<Parent>

      </Parent>); // => `undefined`
  mount(<Parent>foo</Parent>); // => `'foo'`
})

Fair point - both your example and https://jsfiddle.net/ljharb/69z2wepo/80986/ implies it's a bug in eslint-plugin-react.

Ha, nice. I started typing ReactDOM and then fell back to what I knew off the top of my head.


fix(metric name): support multiple __name__ matcher

fix #70

LGTM. Does greptimedb's prom planner assume that the __name__ matcher must be present? This PR might break this assumption. @waynexia

Yes，be careful to upgrade to 0.1.3 @waynexia

LGTM. Does greptimedb's prom planner assume that the __name__ matcher must be present? This PR might break this assumption. @waynexia

Yes，be careful to upgrade to 0.1.3 @waynexia

👍 I'll add related tests when upgrading


The effect of the game is not consistent with the editor

in the editor

in game

Do I need to check where?

	InstanceGlobal* instanceGlobal = m_pContainer->GetRootInstance();

	float force = m_pEffectNode->LocationAbs.attractiveForce.force;
	float control = m_pEffectNode->LocationAbs.attractiveForce.control;
	float minRange = m_pEffectNode->LocationAbs.attractiveForce.minRange;
	float maxRange = m_pEffectNode->LocationAbs.attractiveForce.maxRange;

	Vector3D position = m_GlobalPosition - m_GlobalVelocity + m_GlobalRevisionLocation;

mabey thie position is wrong

I'm sorry for lack of function.
I added a function to get internal handle.
https://github.com/effekseer/EffekseerForCocos2d-x
This code sets position into an emitter.
this->manager->getInternalManager()->SetTargetLocation(emitter->getInternalHandle(), Effekseer::Vector3D(0, 5, 0));

I will try. thank you.

hello,were should i add this code?
this->manager->getInternalManager()->SetTargetLocation(emitter->getInternalHandle(), Effekseer::Vector3D(0, 5, 0));
and the second parameter，Shouldn't it be specified in the editor? @durswd

The track of motion has changed when I scale the emitter.
scale 1.0f

scale 5.0f

scale 10.0f

How can I get the same trace motion when I scale the emitter？
the emitter is too small in my game.

Please change these values.
If you multiple emitter by 5, the values should be multiplied by 5.

I think it is bug.

I fixed this bug on this branch.
https://github.com/effekseer/EffekseerForCocos2d-x/tree/optimized

setScale(1.0)  with setTargetLocation(0, 10, 0)

setScale(5.0)  with setTargetLocation(0, 50, 0)

Do I still need to adjust anything?

You need to magnify an effect when .efk is exported from Effekseer.
But it is troublesome. So I added a function to specify magnification rate when .efk is loaded.
https://github.com/effekseer/EffekseerForCocos2d-x/tree/optimized
auto effect = efk::Effect::create("Homing_Laser01.efk", 5);

5 is magnification rate


429 (TooManyRequests) Responses from ClearML

In recent weeks, we've seen exceptions thrown from the ClearMLMonitorService regarding a failure to parse responses from ClearML. John added improved logging and the issue has reoccurred, so I peeked at the logs and the unexpected responses are 429s. Do we need to poll more infrequently and/or change our http client retry strategy? The response we're getting from ClearML does not seem to specify a Retry-After unfortunately. I haven't yet found any information regarding the rate-limiting on ClearML - maybe it's worth reaching out to them (?).

We could try spitting out the header as well:
https://stackoverflow.com/questions/75302783/how-do-i-catch-the-http-error-429-retry-after-time-in-a-try-except-scenario

We could try spitting out the header as well: https://stackoverflow.com/questions/75302783/how-do-i-catch-the-http-error-429-retry-after-time-in-a-try-except-scenario

Oh, good point!

It looks like we are making extra calls to GetTasksByIdAsync. We are currently calling it for every engine type when we only need to call it once.

We should remove the extra calls and increase the polling timeout by a bit. Hopefully that will be enough to fix this issue.

I wonder - did you see the messages from IDX on the ClearML channel?- it could be that they are the ones causing the issue.  It may be that our request comes in right when they are in the middle of DoS'ing the server and we get the "TooManyRequests" error.  It shouldn't happen because we are using different user creds than IDX, but it could still be the case.  Either way, we should elegantly handle it.

I wonder - did you see the messages from IDX on the ClearML channel?- it could be that they are the ones causing the issue. It may be that our request comes in right when they are in the middle of DoS'ing the server and we get the "TooManyRequests" error. It shouldn't happen because we are using different user creds than IDX, but it could still be the case. Either way, we should elegantly handle it.

I don't think I'm on that channel. Could you add me or point me there?
Also, @johnml1135, unless you're already working on this one actively, I think I'll go ahead and do this while I'm waiting for review. We've been getting a lot of these errors.

Go for it.

Waiting to see if once PR #504 is on QA, the errors stop appearing.

This resolved it: https://github.com/sillsdev/serval/issues/524.


Add Goldmen Validator

Hello, I am a software engineer and currently work at Huawei headquarters in Beijing. My team has more than 100 people. I hope I can participate in the official test opportunity of Namada this time
my<EMAIL_ADDRESS>

Merged manually, please be ready at 17:00 UTC!


Octopus Testing - Testing VCP supports static provisioning in multi-vc

Manually Verified: test is successful.

Created issue here: https://github.com/vmware/kubernetes/issues/391

Closing this as it's duplicate to issue #368

We decided to keep this to track 1 of the 4 different combinations of static/dynamic provisioning and master/node vm migration.

@abrarshivani Can you help with this e2e test? This issue and issue #366 are very similar - totally  4 different test scenarios:

static provisioning - vmotion master node
static provisioning - vmotion worker node
dynamic provisioning - vmotion master node
dynamic provisioning - vmotion worker node

As we can see, the difficulty here is to write a utility function to do vmotion. This util needs to call vm.Relocate function (
https://github.com/vmware/govmomi/blob/81743157fb5ccf548d6bd5088c25ee6156a359ee/object/virtual_machine.go#L172) to support VM migration. The govc code can give us some hint for the implementation: https://github.com/vmware/govmomi/blob/master/govc/vm/migrate.go
I think the right estimation for issue #365 and #366 (@prashima ) should be:

VM migration util function: 3 days
The tests tracked in this issue: 2 days
The tests tracked in issue #366: 2 days

@shaominchen I will work on this.

Assigning this to @tusharnt as @tusharnt mentioned that Venil will be working on this. Here is the branch where I have implemented some bits of the solution. Venil can build on top of this.

Since some bits of solution are already implmented updating new estimation as 4.

VM migration util function: 3 days
The tests tracked in this issue: 1 days


Retro menus should match the Classic ones whenever possible

Problem
To ease the transition of Classic users who may want to switch to RetroLab, having all menus match as much as possible, would be very valuable. Obviously there may be some new features in Retro that don't exist in Classic, and those will simply be seen as an upgrade, but:

Key functionality that existed in a given menu should be in the same menu in Retro.
Similar functionality should be named the same in Retro as much as possible, unless it's matching an updated naming choice from JupyterLab and it's not likely to confuse anyone.
The layout of the menus, dividers, etc, should match as much as possible that of Classic, so that existing documentation and learning materials made for Classic applies to Retro as well.

I didn't do a full audit of the menus, but I did find that the File menu is, for example, entirely missing the download option:

That's available from the file manager, but the UX of having to go there from an open notebook to download it is pretty sub-optimal, and may not be obvious to many new users.
BTW, this is relevant to berkeley-dsep-infra/datahub#2422, as we consider issues blocking the usage of Retro for Classic-based courses.

Thanks @fperez for reporting :+1:
JupyterLab 3.1 added a way to customize menu items more easily via the settings. So maybe there is a way to leverage that here to have full control on the order.
The missing Download entry should be fixed in https://github.com/jupyterlab/retrolab/pull/263

JupyterLab 3.1 added a way to customize menu items more easily via the settings. So maybe there is a way to leverage that here to have full control on the order.

The relevant documentation is here: https://jupyterlab.readthedocs.io/en/stable/extension/extension_points.html?#settings-defined-menu
An alternative would be to have a custom plugin in retro that would create a menu from scratch or disable most of the entries from JupyterLab.

For reference we also did a quick comparison of the Jupyter Widgets menus in today's widgets meeting: https://github.com/jupyter-widgets/team-compass/issues/1#issuecomment-957985185

Awesome, thanks for continuing to dig into this topic. I'll keep going at it too and will open issues as I see them.


Compiling flutter engine for embedded linux always requires Vulkan.

Steps to reproduce
I am compiling the flutter engine for an embedded linux product. The compilation fails when it attempts to compile the flutter vulkan memory allocator "flutter_vma" as it cannot find xcb.h. My back end is OpenGL/EGL and will provide my own embedder to take care of this. I want to compile without Vulkan as I can't drag in X11/XCB.
It looks like vulkan is being included when "impeller_engine_vulkan" is being set due to the condition "IsLinux && !fuschia". When I force this to off the GN fails with missing dependencies on some test components.

Actual results
A failure to compile due to missing vulkan dependencies.
Logs

Logs

<!-- Paste your logs here -->

Flutter Doctor output

Doctor output

<!-- Paste your output here -->

So a bit more digging and the underpinning issue here seems to be that the combination of linux but not fuschia triggers the automatic generation of a linux console component. This console (which I don't want) then drags in gtx, xcb, x11 yada yada.
FYI I currently get around this by building the flutter engine for aarch64 and gnueabihf using a fully populated sysroot with everything I require installed. I just let it build all the stuff I don't need. Then I drag the flutter engine binary over to the real embedded system with it's much thinner sysroot as (predicatably) the flutter engine library only actually require a few bare bones libraries (according to the elf header).

Also, this smells a lot like this issue where the GLFW was always building and dragging in the same xcb, gtx suspects.
https://github.com/flutter/flutter/issues/95711
@chinmaygarde Seems to be the man with the plan on this embedded stuff.

The engine dylib doesn't need to link against Vulkan. It will dlsym the right proc addresses at runtime. This thing about VMA dragging in VMA I think we can patch away. To work around this, you may be able to gn args <out_dir> and set impeller_engine_vulkan to False manually.

Thanks, that has helped.
I hacked the impeller_engine_vulkan to false manually in the gn configuration files and my engine build now works without dragging in all the unwanted windowing dependencies. This did cause a broken gn dependency in the surface_gl testing which I also hacked around, I found a todo in there so I guess that's just a work in progress, no problem.
I've verified I can build the engine with a customer provided cortex A8 sysroot and a locally built tip-of-tree clang. It does fail right at the end when it can't link the gtx variation of the engine library (which I don't need) but by then it has built the regular engine library so this doesn't matter. I'll fix that in the config if this makes it anywhere near production builds.
I also had to relax the -werror on some linux platform parts as my supplied sysroot macro's up some unused functions in glib that don't matter to anything but stopped the build. Again, no big deal.
So I'm up and running with a custom embedded flutter engine, still some work to get opengl and skia rendering contexts to play ball in my embedder but the topic of this issue is done if you want to close it. Thanks again for your help.

Thanks, that has helped.
I hacked the impeller_engine_vulkan to false manually in the gn configuration files and my engine build now works without dragging in all the unwanted windowing dependencies. This did cause a broken gn dependency in the surface_gl testing which I also hacked around, I found a todo in there so I guess that's just a work in progress, no problem.
I've verified I can build the engine with a customer provided cortex A8 sysroot and a locally built tip-of-tree clang. It does fail right at the end when it can't link the gtx variation of the engine library (which I don't need) but by then it has built the regular engine library so this doesn't matter. I'll fix that in the config if this makes it anywhere near production builds.
I also had to relax the -werror on some linux platform parts as my supplied sysroot macro's up some unused functions in glib that don't matter to anything but stopped the build. Again, no big deal.
So I'm up and running with a custom embedded flutter engine, still some work to get opengl and skia rendering contexts to play ball in my embedder but the topic of this issue is done if you want to close it. Thanks again for your help.

I got some error when i set impeller_enable_vulkan to false
ninja: Entering directory `out/linux_release_arm'
[0/1] Regenerating ninja files
ERROR Unresolved dependencies.
//flutter/display_list/testing:display_list_surface_provider(//build/toolchain/custom:custom)
needs //flutter/testing:opengl(//build/toolchain/custom:custom)
FAILED: build.ninja
../../flutter/third_party/gn/gn --root=../.. -q --regeneration gen .
ninja: error: rebuilding 'build.ninja': subcommand failed
Are you fixed it? how to do?


Run Selection/Line in Python Terminal limits number of characters sent to terminal

Environment data

VS Code version: 1.30.2
OS and version: Windows 7
Python version (& distribution if applicable, e.g. Anaconda): 3.7.1

Expected behaviour
sql variable is assigned string of 1,589 "a" characters over 16 lines when selecting "Run Selection/Line in Python Terminal"
Actual behaviour
Nothing. If there are less characters (1,467 total) I can run the selection to the terminal. I can run this in the anaconda prompt and spyder IDE just fine.
Additionally, when I use the debugger, the program runs just fine and assigns the sql variable.
Lastly, I've run this on other Win7 computers, with the same result. On Win10, there was not an issue.
Steps to reproduce:
Create a .py file with the follow variable assignment.
sql = """
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
"""

Highlight code and "Run Selection/Line in Python Terminal" or
highlight and "Shift + Enter" or
Copy and paste in python terminal in vscode

Logs
No action.

Thanks for letting us know about this, @tymiguel,.  Just to make sure I understood correctly, this is only a problem on Windows 7?  Are you using cmd or powershell?  I suspect it has to do with the limitations of the shell rather than any defect of VSCode or the Python extension.  However, I'd like to make sure.  FWIW, I couldn't reproduce the problem under linux.

Also, what version of the extension are you using?

Thanks for the info @ericsnowcurrently! I have only noticed this issue on Windows 7 computers, not on the Windows 10 computer I also have checked with. I'm using the cmd that fires up the anaconda prompt and starts python.
Also, I'm using python extension 2019.1.0.
Additional info: When I start python from the anaconda prompt outside of VSCode, I can paste in my large text (which is a sql query as a string). However, when I try to paste in the same code into the terminal in VScode, nothing happens. I can paste into the terminal in VSCode when I shorten the string.

Sorry for the delay, @tymiguel.
Okay, so if you open cmd and paste your text it works fine, but doing the same in the VSCode terminal pane does not?
Also, you should be able to explicitly set which shell you are using.  In the command palette (ctrl-shift-p) run the "Terminal: Select Default Shell" command.  Do you have the same problem using Command Prompt and PowerShell (assuming you have both options)?

Yes--if I open the cmd I can paste in the long character string, but in the terminal in VSCode it doesn't appear to allow this to be pasted in. I get no feedback. I also have tried with git bash as well as PowerShell.
In VSCode, I "Run Selection/Line in Python Terminal" for the first time and starting from the cmd the anaconda script is activated which starts my python interpreter.  Using the sql = "aaaaaaa..." as the input, the python interpreter starts up, but the variable is not assigned (i.e. no feedback).
(Interestingly enough, I'm moving to a Win10 computer in a week or so, so this won't be an issue down the line given this hasn't been an issue with Win10.)

Thanks for the update, @tymiguel.  As far as I know we haven't gotten any other similar bug reports, so given that and being specific to Windows 7 (soon to EOL) and as soon you won't be impacted, I'll likely close this issue.  I just want to see if I've missed something. :)
@DonJayamanne, any thoughts on this issue?  Feel free to close it otherwise.

@ericsnowcurrently what's the solution or root cause.
If it's a VSC issue we need to report it upstream.
Reopening due to a recent duplicate

The root cause is not clear.  However, given that it is limited to Windows 7 which is soon to be EOL (and which was no longer going to affect the original user), I didn't see the value in proceeding.
Regardless, I've opened https://github.com/Microsoft/vscode/issues/69470 upstream.

Closing again,


ADD TEXT CONTENT INSIDE LINE CHART CONNECTING DOTS

Is there any way to add DATA to the dots connecting the line chart.

Like this

this is currently not supported

ok no worries. I have managed the same view using react-native-svg with charts.
Thanks!!


Update README.md

Added link to LinqToDB.Identity

Hi @ili, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

@blowdart yay/nay this change...

Yay

bf71121a7e6444027849a965040cca394248e856


update/changes when QComboBox items are changed

A small change.
The background is that I am implementing two dropdowns.
The second dropdown items are dependent on the chosen item in the first dropdown, i.e., the second dropdown items will be updated if the chosen item in the first dropdown is changed.
I also changed the index to text, but possibly it may lead to some bugs.

LGTM!

Reverted in #3. This was actually not good: value should be saved instead of label.


refactor: returning Option from select_version

close via https://github.com/nervosnetwork/p2p/pull/68


redis.get promise catch

When redis.get returns null I was expecting the promise to be rejected. Is this an API design decision?

Yes, it's correct. When the key doesn't exist, redis would return an "empty" value instead of throwing an error, that is for a string key, it would return null, and for a set key, it would return [].


Better handling of HnR for leeching torrents

Better handle HnR for leeching torrents by:

keeping track of total active time in addition to seeding time
allowing user to download hit and runs even if download privileges are revoked

Made changes to address comments


Propose of chance.file()

chance.file()
//=> "D:\foo\bar.txt"
chance.directory()
//=> "D:\foo\bar\"

It's a little bit tricky to make this cross platform.
I think this feature is better to be implemented with a plugin.
Here's something for kickstart:
var _ = require('lodash');
const Chance = require('chance');
const chance = new Chance();
const N = 3;

const segments = _.range(N).map(() => chance.syllable());
path1 = 'D:\\' + segments.join('\\') + '\\'; // Windows path
path2 = '/' + segments.join('/') + '/'; // *nix/OSX path

We also have chance.file() (not yet documented).
I'm going to write a mixin for generating path, they should work together to fulfill your need.


Kaleido installation

Hi!
I am trying to install kaleido on my system using
 pip3 install -U kaleido
but I am getting the following error:
Could not find a version that satisfies the requirement kaleido (from versions: )
No matching distribution found for kaleido

I also tried to install manually using the github release link but when I executed my file I was redirected to orca which needs an executable image for further processing.
ValueError: The orca executable is required to export figures as static images, but it could not be found on the system path.
Setup details:

Ubuntu 14.04.6
Arm64 arch
Python 3.6.9
Plotly 4.14.3

@jonmmease I updated my pip to pip 21.0.1 and it worked like a charm.. Thank you so much !!


How to push one job from inside of another job ?

Till now I am pushing job in a queue from controller but I also want to push one job from another job. The main problem here is access of QueuePluginManager. I can access  QueuePluginManager in controller like this $this->serviceLocator->get('SlmQueue\Queue\QueuePluginManager') , but how to access it within a Job, is it possible ?

Make your job implement the queue aware interface. Then you are able to push a nee job from within a running job.


Registration form fails without a notification when username already exists

Describe the bug
Not user feedback when registering an account with an in-use username
To Reproduce
Steps to reproduce the behavior:

Go to register
registare a user with a username
go back to register
enter the same username
notice no error displays on the UI saying "username is already taken"

Looks like we need to simply return the error in an alert box. I'll take a quick look

Ok so I just added an error message. We will need to customize what the response says in the backend. Currently we just get back an default status code.


MRGT - formPhrase processing - question/issue related to term

@Ca5e The specificaitons say - and that is already implemented - that the MRGT processes the formPhrases field that it gets from curated texts before stuffing it into an MRG entry (which consists of processing the macros, pruning the results).
I am not sure whether we also agreed that the MRGT ensures that the formPhrases field in an MRG-entry would always contain the term   itself - as specified in the term field of the curated text (and the corresponding MRG entry).
I would say that this helps in the processing of termrefs, as it would mean that the (regularized) showtext would only need to be compared to the various elements of the (regularized) elements in the formPhrases fields, rather than ALSO having to inspect the term field. Does that make sense?
I've updated the specs to that it states we do this.
Would you please

[ ] check these specs to see if they are aligned with the code;
[ ] update the code if necessary to ensure the term field is also one of the formPhrases in every MRG entry

The MRGT currently does not ensure that the form phrases in an MRG-entry always contains the term itself. It would simplify the lookup ever so slightly. Going from:
matches = matches.filter((entry) => entry.term === term || entry.formPhrases?.includes(term))
to
matches = matches.filter((entry) => entry.formPhrases?.includes(term)).
(utils/MRG.ts)
I always saw the form phrases as aliases, but this changes that slightly. I don't mind the current approach (similar to aliases), because it means that formPhrases isn't always required to be present within an MRG entry.

I can see that there's not much performance gain. But that's not the reason for doing this. The reason is that it is much easier to explain, understand, and learn how TermRef resolution works if we can assume the term is always part of the formPhrases.
@Ca5e: If it's not that big a deal, can you implement this?

I've modified the term writer so that it does not contain a formphrase starting with the char w. This issue can be closed when the default MRG contains an MRG entry for the term 'Writer' that has writer as one of its formPhrase field elements.

@Ca5e : I've modified the term writer so that it now has term: xriter. The formPhrases field says only contains "writer{ss}". So, for as long as this issue isn't fixed, everything will still work, and the formPhrases field of the MRG entry (in the default MRG) for the term 'xriter' does not contain xriter as one of its formPhrase field elements. As soon as it does, this issue can be closed.


Mast: Watch andrewsmithjp

Mast requests the watch of the watch_keyword andrewsmithjp. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

andrewsmithjp has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ